resolv: Remove DEBUG preprocessor conditionals from res_setoptions
[glibc.git] / ChangeLog
blob0e2f1417efe0b31077e1e33882fdb9a328e32aea
1 2017-06-19  Florian Weimer  <fweimer@redhat.com>
3         * resolv/res_init.c (res_setoptions): Remove DEBUG preprocessor
4         conditionals.
6 2017-06-19  Florian Weimer  <fweimer@redhat.com>
8         * resolv/res-close.c: New file.
9         * resolv/res_init.c (__res_iclose, res_nclose)
10         (res_thread_freeres): Remove definitions.
11         * resolv/Makefile (routines): Add res-close.
13 2017-06-19  Florian Weimer  <fweimer@redhat.com>
15         * resolv/res_randomid.c: New file.
16         * resolv/res_init.c (res_randomid): Remove definition.
17         * resolv/Makefile (routines): Add res_randomid.
19 2017-06-19  Florian Weimer  <fweimer@redhat.com>
21         * include/resolv.h (__res_vinit): Declare as hidden.
22         * resolv/res_init.c (res_ninit): Remove __res_vinit declaration.
23         * resolv/res_libc.c (res_init): Likewise.
25 2017-06-19  Joseph Myers  <joseph@codesourcery.com>
27         [BZ #21457]
28         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h [__x86_64__] (struct
29         _libc_xmmreg): Use __ctx in defining field.
31         [BZ #21597]
32         * signal/signal.h (siginterrupt): Make declaration conditional on
33         [__USE_XOPEN_EXTENDED || __USE_MISC].
35         [BZ #21584]
36         * signal/signal.h: Make includes of <bits/sigstack.h> and
37         <bits/ss_flags.h> conditional on [__USE_XOPEN_EXTENDED ||
38         __USE_MISC].
39         (sigaltstack): Make declaration conditional on
40         [__USE_XOPEN_EXTENDED || __USE_MISC].
42         [BZ #21575]
43         * resource/bits/types/struct_rusage.h: New file.
44         * include/bits/types/struct_rusage.h: Likewise.
45         * bits/resource.h (struct rusage): Include
46         <bits/types/struct_rusage.h> instead of defining here.
47         * sysdeps/unix/sysv/linux/bits/resource.h (struct rusage):
48         Likewise.
49         * sysdeps/unix/sysv/linux/alpha/bits/resource.h (struct rusage):
50         Likewise.
51         * sysdeps/unix/sysv/linux/mips/bits/resource.h (struct rusage):
52         Likewise.
53         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (struct rusage):
54         Likewise.
55         * resource/Makefile (headers): Add bits/types/struct_rusage.h.
56         * posix/sys/wait.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K8]:
57         Include <bits/types/struct_rusage.h>
59 2017-06-19  Florian Weimer  <fweimer@redhat.com>
61         * malloc/dynarray.h: Use libc_hidden_proto only for !_ISOMAC.
63 2017-06-19  Siddhesh Poyarekar  <siddhesh@sourceware.org>
65         * sysdeps/x86_64/multiarch/rawmemchr-sse2.S: Fix typo.
67 2017-06-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
69         * scripts/gen-tunables.awk: Avoid multi-dimensional arrays.
71 2017-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
73         [BZ #21537]
74         * sysdeps/s390/s390-32/sysdep.h (JUMPTARGET, SYSCALL_PIC_SETUP):
75         Check SHARED instead of PIC.
76         (SYSCALL_PIC_SETUP): Add missing semicolons.
77         * sysdeps/s390/s390-64/sysdep.h (JUMPTARGET, SYSCALL_PIC_SETUP):
78         Check SHARED instead of PIC.
79         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
80         (__makecontext_ret): Adjust code to jump to exit.
82 2017-06-19  Christian Borntraeger  <borntraeger@de.ibm.com>
84         * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S (syscall):
85         Simplify code by always using SVC 0 instead of EX.
86         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
88 2017-06-16  H.J. Lu  <hongjiu.lu@intel.com>
90         * elf/Versions (ld): Remove _dl_out_of_memory.
92 2017-06-16  Joseph Myers  <joseph@codesourcery.com>
94         * timezone/private.h: Update from tzcode 2017b.
95         * timezone/tzfile.h: Likewise.
96         * timezone/tzselect.ksh: Likewise.
97         * timezone/zdump.c: Likewise.
98         * timezone/zic.c: Likewise.
99         * timezone/Makefile (tz-cflags): Add -D_ISOMAC
100         -DTZ_DOMAIN='"libc"' -include $(common-objpfx)config.h.
101         * time/tzset.c (SECSPERDAY): New macro.
103 2017-06-16  Rical Jasan  <ricaljasan@pacific.net>
105         * manual/string.texi (strdup): Complete header and standards
106         annotation.
107         (strncpy): Likewise.
109 2017-06-16  Rical Jasan  <ricaljasan@pacific.net>
111         * manual/arith.texi (FP_NAN): Add or complete header and standard
112         annotations.
113         (FP_INFINITE): Likewise.
114         (FP_ZERO): Likewise.
115         (FP_SUBNORMAL): Likewise.
116         (FP_NORMAL): Likewise.
117         (SNAN): Likewise.
118         (SNANL): Likewise.
119         (totalorderf): Likewise.
120         (totalorderl): Likewise.
121         (totalordermagf): Likewise.
122         (totalordermagl): Likewise.
123         (_Complex_I): Likewise.
124         (I): Likewise.
126 2017-06-16  Rical Jasan  <ricaljasan@pacific.net>
128         * manual/argp.texi (ARGP_HELP_USAGE): Add missing header and
129         standard annotation.
130         (ARGP_HELP_SHORT_USAGE): Likewise.
131         (ARGP_HELP_SEE): Likewise.
132         (ARGP_HELP_LONG): Likewise.
133         (ARGP_HELP_PRE_DOC): Likewise.
134         (ARGP_HELP_POST_DOC): Likewise.
135         (ARGP_HELP_DOC): Likewise.
136         (ARGP_HELP_BUG_ADDR): Likewise.
137         (ARGP_HELP_LONG_ONLY): Likewise.
138         (ARGP_HELP_EXIT_ERR): Likewise.
139         (ARGP_HELP_EXIT_OK): Likewise.
140         (ARGP_HELP_STD_ERR): Likewise.
141         (ARGP_HELP_STD_USAGE): Likewise.
142         (ARGP_HELP_STD_HELP): Likewise.
144 2017-06-15  Rical Jasan  <ricaljasan@pacific.net>
146         * manual/Makefile: Generate summary.texi with summary.pl.  Force
147         use of the C locale.  Update Perl dependency comment.
148         * manual/header.texi: Update reference to summary.awk.
149         * manual/macros.texi: Refer authors to `summary.pl --help'.
150         * manual/summary.awk: Remove file.
151         * manual/summary.pl: New file.  Generate summary.texi, and check
152         for @standards-related syntax errors.
153         * manual/argp.texi: Convert header and standards @comments to
154         @standards.
155         * manual/arith.texi: Likewise.
156         * manual/charset.texi: Likewise.
157         * manual/conf.texi: Likewise.
158         * manual/creature.texi: Likewise.
159         * manual/crypt.texi: Likewise.
160         * manual/ctype.texi: Likewise.
161         * manual/debug.texi: Likewise.
162         * manual/errno.texi: Likewise.
163         * manual/filesys.texi: Likewise.
164         * manual/getopt.texi: Likewise.
165         * manual/job.texi: Likewise.
166         * manual/lang.texi: Likewise.
167         * manual/llio.texi: Likewise.
168         * manual/locale.texi: Likewise.
169         * manual/math.texi: Likewise.
170         * manual/memory.texi: Likewise.
171         * manual/message.texi: Likewise.
172         * manual/pattern.texi: Likewise.
173         * manual/pipe.texi: Likewise.
174         * manual/process.texi: Likewise.
175         * manual/resource.texi: Likewise.
176         * manual/search.texi: Likewise.
177         * manual/setjmp.texi: Likewise.
178         * manual/signal.texi: Likewise.
179         * manual/socket.texi: Likewise.
180         * manual/startup.texi: Likewise.
181         * manual/stdio.texi: Likewise.
182         * manual/string.texi: Likewise.
183         * manual/sysinfo.texi: Likewise.
184         * manual/syslog.texi: Likewise.
185         * manual/terminal.texi: Likewise.
186         * manual/threads.texi: Likewise.
187         * manual/time.texi: Likewise.
188         * manual/users.texi: Likewise.
190 2017-06-15  Rical Jasan  <ricaljasan@pacific.net>
192         * manual/macros.texi (@standards): New macro.  Provide placeholder
193         for header and standards annotations.
194         (@standardsx): New macro.  Likewise, for lists of @*x elements.
196 2017-06-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
198         * io/Makefile (CFLAGS-sync_file_range.c): Remove rule.
199         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-sync_file_range.c): New
200         rule.
201         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Remove
202         sync_file_range.
204          * support/support_test_main.c (support_test_main):  Use optstring
205          member for option string in getopt_long.
206          * support/test-driver.c: Add comment about CMDLINE_OPTSTRING.
207          (CMDLINE_OPTSTRING): New define.
208          * support/test-driver.h (test_config): Add optstring member.
210 2017-06-15  H.J. Lu  <hongjiu.lu@intel.com>
212         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
213         strcspn-sse2, strpbrk-sse2 and strspn-sse2.
214         * sysdeps/x86_64/strcspn.S (STRPBRK_P): Removed.
215         Check USE_AS_STRPBRK instead of STRPBRK_P.
216         * sysdeps/x86_64/strpbrk.S (USE_AS_STRPBRK): New.
217         * sysdeps/x86_64/multiarch/ifunc-sse4_2.h: New file.
218         * sysdeps/x86_64/multiarch/strcspn-sse2.S: Likewise.
219         * sysdeps/x86_64/multiarch/strcspn.c: Likewise.
220         * sysdeps/x86_64/multiarch/strpbrk-sse2.S: Likewise.
221         * sysdeps/x86_64/multiarch/strpbrk.c: Likewise.
222         * sysdeps/x86_64/multiarch/strspn-sse2.S: Likewise.
223         * sysdeps/x86_64/multiarch/strspn.c: Likewise.
224         * sysdeps/x86_64/multiarch/strcspn.S: Removed.
225         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
226         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
227         * sysdeps/x86_64/multiarch/strpbrk-c.c: Remove "#ifdef SHARED"
228         and "#endif".
230 2017-06-15  H.J. Lu  <hongjiu.lu@intel.com>
232         * sysdeps/x86_64/multiarch/wcscpy.S: Removed.
233         * sysdeps/x86_64/multiarch/wcscpy.c: New file.
235 2017-06-15  H.J. Lu  <hongjiu.lu@intel.com>
237         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
238         strcat-sse2.
239         * sysdeps/x86_64/multiarch/strcat-sse2.S: New file.
240         * sysdeps/x86_64/multiarch/strcat.c: Likewise.
241         * sysdeps/x86_64/multiarch/strncat.c: Likewise.
242         * sysdeps/x86_64/multiarch/strcat.S: Removed.
243         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
245 2017-06-15  H.J. Lu  <hongjiu.lu@intel.com>
246             Erich Elsen  <eriche@google.com>
248         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
249         memcmp-sse2.
250         * sysdeps/x86_64/multiarch/ifunc-memcmp.h: New file.
251         * sysdeps/x86_64/multiarch/memcmp-sse2.S: Likewise.
252         * sysdeps/x86_64/multiarch/memcmp.c: Likewise.
253         * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
254         * sysdeps/x86_64/multiarch/memcmp.S: Removed.
255         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
257 2017-06-15  H.J. Lu  <hongjiu.lu@intel.com>
258             Erich Elsen  <eriche@google.com>
260         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
261         memset-sse2-unaligned-erms, and memset_chk-nonshared.
262         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
263         (__libc_ifunc_impl_list): Add test for __memset_chk_erms.
264         Update comments.
265         * sysdeps/x86_64/multiarch/ifunc-memset.h: New file.
266         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
267         * sysdeps/x86_64/multiarch/memset.c: Likewise.
268         * sysdeps/x86_64/multiarch/memset_chk-nonshared.S: Likewise.
269         * sysdeps/x86_64/multiarch/memset_chk.c: Likewise.
270         * sysdeps/x86_64/multiarch/memset.S: Removed.
271         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
272         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
273         (__memset_chk_erms): New function.
275 2017-06-15  Siddhesh Poyarekar  <siddhesh@sourceware.org>
277         * configure.ac(--enable-tunables): Enable by default.
278         * configure: Regenerate.
279         * NEWS: Mention change.
280         * manual/install.texi (enable-tunables): Adjust documentation.
281         * INSTALL: Regenerate.
283 2017-06-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
285         [BZ #18988]
286         * benchtests/thread_create-inputs: New file.
287         * benchtests/thread_create-source.c: Likewise.
288         * support/xpthread_attr_setguardsize.c: Likewise.
289         * support/Makefile (libsupport-routines): Add
290         xpthread_attr_setguardsize object.
291         * support/xthread.h: Add xpthread_attr_setguardsize prototype.
292         * benchtests/Makefile (bench-pthread): Add thread_create.
293         * nptl/allocatestack.c (allocate_stack): Call mmap with PROT_NONE and
294         then mprotect the required area.
295         (guard_position): New function.
296         (setup_stack_prot): Likewise.
298 2017-06-14  H.J. Lu  <hongjiu.lu@intel.com>
299             Erich Elsen  <eriche@google.com>
300             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
302         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
303         memmove-sse2-unaligned-erms, memcpy_chk-nonshared,
304         mempcpy_chk-nonshared and memmove_chk-nonshared.
305         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
306         (__libc_ifunc_impl_list): Add tests for __memmove_chk_erms,
307         __memcpy_chk_erms and __mempcpy_chk_erms.  Update comments.
308         * sysdeps/x86_64/multiarch/ifunc-memmove.h: New file.
309         * sysdeps/x86_64/multiarch/memcpy.c: Likewise.
310         * sysdeps/x86_64/multiarch/memcpy_chk-nonshared.S: Likewise.
311         * sysdeps/x86_64/multiarch/memcpy_chk.c: Likewise.
312         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S: Likewise.
313         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
314         * sysdeps/x86_64/multiarch/memmove_chk-nonshared.S: Likewise.
315         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
316         * sysdeps/x86_64/multiarch/mempcpy.c: Likewise.
317         * sysdeps/x86_64/multiarch/mempcpy_chk-nonshared.S: Likewise.
318         * sysdeps/x86_64/multiarch/mempcpy_chk.c: Likewise.
319         * sysdeps/x86_64/multiarch/memcpy.S: Removed.
320         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
321         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
322         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
323         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
324         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
325         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
326         (__mempcpy_chk_erms): New function.
327         (__memmove_chk_erms): Likewise.
328         (__memcpy_chk_erms): New alias.
330 2017-06-14  Florian Weimer  <fweimer@redhat.com>
332         * sysdeps/i386/i686/multiarch/strcspn-c.c: Add IS_IN (libc) guard.
333         * sysdeps/i386/i686/multiarch/varshift.c: Likewise.
335 2017-06-14  Zack Weinberg  <zackw@panix.com>
337         * stdlib/errno.h: Remove __need_Emath and __need_error_t logic.
338         Reorganize file.  Declare errno here.  When __ASSEMBLER__ is
339         defined, don't declare anything other than the E-constants.
341         * include/errno.h: Change conditional for exposing internal
342         declarations to (not _ISOMAC and not __ASSEMBLER__).
343         * bits/errno.h: Remove logic for __need_Emath.  Document
344         requirements for a port-specific bits/errno.h.
346         * sysdeps/unix/sysv/linux/bits/errno.h
347         * sysdeps/unix/sysv/linux/alpha/bits/errno.h
348         * sysdeps/unix/sysv/linux/hppa/bits/errno.h
349         * sysdeps/unix/sysv/linux/mips/bits/errno.h
350         * sysdeps/unix/sysv/linux/sparc/bits/errno.h:
351         Add multiple-include guard and check against improper inclusion.
352         Remove __need_Emath logic.  Don't declare errno here.  Ensure all
353         constants are defined as simple integer literals.  Consistent
354         formatting.
355         * sysdeps/mach/hurd/errnos.awk: Likewise.  Only define error_t and
356         enum __error_t_codes if __ASSEMBLER__ is not defined.
357         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
359         * argp/argp.h, string/argz.h: Don't define __need_error_t before
360         including errno.h.
361         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S
362         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S
363         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S
364         * sysdeps/x86_64/fpu/s_cosf.S
365         * sysdeps/x86_64/fpu/s_sincosf.S
366         * sysdeps/x86_64/fpu/s_sinf.S:
367         Just include errno.h; don't define __need_Emath or include
368         bits/errno.h directly.
370 2017-06-14  Zack Weinberg  <zackw@panix.com>
372         * bits/uio_lim.h, sysdeps/unix/sysv/linux/bits/uio_lim.h
373         * bits/uio-ext.h, sysdeps/unix/sysv/linux/bits/uio-ext.h: New file.
374         * bits/uio.h, sysdeps/unix/sysv/linux/bits/uio.h: Delete file.
376         * include/bits/xopen_lim.h: Use bits/uio_lim.h to get the value
377         for IOV_MAX.
378         * misc/Makefile: Install bits/uio-ext.h and bits/uio_lim.h.
379         Don't install bits/uio.h.
380         * misc/sys/uio.h: Don't include bits/uio.h.  Do include
381         bits/types/struct_iovec.h and bits/uio_lim.h.  Set UIO_MAXIOV
382         based on __IOV_MAX. Under __USE_GNU, also include bits/uio-ext.h.
384         * stdio-common/stdio_lim.h.in: Remove logic for __need_FOPEN_MAX
385         and __need_IOV_MAX.  Don't define IOV_MAX at all.
386         * Makerules (stdio_lim.h): Remove logic for setting IOV_MAX.
388         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h:
389         Include bits/types/struct_iovec.h, not bits/uio.h.
390         Use __ssize_t, not ssize_t, in function prototypes.
391         Don't use hard TAB for double space after period in comments.
393 2017-06-14  Alan Modra  <amodra@gmail.com>
395         * elf/elf.h (PPC64_OPT_LOCALENTRY): Define.
396         * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): Add
397         refsym and sym parameters.  Adjust callers.
398         * sysdeps/aarch64/dl-machine.h (elf_machine_fixup_plt): Likewise.
399         * sysdeps/arm/dl-machine.h (elf_machine_fixup_plt): Likewise.
400         * sysdeps/generic/dl-machine.h (elf_machine_fixup_plt): Likewise.
401         * sysdeps/hppa/dl-machine.h (elf_machine_fixup_plt): Likewise.
402         * sysdeps/i386/dl-machine.h (elf_machine_fixup_plt): Likewise.
403         * sysdeps/ia64/dl-machine.h (elf_machine_fixup_plt): Likewise.
404         * sysdeps/m68k/dl-machine.h (elf_machine_fixup_plt): Likewise.
405         * sysdeps/microblaze/dl-machine.h (elf_machine_fixup_plt): Likewise.
406         * sysdeps/mips/dl-machine.h (elf_machine_fixup_plt): Likewise.
407         * sysdeps/nios2/dl-machine.h (elf_machine_fixup_plt): Likewise.
408         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_fixup_plt):
409         Likewise.
410         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_fixup_plt): Likewise.
411         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_fixup_plt): Likewise.
412         * sysdeps/sh/dl-machine.h (elf_machine_fixup_plt): Likewise.
413         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_fixup_plt): Likewise.
414         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Likewise.
415         * sysdeps/tile/dl-machine.h (elf_machine_fixup_plt): Likewise.
416         * sysdeps/x86_64/dl-machine.h (elf_machine_fixup_plt): Likewise.
417         * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_error_localentry): New.
418         (_dl_reloc_overflow): Increase buffser size.  Formatting.
419         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
420         Delete reloc param, add refsym and sym.  Check optimized plt
421         call stubs for localentry:0 functions.  Adjust callers.
422         (elf_machine_fixup_plt, elf_machine_plt_conflict): Add refsym
423         and sym parameters.  Adjust callers.
424         (_dl_reloc_overflow): Move attribute.
425         (_dl_error_localentry): Declare.
426         * elf/dl-runtime.c (_dl_fixup): Save original sym.  Pass
427         refsym and sym to elf_machine_fixup_plt.
428         * elf/testobj6.c (preload): Call printf.
430 2017-06-14  Alan Modra  <amodra@gmail.com>
432         * sysdeps/powerpc/powerpc64/sysdep.h: Formatting.
433         (NOPS, ENTRY_3): New macros.
434         (ENTRY): Rewrite.
435         (ENTRY_TOCLESS): Define.
436         (EALIGN, EALIGN_W_0, EALIGN_W_1, EALIGN_W_2, EALIGN_W_4, EALIGN_W_5,
437         EALIGN_W_6, EALIGN_W_7, EALIGN_W_8): Delete.
438         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Replace EALIGN with ENTRY.
439         * sysdeps/powerpc/powerpc64/dl-trampoline.S: Likewise.
440         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
441         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
442         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
443         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
444         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Likewise.
445         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
446         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
447         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
448         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
449         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
450         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
451         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
452         * sysdeps/powerpc/powerpc64/memset.S: Likewise.
453         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
454         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
455         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
456         * sysdeps/powerpc/powerpc64/power7/strstr.S: Likewise.
457         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
458         * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
459         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
460         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Likewise.
461         * sysdeps/powerpc/powerpc64/addmul_1.S: Use ENTRY_TOCLESS.
462         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
463         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
464         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
465         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S: Likewise.
466         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
467         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
468         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
469         * sysdeps/powerpc/powerpc64/lshift.S: Likewise.
470         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
471         * sysdeps/powerpc/powerpc64/mul_1.S: Likewise.
472         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
473         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
474         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
475         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
476         * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
477         * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
478         * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
479         * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
480         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
481         * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
482         * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
483         * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
484         * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
485         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
486         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
487         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
488         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
489         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
490         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
491         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
492         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
493         * sysdeps/powerpc/powerpc64/power7/add_n.S: Likewise.
494         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
495         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
496         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
497         * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
498         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.
499         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
500         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
501         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Likewise.
502         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S (strcasecmp_l):
503         Likewise.
504         * sysdeps/powerpc/powerpc64/power7/strchr.S: Likewise.
505         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Likewise.
506         * sysdeps/powerpc/powerpc64/power7/strcmp.S: Likewise.
507         * sysdeps/powerpc/powerpc64/power7/strlen.S: Likewise.
508         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
509         * sysdeps/powerpc/powerpc64/power7/strncpy.S: Likewise.
510         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Likewise.
511         * sysdeps/powerpc/powerpc64/power7/strrchr.S: Likewise.
512         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
513         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
514         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
515         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
516         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
517         * sysdeps/powerpc/powerpc64/power8/memcmp.S: Likewise.
518         * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
519         * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
520         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
521         * sysdeps/powerpc/powerpc64/power8/strcpy.S: Likewise.
522         * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
523         * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
524         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
525         * sysdeps/powerpc/powerpc64/power8/strnlen.S: Likewise.
526         * sysdeps/powerpc/powerpc64/power8/strrchr.S: Likewise.
527         * sysdeps/powerpc/powerpc64/power8/strspn.S: Likewise.
528         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
529         * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
530         * sysdeps/powerpc/powerpc64/strchr.S: Likewise.
531         * sysdeps/powerpc/powerpc64/strcmp.S: Likewise.
532         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
533         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
534         * sysdeps/powerpc/powerpc64/ppc-mcount.S: Store LR earlier.  Don't
535         add nop when SHARED.
536         * sysdeps/powerpc/powerpc64/start.S: Fix comment.
537         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S (ENTRY): Don't
538         define.
539         (ENTRY_TOCLESS): Define.
540         * sysdeps/powerpc/powerpc32/sysdep.h (ENTRY_TOCLESS): Define.
541         * sysdeps/powerpc/fpu/s_fma.S: Use ENTRY_TOCLESS.
542         * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
544 2017-06-14  Alan Modra  <amodra@gmail.com>
546         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Define
547         MEMSET_is_local.
548         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
549         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
550         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
551         Define MEMSET.
552         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Define
553         STRLEN_is_local, STRNLEN_is_local, and STRCHR_is_local.
554         * sysdeps/powerpc/powerpc64/power7/strstr.S: Likewise.  Don't add
555         nop after local calls.
556         * sysdeps/powerpc/powerpc64/power7/strncpy.S: Define MEMSET_is_local.
557         Don't add nop after local call.
558         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.  Add missing
559         CALL_MCOUNT.
561 2017-06-14  Alan Modra  <amodra@gmail.com>
563         * sysdeps/powerpc/powerpc64/sysdep.h: Formatting.
564         (FUNC_LABEL): Rename from DOT_LABEL.
565         (ENTRY_1): Use FUNC_LABEL and remove leading space from label.
566         Use .p2align rather than .align.
567         (TRACEBACK, TRACEBACK_MASK): Use .p2align rather than .align.
568         (ABORT_TRANSACTION): Likewise.
569         (ENTRY_1, ENTRY_2, END_2, LOCALENTRY): Remove unnecessary semicolons,
570         particularly at end.  Add semicolon at invocation as necessary.
571         (TRACEBACK, TRACEBACK_MASK, PSEUDO, PSEUDO_NOERRNO): Likewise.
572         (PSEUDO_ERRVAL, PPC64_LOAD_FUNCPTR, OPD_ENT): Likewise.
573         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S (ENTRY,
574         END): Adjust to suit.
576 2017-06-14  Alan Modra  <amodra@gmail.com>
578         * sysdeps/powerpc/powerpc64/sysdep.h: (FRAME_BACKCHAIN,
579         FRAME_CR_SAVE, FRAME_LR_SAVE): Move out of conditional.
580         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
581         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
582         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Delete.
583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Replace
584         uses of FRAME_PARM[1-9]_SAVE with FRAME_PARM_SAVE plus offset.
586 2017-06-14  Alan Modra  <amodra@gmail.com>
588         * sysdeps/powerpc/powerpc64/sysdep.h: (call_mcount_parm_offset): Delete.
589         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Correct.
591 2017-06-13  Gordana Cmiljanovic  <gordana.cmiljanovic@imgtec.com>
593         [BZ #21548]
594         * sysdeps/unix/sysv/linux/mips/getcontext.S: Define MCONTEXT_SZGREG as
595         8 and use it when copying general purpose registers.
596         * sysdeps/unix/sysv/linux/mips/makecontext.S: Likewise.
597         * sysdeps/unix/sysv/linux/mips/mips32/Makefile: Include new test for
598         mips o32.
599         * sysdeps/unix/sysv/linux/mips/mips32/bug-getcontext-mips-gp.c: Added
600         new test for mips o32.
601         * sysdeps/unix/sysv/linux/mips/setcontext.S: Define MCONTEXT_SZGREG as
602         8 and use it when copying general purpose registers.
603         * sysdeps/unix/sysv/linux/mips/swapcontext.S: Likewise.
605 2017-06-13  Florian Weimer  <fweimer@redhat.com>
607         * configure.ac (find_cxx_header): Suppress compiler error message.
609 2017-06-13  Florian Weimer  <fweimer@redhat.com>
611         * malloc/dynarray-skeleton.c: List begin/end as defined functions.
612         (DYNARRAY_PREFIX##begin, DYNARRAY_PREFIX##end): New functions.
613         * malloc/tst-dynarray-shared.h (CHECK_EMPTY): Add tests for
614         begin/end.
615         * malloc/tst-dynarray.c (test_int): Test dynarray_int_begin,
616         dynarray_int_end.
617         (test_str): Test dynarray_str_begin, dynarray_str_end.
619 2017-06-13  H.J. Lu  <hongjiu.lu@intel.com>
621         [BZ #21573]
622         * Makerules [$(c++-bits-std_abs-h) != ""] (before-compile): Add
623         $(common-objpfx)bits/std_abs.h.
624         [$(c++-bits-std_abs-h) != ""] ($(common-objpfx)bits/std_abs.h):
625         New target.
626         * config.make.in (c++-bits-std_abs-h): New.
627         * configure.ac (find_cxx_header): Use "\,$1," with sed.
628         (CXX_BITS_STD_ABS_H): New.
629         (AC_SUBST(CXX_BITS_STD_ABS_H)): Likewise.
630         * configure: Regenerated.
632 2017-06-13  Zack Weinberg  <zackw@panix.com>
634         * posix/bits/cpu-set.h: Correct indentation of preprocessor
635         directives.
637 2017-06-12  Zack Weinberg  <zackw@panix.com>
639         * bits/sched.h: Remove __need_schedparam logic and replace with a
640         normal multiple-include guard.  Change field name in struct
641         sched_param from __sched_priority to sched_priority.  Delete
642         everything under #ifndef __cpu_set_t_defined.
643         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.  Also sync with
644         kernel sched.h, adding SCHED_ISO and SCHED_DEADLINE constants.
646         * posix/sched.h: Include bits/cpu-set.h as well as bits/sched.h.
647         For compatibility, #define sched_priority to itself, and #define
648         __sched_priority as sched_priority.
649         * posix/bits/cpu-set.h: New file containing, verbatim, the code
650         that was under #ifndef __cpu_set_t_defined in
651         sysdeps/unix/sysv/linux/bits/sched.h.
652         * include/bits/cpu-set.h: New wrapper.
653         * posix/Makefile: Install bits/cpu-set.h.
655 2017-06-12  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
656             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
657             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
659         * math/gen-libm-test.pl (@all_floats): Add ifloat128 and float128.
660         (%all_floats_pfx): Add macro prefix for float128 (FLT128).
661         * math/libm-test-exp10.inc (pow10_test): Do not test for _FloatN,
662         * math/libm-test-isfinite.inc (finite_test): Likewise.
663         * math/libm-test-lgamma.inc (gamma_test): Likewise.
664         * math/libm-test-nexttoward.inc (nexttoward_test): Likewise.
665         (nexttoward_test_data}: Likewise.
666         * math/libm-test-remainder.inc (drem_test): Likewise.
667         * math/libm-test-scalb.inc (scalb_test): Likewise.
668         (scalb_test_data): Likewise.
669         * math/libm-test-significand.inc (significand_test): Likewise.
670         (significand_test_data): Likewise.
671         * math/libm-test-support.c (check_complex): Replace __complex__
672         FLOAT with CFLOAT to get the support for old compiler.
673         * math/libm-test-support.h (check_complex): Likewise.
674         * math/test-double.h (CFLOAT, TEST_FLOATN): New macros.
675         * math/test-float.h (CFLOAT, TEST_FLOATN): Likewise.
676         * math/test-ldouble.h (CFLOAT, TEST_FLOATN): Likewise.
677         * math/test-float128.h: New file.
678         * math/test-math-floatn.h: New file.
680 2017-06-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
682         * include/float.h: Allow the definition of macros prefixed with
683         FLT128 even if _ISOMAC is defined, but provided that
684         __STDC_WANT_IEC_60559_TYPES_EXT__ is defined as a macro.
686 2017-06-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
688         * manual/math.texi (Mathematics): Add description for _FloatN and
689         _FloatNx types and mentions that they are not support in glibc for
690         any architecture, so far.
691         * manual/arith.texi (wcstof, wcstold): Replace the mention to
692         stdlib.h with wchar.h.
693         (Parsing of Floats): Add descriptions for strtofN and wcstofN.
694         (Printing of Floats): Add description for strfromfN.
696 2017-06-12  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
697             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
698             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
700         * include/gmp.h (__mpn_construct_float128): New declaration.
701         * include/stdlib.h: Include bits/floatn.h for _Float128 tests.
702         (__strtof128_l): New declaration.
703         (__strtof128_nan): Likewise.
704         (__wcstof128_nan): Likewise.
705         (__strtof128_internal): Likewise.
706         (____strtof128_l_internal): Likewise.
707         * include/wchar.h: Include bits/floatn.h for _Float128 tests.
708         (__wcstof128_l): New declaration.
709         (__wcstof128_internal): Likewise.
711         * stdlib/Makefile (bug-strtod2): Link libm too.
713         * stdlib/stdlib.h (strtof128): New declaration.
714         (strtof128_l): Likewise.
716         * stdlib/tst-strtod-nan-locale-main.c: Updated to use
717         tst-strtod.h macros to ensure float128 gets tested too.
719         * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f128): New macro.
721         * stdlib/tst-strtod.h: Include bits/floatn.h for _Float128
722         tests.
723         (IF_FLOAT128): New macro.
724         (GEN_TEST_STRTOD): Update to optionally include _Float128 in
725         the tests.
726         (STRTOD_TEST_FOREACH): Likewise.
728         * sysdeps/ieee754/float128/Makefile: Insert new strtof128 and
729         wcstof128 functions into libc.
731         * sysdeps/ieee754/float128/Versions: Add exports for the above
732         new functions.
734         * sysdeps/ieee754/float128/mpn2float128.c: New file.
735         * sysdeps/ieee754/float128/strtod_nan_float128.h: New file.
736         * sysdeps/ieee754/float128/strtof128.c: New file.
737         * sysdeps/ieee754/float128/strtof128_l.c: New file.
738         * sysdeps/ieee754/float128/strtof128_nan.c: New file.
739         * sysdeps/ieee754/float128/wcstof128.c: New file.
740         * sysdeps/ieee754/float128/wcstof128_l.c: New file.
741         * sysdeps/ieee754/float128/wcstof128_nan.c: New fike.
742         * wcsmbs/Makefile: (CFLAGS-wcstof128.c): Append strtox-CFLAGS.
743         (CFLAGS-wcstof128_l): Likewise.
745         * wcsmbs/wchar.h: Include bits/floatn.h for _Float128 tests.
746         (wcstof128): New declaration.
747         (wcstof128_l): Likewise.
749 2017-06-12  Joseph Myers  <joseph@codesourcery.com>
751         [BZ #21552]
752         * signal/signal.h (bsd_signal): Declare if [__USE_XOPEN_EXTENDED],
753         not [__USE_XOPEN].
754         * conform/Makefile (test-xfail-XPG4/signal.h/conform): Remove.
756         [BZ #21550]
757         * signal/signal.h (sigwait): Only declare if [__USE_POSIX199506].
759 2017-06-12  H.J. Lu  <hongjiu.lu@intel.com>
761         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
762         strcpy-sse2 and stpcpy-sse2.
763         * sysdeps/x86_64/multiarch/ifunc-unaligned-ssse3.h: New file.
764         * sysdeps/x86_64/multiarch/stpcpy-sse2.S: Likewise.
765         * sysdeps/x86_64/multiarch/stpcpy.c: Likewise.
766         * sysdeps/x86_64/multiarch/stpncpy.c: Likewise.
767         * sysdeps/x86_64/multiarch/strcpy-sse2.S: Likewise.
768         * sysdeps/x86_64/multiarch/strcpy.c: Likewise.
769         * sysdeps/x86_64/multiarch/strncpy.c: Likewise.
770         * sysdeps/x86_64/multiarch/stpcpy.S: Removed.
771         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
772         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
773         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
774         * sysdeps/x86_64/multiarch/stpncpy-c.c (weak_alias): New.
775         (libc_hidden_def): Always defined as empty.
776         * sysdeps/x86_64/multiarch/strncpy-c.c (libc_hidden_builtin_def):
777         Always Defined as empty.
779 2017-06-12  Wilco Dijkstra  <wdijkstr@arm.com>
781         * string/string-inlines.c: Add undef of __stpcpy to fix build issue.
783 2017-06-12  Wilco Dijkstra  <wdijkstr@arm.com>
785         [BZ #15105]
786         [BZ #19463]
787         * include/string.h: Add internal redirect for __stpcpy.
788         * string/Makefile: Remove bits/string2.h.
789         * string/string.h: Update comment.
790         * string/string-inlines.c: Remove bits/string2.h include and comment.
791         * string/bits/string2.h: Remove file.
793 2017-06-12  Wilco Dijkstra  <wdijkstr@arm.com>
795         * sunrpc/bindrsvprt.c (bindresvport): Change __bzero to memset.
796         * sunrpc/clnt_gen.c (clnt_create): Likewise.
797         * sunrpc/des_impl.c (_des_crypt): Likewise.
798         * sunrpc/key_call.c (key_gendes): Likewise.
799         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
800         * sunrpc/svc_simple.c (universal): Likewise.
801         * sunrpc/svc_tcp.c (svctcp_create): Likewise.
802         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
803         * sysdeps/arm/aeabi_memclr.c (__aeabi_memclr): Likewise.
805 2017-06-10  Zack Weinberg  <zackw@panix.com>
807         * stdlib/errno.h: Correct an outdated comment.
809 2017-06-09  Paul A. Clarke  <pc@us.ibm.com>
811         * sysdeps/unix/sysv/linux/powerpc/sysconf.c: New file.
812         Add powerpc-specific overrides for L1, L2, L3 CACHE_SIZEs,
813         CACHE_ASSOCs, and CACHE_LINESIZEs, retrieving from auxv.
814         * sysdeps/unix/sysv/linux/powerpc/test-powerpc-linux-sysconf.c:
815         New file.  Invoke newly supported sysconf values for powerpc,
816         and report results.  If none are supported, report so.
817         * sysdeps/unix/sysv/linux/powerpc/Makefile (tests):  Add new test,
818         tst-sysconf.
820 2017-06-09  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
822         * include/sys/auxv.h (__getauxval): Add a prototype and its
823         libc_hidden_proto.
824         * misc/getauxval.c (__getauxval): Use libc_hidden_def.
826 2017-06-09  Joseph Myers  <joseph@codesourcery.com>
828         [BZ #21561]
829         * posix/sys/wait.h (idtype_t): Change [__USE_XOPEN] condition to
830         [__USE_XOPEN_EXTENDED].
831         (id_t): Likewise.
832         (include of <bits/types/siginfo_t.h): Likewise.
833         (waitid): Likewise.
834         * sysdeps/unix/sysv/linux/bits/waitflags.h (WSTOPPED): Condition
835         on [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8].
836         (WEXITED): Likewise.
837         (WCONTINUED): Likewise.
838         (WNOWAIT): Likewise.
839         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove.
840         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
841         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
843         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Mark
844         libc.so PLT entry optional.
845         (__gtsf2): Likewise.
846         (__unorddf2): Likewise.
847         (__unordsf2): Likewise.
848         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (_Q_fgt):
849         New optional libc.so PLT entry.
851         [BZ #21554]
852         * signal/signal.h (sigpause):: Declare if [__USE_XOPEN_EXTENDED],
853         not [__USE_XOPEN].
855         [BZ #21560]
856         * posix/sys/wait.h: Condition include of <signal.h> on
857         [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8].  Include <bits/types.h>
858         unconditionally.
859         [!__pid_t_defined] (pid_t): Define typedef.
861 2017-06-09  Zack Weinberg  <zackw@panix.com>
863         * include/errno.h (__errno_location): Use __attribute_const__
864         instead of bare __attribute__.
866 2017-06-09  Zack Weinberg  <zackw@panix.com>
868         * Makeconfig (dl-tunable-list.h): Generate using a stamp file.
869         (common-generated): Add libc-modules.h and libc-modules.stmp in a
870         more appropriate location. Also add dl-tunable-list.h and
871         dl-tunable-list.stmp.
873 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
875         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Correct comments.
877 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
879         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
880         strrchr-sse2, strrchr-avx2, wcsrchr-sse2 and wcsrchr-avx2.
881         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
882         (__libc_ifunc_impl_list): Add tests for __strrchr_avx2,
883         __strrchr_sse2, __wcsrchr_avx2 and __wcsrchr_sse2.
884         * sysdeps/x86_64/multiarch/strrchr-avx2.S: New file.
885         * sysdeps/x86_64/multiarch/strrchr-sse2.S: Likewise.
886         * sysdeps/x86_64/multiarch/strrchr.c: Likewise.
887         * sysdeps/x86_64/multiarch/wcsrchr-avx2.S: Likewise.
888         * sysdeps/x86_64/multiarch/wcsrchr-sse2.S: Likewise.
889         * sysdeps/x86_64/multiarch/wcsrchr.c: Likewise.
891 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
893         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
894         memrchr-sse2 and memrchr-avx2.
895         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
896         (__libc_ifunc_impl_list): Add tests for __memrchr_avx2 and
897         __memrchr_sse2.
898         * sysdeps/x86_64/multiarch/memrchr-avx2.S: New file.
899         * sysdeps/x86_64/multiarch/memrchr-sse2.S: Likewise.
900         * sysdeps/x86_64/multiarch/memrchr.c: Likewise.
902 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
904         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
905         strchr-sse2, strchrnul-sse2, strchr-avx2, strchrnul-avx2,
906         wcschr-sse2 and wcschr-avx2.
907         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
908         (__libc_ifunc_impl_list): Add tests for __strchr_avx2,
909         __strchrnul_avx2, __strchrnul_sse2, __wcschr_avx2 and
910         __wcschr_sse2.
911         * sysdeps/x86_64/multiarch/strchr-avx2.S: New file.
912         * sysdeps/x86_64/multiarch/strchr-sse2.S: Likewise.
913         * sysdeps/x86_64/multiarch/strchr.c: Likewise.
914         * sysdeps/x86_64/multiarch/strchrnul-avx2.S: Likewise.
915         * sysdeps/x86_64/multiarch/strchrnul-sse2.S: Likewise.
916         * sysdeps/x86_64/multiarch/strchrnul.c: Likewise.
917         * sysdeps/x86_64/multiarch/wcschr-avx2.S: Likewise.
918         * sysdeps/x86_64/multiarch/wcschr-sse2.S: Likewise.
919         * sysdeps/x86_64/multiarch/wcschr.c: Likewise.
920         * sysdeps/x86_64/multiarch/strchr.S: Removed.
922 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
924         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
925         strlen-sse2, strnlen-sse2, strlen-avx2, strnlen-avx2,
926         wcslen-sse2, wcslen-avx2 and wcsnlen-avx2.
927         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
928         (__libc_ifunc_impl_list): Add tests for __strlen_avx2,
929         __strlen_sse2, __strnlen_avx2, __strnlen_sse2, __wcslen_avx2,
930         __wcslen_sse2 and __wcsnlen_avx2.
931         * sysdeps/x86_64/multiarch/strlen-avx2.S: New file.
932         * sysdeps/x86_64/multiarch/strlen-sse2.S: Likewise.
933         * sysdeps/x86_64/multiarch/strlen.c: Likewise.
934         * sysdeps/x86_64/multiarch/strnlen-avx2.S: Likewise.
935         * sysdeps/x86_64/multiarch/strnlen-sse2.S: Likewise.
936         * sysdeps/x86_64/multiarch/strnlen.c: Likewise.
937         * sysdeps/x86_64/multiarch/wcslen-avx2.S: Likewise.
938         * sysdeps/x86_64/multiarch/wcslen-sse2.S: Likewise.
939         * sysdeps/x86_64/multiarch/wcslen.c: Likewise.
940         * sysdeps/x86_64/multiarch/wcsnlen-avx2.S: Likewise.
941         * sysdeps/x86_64/multiarch/wcsnlen.c (OPTIMIZE (avx2)): New.
942         (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX2 machines where
943         vzeroupper is preferred and AVX unaligned load is fast.
945 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
947         * sysdeps/x86_64/memchr.S (MEMCHR): New.  Depending on if
948         USE_AS_WMEMCHR is defined.
949         (PCMPEQ): Likewise.
950         (memchr): Renamed to ...
951         (MEMCHR): This.  Support wmemchr if USE_AS_WMEMCHR is defined.
952         Replace pcmpeqb with PCMPEQ.
953         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
954         memchr-sse2, rawmemchr-sse2, memchr-avx2, rawmemchr-avx2,
955         wmemchr-sse4_1, wmemchr-avx2 and wmemchr-c.
956         * sysdeps/x86_64/multiarch/ifunc-avx2.h: New file.
957         * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
958         * sysdeps/x86_64/multiarch/memchr-sse2.S: Likewise.
959         * sysdeps/x86_64/multiarch/memchr.c: Likewise.
960         * sysdeps/x86_64/multiarch/rawmemchr-avx2.S: Likewise.
961         * sysdeps/x86_64/multiarch/rawmemchr-sse2.S: Likewise.
962         * sysdeps/x86_64/multiarch/rawmemchr.c: Likewise.
963         * sysdeps/x86_64/multiarch/wmemchr-avx2.S: Likewise.
964         * sysdeps/x86_64/multiarch/wmemchr-sse2.S: Likewise.
965         * sysdeps/x86_64/multiarch/wmemchr.c: Likewise.
966         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
967         (__libc_ifunc_impl_list): Test __memchr_avx2, __memchr_sse2,
968         __rawmemchr_avx2, __rawmemchr_sse2, __wmemchr_avx2 and
969         __wmemchr_sse2.
971 2017-06-09  Florian Weimer  <fweimer@redhat.com>
973         * malloc/Makefile (test-srcs): Remove tst-dynarray,
974         tst-dynarray-fail.
976 2017-06-09  Florian Weimer  <fweimer@redhat.com>
978         Expose TEST_VERIFY_EXIT process termination to GCC optimizers.
979         * support/support_test_verify_impl.c
980         (support_test_verify_exit_impl): Split from
981         support_test_verify_impl.
982         * support/check.h (TEST_VERIFY): Drop status argument from
983         support_test_verify_impl call.
984         (TEST_VERIFY_EXIT): Call support_test_verify_exit_impl.
985         (support_test_verify_impl): Remove status argument.
986         (support_test_verify_exit_impl): Declare.
988 2017-06-09  Siddhesh Poyarekar  <siddhesh@sourceware.org>
990         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h: Remove
991         mention of magic numbers in comments.
992         (_dl_procinfo): Fix undefined behavior
994 2017-06-08  Joseph Myers  <joseph@codesourcery.com>
996         * conform/data/sys/wait.h-data (WIFCONTINUED): Do not expect for
997         [XPG4].
998         (WEXITED): Likewise.
999         (WSTOPPED): Likewise.
1000         (WCONTINUED): Likewise.
1001         (WNOHANG): Likewise.
1002         (WNOWAIT): Likewise.
1003         (idtype_t): Likewise.
1004         (P_ALL): Likewise.
1005         (P_PID): Likewise.
1006         (P_PGID): Likewise.
1007         (id_t): Likewise.
1008         (siginfo_t): Likewise.
1009         (wait3): Likewise.
1010         (waitid): Likewise.
1011         (signal.h): Do not allow header for [XPG4].
1012         (sys/resource.h): Likewise.
1013         (si_*): Do not allow for [XPG4].
1014         (W*): Likewise.
1015         (P_*): Likewise.
1016         (BUS_): Likewise.
1017         (CLD_): Likewise.
1018         (FPE_): Likewise.
1019         (ILL_): Likewise.
1020         (POLL_): Likewise.
1021         (SEGV_): Likewise.
1022         (SI_): Likewise.
1023         (TRAP_): Likewise.
1024         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): New
1025         variable.
1027 2017-06-08  H.J. Lu  <hongjiu.lu@intel.com>
1029         [BZ #21528]
1030         * elf/dl-minimal.c (__strtoul_internal): Removed.
1031         (strtoul): Likewise.
1032         * elf/dl-misc.c (_dl_strtoul): New function.
1033         * elf/dl-tunables.c (tunables_strtoul): Removed.
1034         (tunable_initialize): Replace tunables_strtoul with _dl_strtoul.
1035         * elf/rtld.c (process_envvars): Likewise.
1036         * sysdeps/unix/sysv/linux/dl-librecon.h (_dl_osversion_init):
1037         Likewise.
1038         * sysdeps/generic/ldsodefs.h (_dl_strtoul): New prototype.
1040 2017-06-08  Zack Weinberg  <zackw@panix.com>
1042         * libio/bits/types/FILE.h, libio/bits/types/__FILE.h
1043         * wcsmbs/bits/types/mbstate_t.h, wcsmbs/bits/types/__mbstate_t.h
1044         * wcsmbs/bits/types/wint_t.h: New single-type definition files.
1045         * wctype/bits/wctype-wchar.h: New file holding declarations shared
1046         between wctype.h and wchar.h.
1048         * libio/Makefile, wcsmbs/Makefile, wctype/Makefile:
1049         Install them.
1051         * include/bits/types/FILE.h, include/bits/types/__FILE.h
1052         * include/bits/types/mbstate_t.h, include/bits/types/__mbstate_t.h
1053         * include/bits/types/wint_t.h, include/bits/wcsmbs-wchar.h:
1054         New wrappers.
1055         * include/stdio.h, include/wchar.h, include/wctype.h:
1056         No need to handle __need macros.
1058         * grp/grp.h, gshadow/gshadow.h, hurd/hurd.h, iconv/gconv.h
1059         * libio/stdio.h, mach/mach.h, misc/mntent.h, pwd/pwd.h
1060         * shadow/shadow.h, stdio-common/printf.h, wcsmbs/uchar.h
1061         * wcsmbs/wchar.h, wctype/wctype.h
1062         * sysdeps/generic/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h
1063         Use the new files instead of __need macros.
1065 2017-06-08  H.J. Lu  <hongjiu.lu@intel.com>
1067         * string/test-memrchr.c (test_main): Add tests for len == 0
1068         and tests for positions close to the beginning, which are
1069         equivalent to positions close to the end for memchr.
1071 2017-06-07  H.J. Lu  <hongjiu.lu@intel.com>
1073         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update
1074         comments.
1075         * sysdeps/x86_64/multiarch/wmemset.c: Include ifunc-wmemset.h
1076         instead of wmemset.h.
1077         * sysdeps/x86_64/multiarch/wmemset_chk.c: Likewise.
1078         * sysdeps/x86_64/multiarch/wmemset.h: Renamed to ...
1079         * sysdeps/x86_64/multiarch/ifunc-wmemset.h: This.
1081 2017-06-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1083         * stdio-common/printf-parsemb.c (__parse_one_specmb): Initialize
1084         spec->info.is_binary128 to zero.
1085         * stdio-common/printf.h (printf_info): Add new member is_binary128
1086         to indicate that the number being converted to string is compatible
1087         with the IEC 60559 binary128 format.
1088         * stdio-common/printf_fp.c (__printf_fp_l): Add code to deal with
1089         _Float128 numbers.
1090         * stdio-common/printf_fphex.c: Include ieee754_float128.h and
1091         ldbl-128/printf_fphex_macros.h
1092         (__printf_fphex): Add code to deal with _Float128 numbers.
1093         * stdio-common/printf_size.c (__printf_size): Likewise.
1094         * stdio-common/vfprintf.c (process_arg): Initialize member
1095         info.is_binary128 to zero.
1096         * stdlib/fpioconst.h (FLT128_MAX_10_EXP_LOG): New macro.
1097         * stdlib/stdlib.h: Include bits/floatn.h for _Float128 support.
1098         (strfromf128): New declaration.
1099         * stdlib/strfrom-skeleton.c (STRFROM): Set member info.is_binary128
1100         to one.
1101         * sysdeps/ieee754/float128/Makefile: Add strfromf128.
1102         * sysdeps/ieee754/float128/Versions: Likewise.
1103         * sysdeps/ieee754/float128/strfromf128.c: New file.
1105 2017-06-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1107         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Include
1108         ldbl-128/printf_fphex_macros.h for the definition of PRINT_FPHEX.
1109         (PRINT_FPHEX_LONG_DOUBLE): Define based on PRINT_FPHEX.
1110         * sysdeps/ieee754/ldbl-128/printf_fphex_macros.h
1111         (PRINT_FPHEX): New function-like macro that can be used for long
1112         double, as well as for _Float128
1114 2017-06-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1116         * stdio-common/printf_fp.c (PRINTF_FP_FETCH): New macro.
1117         (__printf_fp_l): Use the new macro to avoid duplicating code.
1118         * stdio-common/printf_fphex.c (PRINTF_FPHEX_FETCH): New macro.
1119         (__printf_fphex): Use the new macro to avoid duplicating code.
1120         * stdio-common/printf_size.c (PRINTF_SIZE_FETCH): New macro.
1121         (__printf_size): Use the new macro to avoid duplicating code.
1123 2017-06-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1125         * include/gmp.h: Include bits/floatn.h
1126         (__mpn_extract_float128): Declare when __HAVE_DISTINCT_FLOAT128 is 1.
1127         * stdlib/gmp-impl.h: Also check if alloca is not defined before
1128         including stack-alloc.h.  It could have been defined by other header
1129         which not necessarily defines HAVE_ALLOCA.
1130         * sysdeps/ieee754/float128/Makefile: New file.
1131         * sysdeps/ieee754/float128/float1282mpn.c: New file.
1132         * sysdeps/ieee754/float128/float128_private.h: Include gmp.h before
1133         redefining __mpn_extract_long_double to __mpn_extract_float128, then
1134         redefine __mpn_extract_long_double to __mpn_extract_float128.
1135         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Replace long double with
1136         _Float128 to allow float128_private.h overrides.
1138 2017-06-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1140         * stdlib/fpioconst.h: Include bits/floatn.h.
1141         (FPIOCONST_HAVE_EXTENDED_RANGE): New macro for testing how big the
1142         power of ten table should be.
1143         (FPIOCONST_POW10_ARRAY_SIZE): Use larger table if above is true.
1144         * stdlib/fpioconst.c (__tens): Use FPIOCONST_HAVE_EXTENDED_RANGE
1145         to include larger tables when _Float128 support is enabled.
1146         (_fpioconst_pow10): Likewise.
1148 2017-06-07  Joseph Myers  <joseph@codesourcery.com>
1150         * include/bits/types/clock_t.h: Use #include <path> instead of
1151         #include "../../path".
1152         * include/bits/types/clockid_t.h: Likewise.
1153         * include/bits/types/struct_iovec.h: Likewise.
1154         * include/bits/types/struct_itimerspec.h: Likewise.
1155         * include/bits/types/struct_osockaddr.h: Likewise.
1156         * include/bits/types/struct_sigstack.h: Likewise.
1157         * include/bits/types/struct_timespec.h: Likewise.
1158         * include/bits/types/struct_timeval.h: Likewise.
1159         * include/bits/types/struct_tm.h: Likewise.
1160         * include/bits/types/time_t.h: Likewise.
1161         * include/bits/types/timer_t.h: Likewise.
1163         [BZ #14096]
1164         * timezone/Makefile ($(objpfx)tst-timezone.out): Depend on
1165         America/New_York.
1167 2017-06-07  H.J. Lu  <hongjiu.lu@intel.com>
1169         * sysdeps/x86_64/multiarch/ifunc-sse4_1.h: Removed and folded
1170         into ...
1171         * sysdeps/x86_64/multiarch/wcsnlen.c: Here.  Don't include
1172         ifunc-sse4_1.h.
1174 2017-06-07  Arjun Shankar  <arjun.is@lostca.se>
1176         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal):
1177         Remove check for NULL 'buf'.
1178         * login/tst-ptsname.c (do_test): Remove test with NULL 'buf'.
1180 2017-06-07  Arjun Shankar  <arjun.is@lostca.se>
1182         * sysdeps/unix/sysv/linux/tst-clone2.c: Do not
1183         include test-skeleton.c.
1184         Include support/check.h and support/test-driver.c.
1186 2017-06-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1188         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
1189         (_dl_aarch64_cap_flags): New array.
1190         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
1191         (_dl_hwcap_string, _dl_string_hwcap, _dl_procinfo): Implement
1192         functions.
1194         * elf/dl-hwcaps.h [HAVE_TUNABLES]: Always read hwcap_mask.
1195         * sysdeps/sparc/sparc32/dl-machine.h [HAVE_TUNABLES]:
1196         Likewise.
1197         * sysdeps/x86/cpu-features.c (init_cpu_features): Always set
1198         up hwcap and hwcap_mask.
1200         * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
1201         (init_cpu_features): Use glibc.tune.hwcap_mask.
1202         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h: New file.
1204         * elf/dl-hwcaps.h: New file.
1205         * elf/dl-hwcaps.c: Include it.
1206         (_dl_important_hwcaps)[HAVE_TUNABLES]: Read and update
1207         glibc.tune.hwcap_mask.
1208         * elf/dl-cache.c: Include dl-hwcaps.h.
1209         (_dl_load_cache_lookup)[HAVE_TUNABLES]: Read
1210         glibc.tune.hwcap_mask.
1211         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1212         * elf/dl-support.c (_dl_hwcap2)[HAVE_TUNABLES]: Drop
1213         _dl_hwcap_mask.
1214         * elf/rtld.c (rtld_global_ro)[HAVE_TUNABLES]: Drop
1215         _dl_hwcap_mask.
1216         (process_envvars)[HAVE_TUNABLES]: Likewise.
1217         * sysdeps/generic/ldsodefs.h (rtld_global_ro)[HAVE_TUNABLES]:
1218         Likewise.
1219         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't
1220         initialize dl_hwcap_mask when tunables are enabled.
1222         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Add include
1223         guard.
1224         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
1226         * elf/dl-tunables.list: Add glibc.tune.hwcap_mask.
1227         * scripts/gen-tunables.awk: Include dl-procinfo.h.
1228         * manual/tunables.texi: Document glibc.tune.hwcap_mask.
1230         * elf/Versions (__tunable_set_val): Rename to __tunable_get_val.
1231         * elf/dl-tunables.c: Likewise.
1232         (do_tunable_update_val): New function.
1233         (__tunable_set_val): New function.
1234         (__tunable_get_val): Call CB only if the tunable was externally
1235         initialized.
1236         (tunables_strtoul): Replace strval with initialized.
1237         * elf/dl-tunables.h (strval): Replace with a bool initialized.
1238         (TUNABLE_ENUM_NAME, TUNABLE_ENUM_NAME1): Adjust names to
1239         prevent collision.
1240         (__tunable_set_val): New function.
1241         (TUNABLE_GET, TUNABLE_GET_FULL): New macros.
1242         (TUNABLE_SET, TUNABLE_SET_FULL): Likewise.
1243         (TUNABLE_SET_VAL): Remove.
1244         (TUNABLE_SET_VAL_WITH_CALLBACK): Likewise.
1245         * README.tunables: Document the new macros.
1246         * malloc/arena.c (ptmalloc_init): Adjust.
1248 2017-06-06  H.J. Lu  <hongjiu.lu@intel.com>
1250         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1251         wcsnlen-sse4_1 and wcsnlen-c.
1252         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1253         (__libc_ifunc_impl_list): Test __wcsnlen_sse4_1 and
1254         __wcsnlen_sse2.
1255         * sysdeps/x86_64/multiarch/ifunc-sse4_1.h: New file.
1256         * sysdeps/x86_64/multiarch/wcsnlen-c.c: Likewise.
1257         * sysdeps/x86_64/multiarch/wcsnlen-sse4_1.S: Likewise.
1258         * sysdeps/x86_64/multiarch/wcsnlen.c: Likewise.
1259         * sysdeps/x86_64/wcsnlen.S: Removed.
1261 2017-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
1263         * sysdeps/s390/nptl/pthread_spin_init.c: Delete File.
1264         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
1265         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
1266         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
1268 2017-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
1270         * NEWS: Mention new spinlock implementation.
1271         * include/atomic.h:
1272         (__atomic_val_bysize): Cast type to omit volatile qualifier.
1273         (atomic_exchange_acq): Likewise.
1274         (atomic_load_relaxed): Likewise.
1275         (ATOMIC_EXCHANGE_USES_CAS): Check definition.
1276         * nptl/pthread_spin_init.c (pthread_spin_init):
1277         Use atomic_store_relaxed.
1278         * nptl/pthread_spin_lock.c (pthread_spin_lock):
1279         Use C11-like atomic macros.
1280         * nptl/pthread_spin_trylock.c (pthread_spin_trylock):
1281         Likewise.
1282         * nptl/pthread_spin_unlock.c (pthread_spin_unlock):
1283         Use atomic_store_release.
1284         * sysdeps/aarch64/nptl/pthread_spin_lock.c: Delete File.
1285         * sysdeps/arm/nptl/pthread_spin_lock.c: Likewise.
1286         * sysdeps/hppa/nptl/pthread_spin_lock.c: Likewise.
1287         * sysdeps/m68k/nptl/pthread_spin_lock.c: Likewise.
1288         * sysdeps/microblaze/nptl/pthread_spin_lock.c: Likewise.
1289         * sysdeps/mips/nptl/pthread_spin_lock.c: Likewise.
1290         * sysdeps/nios2/nptl/pthread_spin_lock.c: Likewise.
1291         * sysdeps/aarch64/atomic-machine.h (ATOMIC_EXCHANGE_USES_CAS): Define.
1292         * sysdeps/alpha/atomic-machine.h: Likewise.
1293         * sysdeps/arm/atomic-machine.h: Likewise.
1294         * sysdeps/i386/atomic-machine.h: Likewise.
1295         * sysdeps/ia64/atomic-machine.h: Likewise.
1296         * sysdeps/m68k/coldfire/atomic-machine.h: Likewise.
1297         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: Likewise.
1298         * sysdeps/microblaze/atomic-machine.h: Likewise.
1299         * sysdeps/mips/atomic-machine.h: Likewise.
1300         * sysdeps/powerpc/powerpc32/atomic-machine.h: Likewise.
1301         * sysdeps/powerpc/powerpc64/atomic-machine.h: Likewise.
1302         * sysdeps/s390/atomic-machine.h: Likewise.
1303         * sysdeps/sparc/sparc32/atomic-machine.h: Likewise.
1304         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: Likewise.
1305         * sysdeps/sparc/sparc64/atomic-machine.h: Likewise.
1306         * sysdeps/tile/tilegx/atomic-machine.h: Likewise.
1307         * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
1308         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Likewise.
1309         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: Likewise.
1310         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: Likewise.
1311         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: Likewise.
1312         * sysdeps/x86_64/atomic-machine.h: Likewise.
1314 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
1316         * sysdeps/x86/cacheinfo.c (intel_check_word): Accept cpu_features
1317         and use it instead of dl_x86_cpu_features.
1318         (handle_intel): Replace maxidx with cpu_features.  Pass
1319         cpu_features to intel_check_word.
1320         (__cache_sysconf): Pass cpu_features to handle_intel.
1321         (init_cacheinfo): Likewise.  Use cpu_features instead of
1322         dl_x86_cpu_features.
1324 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
1326         * sysdeps/x86/cpu-features.h (index_cpu_MOVBE): New.
1327         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1328         memcmp-avx2 and wmemcmp-avx2.
1329         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1330         (__libc_ifunc_impl_list): Test __memcmp_avx2 and __wmemcmp_avx2.
1331         * sysdeps/x86_64/multiarch/memcmp-avx2.S: New file.
1332         * sysdeps/x86_64/multiarch/wmemcmp-avx2.S: Likewise.
1333         * sysdeps/x86_64/multiarch/memcmp.S: Use __memcmp_avx2 on AVX
1334         2 machines if AVX unaligned load is fast and vzeroupper is
1335         preferred.
1336         * sysdeps/x86_64/multiarch/wmemcmp.S: Use __wmemcmp_avx2 on AVX
1337         2 machines if AVX unaligned load is fast and vzeroupper is
1338         preferred.
1340 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
1342         * include/wchar.h (__wmemset_chk): New.
1343         * sysdeps/x86_64/memset.S (VDUP_TO_VEC0_AND_SET_RETURN): Renamed
1344         to MEMSET_VDUP_TO_VEC0_AND_SET_RETURN.
1345         (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
1346         (WMEMSET_CHK_SYMBOL): Likewise.
1347         (WMEMSET_SYMBOL): Likewise.
1348         (__wmemset): Add hidden definition.
1349         (wmemset): Add weak hidden definition.
1350         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1351         wmemset_chk-nonshared.
1352         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1353         (__libc_ifunc_impl_list): Add __wmemset_sse2_unaligned,
1354         __wmemset_avx2_unaligned, __wmemset_avx512_unaligned,
1355         __wmemset_chk_sse2_unaligned, __wmemset_chk_avx2_unaligned
1356         and __wmemset_chk_avx512_unaligned.
1357         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S
1358         (VDUP_TO_VEC0_AND_SET_RETURN): Renamed to ...
1359         (MEMSET_VDUP_TO_VEC0_AND_SET_RETURN): This.
1360         (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
1361         (WMEMSET_SYMBOL): Likewise.
1362         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S
1363         (VDUP_TO_VEC0_AND_SET_RETURN): Renamed to ...
1364         (MEMSET_VDUP_TO_VEC0_AND_SET_RETURN): This.
1365         (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
1366         (WMEMSET_SYMBOL): Likewise.
1367         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Updated.
1368         (WMEMSET_CHK_SYMBOL): New.
1369         (WMEMSET_CHK_SYMBOL (__wmemset_chk, unaligned)): Likewise.
1370         (WMEMSET_SYMBOL (__wmemset, unaligned)): Likewise.
1371         * sysdeps/x86_64/multiarch/memset.S (WMEMSET_SYMBOL): New.
1372         (libc_hidden_builtin_def): Also define __GI_wmemset and
1373         __GI___wmemset.
1374         (weak_alias): New.
1375         * sysdeps/x86_64/multiarch/wmemset.c: New file.
1376         * sysdeps/x86_64/multiarch/wmemset.h: Likewise.
1377         * sysdeps/x86_64/multiarch/wmemset_chk-nonshared.S: Likewise.
1378         * sysdeps/x86_64/multiarch/wmemset_chk.c: Likewise.
1379         * sysdeps/x86_64/wmemset.c: Likewise.
1380         * sysdeps/x86_64/wmemset_chk.c: Likewise.
1382 2017-06-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1383             H.J. Lu  <hongjiu.lu@intel.com>
1385         * sysdeps/x86/init-arch.h (PASTER1): New.
1386         (EVALUATOR1): Likewise.
1387         (PASTER2): Likewise.
1388         (EVALUATOR2): Likewise.
1389         (REDIRECT_NAME): Likewise.
1390         (OPTIMIZE): Likewise.
1391         (IFUNC_SELECTOR): Likewise.
1393 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
1395         * sysdeps/x86_64/strlen.S (PMINU): New.
1396         (PCMPEQ): Likewise.
1397         (SHIFT_RETURN): Likewise.
1398         (FIND_ZERO): Replace pcmpeqb with PCMPEQ.
1399         (strlen): Add SHIFT_RETURN before ret.  Replace pcmpeqb and
1400         pminub with PCMPEQ and PMINU.
1401         * sysdeps/x86_64/wcsnlen.S: New file.
1403 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
1405         * sysdeps/x86_64/memrchr.S (__memrchr): Use 32-bit registers for
1406         the lower 32 bits.  Remove redundant instructions.
1408 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
1410         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): Pass
1411         0 as the high part of offset.
1412         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h (LO_HI_LONG): New.
1414 2017-06-05  Joseph Myers  <joseph@codesourcery.com>
1416         [BZ #21538]
1417         * bits/signum.h (SIG_HOLD): Define if [__USE_XOPEN], not
1418         [__USE_UNIX98].
1419         * sysdeps/unix/bsd/bits/signum.h (SIG_HOLD): Likewise.
1420         * sysdeps/unix/sysv/linux/alpha/bits/signum.h (SIG_HOLD):
1421         Likewise.
1422         * sysdeps/unix/sysv/linux/bits/signum.h (SIG_HOLD): Likewise.
1423         * sysdeps/unix/sysv/linux/hppa/bits/signum.h (SIG_HOLD): Likewise.
1424         * sysdeps/unix/sysv/linux/mips/bits/signum.h (SIG_HOLD): Likewise.
1425         * sysdeps/unix/sysv/linux/sparc/bits/signum.h (SIG_HOLD):
1426         Likewise.
1428         [BZ #21517]
1429         * bits/types/stack_t.h (stack_t): Remove struct tag.
1430         * sysdeps/unix/sysv/linux/bits/types/stack_t.h (stack_t):
1431         Likewise.
1432         * sysdeps/unix/sysv/linux/mips/bits/types/stack_t.h (stack_t):
1433         Likewise.
1434         * debug/segfault.c (install_handler): Use stack_t instead of
1435         struct sigaltstack.
1436         * hurd/hurd/signal.h (struct hurd_sigstate): Likewise.
1437         * hurd/trampoline.c (_hurd_setup_sighandler): Likewise.
1438         * include/signal.h (__sigaltstack): Likwise.
1439         * signal/sigaltstack.c (__sigaltstack): Likewise.
1440         * signal/signal.h (sigaltstack): Likewise.
1441         * sysdeps/mach/hurd/i386/signal-defines.sym
1442         (SIGALTSTACK__SS_SP__OFFSET): Likewise.
1443         (SIGALTSTACK__SS_SIZE__OFFSET): Likewise.
1444         (SIGALTSTACK__SS_FLAGS__OFFSET): Likewise.
1445         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
1446         * sysdeps/mach/hurd/sigstack.c (sigstack): Likewise.
1447         * sysdeps/unix/sysv/linux/alpha/sys/procfs.h (struct
1448         elf_prstatus): Likewise.
1449         * sysdeps/unix/sysv/linux/hppa/____longjmp_chk.c (CHECK_SP):
1450         Likewise.
1451         * sysdeps/unix/sysv/linux/ia64/sys/procfs.h (struct elf_prstatus):
1452         Likewise.
1453         * sysdeps/unix/sysv/linux/m68k/____longjmp_chk.c (CHECK_SP):
1454         Likewise.
1455         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (struct
1456         elf_prstatus): Likewise.
1457         * sysdeps/unix/sysv/linux/sh/sys/procfs.h (struct elf_prstatus):
1458         Likewise.
1459         * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prstatus):
1460         Likewise.
1462 2017-06-04  Zack Weinberg  <zackw@panix.com>
1464         * sysdeps/gnu/errlist.c: Regenerate.
1466 2017-06-04  H.J. Lu  <hongjiu.lu@intel.com>
1468         * benchtests/bench-memchr.c (do_test): Print out both length
1469         and position.
1470         (test_main): Also test the position close to the beginning for
1471         memrchr.
1473 2017-06-04  Zack Weinberg  <zackw@panix.com>
1475         * nis/nis_add.c, nis/nis_addmember.c, nis/nis_call.c
1476         * nis/nis_checkpoint.c, nis/nis_clone_dir.c, nis/nis_clone_obj.c
1477         * nis/nis_clone_res.c, nis/nis_creategroup.c, nis/nis_defaults.c
1478         * nis/nis_destroygroup.c, nis/nis_domain_of.c
1479         * nis/nis_domain_of_r.c, nis/nis_error.c, nis/nis_file.c
1480         * nis/nis_free.c, nis/nis_getservlist.c, nis/nis_ismember.c
1481         * nis/nis_local_names.c, nis/nis_lookup.c, nis/nis_mkdir.c
1482         * nis/nis_modify.c, nis/nis_ping.c, nis/nis_print.c
1483         * nis/nis_print_group_entry.c, nis/nis_remove.c
1484         * nis/nis_removemember.c, nis/nis_rmdir.c, nis/nis_server.c
1485         * nis/nis_subr.c, nis/nis_table.c, nis/nis_util.c
1486         * nis/nis_verifygroup.c, nis/nis_xdr.c, nis/yp_xdr.c
1487         * nis/ypclnt.c, nis/ypupdate_xdr.c, sunrpc/auth_des.c
1488         * sunrpc/auth_none.c, sunrpc/auth_unix.c, sunrpc/authdes_prot.c
1489         * sunrpc/authuxprot.c, sunrpc/clnt_gen.c, sunrpc/clnt_perr.c
1490         * sunrpc/clnt_raw.c, sunrpc/clnt_simp.c, sunrpc/clnt_tcp.c
1491         * sunrpc/clnt_udp.c, sunrpc/clnt_unix.c, sunrpc/des_crypt.c
1492         * sunrpc/des_soft.c, sunrpc/get_myaddr.c, sunrpc/key_call.c
1493         * sunrpc/key_prot.c, sunrpc/netname.c, sunrpc/pm_getmaps.c
1494         * sunrpc/pm_getport.c, sunrpc/pmap_clnt.c, sunrpc/pmap_prot.c
1495         * sunrpc/pmap_prot2.c, sunrpc/pmap_rmt.c, sunrpc/publickey.c
1496         * sunrpc/rpc_cmsg.c, sunrpc/rpc_dtable.c, sunrpc/rpc_prot.c
1497         * sunrpc/rpc_thread.c, sunrpc/rtime.c, sunrpc/svc.c
1498         * sunrpc/svc_auth.c, sunrpc/svc_raw.c, sunrpc/svc_run.c
1499         * sunrpc/svc_tcp.c, sunrpc/svc_udp.c, sunrpc/svc_unix.c
1500         * sunrpc/svcauth_des.c, sunrpc/xdr.c, sunrpc/xdr_array.c
1501         * sunrpc/xdr_float.c, sunrpc/xdr_intXX_t.c, sunrpc/xdr_mem.c
1502         * sunrpc/xdr_rec.c, sunrpc/xdr_ref.c, sunrpc/xdr_sizeof.c
1503         * sunrpc/xdr_stdio.c: Include shlib-compat.h.
1505         * sunrpc/des_crypt.c, sunrpc/des_soft.c: No need to include
1506         abi-versions.h as well as shlib-compat.h.
1507         * sunrpc/get_myaddr.c: Remove obsolete comment.
1508         * sunrpc/pmap_rmt.c: Remove obsolete comment and #undef.
1509         * sunrpc/rpc_thread.c: Include libc-lock.h only once.
1510         * resolv/res_libc.c: Include shlib-compat.h only once.
1512 2017-06-03  Florian Weimer  <fweimer@redhat.com>
1514         * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __strdup instead
1515         of strdup.
1517 2017-06-02  H.J. Lu  <hongjiu.lu@intel.com>
1519         * sysdeps/x86/cacheinfo.c (__x86_shared_non_temporal_threshold):
1520         Set to the 3/4 of the total shared cache size.
1522 2017-06-02  Rical Jasan  <ricaljasan@pacific.net>
1524         * manual/errno.texi: Remove redundant error strings.
1525         * manual/macros.texi (@errno): Render the error string in every
1526         description.
1528 2017-06-02  Joseph Myers  <joseph@codesourcery.com>
1530         [BZ #21543]
1531         * signal/signal.h: Only include <bits/types/sigevent_t.h> and
1532         <bits/sigevent-consts.h> if [__USE_POSIX199309], not if
1533         [__USE_XOPEN_EXTENDED].
1535 2017-06-02  Florian Weimer  <fweimer@redhat.com>
1537         * sysdeps/posix/getaddrinfo.c (gethosts): Eliminate another
1538         strdupa.
1539         (getcanonname): Use __strdup instead of strdup.
1541 2017-06-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1543         * misc/Makefile (CFLAGS-preadv2.c): New rule.
1544         (CFLAGS-preadv64v2.c): Likewise.
1545         (CFLAGS-pwritev2.c): Likewise.
1546         (CFLAGS-pwritev64v2.c): Likewise.
1548 2017-06-02  Florian Weimer  <fweimer@redhat.com>
1550         Test res_init with several configuration files.
1551         * resolv/Makefile [build-shared] (tests-internal): Add
1552         tst-resolv-res_init, tst-resolv-res_init-thread.
1553         (tst-resolv-res_init): Link against libdl, libresolv.
1554         (tst-resolv-res_init-thread): Link against libdl, libresolv,
1555         libpthread.
1556         * resolv/tst-resolv-res_init.c: New file.
1557         * resolv/tst-resolv-res_init-skeleton.c: Likewise.
1558         * resolv/tst-resolv-res_init-thread.c: Likewise.
1559         * support/Makefile (libsupport-routines): Add support-xstat,
1560         support_can_chroot, support_capture_subprocess_check,
1561         support_isolate_in_subprocess, support_shared_allocate,
1562         support_write_file_string, xchroot, xmkdir, xopen.
1563         * support/capture_subprocess.h (enum support_capture_allow): Define.
1564         (support_capture_subprocess_check): Declare.
1565         * support/namespace.h (support_can_chroot)
1566         (support_isolate_in_subprocess): Declare.
1567         * support/support-xstat.c: New file.
1568         * support/support.h (support_shared_allocate, support_shared_free)
1569         (support_write_file_string): Declare.
1570         * support/support_can_chroot.c: New file.
1571         * support/support_capture_subprocess_check.c: Likewise.
1572         * support/support_isolate_in_subprocess.c: Likewise.
1573         * support/support_shared_allocate.c: Likewise.
1574         * support/support_write_file_string.c: Likewise.
1575         * support/xchroot.c: Likwise.
1576         * support/xmkdir.c: Likwise.
1577         * support/xopen.c: Likwise.
1578         * support/xunistd.h (xopen, xstat, xmkdir, xchroot): Declare.
1580 2017-06-02  Florian Weimer  <fweimer@redhat.com>
1582         * sysdeps/posix/getaddrinfo.c (getcanonname): New function.
1583         (gaih_inet): Remove malloc_canonbuf variable.  Call getcanonname.
1585 2017-06-02  Florian Weimer  <fweimer@redhat.com>
1587         * malloc/Makefile (routines): Add dynarray_at_failure,
1588         dynarray_emplace_enlarge, dynarray_finalize.
1589         (tests-internal): Add tst-dynarray, tst-dynarray-fail,
1590         tst-dynarray-at-fail.
1591         (tests-srcs): Add tst-dynarray, tst-dynarray-fail.
1592         (tests-special): Add tst-dynarray-mem.out,
1593         tst-dynarray-mem-fail.out.
1594         (tst-dynarray-ENV, tst-dynarray-fail-ENV): Set.
1595         (tst-dynarray-mem.out, tst-dynarray-fail-mem.out): Generate using
1596         mtrace.
1597         * malloc/Versions (__libc_dynarray_at_failure)
1598         (__libc_dynarray_emplace_enlarge, __libc_dynarray_finalize)
1599         (__libc_dynarray_resize, __libc_dynarray_resize_clear): Export as
1600         GLIBC_PRIVATE.
1601         * malloc/dynarray.h: New file.
1602         * malloc/dynarray-skeleton.c: Likewise.
1603         * malloc/dynarray_at_failure.c: Likewise.
1604         * malloc/dynarray_emplace_enlarge.c: Likewise.
1605         * malloc/dynarray_finalize.c: Likewise.
1606         * malloc/dynarray_resize.c: Likewise.
1607         * malloc/dynarray_resize_clear.c: Likewise.
1608         * malloc/tst-dynarray.c: Likewise.
1609         * malloc/tst-dynarray-fail.c: Likewise.
1610         * malloc/tst-dynarray-at-fail.c: Likewise.
1611         * malloc/tst-dynarray-shared.h: Likewise.
1612         * support/Makefile (libsupport-routines): Add
1613         support_capture_subprocess, xdup2, xpipe.
1614         (tests): Add tst-support_capture_subprocess.
1615         * support/capture_subprocess.h: New file.
1616         * support/support_capture_subprocess.c: Likewise.
1617         * support/tst-support_capture_subprocess.c: Likewise.
1618         * support/xdup2.c: Likewise.
1619         * support/xpipe.c: Likewise.
1620         * support/xunistd.h (xdup2, xpipe): Declare.
1622 2017-06-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1624         * stdlib/gmp-impl.h: Include sys/param.h instead of redefining the
1625         macros MAX and MIN.
1627 2017-06-01  Joseph Myers  <joseph@codesourcery.com>
1629         * conform/data/signal.h-data (sa_sigaction): Do not expect for
1630         [XPG4].
1631         (SA_SIGINFO): Likewise.
1632         (SA_ONSTACK): Likewise.
1633         (SA_RESETHAND): Likewise.
1634         (SA_RESTART): Likewise.
1635         (SA_NOCLDWAIT): Likewise.
1636         (SA_NODEFER): Likewise.
1637         (SS_ONSTACK): Likewise.
1638         (SS_DISABLE): Likewise.
1639         (MINSIGSTKSZ): Likewise.
1640         (SIGSTKSZ): Likewise.
1641         (ucontext_t): Likewise.
1642         (stack_t): Likewise.
1643         (struct sigstack): Likewise.
1644         (SI_USER): Do not expect for [XPG4 || XPG42].
1645         (SI_QUEUE): Likewise.
1646         (SI_TIMER): Likewise.
1647         (SI_ASYNCIO): Likewise.
1648         (SI_MESGQ): Likewise.
1649         (bsd_signal): Do not expect for [XPG4].
1650         (killpg): Likewise.
1651         (sigaltstack): Likewise.
1652         (sighold): Likewise.
1653         (sigignore): Likewise.
1654         (siginterrupt): Likewise.
1655         (sigpause): Likewise.
1656         (sigrelse): Likewise.
1657         (sigset): Likewise.
1658         (sigwait): Do not expect for [XPG4 || XPG42].
1660 2017-06-01  Zack Weinberg  <zackw@panix.com>
1662         [BZ #21514]
1663         * sysdeps/unix/sysv/linux/include/bits/syscall.h: New shim header
1664         pointing to the generated file in <builddir>/misc/bits/syscall.h.
1666 2017-06-01  Joseph Myers  <joseph@codesourcery.com>
1668         [BZ #21457]
1669         * sysdeps/arm/sys/ucontext.h (NGREG): Rename to __NGREG and define
1670         NGREG to __NGREG if [__USE_MISC].
1671         (gregset_t): Define using __NGREG.
1672         (__ctx): New macro.
1673         (mcontext_t): Use __ctx in defining fields.
1674         * sysdeps/i386/sys/ucontext.h (NGREG): Rename to __NGREG and
1675         define NGREG to __NGREG if [__USE_MISC].
1676         (gregset_t): Define using __NGREG.
1677         (__ctx): New macro.
1678         (__ctxt): Likewise.
1679         (fpregset_t): Use __ctx and __ctxt in defining fields.
1680         (mcontext_t): Likewise.
1681         * sysdeps/m68k/sys/ucontext.h (NGREG): Rename to __NGREG and
1682         define NGREG to __NGREG if [__USE_MISC].
1683         (gregset_t): Define using __NGREG.
1684         (__ctx): New macro.
1685         (mcontext_t): Use __ctx in defining fields.
1686         * sysdeps/mips/sys/ucontext.h (NGREG): Rename to __NGREG and
1687         define NGREG to __NGREG if [__USE_MISC].
1688         (gregset_t): Define using __NGREG.
1689         (__ctx): New macro.
1690         (fpregset_t): Use __ctx in defining fields.
1691         (mcontext_t): Likewise.
1692         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (NGREG): Rename to
1693         __NGREG and define NGREG to __NGREG if [__USE_MISC].
1694         (gregset_t): Define using __NGREG.
1695         (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
1696         [__USE_MISC].
1697         (fpregset_t): Define using __NFPREG.
1698         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (NGREG): Rename to
1699         __NGREG and define NGREG to __NGREG if [__USE_MISC].
1700         (gregset_t): Define using __NGREG.
1701         (__ctx): New macro.
1702         (fpregset_t): Use __ctx in defining fields.
1703         (mcontext_t): Likewise.
1704         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (NGREG): Rename to
1705         __NGREG and define NGREG to __NGREG if [__USE_MISC].
1706         (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
1707         [__USE_MISC].
1708         (gregset_t): Define using __NGREG.
1709         (__ctx): New macro.
1710         (fpregset_t): Use __ctx in defining fields.
1711         (mcontext_t): Likewise.
1712         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): New macro.
1713         (mcontext_t): Use __ctx in defining fields.
1714         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (__ctx): New
1715         macro.
1716         [__WORDSIZE == 32] (NGREG): Rename to __NGREG and define NGREG to
1717         __NGREG if [__USE_MISC].
1718         [__WORDSIZE == 32] (gregset_t): Define using __NGREG.
1719         [__WORDSIZE == 32] (fpregset_t): Use __ctx in defining fields.
1720         (mcontext_t): Likewise.
1721         [__WORDSIZE != 32] (NGREG): Rename to __NGREG and define NGREG to
1722         __NGREG if [__USE_MISC].
1723         [__WORDSIZE != 32] (NFPREG): Rename to __NFPREG and define NFPREG
1724         to __NFPREG if [__USE_MISC].
1725         [__WORDSIZE != 32] (NVRREG): Rename to __NVRREG and define NVRREG
1726         to __NVRREG if [__USE_MISC].
1727         [__WORDSIZE != 32] (gregset_t): Define using __NGREG.
1728         [__WORDSIZE != 32] (fpregset_t): Define using __NFPREG.
1729         [__WORDSIZE != 32] (vscr_t): Use __ctx in defining fields.
1730         [__WORDSIZE != 32] (vrregset_t): Likewise.
1731         [__WORDSIZE != 32] (mcontext_t): Likewise.
1732         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): New macro.
1733         (__psw_t): Use __ctx in defining fields.
1734         (NGREG): Rename to __NGREG and define NGREG to __NGREG if
1735         [__USE_MISC].
1736         (gregset_t): Define using __NGREG.
1737         (fpreg_t): Use __ctx in defining fields.
1738         (fpregset_t): Likewise.
1739         (mcontext_t): Likewise.
1740         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGREG): Rename to
1741         __NGREG and define NGREG to __NGREG if [__USE_MISC].
1742         (gregset_t): Define using __NGREG.
1743         (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
1744         [__USE_MISC].
1745         (fpregset_t): Define using __NFPREG.
1746         (__ctx): New macro.
1747         (mcontext_t): Use __ctx in defining fields.
1748         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (__ctx): New macro.
1749         [__x86_64__] (NGREG): Rename to __NGREG and define NGREG to
1750         __NGREG if [__USE_MISC].
1751         [__x86_64__] (gregset_t): Define using __NGREG.
1752         [__x86_64__] (struct _libc_fpxreg): Use __ctx in defining fields.
1753         [__x86_64__] (struct _libc_fpstate): Likewise.
1754         [__x86_64__] (mcontext_t): Likewise.
1755         [!__x86_64__] (NGREG): Rename to __NGREG and define NGREG to
1756         __NGREG if [__USE_MISC].
1757         [!__x86_64__] (gregset_t): Define using __NGREG.
1758         [!__x86_64__] (struct _libc_fpreg): Use __ctx in defining fields.
1759         [!__x86_64__] (struct _libc_fpstate): Likewise.
1760         [!__x86_64__] (mcontext_t): Likewise.
1762 2017-06-01  Zack Weinberg  <zackw@panix.com>
1764         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Don't include
1765         alpha/pt-vfork.S.  Provide own compat shim for vfork and __vfork.
1766         * sysdeps/unix/sysv/linux/microblaze/vfork.S: Add __libc_vfork alias.
1767         * sysdeps/unix/sysv/linux/microblaze/localplt.data:
1768         libpthread.so no longer references __errno_location.
1770 2017-05-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1772         * NEWS: Add note about pwritev2 and preadv2 inclusion.
1773         * misc/Makefile (routines): Add preadv2, preadv64v2, pwritev2, and
1774         pwritev64v2.
1775         (tests): Add tst-preadvwritev2 and tst-preadvwritev64v2.
1776         * misc/Versions (GLIBC_2.26): Add preadv2, preadv64v2, pwritev2, and
1777         pwritev64v2.
1778         * misc/preadv2.c: New file.
1779         * misc/preadv64v2.c: Likewise.
1780         * misc/pwritev2.c: Likewise.
1781         * misc/pwritev64v2.c: Likewise.
1782         * misc/tst-preadvwritev2.c: Likewise.
1783         * misc/tst-preadvwritev64v2.c: Likewise.
1784         * manual/llio.texi: Add preadv2 and pwritev2 documentation.
1785         * misc/sys/uio.h [__USE_GNU && !__USE_FILE_OFFSET64] (preadv2): New
1786         prototype.
1787         [__USE_GNU && !__USE_FILE_OFFSET64] (pwritev2): Likewise.
1788         [__USE_GNU && __USE_FILE_OFFSET64] (preadv64v2): Likewise.
1789         [__USE_GNU && __USE_FILE_OFFSET64] (pwritev64v2): Likewise.
1790         * misc/tst-preadvwritev-common.c (PREADV): Define if not defined.
1791         (PWRITEV): Likewise.
1792         (do_test_with_offset): Use PREADV and PWRITEV macros and check for
1793         ENOSYS.
1794         * nptl/tst-cancel4.c (tf_pwritev2): New test.
1795         (tf_preadv2): Likewise.
1796         (tf_fsync): Add tf_pwritev2 and tf_preadv2.
1797         * sysdeps/posix/preadv2.c: Likewise.
1798         * sysdeps/posix/preadv64v2.c: Likewise.
1799         * sysdeps/posix/pwritev2.c: Likewise.
1800         * sysdeps/posix/pwritev64v2.c: Likewise.
1801         * sysdeps/unix/sysv/linux/kernel-features.h: Add comment for syscall
1802         support in kernel.
1803         * sysdeps/unix/sysv/linux/preadv2.c: Likewise.
1804         * sysdeps/unix/sysv/linux/preadv64v2.c: Likewise.
1805         * sysdeps/unix/sysv/linux/pwritev2.c: Likewise.
1806         * sysdeps/unix/sysv/linux/pwritev64v2.c: Likewise.
1807         * sysdeps/unix/sysv/linux/preadv.c (preadv): Add libc_hidden_def.
1808         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
1809         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
1810         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
1811         * sysdeps/unix/sysv/linux/bits/uio.h: Add supported preadv2/pwritev2
1812         support flags on Linux.
1813         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.26): Add
1814         preadv2, preadv64v2, pwritev2, pwritev64v2.
1815         * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.26): Likewise.
1816         * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.26): Likewise.
1817         * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.26): Likewise.
1818         * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.26): Likewise.
1819         * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.26): Likewise.
1820         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.26):
1821         Likewise.
1822         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.26):
1823         Likewise.
1824         * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.26):
1825         Likewise.
1826         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist (GLIBC_2.26):
1827         Likewise.
1828         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist (GLIBC_2.26):
1829         Likewise.
1830         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist (GLIBC_2.26):
1831         Likewise.
1832         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist (GLIBC_2.26):
1833         Likewise.
1834         * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.26): Likewise.
1835         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1836         (GLIBC_2.26): Likewise.
1837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
1838         (GLIBC_2.26): Likewise.
1839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist (GLIBC_2.26):
1840         Likewise.
1841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
1842         (GLIBC_2.26): Likewise.
1843         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.26):
1844         Likewise.
1845         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.26):
1846         Likewise.
1847         * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.26): Likewise.
1848         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.26):
1849         Likewise.
1850         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.26):
1851         Likewise.
1852         * sysdeps/sysv/linux/tile/tilegx/tilegx32/libc.abilist (GLIBC_2.26):
1853         Likewise.
1854         * sysdeps/sysv/linux/tile/tilegx/tilegx64/libc.abilist (GLIBC_2.26):
1855         Likewise.
1856         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist (GLIBC_2.26):
1857         Likewise.
1858         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.26):
1859         Likewise.
1860         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.26):
1861         Likewise.
1863 2017-05-31  Andreas Schwab  <schwab@suse.de>
1865         * nptl/tst-fork3.c: Include <support/test-driver.c>.
1866         (main): Rename to do_test and make static.
1868 2017-05-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1870         * csu/libc-start.c [!ARCH_INIT_CPU_FEATURES]: Define
1871         ARCH_INIT_CPU_FEATURES.
1872         (LIBC_START_MAIN): Call it.
1873         * sysdeps/unix/sysv/linux/aarch64/libc-start.c
1874         (__libc_start_main): Remove.
1875         (ARCH_INIT_CPU_FEATURES): New macro.
1876         * sysdeps/x86/libc-start.c (__libc_start_main): Remove.
1877         (ARCH_INIT_CPU_FEATURES): New macro.
1879 2017-05-30  Dennis Wölfing  <denniswoelfing@gmx.de>
1880             Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
1882         * include/stdlib.h (__libc_reallocarray): New declaration.
1883         * malloc/Makefile (routines): Add reallocarray.
1884         (tests): Add tst-reallocarray.c.
1885         * malloc/Versions: Add reallocarray and __libc_reallocarray.
1886         * malloc/malloc-internal.h (check_mul_overflow_size_t): New inline
1887         function.
1888         * malloc/malloc.h (reallocarray): New declaration.
1889         * stdlib/stdlib.h (reallocarray): Likewise.
1890         * malloc/reallocarray.c: New file.
1891         * malloc/tst-reallocarray.c: New test file.
1892         * manual/memory.texi: Document reallocarray.
1893         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add reallocarray.
1894         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
1895         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
1896         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
1897         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
1898         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
1899         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
1900         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
1901         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
1902         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
1903         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
1904         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
1905         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
1906         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
1907         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1908         Likewise.
1909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1910         Likewise.
1911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
1912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
1913         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1914         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1915         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
1916         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1917         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1918         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
1919         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
1920         * sysdeps/unix/sysv/linux/tilepro/libc.abilist: Likewise.
1921         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1922         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
1924 2017-05-30  H.J. Lu  <hongjiu.lu@intel.com>
1926         * sysdeps/x86_64/memchr.S (memchr): Use 32-bit registers for
1927         the lower 32 bits.
1929 2017-05-29  Andreas Schwab  <schwab@linux-m68k.org>
1931         * sysdeps/m68k/Makefile (ASFLAGS-.o) [$(subdir) = csu &&
1932         $(build-pie-default) = yes]: Define.
1934 2017-05-25  H.J. Lu  <hongjiu.lu@intel.com>
1936         * string/test-memchr.c (test_main): Add tests for n == 0.
1938 2017-05-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1940         * nptl/Makefile (tests): Move nptl/tst-mutex8, nptl/tst-mutex8-static,
1941         nptl/tst-mutexpi8 and nptl/tst-mutexpi8-static to...
1942         (tests-internal): ... here.
1944 2017-05-25   Siddhesh Poyarekar  <siddhesh@sourceware.org>
1945              H.J. Lu  <hongjiu.lu@intel.com>
1947         * elf/dl-tunables.c (__tunable_set_val): Make a hidden alias.
1948         * elf/dl-tunables.h (__tunables_init): Mark it hidden in rtld.
1949         (__tunable_set_val): Likewise.
1951 2017-05-25  H.J. Lu  <hongjiu.lu@intel.com>
1953         * Makeconfig ($(common-objpfx)dl-tunable-list.h): Also check
1954         dl-tunables.list in subdirectories.
1956 2017-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1957             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1958             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1960         * math/math.h [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
1961         (SNANF128): New macro.
1962         * math/e_sqrtf128.c: New file.
1963         * math/s_fmaxmag_template.c: Include math_private.h in order to
1964         make inline expansion of fabs128().
1965         * math/s_fminmag_template.c: Likewise.
1967         * sysdeps/ieee754/float128/e_acosf128.c: New file.
1968         * sysdeps/ieee754/float128/e_acoshf128.c: New file.
1969         * sysdeps/ieee754/float128/e_asinf128.c: New file.
1970         * sysdeps/ieee754/float128/e_atan2f128.c: New file.
1971         * sysdeps/ieee754/float128/e_atanhf128.c: New file.
1972         * sysdeps/ieee754/float128/e_coshf128.c: New file.
1973         * sysdeps/ieee754/float128/e_exp10f128.c: New file.
1974         * sysdeps/ieee754/float128/e_expf128.c: New file.
1975         * sysdeps/ieee754/float128/e_fmodf128.c: New file.
1976         * sysdeps/ieee754/float128/e_gammaf128_r.c: New file.
1977         * sysdeps/ieee754/float128/e_hypotf128.c: New file.
1978         * sysdeps/ieee754/float128/e_ilogbf128.c: New file.
1979         * sysdeps/ieee754/float128/e_j0f128.c: New file.
1980         * sysdeps/ieee754/float128/e_j1f128.c: New file.
1981         * sysdeps/ieee754/float128/e_jnf128.c: New file.
1982         * sysdeps/ieee754/float128/e_lgammaf128_r.c: New file.
1983         * sysdeps/ieee754/float128/e_log10f128.c: New file.
1984         * sysdeps/ieee754/float128/e_log2f128.c: New file.
1985         * sysdeps/ieee754/float128/e_logf128.c: New file.
1986         * sysdeps/ieee754/float128/e_powf128.c: New file.
1987         * sysdeps/ieee754/float128/e_rem_pio2f128.c: New file.
1988         * sysdeps/ieee754/float128/e_remainderf128.c: New file.
1989         * sysdeps/ieee754/float128/e_scalbf128.c: New file.
1990         * sysdeps/ieee754/float128/e_sinhf128.c: New file.
1991         * sysdeps/ieee754/float128/float128_private.h: New file.
1992         * sysdeps/ieee754/float128/gamma_productf128.c: New file.
1993         * sysdeps/ieee754/float128/ieee754_float128.h: New file.
1994         * sysdeps/ieee754/float128/k_cosf128.c: New file.
1995         * sysdeps/ieee754/float128/k_sincosf128.c: New file.
1996         * sysdeps/ieee754/float128/k_sinf128.c: New file.
1997         * sysdeps/ieee754/float128/k_tanf128.c: New file.
1998         * sysdeps/ieee754/float128/lgamma_negf128.c: New file.
1999         * sysdeps/ieee754/float128/lgamma_productf128.c: New file.
2000         * sysdeps/ieee754/float128/s_asinhf128.c: New file.
2001         * sysdeps/ieee754/float128/s_atanf128.c: New file.
2002         * sysdeps/ieee754/float128/s_cbrtf128.c: New file.
2003         * sysdeps/ieee754/float128/s_ceilf128.c: New file.
2004         * sysdeps/ieee754/float128/s_copysignf128.c: New file.
2005         * sysdeps/ieee754/float128/s_cosf128.c: New file.
2006         * sysdeps/ieee754/float128/s_erff128.c: New file.
2007         * sysdeps/ieee754/float128/s_expm1f128.c: New file.
2008         * sysdeps/ieee754/float128/s_fabsf128.c: New file.
2009         * sysdeps/ieee754/float128/s_finitef128.c: New file.
2010         * sysdeps/ieee754/float128/s_floorf128.c: New file.
2011         * sysdeps/ieee754/float128/s_fmaf128.c: New file.
2012         * sysdeps/ieee754/float128/s_fpclassifyf128.c: New file.
2013         * sysdeps/ieee754/float128/s_frexpf128.c: New file.
2014         * sysdeps/ieee754/float128/s_fromfpf128.c: New file.
2015         * sysdeps/ieee754/float128/s_fromfpxf128.c: New file.
2016         * sysdeps/ieee754/float128/s_getpayloadf128.c: New file.
2017         * sysdeps/ieee754/float128/s_isinff128.c: New file.
2018         * sysdeps/ieee754/float128/s_isnanf128.c: New file.
2019         * sysdeps/ieee754/float128/s_issignalingf128.c: New file.
2020         * sysdeps/ieee754/float128/s_llrintf128.c: New file.
2021         * sysdeps/ieee754/float128/s_llroundf128.c: New file.
2022         * sysdeps/ieee754/float128/s_log1pf128.c: New file.
2023         * sysdeps/ieee754/float128/s_logbf128.c: New file.
2024         * sysdeps/ieee754/float128/s_lrintf128.c: New file.
2025         * sysdeps/ieee754/float128/s_lroundf128.c: New file.
2026         * sysdeps/ieee754/float128/s_modff128.c: New file.
2027         * sysdeps/ieee754/float128/s_nearbyintf128.c: New file.
2028         * sysdeps/ieee754/float128/s_nextafterf128.c: New file.
2029         * sysdeps/ieee754/float128/s_nexttowardf128.c: New file.
2030         * sysdeps/ieee754/float128/s_nextupf128.c: New file.
2031         * sysdeps/ieee754/float128/s_remquof128.c: New file.
2032         * sysdeps/ieee754/float128/s_rintf128.c: New file.
2033         * sysdeps/ieee754/float128/s_roundevenf128.c: New file.
2034         * sysdeps/ieee754/float128/s_roundf128.c: New file.
2035         * sysdeps/ieee754/float128/s_scalblnf128.c: New file.
2036         * sysdeps/ieee754/float128/s_scalbnf128.c: New file.
2037         * sysdeps/ieee754/float128/s_setpayloadf128.c: New file.
2038         * sysdeps/ieee754/float128/s_setpayloadsigf128.c: New file.
2039         * sysdeps/ieee754/float128/s_signbitf128.c: New file.
2040         * sysdeps/ieee754/float128/s_significandf128.c: New file.
2041         * sysdeps/ieee754/float128/s_sincosf128.c: New file.
2042         * sysdeps/ieee754/float128/s_sinf128.c: New file.
2043         * sysdeps/ieee754/float128/s_tanf128.c: New file.
2044         * sysdeps/ieee754/float128/s_tanhf128.c: New file.
2045         * sysdeps/ieee754/float128/s_totalorderf128.c: New file.
2046         * sysdeps/ieee754/float128/s_totalordermagf128.c: New file.
2047         * sysdeps/ieee754/float128/s_truncf128.c: New file.
2048         * sysdeps/ieee754/float128/s_ufromfpf128.c: New file.
2049         * sysdeps/ieee754/float128/s_ufromfpxf128.c: New file.
2050         * sysdeps/ieee754/float128/t_sincosf128.c: New file.
2051         * sysdeps/ieee754/float128/x2y2m1f128.c: New file.
2053         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h:
2054         (__iscanonicalf128): Define as a macro.
2056 2017-05-24  Steve Ellcey  <sellcey@caviumnetworks.com>
2058         * sysdeps/aarch64/memcpy.S (MEMMOVE, MEMCPY): New macros.
2059         (memmove): Use MEMMOVE for name.
2060         (memcpy): Use MEMCPY for name.  Change internal labels
2061         to external labels.
2062         * sysdeps/aarch64/multiarch/Makefile: New file.
2063         * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Likewise.
2064         * sysdeps/aarch64/multiarch/init-arch.h: Likewise.
2065         * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
2066         * sysdeps/aarch64/multiarch/memcpy_generic.S: Likewise.
2067         * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Likewise.
2068         * sysdeps/aarch64/multiarch/memmove.c: Likewise.
2070 2017-05-24  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2072         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
2073         (_dl_arm_cap_flags): Fix array subscript.
2074         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
2075         Fix count.
2077 2017-05-24  H.J. Lu  <hongjiu.lu@intel.com>
2079         * sysdeps/x86/cacheinfo.c: Skip if not in libc.
2081 2017-05-24  H.J. Lu  <hongjiu.lu@intel.com>
2083         * sysdeps/x86/cacheinfo.c (is_intel): Removed.
2084         (is_amd): Likewise.
2085         (max_cpuid): Likewise.
2086         (__cache_sysconf): Use __get_cpu_features to get cpu_features.
2087         (init_cacheinfo): Likewise.
2089 2017-05-23  Joseph Myers  <joseph@codesourcery.com>
2091         [BZ #21511]
2092         * signal/signal.h: Include <bits/types/struct_sigstack.h> only if
2093         [(__USE_XOPEN_EXTENDED && !__USE_XOPEN2K8) || __USE_MISC].
2094         (sigstack): Declare only if [(__USE_XOPEN_EXTENDED &&
2095         !__USE_XOPEN2K) || __USE_MISC].
2096         * conform/data/signal.h-data (struct sigstack): Expect type only
2097         if [!XOPEN2K8 && !POSIX2008].
2098         (sigstack): Expect function only if [XPG42 || UNIX98].
2100         [BZ #21457]
2101         * sysdeps/arm/sys/ucontext.h: Do not include <signal.h>,
2102         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2103         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2104         <bits/types/__sigset_t.h>.
2105         (ucontext_t): Use sigset_t instead of __sigset_t.
2106         * sysdeps/generic/sys/ucontext.h: Do not include <signal.h>,
2107         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2108         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2109         <bits/types/__sigset_t.h>.
2110         (ucontext_t): Use sigset_t instead of __sigset_t.
2111         * sysdeps/i386/sys/ucontext.h: Do not include <signal.h>,
2112         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2113         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2114         <bits/types/__sigset_t.h>.
2115         (ucontext_t): Use sigset_t instead of __sigset_t.
2116         * sysdeps/m68k/sys/ucontext.h: Do not include <signal.h>,
2117         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2118         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2119         <bits/types/__sigset_t.h>.
2120         (ucontext_t): Use sigset_t instead of __sigset_t.
2121         * sysdeps/mips/sys/ucontext.h: Do not include <signal.h>,
2122         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2123         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2124         <bits/types/__sigset_t.h>.
2125         (ucontext_t): Use sigset_t instead of __sigset_t.
2126         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
2127         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2128         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2129         <bits/types/__sigset_t.h>.
2130         (ucontext_t): Use sigset_t instead of __sigset_t.
2131         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
2132         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2133         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2134         <bits/types/__sigset_t.h>.
2135         (ucontext_t): Use sigset_t instead of __sigset_t.
2136         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
2137         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2138         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2139         <bits/types/__sigset_t.h>.
2140         (ucontext_t): Use sigset_t instead of __sigset_t.
2141         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
2142         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2143         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2144         <bits/types/__sigset_t.h>.
2145         (ucontext_t): Use sigset_t instead of __sigset_t.
2146         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
2147         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2148         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h>.
2149         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
2150         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2151         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2152         <bits/types/__sigset_t.h>.
2153         (ucontext_t): Use sigset_t instead of __sigset_t.
2154         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
2155         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2156         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2157         <bits/types/__sigset_t.h>.
2158         (ucontext_t): Use sigset_t instead of __sigset_t.
2159         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
2160         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2161         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2162         <bits/types/__sigset_t.h>.
2163         (ucontext_t): Use sigset_t instead of __sigset_t.
2164         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
2165         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2166         <bits/ss_flags.h>.
2167         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
2168         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2169         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2170         <bits/types/__sigset_t.h>.
2171         (ucontext_t): Use sigset_t instead of __sigset_t.
2172         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
2173         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2174         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2175         <bits/types/__sigset_t.h>.
2176         (ucontext_t): Use sigset_t instead of __sigset_t.
2177         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
2178         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2179         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2180         <bits/types/__sigset_t.h>.
2181         (ucontext_t): Use sigset_t instead of __sigset_t.
2182         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
2183         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2184         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2185         <bits/types/__sigset_t.h>.
2186         (ucontext_t): Use sigset_t instead of __sigset_t.
2187         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: Include
2188         <bits/types.h>.
2189         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
2190         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2191         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2192         <bits/types/__sigset_t.h>.
2193         (ucontext_t): Use sigset_t instead of __sigset_t.
2195 2017-05-22  Zack Weinberg  <zackw@panix.com>
2197         * sysdeps/unix/sysv/linux/bits/siginfo-consts.h
2198         (__SI_ASYNCIO_AFTER_SIGIO): Define default after including
2199         bits/siginfo-arch.h, only if not already defined.
2200         * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
2201         (__SI_ALIGNMENT, __SI_BAND_TYPE, __SI_CLOCK_T)
2202         (__SI_ERRNO_THEN_CODE, __SI_HAVE_SIGSYS, __SI_SEGFAULT_ADDL):
2203         Likewise.
2205         * sysdeps/unix/sysv/linux/ia64/bits/siginfo-arch.h
2206         * sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h
2207         * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
2208         * sysdeps/unix/sysv/linux/tile/bits/siginfo-arch.h
2209         * sysdeps/unix/sysv/linux/x86/bits/siginfo-arch.h:
2210         Unconditionally define __SI_* macros.
2212 2017-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2214         [BZ #21393]
2215         * libio/freopen.c (freopen): Avoid dup already opened file descriptor
2216         and add a check for dup3 failure.
2217         * libio/freopen64.c (freopen64): Likewise.
2218         * libio/tst-freopen.c (do_test): Rename to do_test_basic and use
2219         libsupport.
2220         (do_test_bz21398): New test.
2221         * manual/stdio.texi (freopen): Add documentation of EBUSY failure.
2223 2017-05-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2225         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_matches_host):
2226         Remove invalid comment.
2228 2017-05-21  Zack Weinberg  <zackw@panix.com>
2230         * signal/Makefile (headers): Add bits/types/sigval_t.h.
2232 2017-05-20  Zack Weinberg  <zackw@panix.com>
2234         * bits/sigevent-consts.h
2235         * bits/siginfo-consts.h
2236         * bits/types/__sigset_t.h
2237         * bits/types/sigevent_t.h
2238         * bits/types/siginfo_t.h
2239         * sysdeps/unix/sysv/linux/bits/sigevent-consts.h
2240         * sysdeps/unix/sysv/linux/bits/siginfo-consts.h
2241         * sysdeps/unix/sysv/linux/bits/types/__sigset_t.h
2242         * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h
2243         * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h:
2244         New system-dependent bits headers.
2246         * sysdeps/unix/sysv/linux/bits/siginfo-arch.h
2247         * sysdeps/unix/sysv/linux/bits/siginfo-consts-arch.h
2248         * sysdeps/unix/sysv/linux/ia64/bits/siginfo-arch.h
2249         * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
2250         * sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h
2251         * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
2252         * sysdeps/unix/sysv/linux/tile/bits/siginfo-arch.h
2253         * sysdeps/unix/sysv/linux/tile/bits/siginfo-consts-arch.h
2254         * sysdeps/unix/sysv/linux/x86/bits/siginfo-arch.h:
2255         New Linux-only system-dependent bits headers.
2257         * signal/bits/types/sig_atomic_t.h
2258         * signal/bits/types/sigset_t.h
2259         * signal/bits/types/sigval_t.h:
2260         New non-system-dependent bits headers.
2262         * sysdeps/generic/sigsetops.h
2263         * sysdeps/unix/sysv/linux/sigsetops.h:
2264         New internal headers.
2266         * include/bits/types/sig_atomic_t.h
2267         * include/bits/types/sigset_t.h
2268         * include/bits/types/sigval_t.h:
2269         New wrappers.
2271         * signal/sigsetops.h
2272         * bits/siginfo.h
2273         * bits/sigset.h
2274         * sysdeps/unix/sysv/linux/bits/siginfo.h
2275         * sysdeps/unix/sysv/linux/bits/sigset.h
2276         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h
2277         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h
2278         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h
2279         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h
2280         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h
2281         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h:
2282         Deleted.
2284         * signal/Makefile, sysdeps/unix/sysv/linux/Makefile:
2285         Update lists of installed headers.
2287         * posix/bits/types.h: Define __sig_atomic_t here.
2288         * signal/signal.h: Use the new bits headers; no need to handle
2289         __need_sig_atomic_t nor __need_sigset_t.  Don't use __sigmask
2290         to define sigmask.
2291         * include/signal.h: No need to handle __need_sig_atomic_t
2292         nor __need_sigset_t.  Don't define __sigemptyset.
2294         * io/sys/poll.h, setjmp/setjmp.h
2295         * sysdeps/arm/sys/ucontext.h, sysdeps/generic/sys/ucontext.h
2296         * sysdeps/i386/sys/ucontext.h, sysdeps/m68k/sys/ucontext.h
2297         * sysdeps/mach/hurd/i386/bits/sigcontext.h
2298         * sysdeps/mips/sys/ucontext.h, sysdeps/powerpc/novmxsetjmp.h
2299         * sysdeps/pthread/bits/sigthread.h
2300         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
2301         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
2302         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
2303         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
2304         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
2305         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
2306         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
2307         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
2308         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
2309         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
2310         Use bits/types/__sigset_t.h.
2312         * misc/sys/select.h, posix/spawn.h
2313         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
2314         * sysdeps/unix/sysv/linux/sys/epoll.h
2315         * sysdeps/unix/sysv/linux/sys/signalfd.h:
2316         Use bits/types/sigset_t.h.
2318         * resolv/netdb.h, rt/mqueue.h: Use bits/types/sigevent_t.h.
2319         * rt/aio.h: Use bits/types/sigevent_t.h and bits/sigevent-consts.h.
2320         * socket/sys/socket.h: Don't include bits/sigset.h.
2322         * login/utmp_file.c, shadow/lckpwdf.c, signal/sigandset.c
2323         * signal/sigisempty.c, stdlib/abort.c, sysdeps/posix/profil.c
2324         * sysdeps/posix/sigignore.c, sysdeps/posix/sigintr.c
2325         * sysdeps/posix/signal.c, sysdeps/posix/sigset.c
2326         * sysdeps/posix/sprofil.c, sysdeps/posix/sysv_signal.c
2327         * sysdeps/unix/sysv/linux/nptl-signals.h:
2328         Include sigsetops.h.
2330         * signal/sigaddset.c, signal/sigandset.c, signal/sigdelset.c
2331         * signal/sigorset.c, stdlib/abort.c, sysdeps/posix/sigignore.c
2332         * sysdeps/posix/signal.c, sysdeps/posix/sigset.c:
2333         __sigaddset, __sigandset, __sigdelset, __sigemptyset, __sigorset
2334         now return no value.
2336         * signal/sigaddset.c, signal/sigdelset.c, signal/sigismem.c
2337         Include <errno.h>, <signal.h>, and <sigsetops.h> instead of
2338         "sigsetops.h".
2340         * signal/sigsetops.c: Explicitly define __sigismember,
2341         __sigaddset, and __sigdelset as compatibility symbols.
2343         * signal/Versions: Correct commentary on __sigpause,
2344         __sigaddset, __sigdelset, __sigismember.
2346         * inet/rcmd.c: Include sigsetops.h.  Convert old code using
2347         __sigblock/__sigsetmask to use __sigprocmask and friends.
2349         * resolv/resolv.h: Remove __need_res_state logic.
2350         Move definition of res_state and related constants to ...
2351         * resolv/bits/types/res_state.h: ...this new file.
2352         * resolv/Makefile: Install bits/types/res_state.h.
2353         * include/bits/types/res_state.h: New wrapper.
2354         * include/list.h: Remove __need_list_t logic.
2355         Move definition of list_t to ...
2356         * include/list_t.h: ...this new file.
2358         * nptl/descr.h: Include list_t.h and bits/types/res_state.h
2359         instead of list.h and resolv.h.
2361         * resolv/resolv.h: Remove __need_res_state logic.
2362         Move definition of res_state and related constants to ...
2363         * resolv/bits/types/res_state.h: ...this new file.
2364         * resolv/Makefile: Install bits/types/res_state.h.
2365         * include/bits/types/res_state.h: New wrapper.
2366         * include/list.h: Remove __need_list_t logic.
2367         Move definition of list_t to ...
2368         * include/list_t.h: ...this new file.
2370         * nptl/descr.h: Include list_t.h and bits/types/res_state.h
2371         instead of list.h and resolv.h.
2373 2017-05-20  H.J. Lu  <hongjiu.lu@intel.com>
2375         * sysdeps/x86_64/rawmemchr.S (L(return_null)): Removed.
2377 2017-05-20  Zack Weinberg  <zackw@panix.com>
2379         * sysdeps/arm/sysdep.h
2380         (ARM_SFI_MACROS, sfi_breg, sfi_pld, sfi_sp): Delete definitions.
2382         * sysdeps/arm/__longjmp.S, sysdeps/arm/add_n.S
2383         * sysdeps/arm/addmul_1.S, sysdeps/arm/arm-mcount.S
2384         * sysdeps/arm/armv6/rawmemchr.S, sysdeps/arm/armv6/strchr.S
2385         * sysdeps/arm/armv6/strcpy.S, sysdeps/arm/armv6/strlen.S
2386         * sysdeps/arm/armv6/strrchr.S, sysdeps/arm/armv6t2/memchr.S
2387         * sysdeps/arm/armv6t2/strlen.S
2388         * sysdeps/arm/armv7/multiarch/memcpy_impl.S
2389         * sysdeps/arm/armv7/strcmp.S, sysdeps/arm/dl-tlsdesc.S
2390         * sysdeps/arm/memcpy.S, sysdeps/arm/memmove.S
2391         * sysdeps/arm/memset.S, sysdeps/arm/setjmp.S
2392         * sysdeps/arm/strlen.S, sysdeps/arm/submul_1.S:
2393         Remove all uses of sfi_breg, sfi_pld, and sfi_sp.
2395 2017-05-20  Zack Weinberg  <zackw@panix.com>
2397         Remove the NaCl port.
2398         * sysdeps/arm/nacl: Remove directory and contents.
2399         * sysdeps/nacl: Remove directory and contents.
2400         * abi-tags: Remove .*-.*-nacl.* entry.
2402 2017-05-19  Rical Jasan  <ricaljasan@pacific.net>
2404         * manual/errno.texi: Convert @comment-based errno documentation to
2405         @errno.
2406         * manual/macros.texi (@errno): New macro.  Consolidate errors,
2407         their values, and messages, adding the error string to the Concept
2408         Index.  Provide a warning in the comment about external (to the
2409         manual) dependencies.
2410         * sysdeps/gnu/errlist.awk: Use @errno instead of @comments.
2411         * sysdeps/mach/hurd/errnos.awk: Likewise.
2413 2017-05-19  Joseph Myers  <joseph@codesourcery.com>
2415         * bits/ss_flags.h: New file.
2416         * bits/types/stack_t.h: Likewise.
2417         * include/bits/types/struct_sigstack.h: Likewise.
2418         * signal/bits/types/struct_sigstack.h: Likewise.
2419         * sysdeps/unix/sysv/linux/bits/ss_flags.h: Likewise.
2420         * sysdeps/unix/sysv/linux/bits/types/stack_t.h: Likewise.
2421         * sysdeps/unix/sysv/linux/mips/bits/types/stack_t.h: Likewise.
2422         * signal/Makefile (headers): Add bits/types/struct_sigstack.h,
2423         bits/types/stack_t.h and bits/ss_flags.h.
2424         * signal/signal.h [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8]:
2425         Include <bits/types/struct_sigstack.h>, <bits/types/stack_t.h> and
2426         <bits/ss_flags.h>.
2427         * bits/sigstack.h (struct sigstack): Remove.
2428         (stack_t): Likewise.
2429         (SS_ONSTACK): Likewise.
2430         (SS_DISABLE): Likewise.
2431         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
2432         (struct sigstack): Likewise.
2433         (stack_t): Likewise.
2434         (SS_ONSTACK): Likewise.
2435         (SS_DISABLE): Likewise.
2436         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h (struct sigstack):
2437         Likewise.
2438         (stack_t): Likewise.
2439         (SS_ONSTACK): Likewise.
2440         (SS_DISABLE): Likewise.
2441         * sysdeps/unix/sysv/linux/bits/sigstack.h (struct sigstack):
2442         Likewise.
2443         (stack_t): Likewise.
2444         (SS_ONSTACK): Likewise.
2445         (SS_DISABLE): Likewise.
2446         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h: Likewise.
2447         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h (struct sigstack):
2448         Likewise.
2449         (stack_t): Likewise.
2450         (SS_ONSTACK): Likewise.
2451         (SS_DISABLE): Likewise.
2452         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
2453         (struct sigstack): Likewise.
2454         (stack_t): Likewise.
2455         (SS_ONSTACK): Likewise.
2456         (SS_DISABLE): Likewise.
2457         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h (struct sigstack):
2458         Likewise.
2459         (stack_t): Likewise.
2460         (SS_ONSTACK): Likewise.
2461         (SS_DISABLE): Likewise.
2462         * sysdeps/arm/sys/ucontext.h: Include
2463         <bits/types/struct_sigstack.h>, <bits/types/stack_t.h> and
2464         <bits/ss_flags.h>.
2465         * sysdeps/generic/sys/ucontext.h: Likewise.
2466         * sysdeps/i386/sys/ucontext.h: Likewise.
2467         * sysdeps/m68k/sys/ucontext.h: Likewise.
2468         * sysdeps/mips/sys/ucontext.h: Likewise.
2469         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Likewise.
2470         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Likewise.
2471         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Likewise.
2472         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
2473         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Likewise.
2474         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Likewise.
2475         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Likewise.
2476         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Likewise.
2477         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Likewise.
2478         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
2479         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Likewise.
2480         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Likewise.
2481         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Likewise.
2482         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Likewise.
2483         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Likewise.
2485 2017-05-19  H.J. Lu  <hongjiu.lu@intel.com>
2487         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Use
2488         "edx + ecx - 16" to avoid possible addition overflow.
2489         * sysdeps/x86_64/memchr.S (memchr): Likewise.
2491 2017-05-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2493         * misc/Makefile (CFLAGS-vmsplice.c): Remove rule.
2494         (CFLAGS-splice.c): Likewise.
2495         (CFLAGS-open_by_handle_at.c): Likewise.
2496         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-vmsplice.c): New rule.
2497         (CFLAGS-splice.c): Likewise.
2498         (CFLAGS-open_by_handle_at.c): Likewise.
2500 2017-05-19  Joseph Myers  <joseph@codesourcery.com>
2502         * scripts/versions.awk: Generate ldbl-compat-choose.h.
2503         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Include
2504         <ldbl-compat-choose.h>.
2505         (maybe_long_double_symbol): New macro.
2506         [!declare_mgen_alias] (declare_mgen_alias): Use
2507         maybe_long_double_symbol.
2508         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Remove.
2509         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
2510         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
2511         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: Likewise.
2512         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
2513         * Makerules [$(build-shared) = yes && !avoid-generated]
2514         (before-compile): Add $(common-objpfx)ldbl-compat-choose.h.
2515         [$(build-shared) = yes && !avoid-generated]
2516         ($(common-objpfx)ldbl-compat-choose.h): New target.
2518         * scripts/versions.awk: Generate first-versions.h.
2519         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Include
2520         <first-versions.h>.
2521         (LDOUBLE_cabsl_libm_version): Remove macro.
2522         (LDOUBLE_cargl_libm_version): Likewise.
2523         (LDOUBLE_cimagl_libm_version): Likewise.
2524         (LDOUBLE_conjl_libm_version): Likewise.
2525         (LDOUBLE_creall_libm_version): Likewise.
2526         (LDOUBLE_cacosl_libm_version): Likewise.
2527         (LDOUBLE_cacoshl_libm_version): Likewise.
2528         (LDOUBLE_ccosl_libm_version): Likewise.
2529         (LDOUBLE_ccoshl_libm_version): Likewise.
2530         (LDOUBLE_casinl_libm_version): Likewise.
2531         (LDOUBLE_csinl_libm_version): Likewise.
2532         (LDOUBLE_casinhl_libm_version): Likewise.
2533         (LDOUBLE_csinhl_libm_version): Likewise.
2534         (LDOUBLE_catanl_libm_version): Likewise.
2535         (LDOUBLE_catanhl_libm_version): Likewise.
2536         (LDOUBLE_ctanl_libm_version): Likewise.
2537         (LDOUBLE_ctanhl_libm_version): Likewise.
2538         (LDOUBLE_cexpl_libm_version): Likewise.
2539         (LDOUBLE_clogl_libm_version): Likewise.
2540         (LDOUBLE_cprojl_libm_version): Likewise.
2541         (LDOUBLE_csqrtl_libm_version): Likewise.
2542         (LDOUBLE_cpowl_libm_version): Likewise.
2543         (LDOUBLE_clog10l_libm_version): Likewise.
2544         (LDOUBLE___clog10l_libm_version): Likewise.
2545         (LDOUBLE_fdiml_libm_version): Likewise.
2546         (LDOUBLE_fmaxl_libm_version): Likewise.
2547         (LDOUBLE_fminl_libm_version): Likewise.
2548         (LDOUBLE_ilogbl_libm_version): Likewise.
2549         (LDOUBLE_nanl_libm_version): Likewise.
2550         [!M_LIBM_NEED_COMPAT] (M_LIBM_NEED_COMPAT): Use
2551         FIRST_VERSION_libm_* macros.
2552         [!declare_mgen_libm_compat] (declare_mgen_libm_compat): Likewise.
2553         * Makerules [$(build-shared) = yes && !avoid-generated]
2554         (before-compile): Add $(common-objpfx)first-versions.h.
2555         [$(build-shared) = yes && !avoid-generated]
2556         ($(common-objpfx)first-versions.h): New target.
2557         ($(common-objpfx)sysd-versions): Depend on and change to rule for
2558         building $(common-objpfx)versions.stmp.
2560 2017-05-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2562         * rt/Makefile (CFLAGS-mq_timedsend.c): New flag.
2563         * sysdeps/unix/sysv/linux/mq_timedsend.c: New file.
2564         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Remove from
2565         auto-generation list.
2567         * rt/Makefile (CFLAGS-mq_timedreceive.c): New flag.
2568         * sysdeps/unix/sysv/linux/mq_timedreceive.c: New file.
2569         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedreceive): Remove
2570         from auto-generation list.
2572         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
2573         open_by_handle_at.
2574         (CFLAGS-open_by_handle_at.c): New flag.
2575         * sysdeps/unix/sysv/linux/open_by_handle_at.c: New file.
2576         * sysdeps/unix/sysv/linux/syscalls.list (open_by_handle_at): New
2577         file.
2578         * misc/Makefile (CFLAGS-open_by_handle_at.c): New rule.
2580         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add splice.
2581         (CFLAGS-splice.c): New flag.
2582         * sysdeps/unix/sysv/linux/splice.c: New file.
2583         * sysdeps/unix/sysv/linux/syscalls.list (splice): Remove from
2584         auto-generation syscall list.
2585         * misc/Makefile (CFLAGS-splice.c): New rule.
2587         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-vmsplice.c): New flag.
2588         * sysdeps/unix/sysv/linux/syscalls.list (vmsplice): Remove from
2589         auto-generation syscall list.
2590         * sysdeps/unix/sysv/linux/vmsplice.c: New file.
2591         * misc/Makefile (CFLAGS-vmsplice.c): New rule.
2593         * misc/Makefile (CFLAGS-fsync.c): New flag.
2594         * nptl/Makefile (CFLAGS-fsync.c): Likewise.
2595         * sysdeps/unix/syscalls.list (fsync): Remove from auto-generation
2596         syscall list.
2597         * sysdeps/unix/sysv/linux/fsync.c: New file.
2598         * sysdeps/unix/sysv/linux/arm/localplt.data [libpthread.so]
2599         (__errno_location): Remove.
2601         * misc/Makefile (CFLAGS-fdatasync.c): New rule.
2602         * nptl/Makefile (CFLAGS-fdatasync.c): Likewise.
2603         * sysdeps/unix/syscalls.list: Remove fdatasync from auto-generation
2604         list.
2605         * sysdeps/unix/sysv/linux/fdatasync.c: New file.
2607         * misc/Makefile (CFLAGS-msync.c): New rule.
2608         * nptl/Makefile (CFLAGS-msync.c): Likewise.
2609         * sysdeps/unix/syscalls.list: Remove msync from auto-generation list.
2610         * sysdeps/unix/sysv/linux/msync.c: New file.
2612         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Remove file.
2613         * sysdeps/unix/sysv/linux/sigsuspend.c: Simplify include list.
2614         * nptl/Makefile (CFLAGS-sigsuspend.c): New rule.
2615         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
2616         (CFLAGS-sigsuspend.c): Remove rule.
2618         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add tee.
2619         (CFLAGS-tee.c): New rule.
2620         * sysdeps/unix/sysv/linux/syscalls.list: Remove tee from
2621         auto-generated list.
2622         * sysdeps/unix/sysv/linux/tee.c: New file.
2624         * nptl/Makefile (CFLAGS-nanosleep.c): New rule.
2625         * posix/Makefile (CFLAGS-nanosleep.c): Likewise.
2626         * sysdeps/unix/sysv/linux/nanosleep.c: New file.
2627         * sysdeps/unix/sysv/linux/syscalls.list: Remove nanosleep from
2628         auto-generated list.
2630         * sysdeps/unix/sysv/linux/sh/syscalls.list: Remove waitid from
2631         auto-generated list.
2632         * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
2633         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
2634         * sysdeps/unix/sysv/linux/sparc/syscalls.list: Remove file.
2635         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
2636         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
2638         * sysdeps/unix/sysv/linux/generic/pause.c: Remove file.
2639         * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Likewise.
2640         * sysdeps/unix/sysv/linux/sparc/kernel-features.h [__arch64__]
2641         (__NR_pause): Undefine.
2642         * sysdeps/unix/sysv/linux/pause.c: New file.
2643         * sysdeps/unix/sysv/linux/syscalls.list: Remove pause from
2644         auto-generation list.
2645         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (CFLAGS-pause.c):
2646         Remove rule.
2647         * posix/Makefile (CFLAGS-pause.c): Remove redundant rule.
2649 2017-05-18  H.J. Lu  <hongjiu.lu@intel.com>
2651         * sysdeps/x86_64/multiarch/memcmp.S (__GI_memcmp): Correct
2652         comments.
2654 2017-05-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2656         * elf/Makefile (tst-env-setuid-ENV): Reduce value of
2657         LD_HWCAP_MASK.
2659 2017-05-18  Rical Jasan  <ricaljasan@pacific.net>
2661         * manual/conf.texi: Convert @tables of annotated @items to
2662         @vtables.
2663         * manual/lang.texi: Likewise.
2664         * manual/pattern.texi: Likewise.
2665         * manual/resource.texi: Likewise.
2666         * manual/socket.texi: Likewise.
2668 2017-05-18  Rical Jasan  <ricaljasan@pacific.net>
2670         * manual/crypt.texi: Move a comment out of an @*x list.
2671         * manual/filesys.texi: Refactor some comments, one of which looks
2672         like a standard.  Fix incorrectly separated standards.
2673         * manual/locale.texi: Invert an annotation.
2674         * manual/resource.texi: Fix incorrectly separated standards.
2675         * manual/time.texi: Refactor a @vtable that obscures an
2676         annotation.
2677         * manual/users.texi: Refactor multiple headers to occupy a single
2678         @comment.
2680 2017-05-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2682         * sysdeps/powerpc/powerpc64/multiarch/Makefile
2683         (sysdep_routines): Add memcmp-power8.
2684         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2685         (memcmp): Add __memcmp_power8 to list of memcmp functions.
2686         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c
2687         (memcmp): Add __memcmp_power8 to ifunc list.
2688         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: New file.
2689         * sysdeps/powerpc/powerpc64/power8/memcmp.S: New file.
2691 2017-05-17  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2692             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2694         * math/math.h (__MATH_TG): Extend the conditions to add
2695         _Float128 support.
2696         * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): New macro.
2698 2017-05-17  Paul A. Clarke  <pc@us.ibm.com>
2700         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2701         [$(subdir) = math] (libm-sysdep_routines): Add s_cosf-power8 and
2702         s_cosf-ppc64.
2703         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: New file.
2704         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
2705         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
2706         * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
2708 2017-05-17  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2710         * math/Makefile (libm-calls): Move e_exp2F to gen-libm-calls.
2711         (gen-libm-calls): Add e_exp2F to use the template.
2712         * math/e_exp2l.c: Rename to math/e_exp2_template.c.
2713         * math/e_exp2_template.c: New file, renamed from
2714         math/e_exp2l.c, and made into a template.
2715         * sysdeps/generic/math-type-macros.h (M_MIN_EXP): New macro.
2717 2017-05-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2719         * elf/dl-tunable-types.h (tunable_type_code_t): New type
2720         TUNABLE_TYPE_UINT_64.
2721         * elf/dl-tunables.c (tunables_strtoul): Return uint64_t.
2722         Simplify computation of overflow.
2723         (tunable_set_val_if_valid_range_signed,
2724         tunable_set_val_if_valid_range_unsigned): Remove and replace
2725         with this...
2726         (TUNABLE_SET_VAL_IF_VALID_RANGE): ... New macro.
2727         (tunable_initialize): Adjust.  Add uint64_t support.
2728         (__tunable_set_val): Add uint64_t support.
2729         * README.tunables: Document it.
2731         * scripts/gen-tunables.awk: Recognize 'default' keyword in
2732         dl-tunables.list.
2733         * README.tunables: Document it.
2735 2017-05-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2737         * sysdeps/posix/preadv.c: Use sysdeps/posix/preadv_common.c.
2738         * sysdeps/posix/preadv64.c: Likewise.
2739         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
2740         * sysdeps/unix/sysv/linux/preadv64.c: Likewise.
2741         * sysdeps/posix/pwritev.c: Use sysdeps/posix/pwritev_common.c.
2742         * sysdeps/posix/pwritev64.c: Likewise.
2743         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
2744         * sysdeps/unix/sysv/linux/pwritev64.c: Likewise.
2745         * sysdeps/posix/preadv_common.c: New file.
2746         * sysdeps/posix/pwritev_common.c: Likewise.
2748 2017-05-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2750         * sysdeps/generic/math-type-macros-float128.h
2751         (__USE_WRAPPER_TEMPLATE): Define to 1 to enable use of the
2752         wrapper templates.
2754 2017-05-14  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2755             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2757         * include/complex.h (__kernel_casinhf128): New declaration.
2758         * include/float.h: New file.
2759         * include/math.h (__finitef128): Add a hidden def.
2760         (__isinff128): Likewise.
2761         (__isnanf128): Likewise.
2762         (__fpclassify): Likewise.
2763         (__issignalling): Likewise.
2764         (__expf128): Likewise.
2765         (__expm1f128): Likewise.
2767         * sysdeps/generic/fix-fp-int-convert-overflow.h:
2768         (FIX_FLT128_LONG_CONVERT_OVERFLOW): New macro.
2769         (FIX_FLT128_LLONG_CONVERT_OVERFLOW): Likewise.
2771         * sysdeps/generic/math-type-macros-float128.h: New file.
2773         * sysdeps/generic/math_private.h: Include bits/floatn.h and
2774         math_private_calls.h for _Float128.
2775         (__isinff128): New inline implementation used when GCC < 7.0,
2776         since in this case __builtin_isinf_sign is broken.
2777         (fabsf128): New inline implementation that calls the builtin.
2778         (__EXPR_FLT128): New macro.
2779         (min_of_type): Optionally include _Float128 types too.
2781         * sysdeps/generic/math_private_calls.h (__kernel_sincos):
2782         Declare for _Float128.
2783         (__kernel_rem_pio2): Likewise.
2785         * sysdeps/ieee754/ldbl-opt/s_sin.c:
2786         (__DECL_SIMD_sincos_disablef128): New macro.
2788 2017-05-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2790         * math/math.h: Include bits/math-finite.h for float128.
2791         (__MATH_DECLARING_FLOATN): Define to control declaration of
2792         float128 functions.
2793         * math/bits/math-finite.h (pow10): Do not declare for float128.
2794         (gamma): Likewise.
2795         (scalb): Likewise.
2797 2017-05-14  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2798             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2800         * bits/floatn.h: New file.
2801         * bits/huge_val_flt128.h: Likewise.
2803         * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf128): New macro.
2804         (__DECL_SIMD_sinf128): Likewise.
2805         (__DECL_SIMD_sincosf128): Likewise.
2806         (__DECL_SIMD_logf128): Likewise.
2807         (__DECL_SIMD_expf128): Likewise.
2808         (__DECL_SIMD_powf128): Likewise.
2810         * math/Makefile (headers): Install bits/floatn.h and
2811         bits/huge_val_flt128.h.
2813         * math/bits/cmathcalls.h (_Mdouble_complex_): Only define if not
2814         defined.
2816         * math/bits/mathcalls.h (pow10, isinf, finite, drem, significand)
2817         (isnan, gamma, nexttoward, scalb): Only define if not
2818         __MATH_DECLARING_FLOATN.
2819         (nextdown, nextup, llogb, roundeven, fromfp, ufromfp, fromfpx)
2820         (ufromfpx, fmaxmag, fminmag, totalorder, totalordermag)
2821         (canonicalize, getpayload, setpayload, setpayloadsig): Declare for
2822         _FloatN even if __STDC_WANT_IEC_60559_BFP_EXT__ is not defined.
2824         * math/complex.h: Include bits/libc-header-start.h and bits/floatn.h.
2825         Include bits/cmathcalls.h to get the declarations of _Float128
2826         versions of complex functions.
2827         [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF128):
2828         Define macro.
2830         * math/math.h: Include bits/floatn.h and bits/huge_val_flt128.h.
2831         Include bits/mathcalls-helper-functions.h and bits/mathcalls.h to
2832         get the declarations of _Float128 versions of math functions.
2833         (__MATH_DECLARING_FLOATN): New macro to control declaration of
2834         _FloatN types.
2835         [__GNUC_PREREQ (6,0)] (signbit): Since GCC 6.0, __builtin_signbit
2836         is type-generic, so use it without __MATH_TG.
2837         [__HAVE_DISTINCT_FLOAT128] (isinf): This builtin is broken for
2838         _Float128 type on GCC < 7.0.  Explicitly call __isinff128 for
2839         _Float128 type and GCC < 7.0, otherwise use the builtin.
2840         [__HAVE_FLOAT128 && defined __USE_GNU] (M_Ef128, M_LOG2Ef128)
2841         (M_LOG10Ef128, M_LN2f128, M_LN10f128, M_PIf128, M_PI_2f128)
2842         (M_PI_4f128, M_1_PIf128, M_2_PIf128, M_SQRT2f128, M_SQRT1_2f128):
2843         New _GNU_SOURCE enabled macros.
2845 2017-05-12  Joseph Myers  <joseph@codesourcery.com>
2847         * sysdeps/sparc/sparc32/fpu/s_signbit.S (signbit): Remove alias.
2848         (signbitf): Likewise.
2849         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S (signbit):
2850         Likewise.
2851         (signbitl): Likewise.
2852         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S (signbitf):
2853         Likewise.
2854         * sysdeps/sparc/sparc64/fpu/s_signbit.S (signbit): Likewise.
2855         (signbitl): Likewise.
2856         * sysdeps/sparc/sparc64/fpu/s_signbitf.S (signbitf): Likewise.
2858 2017-05-12  Florian Weimer  <fweimer@redhat.com>
2860         [BZ #21386]
2861         * sysdeps/nptl/fork.c (__libc_fork): Remove assertions on the
2862         parent PID.  The assertion in the child is incorrect with PID
2863         namespaces.
2865 2017-05-12  Joseph Myers  <joseph@codesourcery.com>
2867         * sysdeps/unix/sysv/linux/kernel-features.h
2868         (__ASSUME_STATFS_F_FLAGS): Remove macro.
2869         * sysdeps/unix/sysv/linux/internal_statvfs.c
2870         [!__ASSUME_STATFS_F_FLAGS]: Remove conditional code.
2872 2017-05-11  Zack Weinberg  <zackw@panix.com>
2874         * Makerules: New subdir configuration variables 'tests-internal'
2875         and 'test-internal-extras'.  Test files in these categories will
2876         still be compiled with MODULE_NAME=nonlib.  Test files in the
2877         existing categories (tests, xtests, test-srcs, test-extras) are
2878         now compiled with MODULE_NAME=testsuite.
2879         New subdir configuration variable 'modules-names-tests'.  Files
2880         which are in both 'modules-names' and 'modules-names-tests' will
2881         be compiled with MODULE_NAME=testsuite instead of
2882         MODULE_NAME=extramodules.
2883         (gen-as-const-headers): Move to tests-internal.
2884         (do-tests-clean, common-mostlyclean): Support tests-internal.
2885         * Makeconfig (built-modules): Add testsuite.
2886         * Makefile: Change libof-check-installed-headers-c and
2887         libof-check-installed-headers-cxx to 'testsuite'.
2888         * Rules: Likewise.  Support tests-internal.
2889         * benchtests/strcoll-inputs/filelist#en_US.UTF-8:
2890         Remove extra-modules.mk.
2892         * config.h.in: Don't check for __OPTIMIZE__ or __FAST_MATH__ here.
2893         * include/libc-symbols.h: Move definitions of _GNU_SOURCE,
2894         PASTE_NAME, PASTE_NAME1, IN_MODULE, IS_IN, and IS_IN_LIB to the
2895         very top of the file and rationalize their order.
2896         If MODULE_NAME is not defined at all, define IS_IN to always be
2897         false, and don't define _ISOMAC.
2898         If any of IS_IN (testsuite), IS_IN_build, or __cplusplus are
2899         true, define _ISOMAC and suppress everything else in this file,
2900         starting with the inclusion of config.h.
2901         Do check for inappropriate definitions of __OPTIMIZE__ and
2902         __FAST_MATH__ here, but only if _ISOMAC is not defined.
2903         Correct some out-of-date commentary.
2905         * include/math.h: If _ISOMAC is defined, undefine NO_LONG_DOUBLE
2906         and _Mlong_double_ before including math.h.
2907         * include/string.h: If _ISOMAC is defined, don't expose
2908         _STRING_ARCH_unaligned. Move a comment to a more appropriate
2909         location.
2911         * include/errno.h, include/stdio.h, include/stdlib.h, include/string.h
2912         * include/time.h, include/unistd.h, include/wchar.h: No need to
2913         check __cplusplus nor use __BEGIN_DECLS/__END_DECLS.
2915         * misc/sys/cdefs.h (__NTHNL): New macro.
2916         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h
2917         (__m81_defun): Use __NTHNL to avoid errors with GCC 6.
2919         * elf/tst-env-setuid-tunables.c: Include config.h with _LIBC
2920         defined, for HAVE_TUNABLES.
2921         * inet/tst-checks-posix.c: No need to define _ISOMAC.
2922         * intl/tst-gettext2.c: Provide own definition of N_.
2923         * math/test-signgam-finite-c99.c: No need to define _ISOMAC.
2924         * math/test-signgam-main.c: No need to define _ISOMAC.
2925         * stdlib/tst-strtod.c: Convert to test-driver. Split locale_test to...
2926         * stdlib/tst-strtod1i.c: ...this new file.
2927         * stdlib/tst-strtod5.c: Convert to test-driver and add copyright notice.
2928         Split tests of __strtod_internal to...
2929         * stdlib/tst-strtod5i.c: ...this new file.
2930         * string/test-string.h: Include stdint.h. Duplicate definition of
2931         inhibit_loop_to_libcall here (from libc-symbols.h).
2932         * string/test-strstr.c: Provide dummy definition of
2933         libc_hidden_builtin_def when including strstr.c.
2934         * sysdeps/ia64/fpu/libm-symbols.h: Suppress entire file in _ISOMAC
2935         mode; no need to test __STRICT_ANSI__ nor __cplusplus as well.
2936         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
2937         Don't include init-arch.h.
2938         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
2939         Don't include init-arch.h.
2941         * elf/Makefile: Move tst-ptrguard1-static, tst-stackguard1-static,
2942         tst-tls1-static, tst-tls2-static, tst-tls3-static, loadtest,
2943         unload, unload2, circleload1, neededtest, neededtest2,
2944         neededtest3, neededtest4, tst-tls1, tst-tls2, tst-tls3,
2945         tst-tls6, tst-tls7, tst-tls8, tst-dlmopen2, tst-ptrguard1,
2946         tst-stackguard1, tst-_dl_addr_inside_object, and all of the
2947         ifunc tests to tests-internal.
2948         Don't add $(modules-names) to test-extras.
2949         * inet/Makefile: Move tst-inet6_scopeid_pton to tests-internal.
2950         Add tst-deadline to tests-static-internal.
2951         * malloc/Makefile: Move tst-mallocstate and tst-scratch_buffer to
2952         tests-internal.
2953         * misc/Makefile: Move tst-atomic and tst-atomic-long to tests-internal.
2954         * nptl/Makefile: Move tst-typesizes, tst-rwlock19, tst-sem11,
2955         tst-sem12, tst-sem13, tst-barrier5, tst-signal7, tst-tls3,
2956         tst-tls3-malloc, tst-tls5, tst-stackguard1, tst-sem11-static,
2957         tst-sem12-static, and tst-stackguard1-static to tests-internal.
2958         Link tests-internal with libpthread also.
2959         Don't add $(modules-names) to test-extras.
2960         * nss/Makefile: Move tst-field to tests-internal.
2961         * posix/Makefile: Move bug-regex5, bug-regex20, bug-regex33,
2962         tst-rfc3484, tst-rfc3484-2, and tst-rfc3484-3 to tests-internal.
2963         * stdlib/Makefile: Move tst-strtod1i, tst-strtod3, tst-strtod4,
2964         tst-strtod5i, tst-tls-atexit, and tst-tls-atexit-nodelete to
2965         tests-internal.
2966         * sunrpc/Makefile: Move tst-svc_register to tests-internal.
2967         * sysdeps/powerpc/Makefile: Move test-get_hwcap and
2968         test-get_hwcap-static to tests-internal.
2969         * sysdeps/unix/sysv/linux/Makefile: Move tst-setgetname to
2970         tests-internal.
2971         * sysdeps/x86_64/fpu/Makefile: Add all libmvec test modules to
2972         modules-names-tests.
2974 2017-05-11  Zack Weinberg  <zackw@panix.com>
2976         * libio/libio.h: Condition dummy definition of _IO_lock_t on
2977         _IO_lock_t_defined, not _IO_MTSAFE_IO. Unconditionally use the
2978         non-_IO_MTSAFE_IO definitions for _IO_peekc, _IO_flockfile,
2979         _IO_funlockfile, and _IO_ftrylockfile.  Only define
2980         _IO_cleanup_region_start and _IO_cleanup_region_end if not
2981         already defined.
2982         * include/libio.h: If _IO_MTSAFE_IO is defined, redefine
2983         _IO_peekc, _IO_flockfile, _IO_funlockfile, and _IO_ftrylockfile
2984         appropriately.
2985         * sysdeps/generic/stdio-lock.h, sysdeps/nptl/stdio-lock.h:
2986         Define _IO_lock_t_defined after defining _IO_lock_t.
2988 2016-05-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2990         * sysdeps/powerpc/powerpc32/backtrace.c (is_sigtramp_address): Use
2991         void* for argument type and use VDSO_SYMBOL macro.
2992         (is_sigtramp_address_rt): Likewise.
2993         (__backtrace): Setup expected frame pointer address for signal
2994         handling.
2995         * sysdeps/powerpc/powerpc64/backtrace.c (is_sigtramp_address): Use
2996         void* for argumetn type and use VSDO_SYMBOL macro.
2997         (__backtrace): Setup expected frame pointer address for signal
2998         handling.
3000         * sysdeps/unix/sysv/linux/writev.c: New file.
3002         * sysdeps/unix/sysv/linux/readv.c: New file.
3004         * include/unistd.h (write): Add hidden proto.
3005         * io/Makefile (CFLAGS-write.c): New define.
3006         * nptl/Makefile (CFLAGS-write.c): Likewise.
3007         * sysdeps/unix/sysv/linux/write.c: New file.
3009         [BZ #21428]
3010         * include/unistd.h (read): Add hidden proto.
3011         * io/Makefile (CFLAGS-read.c): New define.
3012         * nptl/Makefile (CFLAGS-read.c): Likewise.
3013         * sysdeps/unix/sysv/linux/read.c: New file.
3015         * io/Makefile (CFLAGS-creat.c): New rule.
3016         (CFLAGS-creat64.c): Likewise.
3017         * sysdeps/unix/sysv/linux/alpha/creat.c: Remove file.
3018         * sysdeps/unix/sysv/linux/generic/creat.c: Likewise.
3019         * sysdeps/unix/sysv/linux/wordsize-64/creat64.c: Likewise.
3020         * sysdeps/unix/sysv/linux/creat.c: New file.
3021         * sysdeps/unix/sysv/linux/creat64.c: Likewise.
3022         * sysdeps/unix/sysv/linux/syscalls.list: Remove create from
3023         auto-generated list.
3024         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
3026         * sysdeps/unix/sysv/linux/generic/open.c: Remove file.
3027         * sysdeps/unix/sysv/linux/generic/open64.c: Likewise.
3028         * sysdeps/unix/sysv/linux/wordsize-64/open64.c: Likewise.
3029         * sysdeps/unix/sysv/linux/open.c: New file.
3030         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Define symbol
3031         iff __WORDSIZE != 64 and use __NR_openat when available.
3032         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Remove open
3033         from auto-generated list.
3035         * nptl/Makefile (CFLAGS-close.c): New flag.
3036         * sysdeps/unix/sysv/linux/close.c: New file.
3038 2017-05-11  DJ Delorie  <dj@redhat.com>
3040         * MAINTAINERS: New.  Points to wiki.
3042 2017-05-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3044         * scripts/gen-tunables.awk: Add attribute_relro to
3045         tunable_list.
3047 2017-05-11  Joseph Myers  <joseph@codesourcery.com>
3049         [BZ #21457]
3050         * sysdeps/arm/sys/ucontext.h (R0): Condition on [__USE_MISC].
3051         (R1): Likewise.
3052         (R2): Likewise.
3053         (R3): Likewise.
3054         (R4): Likewise.
3055         (R5): Likewise.
3056         (R6): Likewise.
3057         (R7): Likewise.
3058         (R8): Likewise.
3059         (R9): Likewise.
3060         (R10): Likewise.
3061         (R11): Likewise.
3062         (R12): Likewise.
3063         (R13): Likewise.
3064         (R14): Likewise.
3065         (R15): Likewise.
3066         * sysdeps/i386/sys/ucontext.h (REG_GS): Likewise.
3067         (REG_FS): Likewise.
3068         (REG_ES): Likewise.
3069         (REG_DS): Likewise.
3070         (REG_EDI): Likewise.
3071         (REG_ESI): Likewise.
3072         (REG_EBP): Likewise.
3073         (REG_ESP): Likewise.
3074         (REG_EBX): Likewise.
3075         (REG_EDX): Likewise.
3076         (REG_ECX): Likewise.
3077         (REG_EAX): Likewise.
3078         (REG_TRAPNO): Likewise.
3079         (REG_ERR): Likewise.
3080         (REG_EIP): Likewise.
3081         (REG_CS): Likewise.
3082         (REG_EFL): Likewise.
3083         (REG_UESP): Likewise.
3084         (REG_SS): Likewise.
3085         * sysdeps/m68k/sys/ucontext.h (R_D0): Likewise.
3086         (R_D1): Likewise.
3087         (R_D2): Likewise.
3088         (R_D3): Likewise.
3089         (R_D4): Likewise.
3090         (R_D5): Likewise.
3091         (R_D6): Likewise.
3092         (R_D7): Likewise.
3093         (R_A0): Likewise.
3094         (R_A1): Likewise.
3095         (R_A2): Likewise.
3096         (R_A3): Likewise.
3097         (R_A4): Likewise.
3098         (R_A5): Likewise.
3099         (R_A6): Likewise.
3100         (R_A7): Likewise.
3101         (R_SP): Likewise.
3102         (R_PC): Likewise.
3103         (R_PS): Likewise.
3104         (fpregset_t): Likewise.
3105         (MCONTEXT_VERSION): Likewise.
3106         * sysdeps/mips/sys/ucontext.h (CTX_R0): Likewise.
3107         (CTX_AT): Likewise.
3108         (CTX_V0): Likewise.
3109         (CTX_V1): Likewise.
3110         (CTX_A0): Likewise.
3111         (CTX_A1): Likewise.
3112         (CTX_A2): Likewise.
3113         (CTX_A3): Likewise.
3114         (CTX_T0): Likewise.
3115         (CTX_T1): Likewise.
3116         (CTX_T2): Likewise.
3117         (CTX_T3): Likewise.
3118         (CTX_T4): Likewise.
3119         (CTX_T5): Likewise.
3120         (CTX_T6): Likewise.
3121         (CTX_T7): Likewise.
3122         (CTX_S0): Likewise.
3123         (CTX_S1): Likewise.
3124         (CTX_S2): Likewise.
3125         (CTX_S3): Likewise.
3126         (CTX_S4): Likewise.
3127         (CTX_S5): Likewise.
3128         (CTX_S6): Likewise.
3129         (CTX_S7): Likewise.
3130         (CTX_T8): Likewise.
3131         (CTX_T9): Likewise.
3132         (CTX_K0): Likewise.
3133         (CTX_K1): Likewise.
3134         (CTX_GP): Likewise.
3135         (CTX_SP): Likewise.
3136         (CTX_S8): Likewise.
3137         (CTX_RA): Likewise.
3138         (CTX_MDLO): Likewise.
3139         (CTX_MDHI): Likewise.
3140         (CTX_CAUSE): Likewise.
3141         (CTX_EPC): Likewise.
3142         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Condition
3143         inclusion of <sys/procfs.h> on [__USE_MISC].
3144         (greg_t): Condition on [__USE_MISC].
3145         (gregset_t): Likewise.
3146         (fpregset_t): Likewise.
3147         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (greg_t): Likewise.
3148         (NGREG): Likewise.
3149         (gregset_t): Likewise.
3150         (REG_R0): Likewise.
3151         (REG_R1): Likewise.
3152         (REG_R2): Likewise.
3153         (REG_R3): Likewise.
3154         (REG_R4): Likewise.
3155         (REG_R5): Likewise.
3156         (REG_R6): Likewise.
3157         (REG_R7): Likewise.
3158         (REG_R8): Likewise.
3159         (REG_R9): Likewise.
3160         (REG_R10): Likewise.
3161         (REG_R11): Likewise.
3162         (REG_R12): Likewise.
3163         (REG_R13): Likewise.
3164         (REG_R14): Likewise.
3165         (REG_R15): Likewise.
3166         (struct _libc_fpstate): Likewise.
3167         (fpregset_t): Likewise.
3168         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (NGREG): Likewise.
3169         (NFPREG): Likewise.
3170         (gregset_t): Likewise.
3171         (fpregset_t): Likewise.
3172         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (R_D0): Likewise.
3173         (R_D1): Likewise.
3174         (R_D2): Likewise.
3175         (R_D3): Likewise.
3176         (R_D4): Likewise.
3177         (R_D5): Likewise.
3178         (R_D6): Likewise.
3179         (R_D7): Likewise.
3180         (R_A0): Likewise.
3181         (R_A1): Likewise.
3182         (R_A2): Likewise.
3183         (R_A3): Likewise.
3184         (R_A4): Likewise.
3185         (R_A5): Likewise.
3186         (R_A6): Likewise.
3187         (R_A7): Likewise.
3188         (R_SP): Likewise.
3189         (R_PC): Likewise.
3190         (R_PS): Likewise.
3191         (fpregset_t): Likewise.
3192         (MCONTEXT_VERSION): Likewise.
3193         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (MCONTEXT_VERSION):
3194         Likewise.
3195         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (REG_R0): Likewise.
3196         (REG_R1): Likewise.
3197         (REG_R2): Likewise.
3198         (REG_R3): Likewise.
3199         (REG_R4): Likewise.
3200         (REG_R5): Likewise.
3201         (REG_R6): Likewise.
3202         (REG_R7): Likewise.
3203         (REG_R8): Likewise.
3204         (REG_R9): Likewise.
3205         (REG_R10): Likewise.
3206         (REG_R11): Likewise.
3207         (REG_R12): Likewise.
3208         (REG_R13): Likewise.
3209         (REG_R14): Likewise.
3210         (REG_R15): Likewise.
3211         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Condition inclusion
3212         of <arch/abi.h> on [__USE_MISC].
3213         (greg_t): Condition on [__USE_MISC].
3214         (NGREG): Likewise.
3215         (gregset_t): Likewise.
3217 2017-05-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3219         * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
3220         (__pthread_rwlock_arch_t): Remove __data definition.
3221         * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
3222         (__pthread_rwlock_arch_t): Likewise.
3224 2017-05-11  Florian Weimer  <fweimer@redhat.com>
3226         * resolv/inet_pton.c: Reformat in GNU style.  Remove
3227         internal_function on static functions.
3229 2017-05-11  Florian Weimer  <fweimer@redhat.com>
3231         * support/support_format_addrinfo.c (format_ai_flags_1): Renamed
3232         from format_ai_flags.
3233         (format_ai_flags): New function.  Incorporate flag formatting code
3234         from format_ai_one.
3235         (format_ai_canonname): New function.
3236         (format_ai_one): Remove flags parameter.
3237         (format_ai_family): Likewise.
3238         (support_format_addrinfo): Call format_ai_flags,
3239         format_ai_canonname.
3240         * resolv/tst-resolv-basic.c (check_ai_hints): Extracted from
3241         check_ai.
3242         (check_ai): Call check_ai_hints.
3243         (do_test): Add AI_CANONNAME tests.
3245 2017-05-11  Florian Weimer  <fweimer@redhat.com>
3247         * sysdeps/posix/getaddrinfo.c (gethosts): Remove malloc_addrmem.
3248         (gaih_inet): Likewise.
3250 2017-05-10  Andreas Schwab  <schwab@suse.de>
3252         * nptl/tst-fork1.c: Include <support/test-driver.c>.
3253         (main): Rename to do_test and make static.
3255 2017-05-10  Joseph Myers  <joseph@codesourcery.com>
3257         * string/rawmemchr.c: Include <libc-diag.h>.
3258         (RAWMEMCHR): Disable -Wstringop-overflow around call to memchr
3259         with size (size_t)-1.
3261 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
3263         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Remove file.
3264         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
3265         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
3267         * sysdeps/unix/sysv/linux/accept4.c (accept4): Use syscall if
3268         [__ASSUME_ACCEPT4_SYSCALL], otherwise socketcall.
3269         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Use syscall if
3270         [__ASSUME_RECVMMSG_SYSCALL], otherwise socketcall.
3271         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Use syscall if
3272         [__ASSUME_SENDMMSG_SYSCALL], otherwise socketcall.
3273         * sysdeps/unix/sysv/linux/kernel-features.h
3274         (__ASSUME_ACCEPT4_SYSCALL): Move to general list of macros for
3275         socket syscalls.
3276         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3277         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3278         * sysdeps/unix/sysv/linux/i386/kernel-features.h
3279         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove.
3280         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3281         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3282         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove.
3283         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
3284         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3285         * sysdeps/unix/sysv/linux/sh/kernel-features.h
3286         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3287         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
3288         (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
3289         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3290         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3292 2017-05-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3294         * posix/Makefile (headers): Add pthreadtypes-arch.h and
3295         thread-shared-types.h.
3296         * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h: New file: arch
3297         specific thread definition.
3298         * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h: Likewise.
3299         * sysdeps/arm/nptl/bits/pthreadtypes-arch.h: Likewise.
3300         * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h: Likewise.
3301         * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h: Likewise.
3302         * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h: Likewise.
3303         * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h: Likewise.
3304         * sysdeps/mips/nptl/bits/pthreadtypes-arch.h: Likewise.
3305         * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h: Likewise.
3306         * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h: Likewise.
3307         * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
3308         * sysdeps/sh/nptl/bits/pthreadtypes-arch.h: Likewise.
3309         * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h: Likewise.
3310         * sysdeps/tile/nptl/bits/pthreadtypes-arch.h: Likewise.
3311         * sysdeps/x86/nptl/bits/pthreadtypes-arch.h: Likewise.
3312         * sysdeps/nptl/bits/thread-shared-types.h: New file: shared
3313         thread definition between POSIX and C11.
3314         * sysdeps/aarch64/nptl/bits/pthreadtypes.h.: Remove file.
3315         * sysdeps/alpha/nptl/bits/pthreadtypes.h: Likewise.
3316         * sysdeps/arm/nptl/bits/pthreadtypes.h: Likewise.
3317         * sysdeps/hppa/nptl/bits/pthreadtypes.h: Likewise.
3318         * sysdeps/m68k/nptl/bits/pthreadtypes.h: Likewise.
3319         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Likewise.
3320         * sysdeps/mips/nptl/bits/pthreadtypes.h: Likewise.
3321         * sysdeps/nios2/nptl/bits/pthreadtypes.h: Likewise.
3322         * sysdeps/ia64/nptl/bits/pthreadtypes.h: Likewise.
3323         * sysdeps/powerpc/nptl/bits/pthreadtypes.h: Likewise.
3324         * sysdeps/s390/nptl/bits/pthreadtypes.h: Likewise.
3325         * sysdeps/sh/nptl/bits/pthreadtypes.h: Likewise.
3326         * sysdeps/sparc/nptl/bits/pthreadtypes.h: Likewise.
3327         * sysdeps/tile/nptl/bits/pthreadtypes.h: Likewise.
3328         * sysdeps/x86/nptl/bits/pthreadtypes.h: Likewise.
3329         * sysdeps/nptl/bits/pthreadtypes.h: New file: common thread
3330         definitions shared across all architectures.
3332 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
3334         * sysdeps/unix/sysv/linux/kernel-features.h
3335         (__ASSUME_SENDMMSG_SYSCALL): Define unconditionally.
3336         (__ASSUME_SENDMMSG): Likewise.
3337         (__ASSUME_SENDMMSG_SOCKETCALL): Remove macro.
3338         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Define using
3339         sendmmsg syscall if that can be assumed to be present, socketcall
3340         otherwise, with no fallback for runtime failure.
3342         * sysdeps/unix/sysv/linux/kernel-features.h
3343         (__ASSUME_RECVMMSG_SYSCALL): Define unconditionally.
3344         (__ASSUME_RECVMMSG_SOCKETCALL): Remove macro.
3345         (__ASSUME_RECVMMSG): Likewise.
3346         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Define using
3347         recvmmsg syscall if it can be assumed to be present, socketcall
3348         otherwise, with no fallback for runtime failure.
3350 2017-05-09  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3351             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3353         * bits/libc-header-start.h:
3354         (__GLIBC_USE_IEC_60559_TYPES_EXT): New macro.
3355         * include/features.h: Describe __STDC_WANT_IEC_60559_TYPES_EXT__.
3356         * manual/creature.texi: Likewise.
3358 2017-05-09  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3359             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3361         * math/Makefile:
3362         (type-float128-suffix): New variable
3363         (type-float128-routines): Likewise
3364         (type-float128-yes): Likewise
3365         (types): Append float128 if supported
3366         (types-basic): New variable to control the use of templates for
3367         float, double, and long double, but not for float128 or newer types.
3368         (type-basic-foreach): Likewise.
3370         * sysdeps/ieee754/float128/Makeconfig: New file.
3371         * sysdeps/ieee754/float128/Versions: New file.
3373 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
3375         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PRLIMIT64):
3376         Remove macro.
3377         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Assume
3378         prlimit64 is always available and does not give an ENOSYS error.
3379         * sysdeps/unix/sysv/linux/prlimit.c [__NR_prlimit64]: Make code
3380         unconditional.
3381         [!__NR_prlimit64]: Remove conditional code.
3382         * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Assume
3383         prlimit64 is always available and does not give an ENOSYS error.
3384         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit64): Likewise.
3386 2017-05-09  Zack Weinberg  <zackw@panix.com>
3388         * sunrpc/tst-xdrmem2.c: Include stdint.h.
3390 2017-05-09  Florian Weimer  <fweimer@redhat.com>
3392         [BZ #21474]
3393         * resolv/res_libc.c (res_init): Use RES_DFLRETRY.
3394         (__res_maybe_init): Likewise.
3396 2017-05-09  Zack Weinberg  <zackw@panix.com>
3398         * extra-modules.mk: Delete file.
3399         * cppflags-iterator.mk: Rename to ...
3400         * libof-iterator.mk: ...this.  Adjust comments.
3402         * Makerules, extra-lib.mk, benchtests/Makefile, elf/Makefile
3403         * elf/rtld-Rules, iconv/Makefile, locale/Makefile, malloc/Makefile
3404         * nscd/Makefile, sunrpc/Makefile, sysdeps/s390/Makefile:
3405         Use libof-iterator.mk instead of cppflags-iterator.mk or
3406         extra-modules.mk.
3408         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Remove
3409         extra-modules.mk and cppflags-iterator.mk, add libof-iterator.mk.
3411 2017-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
3413         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3415 2017-05-08  Carlos O'Donell  <carlos@redhat.com>
3417         * stdio-common/vfprintf.c (EXTSIZ): Define.
3418         (vfprintf): Use EXTSIZ.
3419         (printf_positional): Likewise.
3421 2017-05-08  Joseph Myers  <joseph@codesourcery.com>
3423         * sysdeps/unix/sysv/linux/kernel-features.h
3424         (__ASSUME_PROC_PID_TASK_COMM): Remove macro.
3425         * sysdeps/unix/sysv/linux/tst-setgetname.c: Do not include
3426         <kernel-features.h>.
3427         (do_test) [!__ASSUME_PROC_PID_TASK_COMM]: Remove conditional code.
3429         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
3430         (__ASSUME_GETCPU_SYSCALL): Remove macro.
3432 2017-05-08  Florian Weimer  <fweimer@redhat.com>
3434         Prevent multiple deletion of temporary files.
3435         * support/temp_file.c (struct temp_name_list): Add owner member.
3436         (add_temp_file): Record owner.
3437         (support_delete_temp_files): Delete file only if owner matches.
3438         * posix/tst-exec.c (temp_fd1, temp_fd2): Define.
3439         (do_prepare): Use create_temp_file instead of add_temp_file.
3440         Initialize temp_fd1, temp_fd2.
3441         (do_test): Use global temp_fd1, temp_fd2 variables.  Let the test
3442         framework remove the temporary files.
3443         * posix/tst-exec.c (temp_fd1, temp_fd2, temp_fd3): Define.
3444         (do_prepare): Use create_temp_file instead of add_temp_file.
3445         Initialize temp_fd1, temp_fd2, temp_fd3.
3446         (do_test): Use global temp_fd1, temp_fd2, temp_fd3 variables.  Let
3447         the test framework remove the temporary files.
3448         * posix/tst-vfork3.c (do_prepare): Adjust for LIFO order of file
3449         deletion.
3450         * posix/tst-pathconf.c (do_test): Do not call rmdir on the
3451         temporary directory.  It is removed by the test framework.
3452         * dirent/tst-scandir.c (do_test): Likewise.
3454 2017-05-08  Florian Weimer  <fweimer@redhat.com>
3456         Delete temporary files in LIFO order.
3457         * support/temp_file.c (struct temp_name_list): Replace q member
3458         with next.
3459         (add_temp_file): Add new file to front of linked list.
3460         (support_delete_temp_files): Use next member.
3461         (support_print_temp_files): Likewise.
3463 2017-05-08  Florian Weimer  <fweimer@redhat.com>
3465         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
3466         sys/ultrasound.h.
3467         * sysdeps/unix/sysv/linux/sys/ultrasound.h: Remove file.
3469 2017-05-08  Joseph Myers  <joseph@codesourcery.com>
3471         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
3472         Remove.
3473         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
3474         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
3475         (arch_minimum_kernel): Remove.
3476         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
3477         * README: Update statement about Linux kernel requirements.
3479 2017-05-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3481         * manual/llio.texi: Add preadv and pwritev documentation.
3483 2017-05-04  Joseph Myers  <joseph@codesourcery.com>
3485         [BZ #21455]
3486         * bits/stdint-intn.h: New file.
3487         * bits/stdint-uintn.h: Likewise.
3488         * stdlib/Makefile (headers): Add bits/stdint-intn.h and
3489         bits/stdint-uintn.h.
3490         * inet/netinet/in.h: Include <bits/stdint-uintn.h> instead of
3491         <stdint.h>.
3492         * posix/sys/types.h: Include <bits/stdint-intn.h>.
3493         (__int8_t_defined): Do not define here.
3494         (int8_t): Likewise.
3495         (int16_t): Likewise.
3496         (int32_t): Likewise.
3497         (int64_t): Likewise.
3498         [__GNUC_PREREQ (2, 7)] (__intN_t): Likewise.
3499         * resolv/netdb.h: Include <bits/stdint-uintn.h> instead of
3500         <stdint.h>.
3501         * include/netdb.h [_ISOMAC]: Do not include <stdint.h>.
3502         * sysdeps/generic/stdint.h: Include <bits/stdint-intn.h> and
3503         <bits/stdint-uintn.h>.
3504         (int8_t): Do not define here.
3505         (int16_t): Likewise.
3506         (int32_t): Likewise.
3507         (int64_t): Likewise.
3508         (uint8_t): Likewise.
3509         (uint16_t): Likewise.
3510         (uint32_t): Likewise.
3511         (uint64_t): Likewise.
3512         * conform/Makefile (test-xfail-XPG42/arpa/inet.h/conform): Remove
3513         variable.
3514         (test-xfail-XPG42/netdb.h/conform): Likewise.
3515         (test-xfail-XPG42/netinet/in.h/conform): Likewise.
3516         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
3517         (test-xfail-UNIX98/netdb.h/conform): Likewise.
3518         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
3520 2017-05-04  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3522         * sysdeps/generic/math_private.h (mathx_hidden_def): New macro.
3523         * sysdeps/ieee754/ldbl-128/s_finitel.c: Replace hidden_def with
3524         the above.
3525         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
3526         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
3528 2017-05-04  Joseph Myers  <joseph@codesourcery.com>
3530         [BZ #21445]
3531         * signal/signal.h [__USE_XOPEN2K8] (bsd_signal): Do not declare.
3533         [BZ #21457]
3534         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
3535         [_MIPS_SIM != _ABIO32] (mcontext_t): Rename field reserved to
3536         __glibc_reserved1.
3537         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
3538         (struct _fpx_sw_bytes): Rename field padding to __glibc_reserved1.
3539         (struct _fpxreg): Likewise.
3540         [!__x86_64__] (struct _fpstate): Rename field reserved to
3541         __glibc_reserved1.  Rename field padding to __glibc_reserved2.
3542         [__x86_64__] (struct _fpstate): Rename field padding to
3543         __glibc_reserved1.
3544         (struct _xsave_hdr): Rename field reserved1 to __glibc_reserved1.
3545         Rename field reserved2 to __glibc_reserved2.
3546         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h
3547         [__x86_64__] (struct _libc_fpxreg): Rename field padding to
3548         __glibc_reserved1.
3549         [__x86_64__] (struct _libc_fpstate): Rename field padding to
3550         __glibc_reserved1.
3552 2017-05-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3554         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Correct hwcap
3555         variable name.
3557 2017-05-03  H.J. Lu  <hongjiu.lu@intel.com>
3559         [BZ #21391]
3560         * sysdeps/i386/dl-machine.h (dl_platform_init) [IS_IN (rtld)]:
3561         Only call init_cpu_features.
3562         [!IS_IN (rtld)]: Only set GLRO(dl_platform) to NULL if needed.
3563         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
3564         * sysdeps/i386/dl-procinfo.h: Removed.
3565         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Don't include
3566         <sysdeps/i386/dl-procinfo.h> nor <ldsodefs.h>.  Include
3567         <sysdeps/x86/dl-procinfo.h>.
3568         (_dl_procinfo): Replace _DL_HWCAP_COUNT with 32.
3569         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h [!IS_IN (ldconfig)]:
3570         Include <sysdeps/x86/dl-procinfo.h> instead of
3571          <sysdeps/generic/dl-procinfo.h>.
3572         * sysdeps/x86/cpu-features.c: Include <dl-hwcap.h>.
3573         (init_cpu_features): Set dl_platform, dl_hwcap and dl_hwcap_mask.
3574         * sysdeps/x86/cpu-features.h (bit_cpu_LZCNT): New.
3575         (bit_cpu_MOVBE): Likewise.
3576         (bit_cpu_BMI1): Likewise.
3577         (bit_cpu_BMI2): Likewise.
3578         (index_cpu_BMI1): Likewise.
3579         (index_cpu_BMI2): Likewise.
3580         (index_cpu_LZCNT): Likewise.
3581         (index_cpu_MOVBE): Likewise.
3582         (index_cpu_POPCNT): Likewise.
3583         (reg_BMI1): Likewise.
3584         (reg_BMI2): Likewise.
3585         (reg_LZCNT): Likewise.
3586         (reg_MOVBE): Likewise.
3587         (reg_POPCNT): Likewise.
3588         * sysdeps/x86/dl-hwcap.h: New file.
3589         * sysdeps/x86/dl-procinfo.h: Likewise.
3590         * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): New.
3591         (_dl_x86_platforms): Likewise.
3593 2017-05-03  DJ Delorie  <dj@redhat.com>
3595         [BZ #21411]
3596         * malloc/malloc.c: Tweak realloc/MREMAP comment to be more accurate.
3598 2017-05-03  Phil Blundell  <pb@pbcl.net>
3600         * inet/netinet/in.h (struct ip_mreq_source): Correct misplaced
3601         comments.
3603 2017-05-03  Carlos O'Donell  <carlos@redhat.com>
3605         [BZ #20116]
3606         * nptl/pthread_create.c: Expand comments to describe
3607         semaphore-like and mutex-like uses of PD->lock.
3609 2017-04-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3611         * sysdeps/unix/sysv/linux/epoll_wait.c: New file.
3612         * sysdeps/unix/sysv/linux/generic/epoll_wait.c: Remove file.
3613         * sysdeps/unix/sysv/linux/syscalls.list: Remove epoll_wait from
3614         auto-generation list.
3615         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
3616         epoll_wait.
3617         * sysdeps/unix/sysv/linux/generic/Makefile (sysdep_routines):
3618         Remove epoll_wait.
3620         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Add
3621         osf_select.
3622         * sysdeps/unix/sysv/linux/alpha/select.c: New file.
3623         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove select and
3624         osf_select from auto-generation list.
3625         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
3626         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3627         * sysdeps/unix/sysv/linux/generic/select.c: Remove file.
3628         * sysdeps/unix/sysv/linux/select.c: New file.
3630         * sysdeps/unix/sysv/linux/generic/poll.c: Remove file.
3631         * sysdeps/unix/sysv/linux/poll.c: New file.
3632         * sysdeps/unix/sysv/linux/syscalls.list: Remove poll from
3633         auto-generation list.
3635 2017-05-03  Joseph Myers  <joseph@codesourcery.com>
3637         * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDRDM):
3638         New macro.
3640 2017-05-02  Vladimir Mezentsev <vladimir.mezentsev@oracle.com>
3642         [BZ #21179]
3643         * sysdeps/sparc/sparc64/dl-machine.h: Handle R_SPARC_DISP64 and
3644         R_SPARC_REGISTER relocations.
3646 2017-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3648         * include/unistd.h (__pread): Add libc_hidden_proto.
3649         (__pread64): Likewise.
3650         (__pwrite): Likewise.
3651         * sysdeps/unix/sysv/linux/microblaze/localplt.data [libc.so]
3652         (__pread64): Remove.
3653         * sysdeps/unix/sysv/linux/pread.c (__pread64): Add libc_hidden_weak.
3654         * sysdeps/unix/sysv/linux/pread64.c (__pread64): Likewise.
3655         * sysdeps/unix/sysv/linux/pwrite.c (__pwrite): Likewise.
3657 2017-05-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3659         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3661 2017-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3663         * nptl/tst-cancel4-common.c: Use libsupport.
3664         * nptl/tst-cancel4-common.h: Likewise.
3665         * nptl/tst-cancel4.c (tf_read): Likewise.
3666         (tf_readv): Likewise.
3667         (tf_write): Likewise.
3668         (tf_writev): Likewise.
3669         (tf_sleep): Likewise.
3670         (tf_usleep): Likewise.
3671         (tf_nanosleep): Likewise.
3672         (tf_select): Likewise.
3673         (tf_pselect): Likewise.
3674         (tf_poll): Likewise.
3675         (tf_ppoll): Likewise.
3676         (tf_wait): Likewise.
3677         (tf_waitpid): Likewise.
3678         (tf_waitid): Likewise.
3679         (tf_sigpause): Likewise.
3680         (tf_sigsuspend): Likewise.
3681         (tf_sigwait): Likewise.
3682         (tf_sigwaitinfo): Likewise.
3683         (tf_sigtimedwait): Likewise.
3684         (tf_pause): Likewise.
3685         (tf_accept): Likewise.
3686         (tf_send): Likewise.
3687         (tf_recv): Likewise.
3688         (tf_recvfrom): Likewise.
3689         (tf_recvmsg): Likewise.
3690         (tf_open): Likewise.
3691         (tf_close): Likewise.
3692         (tf_pread): Likewise.
3693         (tf_pwrite): Likewise.
3694         (tf_preadv): Likewise.
3695         (tf_pwritev): Likewise.
3696         (tf_fsync): Likewise.
3697         (tf_fdatasync): Likewise.
3698         (tf_msync): Likewise.
3699         (tf_sendto): Likewise.
3700         (tf_sendmsg): Likewise.
3701         (tf_creat): Likewise.
3702         (tf_connect): Likewise.
3703         (tf_tcdrain): Likewise.
3704         (tf_msgrcv): Likewise.
3705         (tf_msgsnd): Likewise.
3706         * nptl/tst-cancel4_1.c (tf_sendmmsg): Likewise.
3707         * nptl/tst-cancel4_2.c (tf_recvmmsg): Likewise.
3709         * misc/tst-preadvwritev-common.c (do_prepare): Use libsupport
3710         expected arguments.
3711         (do_test): Adapt to use libsupport.
3713 2017-05-01  Joseph Myers  <joseph@codesourcery.com>
3715         * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_CONNECT): New macro.
3717         * sysdeps/unix/sysv/linux/bits/socket.h (PF_SMC): New macro.
3718         (PF_MAX): Set to 44.
3719         (AF_SMC): New macro.
3721         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
3722         kernel version to 4.11.
3724 2017-04-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3726         [BZ #21280]
3727         * sysdeps/powerpc/power7/fpu/s_logbl.c (__logbl): Ignore the
3728         signal of subnormals and adjust the exponent of power of 2 down
3729         when low part has opposite sign.
3731 2017-04-28  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3733         * sysdeps/powerpc/powerpc64le/Implies: New file.
3734         * sysdeps/powerpc/powerpc64le/fpu/Implies: New file.
3735         * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: New file.
3736         * sysdeps/powerpc/powerpc64le/multiarch/Implies: New file.
3737         * sysdeps/powerpc/powerpc64le/power7/Implies: New file.
3738         * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: New file.
3739         * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: New file.
3740         * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: New file.
3741         * sysdeps/powerpc/powerpc64le/power8/Implies: New file.
3742         * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: New file.
3743         * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: New file.
3744         * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: New file.
3745         * sysdeps/powerpc/powerpc64le/power9/Implies: New file.
3746         * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: New file.
3747         * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: New file.
3748         * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: New file.
3749         * sysdeps/powerpc/preconfigure: New file.
3750         * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: New file.
3751         * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: New file.
3753 2017-04-28  Joseph Myers  <joseph@codesourcery.com>
3755         * conform/data/semaphore.h-data [XOPEN2K] (time.h): Allow header
3756         inclusion.
3757         * conform/Makefile (test-xfail-XOPEN2K/semaphore.h/conform):
3758         Remove.
3760 2017-04-27  Joseph Myers  <joseph@codesourcery.com>
3762         * conform/GlibcConform.pm (XPG4): Rename standard to XPG42.
3763         (XPG3): Rename standard to XPG4.
3764         * conform/Makefile: Likewise.
3765         * conform/list-header-symbols.pl: Likewise.
3766         * conform/data/aio.h-data: Likewise.
3767         * conform/data/arpa/inet.h-data: Likewise.
3768         * conform/data/complex.h-data: Likewise.
3769         * conform/data/ctype.h-data: Likewise.
3770         * conform/data/dlfcn.h-data: Likewise.
3771         * conform/data/fcntl.h-data: Likewise.
3772         * conform/data/fenv.h-data: Likewise.
3773         * conform/data/float.h-data: Likewise.
3774         * conform/data/fmtmsg.h-data: Likewise.
3775         * conform/data/ftw.h-data: Likewise.
3776         * conform/data/grp.h-data: Likewise.
3777         * conform/data/inttypes.h-data: Likewise.
3778         * conform/data/iso646.h-data: Likewise.
3779         * conform/data/langinfo.h-data: Likewise.
3780         * conform/data/libgen.h-data: Likewise.
3781         * conform/data/limits.h-data: Likewise.
3782         * conform/data/locale.h-data: Likewise.
3783         * conform/data/math.h-data: Likewise.
3784         * conform/data/mqueue.h-data: Likewise.
3785         * conform/data/ndbm.h-data: Likewise.
3786         * conform/data/net/if.h-data: Likewise.
3787         * conform/data/netdb.h-data: Likewise.
3788         * conform/data/netinet/in.h-data: Likewise.
3789         * conform/data/poll.h-data: Likewise.
3790         * conform/data/pthread.h-data: Likewise.
3791         * conform/data/pwd.h-data: Likewise.
3792         * conform/data/sched.h-data: Likewise.
3793         * conform/data/search.h-data: Likewise.
3794         * conform/data/semaphore.h-data: Likewise.
3795         * conform/data/signal.h-data: Likewise.
3796         * conform/data/spawn.h-data: Likewise.
3797         * conform/data/stdbool.h-data: Likewise.
3798         * conform/data/stdint.h-data: Likewise.
3799         * conform/data/stdio.h-data: Likewise.
3800         * conform/data/stdlib.h-data: Likewise.
3801         * conform/data/string.h-data: Likewise.
3802         * conform/data/strings.h-data: Likewise.
3803         * conform/data/stropts.h-data: Likewise.
3804         * conform/data/sys/mman.h-data: Likewise.
3805         * conform/data/sys/resource.h-data: Likewise.
3806         * conform/data/sys/select.h-data: Likewise.
3807         * conform/data/sys/socket.h-data: Likewise.
3808         * conform/data/sys/stat.h-data: Likewise.
3809         * conform/data/sys/statvfs.h-data: Likewise.
3810         * conform/data/sys/time.h-data: Likewise.
3811         * conform/data/sys/timeb.h-data: Likewise.
3812         * conform/data/sys/types.h-data: Likewise.
3813         * conform/data/sys/uio.h-data: Likewise.
3814         * conform/data/sys/un.h-data: Likewise.
3815         * conform/data/sys/wait.h-data: Likewise.
3816         * conform/data/syslog.h-data: Likewise.
3817         * conform/data/termios.h-data: Likewise.
3818         * conform/data/tgmath.h-data: Likewise.
3819         * conform/data/time.h-data: Likewise.
3820         * conform/data/ucontext.h-data: Likewise.
3821         * conform/data/unistd.h-data: Likewise.
3822         * conform/data/utmpx.h-data: Likewise.
3823         * conform/data/varargs.h-data: Likewise.
3824         * conform/data/wchar.h-data: Likewise.
3825         * conform/data/wctype.h-data: Likewise.
3827 2017-04-26  Joseph Myers  <joseph@codesourcery.com>
3829         * scripts/build-many-glibcs.py (Context.checkout): Default gcc
3830         version to 7 branch.
3832 2017-04-25  Uros Bizjak  <ubizjak@gmail.com>
3834         * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Add
3835         earlyclobber to output operand of sqrt insn.
3836         (__ieee754_sqrtf): Ditto.
3838 2017-04-25  Joseph Myers  <joseph@codesourcery.com>
3840         [BZ #21426]
3841         * misc/bits/types/struct_iovec.h: New file.
3842         * misc/Makefile (headers): Add bits/types/struct_iovec.h.
3843         * include/bits/types/struct_iovec.h: New file.
3844         * bits/uio.h (struct iovec): Replace by inclusion of
3845         <bits/types/struct_iovec.h>.
3846         * sysdeps/unix/sysv/linux/bits/uio.h (struct iovec): Likewise.
3847         * socket/sys/socket.h: Include <bits/types/struct_iovec.h> instead
3848         of <sys/uio.h>.
3849         * nptl/tst-cancel4.c: Include <sys/uio.h>
3850         * posix/test-errno.c: Likewise.
3851         * support/resolv_test.c: Likewise.
3852         * conform/Makefile (test-xfail-POSIX2008/arpa/inet.h/conform):
3853         Remove.
3854         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
3855         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
3856         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
3858         * conform/data/sys/socket.h-data (*_t): Allow.
3860 2017-04-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3862         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Remove ununsed
3863         assignment.
3865 2017-04-24  Daurnimator  <quae@daurnimator.com>
3866             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3868         [BZ #21340]
3869         * posix/Makefile (tests): Add tst-posix_spawn-setsid to list of tests.
3870         * posix/spawn.h: define POSIX_SPAWN_SETSID flag.
3871         * posix/spawnattr_setflags.c (ALL_FLAGS): Add POSIX_SPAWN_SETSID to
3872         valid flags.
3873         * posix/tst-posix_spawn-setsid.c: Add test for POSIX_SPAWN_SETSID.
3874         * sysdeps/mach/hurd/spawni.c (__spawni): Implementation of
3875         POSIX_SPAWN_SETSID.
3876         * sysdeps/posix/spawni.c (__spawni): Likewise.
3877         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
3878         * NEWS: Add note about POSIX_SPAWN_SETSID support.
3880 2017-04-24  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3882         * sysdeps/generic/math_private.h: Move the declaration of many
3883         functions to sysdeps/generic/math_private_calls.h.
3884         * sysdeps/generic/math_private_calls.h: New file with the
3885         declarations of the functions removed from math_private.h
3886         macroized by floating-point type.
3888 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
3890         * sysdeps/s390/multiarch/utf8-utf32-z9.c: New File.
3891         * sysdeps/s390/utf8-utf32-z9.c: Move ifunc resolvers to multiarch
3892         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
3893         (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
3894         FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
3895         TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
3897 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
3899         * sysdeps/s390/multiarch/utf16-utf32-z9.c: New File.
3900         * sysdeps/s390/utf16-utf32-z9.c: Move ifunc resolvers to multiarch
3901         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|VX].
3902         (HAVE_FROM_C, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX, FROM_LOOP_DEFAULT,
3903         FROM_LOOP_C, FROM_LOOP_VX, TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX):
3904         New Define.
3906 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
3908         * sysdeps/s390/multiarch/utf8-utf16-z9.c: New File.
3909         * sysdeps/s390/utf8-utf16-z9.c: Move ifunc resolvers to multiarch
3910         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
3911         (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
3912         FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
3913         TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
3915 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
3917         * sysdeps/s390/multiarch/ifunc-resolve.h
3918         (s390_libc_ifunc_expr_init, s390_libc_ifunc_expr): New Define.
3919         * sysdeps/s390/multiarch/8bit-generic.c
3920         (__to_generic, __from_generic): Use s390_libc_ifunc_expr to
3921         define ifunc resolvers.
3923 2017-04-21  Florian Weimer  <fweimer@redhat.com>
3925         [BZ #20424]
3926         * manual/memory.texi (Replacing malloc): New section.
3927         (Allocating Storage For Program Data): Reference it.
3928         (The GNU Allocator): Likewise.
3930 2017-04-20  Joseph Myers  <joseph@codesourcery.com>
3932         * stdlib/Versions (__strtod_internal): List explicitly, not as
3933         wildcard.
3934         (__strtof_internal): Likewise.
3935         (__strtold_internal): Likewise.
3936         (__strtol_internal): Likewise.
3937         (__strtoll_internal): Likewise.
3938         (__strtoul_internal): Likewise.
3939         (__strtoull_internal): Likewise.
3940         (__strtoq_internal): Likewise.
3941         (__strtouq_internal): Likewise.
3942         * wcsmbs/Versions (__wcstod_internal): Likewise.
3943         (__wcstof_internal): Likewise.
3944         (__wcstold_internal): Likewise.
3945         (__wcstol_internal): Likewise.
3946         (__wcstoll_internal): Likewise.
3947         (__wcstoul_internal): Likewise.
3948         (__wcstoull_internal): Likewise.
3950 2017-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3952         * io/sys/stat.h: Use __USE_XOPEN2K8 insteaf of __USE_ATFILE for
3953         struct timespec definition.
3955 2017-04-19  Florian Weimer  <fweimer@redhat.com>
3957         * resolv/nss_dns/dns-host.c (getanswer_r): Fix parentheses.
3959 2017-04-19  Florian Weimer  <fweimer@redhat.com>
3961         * inet/rcmd.c (rresvport_af): Fix typo in comment.
3962         * inet/rexec.c (rexec_af): Likewise.
3964 2017-04-19  Zack Weinberg  <zackw@panix.com>
3966         * posix/tst-mmap-offset.c: Include stdint.h.
3967         * resolv/tst-ns_name_compress.c: Include string.h.
3968         * resolv/tst-resolv-edns.c: Include resolv.h.
3970 2017-04-19  Florian Weimer  <fweimer@redhat.com>
3972         * resolv/gai_suspend.c (gai_suspend): Replace __builtin_expect
3973         with __glibc_likely.
3974         * resolv/nss_dns/dns-host.c (getanswer_r, gaih_getanswer_slice):
3975         Replace __builtin_expect with __glibc_unlikely.
3976         * resolv/res_init.c (__res_vinit): Likewise.
3977         * resolv/res_query.c (__libc_res_nquery): Likewise.
3978         * resolv/res_send.c (__libc_res_nsend): Likewise.
3980 2017-04-19  Florian Weimer  <fweimer@redhat.com>
3982         [BZ #15722]
3983         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Create socket
3984         with SOCK_CLOEXEC.
3985         * resolv/res_send.c (send_vc, reopen): Likewise.
3986         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
3987         * sysdeps/unix/sysv/linux/check_native.c (__check_native):
3988         Likewise.
3989         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_open): Likewise.
3990         * inet/rexec.c (rexec_af): Add comment.
3991         * inet/rcmd.c (rresvport_af): Likewise.
3993 2017-04-19  Florian Weimer  <fweimer@redhat.com>
3995         * nscd/connections.c (have_accept4): Removed definition.
3996         (nscd_run_worker, main_loop_poll, main_loop_epolll): Assume that
3997         accept4 works.
3998         * manual/install.texi (Linux): Require at least kernel 3.2.18 for
3999         ia64 because that was the first version with accept4 support.
4000         * support/Makefile (libsupport-routines): Add xaccept4.
4001         * support/xsocket.h (xaccept4): Declare.
4002         * support/xaccept4.c: New file.
4003         * socket/tst-accept4.c: New file.
4004         * socket/Makefile (tests): Add tst-accept4.
4005         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Remove
4006         definition.
4007         * sysdeps/nacl/kernel-features.h (__ASSUME_ACCEPT4): Remove
4008         comment.
4009         * sysdeps/unix/sysv/linux/accept4.c: Assume that an accept4
4010         implementation is available.
4011         (accept4): Use the system call if available, otherwise use the
4012         socket call.
4013         * sysdeps/unix/sysv/linux/ia64/configure.ac (arch_minimum_kernel):
4014         Set to 3.2.18.
4015         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4016         (__ASSUME_ACCEPT4_SYSCALL, __ASSUME_ACCEPT4): Do not undefine.
4017         accept4 is unconditionally available in later 3.2 stable kernels.
4018         (__ASSUME_ACCEPT4_SYSCALL): Define.
4019         * sysdeps/unix/sysv/linux/kernel-features.h
4020         (__ASSUME_ACCEPT4_SOCKETCALL, __ASSUME_ACCEPT4): Remove
4021         definitions.
4022         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4023         (__ASSUME_ACCEPT4_SYSCALL): Define for Linux 4.3 or later.
4025 2017-04-18  Joseph Myers  <joseph@codesourcery.com>
4027         * conform/Makefile (tests-special): Do not make addition of
4028         $(conformtest-header-tests) conditional on [$(cross-compiling) = no].
4029         (generated): Do not make addition of $(conformtest-header-base)
4030         conditional on [$(cross-compiling) = no].
4032         [BZ #21267]
4033         * sysdeps/unix/sysv/linux/bits/socket.h (IOCSIZE_MASK): Undefine
4034         if defined by <asm/socket.h> and not previously defined.
4035         (IOCSIZE_SHIFT): Likewise.
4036         (IOC_IN): Likewise.
4037         (IOC_INOUT): Likewise.
4038         (IOC_OUT): Likewise.
4040 2017-04-18  H.J. Lu  <hongjiu.lu@intel.com>
4042         [BZ #21396]
4043         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
4044         Prefer_No_AVX512 if AVX512ER isn't available.
4045         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_No_AVX512): New.
4046         (index_arch_Prefer_No_AVX512): Likewise.
4047         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Don't use
4048         AVX512 version if Prefer_No_AVX512 is set.
4049         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk):
4050         Likewise.
4051         * sysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Likewise.
4052         * sysdeps/x86_64/multiarch/memmove_chk.S (__memmove_chk):
4053         Likewise.
4054         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
4055         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk):
4056         Likewise.
4057         * sysdeps/x86_64/multiarch/memset.S (memset): Likewise.
4058         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk):
4059         Likewise.
4061 2017-04-18  H.J. Lu  <hongjiu.lu@intel.com>
4063         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
4064         Prefer_No_VZEROUPPER if AVX512ER is available.
4065         * sysdeps/x86/cpu-features.h
4066         (bit_cpu_AVX512PF): New.
4067         (bit_cpu_AVX512ER): Likewise.
4068         (bit_cpu_AVX512CD): Likewise.
4069         (bit_cpu_AVX512BW): Likewise.
4070         (bit_cpu_AVX512VL): Likewise.
4071         (index_cpu_AVX512PF): Likewise.
4072         (index_cpu_AVX512ER): Likewise.
4073         (index_cpu_AVX512CD): Likewise.
4074         (index_cpu_AVX512BW): Likewise.
4075         (index_cpu_AVX512VL): Likewise.
4076         (reg_AVX512PF): Likewise.
4077         (reg_AVX512ER): Likewise.
4078         (reg_AVX512CD): Likewise.
4079         (reg_AVX512BW): Likewise.
4080         (reg_AVX512VL): Likewise.
4082 2017-04-18  Florian Weimer  <fweimer@redhat.com>
4084         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Assume that
4085         O_CLOEXEC is defined.
4086         * include/fcntl.h (__have_o_cloexec): Remove declaration.
4087         * io/Makefile (aux): Remove.
4088         * io/have_o_cloexec.c: Remove file.
4089         * libio/fileops.c (_IO_new_file_fopen): Assume that O_CLOEXEC is
4090         defined and works.
4091         * libio/iopopen.c (_IO_new_proc_open): Assume that O_CLOEXEC is
4092         defined.
4093         * login/utmp_file.c (O_flags): Remove definition.
4094         (setutent_file): Use O_CLOEXEC instead of O_flags.  Assume that
4095         O_CLOEXEC works.
4096         (pututline_file): Likewise.
4097         * malloc/mtrace.c: Assume that O_CLOEXEC works.
4098         * nis/nss_compat/compat-grp.c (__compat_have_cloexec): Remove
4099         definition.
4100         (internal_setgrent): Assume that O_CLOEXEC works.
4101         * nis/nss_compat/compat-initgroups.c (__compat_have_cloexec):
4102         Remove definition.
4103         (internal_setgrent): Assume that O_CLOEXEC works.
4104         * nis/nss_compat/compat-pwd.c (__compat_have_cloexec): Remove
4105         definition.
4106         (internal_setpwent): Assume that O_CLOEXEC works.
4107         * nis/nss_compat/compat-spwd.c (__compat_have_cloexec): Remove
4108         definition.
4109         (internal_setspent): Assume that O_CLOEXEC works.
4110         * nscd/connections.c (EXTRA_O_FLAGS): Remove definition.
4111         (nscd_init): Use O_CLOEXEC instead of EXTRA_O_FLAGS.  Assume that
4112         O_CLOEXEC is defined and works.
4113         * nss/Makefile (libnss_files-routines): Remove
4114         files-have_o_cloexec.
4115         * nss/nss_db/db-open.c (internal_setent): Assume that O_CLOEXEC is
4116         defined.
4117         * nss/nss_files/files-XXX.c (internal_setent): Assume that
4118         O_CLOEXEC is defined and works.
4119         * nss/nss_files/files-alias.c (internal_setent): Likewise.
4120         * nss/nss_files/files-have_o_cloexec.c: Remove.
4121         * posix/wordexp.c (exec_comm_child): Assume that O_CLOEXEC is
4122         defined.
4123         * shadow/lckpwdf.c (__lckpwdf): Assume that O_CLOEXEC is defined
4124         and works.
4125         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_O_CLOEXEC): Remove
4126         definition.
4127         * sysdeps/nacl/kernel-features.h (__ASSUME_O_CLOEXEC): Likewise.
4128         * sysdeps/posix/getcwd.c (__getcwd): Assume that O_CLOEXEC works.
4129         * sysdeps/posix/opendir.c (opendir_oflags): Turn into enum constant.
4130         (__opendirat, __opendir): Adjust opendir_oflags call.
4131         (check_have_o_cloexec): Remove.
4132         (__alloc_dir): Assume that O_CLOEXEC is defined and works.
4133         * sysdeps/posix/shm_open.c (shm_open): Assume that O_CLOEXEC is
4134         defined.
4135         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_O_CLOEXEC):
4136         Remove definition.
4138 2017-04-18  Florian Weimer  <fweimer@redhat.com>
4140         * include/unistd.h (__have_dup3): Remove declaration.
4141         * libio/freopen.c (freopen): Assume that O_CLOEXEC is defined and
4142         dup3 is available.
4143         * libio/freopen64.c (freopen64): Likewise.
4144         * socket/Makefile (aux): Remove have_sock_cloexec.
4145         * socket/have_sock_cloexec.c: Remove file.
4146         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Remove
4147         definition.
4148         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_DUP3):
4149         Likewise.
4150         * sysdeps/nacl/kernel-features.h: Update comment.
4152 2017-04-18  Florian Weimer  <fweimer@redhat.com>
4154         * include/unistd.h (__have_pipe2): Remove declaration.
4155         * socket/have_sock_cloexec.c (__have_pipe2): Remove definition.
4156         * libio/iopopen.c (_IO_new_proc_open): Assume that pipe2 is
4157         available.
4158         * posix/wordexp.c (exec_comm_child, exec_comm): Likewise.
4159         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PIPE2):
4160         Remove definition.
4162 2017-04-18  Florian Weimer  <fweimer@redhat.com>
4164         * malloc/malloc.c (cfree): Turn into compat symbol.
4165         (__cfree): Remove alias.
4166         * stdlib/stdlib.h (cfree): Remove declaration.
4167         * malloc/malloc.h (cfree): Likewise.
4168         * manual/memory.texi (Freeing after Malloc): Remove cfree.
4169         * malloc/Versions (GLIBC_2.26): Add.
4171 2017-04-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4173         * sysdeps/powerpc/powerpc64/multiarch/Makefile
4174         (sysdep_routines): Add strrchr-power8.
4175         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4176         (strrchr): Add __strrchr_power8 to list of strrchr functions.
4177         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: New file.
4178         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c
4179         (strrchr): Add __strrchr_power8 to ifunc list.
4180         * sysdeps/powerpc/powerpc64/power8/strrchr.S: New file.
4182 2017-04-17  Rabin Vincent  <rabinv@axis.com>
4184         [BZ #21357]
4185         * sysdeps/generic/unwind-dw2-fde.c (__deregister_frame_info_bases):
4186         Call free() outside of mutex.
4188 2017-04-13  Florian Weimer  <fweimer@redhat.com>
4190         * csu/check_fds.c (__libc_check_standard_fds): Assume O_NOFOLLOW
4191         is defined.
4192         * elf/rtld.c (process_envvars): Likewise.
4193         * sysdeps/posix/shm_open.c (shm_open): Likewise.
4194         * elf/dl-profile.c (EXTRA_FLAGS): Remove definition.  Use
4195         O_NOFOLLOW directly.
4196         * gmon/gmon.c (O_NOFOLLOW): Remove definition.
4198 2017-04-13  Florian Weimer  <fweimer@redhat.com>
4200         [BZ #21369]
4201         Remove EDNS fallback.
4202         * resolv/res_query.c (__libc_res_nquery): Remove RES_F_EDNS0ERR
4203         handling.
4204         * resolv/res_send.c (send_dg): Likewise.
4205         * resolv/tst-resolv-edns.c (response): Handle "formerr." and
4206         "tcp." prefixes.
4207         (do_test): Send a "formerr."-prefixed query in an attempt to
4208         trigger EDNS fallback.
4210 2017-04-13  Florian Weimer  <fweimer@redhat.com>
4212         [BZ #21361]
4213         Limit EDNS buffer size to 1200 bytes.
4214         * include/resolv.h (__res_nopt): Remove declaration.
4215         * resolv/Makefile (tests): tst-resolv-edns.
4216         (tst-resolv-edns): Link with -lresolv, -lpthread.
4217         * resolv/res_mkquery.c (__res_ntop): Limit EDNS buffer size to the
4218         interval [512, 1200].
4219         * resolv/res_query.c (__libc_res_nquery): Use 1200 buffer size if
4220         we can resize the buffer.
4221         * resolv/resolv-internal.h (RESOLV_EDNS_BUFFER_SIZE): Define.
4222         (__res_nopt): Declare.
4223         * resolv/tst-resolv-edns.c: New file.
4224         * resolv/resolv_test.h (struct resolv_edns_info): Define.
4225         (struct resolv_response_context): Add edns member.
4226         * resolv/resolv_test.c (struct query_info): Add edns member.
4227         (parse_query): Extract EDNS information from the query.
4228         (server_thread_udp_process_one): Propagate EDNS data.
4229         (server_thread_tcp_client): Likewise.
4231 2017-04-13  Florian Weimer  <fweimer@redhat.com>
4233         [BZ #21359]
4234         * resolv/ns_name.c (ns_name_pack): Do not require an additional
4235         byte in the destination buffer.  Avoid out-of-bounds pointer
4236         arithmetic.
4237         * resolv/Makefile (tests): Add tst-ns_name_compress.
4238         (tst-ns_name_compress): Link with -lresolv.
4239         * resolv/tst-ns_name_compress.c: New file.
4240         * resolv/tst-resolv-basic.c (LONG_NAME): Define.
4241         (response): Recognize LONG_NAME.
4242         (do_test): Add LONG_NAME tests.
4243         * resolv/tst-ns_name.c (run_test_case): Fix expected data check
4244         for ns_name_unpack.  Add tests for ns_name_pton and
4245         ns_name_compress.
4247 2017-04-13  Florian Weimer  <fweimer@redhat.com>
4249         * resolv/resolv.h (RES_EXHAUSTIVE, p_section, res_npquery)
4250         (res_nisourserver): Remove definition.
4251         (p_section, res_npquery, res_nisourserver): Remove declaration.
4252         (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR): Move ...
4253         * resolv/resolv-internal.h (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR):
4254         ... here.
4255         * resolv/res_send.c: Include <resolv/resolv-internal.h> instead of
4256         <resolv.h>.
4257         * resolv/res_query.c: Likewise.
4258         * resolv/res_debug.c (p_section): Define as static.
4260 2017-04-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4262         * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines): Add
4263         strncat-power8.
4264         * sysdeps/powerpc/powerpc64/multiarch/strncat.c (strncat): Add
4265         __strncat_power8 to ifunc list.
4266         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4267         (strncat): Add __strncat_power8 to list of strncat functions.
4268         * sysdeps/powerpc/powerpc64/multiarch/strncat-power8.c: New file.
4270 2017-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4272         [BZ #21270]
4273         * posix/tst-mmap-offset.c (do_prepare): New function.
4274         (do_test): Rename to do_test_bz18877 and use FAIL_RET.
4275         (do_test_bz21270): New function.
4276         * sysdeps/unix/sysv/linux/aarch64/mmap.c: Remove file.
4277         * sysdeps/unix/sysv/linux/arm/mmap.c: Remove file.
4278         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c: Likewise.
4279         * sysdeps/unix/sysv/linux/hppa/mmap.c: Likewise.
4280         * sysdeps/unix/sysv/linux/i386/mmap.c: Likewise.
4281         * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
4282         * sysdeps/unix/sysv/linux/m68k/mmap64.c: Likewise.
4283         * sysdeps/unix/sysv/linux/microblaze/mmap.S: Likewise.
4284         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: Likewise.
4285         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: Likewise.
4286         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: Likewise.
4287         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
4288         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
4289         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
4290         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: Likewise.
4291         * sysdeps/unix/sysv/linux/wordsize-64/mmap64.c: Likewise.
4292         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
4293         * sysdeps/unix/sysv/linux/mmap_internal.h: New file.
4294         * sysdeps/unix/sysv/linux/m68k/mmap_internal.h: Likewise.
4295         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap_internal.h: Likewise.
4296         * sysdeps/unix/sysv/linux/s390/mmap_internal.h: Likewise.
4297         * sysdeps/unix/sysv/linux/x86_64/64/mmap_internal.h: Likewise.
4298         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Remove mmap
4299         from auto-generation list.
4300         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: Likewise.
4301         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
4302         * sysdeps/unix/sysv/linux/mmap.c: New file.
4303         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Add check for invalid
4304         offsets and support for mmap2 syscall.
4306         * posix/globtest.sh: Add cleanup routine on trap 0.
4308 2017-04-11  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
4310         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Define the
4311         implementation-specific function name and remove unneeded
4312         macros definition.
4313         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
4314         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
4315         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Set a default function
4316         name if not defined and pass as parameter to macros accordingly.
4317         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
4318         * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
4320         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Define the
4321         implementation-specific function name and remove unneeded
4322         macros definition.
4323         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
4324         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
4325         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
4326         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
4327         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
4328         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
4329         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Set a default function
4330         name if not defined and pass as parameter to macros accordingly.
4331         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
4332         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
4333         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4334         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4335         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
4336         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.
4338         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Define the
4339         implementation-specific function name and remove unneeded macros
4340         definition.
4341         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
4342         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
4343         * sysdeps/powerpc/powerpc64/power7/memchr.S: Set a default
4344         function name if not defined and pass as parameter to macros
4345         accordingly.
4346         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
4347         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Likewise.
4349         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Define the
4350         implementation-specific function name and remove unneeded macros
4351         definition.
4352         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
4353         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
4354         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
4355         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
4356         * sysdeps/powerpc/powerpc64/memset.S: Set a default function name if
4357         not defined and pass as parameter to macros accordingly.
4358         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
4359         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4360         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
4361         * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
4363         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Define the
4364         strcasestr implementation name and remove unneeded macros definition.
4365         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Define
4366         strstr implementation name and remove unneeded macros definition.
4367         * sysdeps/powerpc/powerpc64/power7/strstr.S: Set a default function
4368         name if not defined and pass as parameter to macros accordingly.
4369         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Likewise.
4371         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Define the
4372         implementation-specific function name and remove unneeded macros
4373         definition.
4374         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
4375         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
4376         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
4377         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
4378         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
4379         * sysdeps/powerpc/powerpc64/power7/strchr.S: Set a default
4380         function name if not defined and pass as parameter to macros
4381         accordingly.
4382         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Likewise.
4383         * sysdeps/powerpc/powerpc64/power7/strrchr.S: Likewise.
4384         * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
4385         * sysdeps/powerpc/powerpc64/strchr.S: Likewise.
4387         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Define
4388         the strlen implementation name and remove unneeded macros definition.
4389         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
4390         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
4391         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Define
4392         the strnlen implementation name and remove unneeded macros definition.
4393         * sysdeps/powerpc/powerpc64/power7/strlen.S: Set a default function
4394         name if not defined and pass as parameter to macros accordingly.
4395         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Likewise.
4396         * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
4397         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
4399         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Define
4400         the implementation-specific function name and remove unneeded
4401         macros definition.
4402         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
4403         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S Likewise.
4404         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
4405         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
4406         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
4407         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
4408         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
4409         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
4410         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
4411         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Set a default function
4412         name if not defined and pass as parameter to macros accordingly.
4413         * sysdeps/powerpc/powerpc64/power7/strcmp.S: Likewise.
4414         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4415         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
4416         * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
4417         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
4418         * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
4419         * sysdeps/powerpc/powerpc64/strcmp.S: Likewise.
4420         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4422         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Define the
4423         implementation-specific function name and remove unneeded macros
4424         definition.
4425         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
4426         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
4427         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
4428         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
4429         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
4430         * sysdeps/powerpc/powerpc64/power7/strncpy.S: Set a default
4431         function name if not defined.
4432         * sysdeps/powerpc/powerpc64/power8/strcpy.S: Likewise.
4433         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
4435 2017-04-11  Paul Clarke  <pc@us.ibm.com>
4437         * elf/elf.h (AT_L1I_CACHESIZE, AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE,
4438         AT_L1D_CACHEGEOMETRY, AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY,
4439         AT_L3_CACHESIZE, AT_L3_CACHEGEOMETRY): New.  Add auxvec
4440         identifiers from kernel arch/powerpc/include/uapi/asm/auxvec.h.
4442 2017-04-11  Florian Weimer  <fweimer@redhat.com>
4443             Zack Weinberg  <zackw@panix.com>
4445         * manual/filesys.texi (Reading/Closing Directory): Mark readdir,
4446         readdir64 as thread-safe.  Update warning about readdir_r.
4448 2017-04-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4450         * sysdeps/unix/sysv/linux/x86/Implies: New file.
4451         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: Move to ...
4452         * sysdeps/alpha/nptl/bits/pthreadtypes.h: ... here.
4453         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Move to ...
4454         * sysdeps/powerpc/nptl/bits/pthreadtypes.h: ... here.
4455         * sysdeps/x86/bits/pthreadtypes.h: Move to ...
4456         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
4458 2017-04-10  H.J. Lu  <hongjiu.lu@intel.com>
4460         * sysdeps/i386/dl-procinfo.c: Include
4461         <sysdeps/x86/dl-procinfo.c>.
4462         * sysdeps/x86_64/dl-procinfo.c: Likewise.
4463         * sysdeps/x86/dl-procinfo.c: New file.
4465 2017-04-10  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4467         * sysdeps/generic/math_private.h: Remove declarations of
4468         many functions that are already declared in math.h.
4469         * sysdeps/ieee754/ldbl-128/e_logl.c: Include math.h to get the
4470         declaration for __frexpl.
4471         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Include math.h to get
4472         the declarations for __scalbnl and fabsl.
4474 2017-04-09  Dmitry V. Levin  <ldv@altlinux.org>
4476         [BZ #20831]
4477         * elf/dl-map-segments.h (_dl_map_segments): Check for failure
4478         of __mprotect to change protection on the excess portion
4479         to disallow all access.
4481 2017-04-07  H.J. Lu  <hongjiu.lu@intel.com>
4483         * sysdeps/i386/fpu/fclrexcpt.c (__feclearexcept): Use
4484         HAS_CPU_FEATURE to check for SSE.
4485         * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
4486         * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Likewise.
4487         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Likewise.
4488         * sysdeps/i386/fpu/fegetmode.c (fegetmode): Likewise.
4489         * sysdeps/i386/fpu/feholdexcpt.c (__feholdexcept): Likewise.
4490         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Likewise.
4491         * sysdeps/i386/fpu/fesetmode.c (fesetmode): Likewise.
4492         * sysdeps/i386/fpu/fesetround.c (__fesetround): Likewise.
4493         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
4494         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Likewise.
4495         * sysdeps/i386/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
4496         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
4497         * sysdeps/i386/setfpucw.c (__setfpucw): Likewise.
4498         * sysdeps/x86/cpu-features.h (bit_cpu_SSE): New.
4499         (index_cpu_SSE): Likewise.
4500         (reg_SSE): Likewise.
4502 2017-04-07  Paul Eggert  <eggert@cs.ucla.edu>
4504         * posix/getopt1.c: Include <config.h>, not "config.h".
4506 2017-04-07  Zack Weinberg  <zackw@panix.com>
4508         * posix/bits/getopt_core.h, posix/bits/getopt_ext.h
4509         * posix/getopt.c, posix/getopt1.c, posix/getopt_int.h:
4510         Mention in top-of-file boilerplate that these files are shared
4511         with gnulib.
4512         * posix/getopt.h, posix/bits/getopt_posix.h:
4513         Mention in top-of-file boilerplate that these files are NOT shared
4514         with gnulib, unlike the rest of the getopt implementation.
4516         * posix/bits/getopt_core.h, posix/bits/getopt_ext.h:
4517         New files, intended to be shared with gnulib.
4518         * posix/bits/getopt_posix.h:
4519         New file, not intended to be shared with gnulib.
4520         * posix/getopt.h: Now just includes features.h,
4521         bits/getopt_core.h, and bits/getopt_ext.h.  Will
4522         no longer be shared with gnulib.
4523         * include/bits/getopt_core.h, include/bits/getopt_ext.h
4524         * include/bits/getopt_posix.h: New wrappers.
4525         * posix/Makefile: Install new headers.
4526         * posix/unistd.h, libio/stdio.h:
4527         Include bits/getopt_posix.h instead of getopt.h.
4529         * include/libc-symbols.h: For gnulib compatibility, define
4530         _GL_UNUSED, _GL_UNUSED_LABEL, _GL_ATTRIBUTE_PURE, and
4531         _GL_ATTRIBUTE_CONST.
4532         * posix/getopt.c (_getopt_initialize): Mark argc and argv
4533         parameters with _GL_UNUSED.
4535         * posix/getopt.c: When used standalone, define __libc_use_alloca
4536         as always false and alloca to abort if called.
4537         (process_long_option): Rewrite handling of ambiguous long options
4538         to use a single boolean vector, not a linked list; use
4539         __libc_use_alloca to decide whether to allocate this using alloca.
4540         * posix/tst-getopt_long1.c: Adjust text of expected error message.
4542         * posix/getopt.c (process_long_option): New function split out
4543         from _getopt_internal_r.
4544         (_getopt_internal_r): Replace both copies of the long-option
4545         processing code with calls to process_long_option.
4546         * posix/bug-getopt4.c (one_test): Print argv[0] in error messages.
4547         (do_test): Differentiate argv[0] in the two subtests.
4549         * posix/getopt_int.h (_getopt_data): Remove __posixly_correct field.
4550         * posix/getopt.c (_getopt_internal_r): Move some initialization code...
4551         (_getopt_initialize): ...here. Don't set d->__posixly_correct.
4553         * posix/getopt.h: Add backup definition of __nonnull for
4554         consistency with gnulib.  Define __getopt_argv_const to const
4555         if not already defined.
4556         (getopt): Update doc comment from gnulib.  Prototype
4557         unconditionally.  Add __nonnull annotation.
4558         (__posix_getopt): Add __nonnull annotation.
4559         (getopt_long, getopt_long_only): Use __getopt_argv_const in
4560         prototypes for consistency with gnulib.  Add __nonnull
4561         annotations.
4562         * posix/getopt.c (_getopt_initialize, _getopt_internal_r)
4563         (getopt_internal): Change 'argv' argument to type 'char **'.
4564         Remove now-unnecessary casts.
4565         (getopt, __posix_getopt): Eliminate repetition with a macro.
4566         Cast 'argv' to 'char **' when calling _getopt_internal.
4567         * posix/getopt1.c (getopt_long, getopt_long_only):
4568         Use __getopt_argv_const for consistency with gnulib.
4569         Cast 'argv' to 'char **' when calling _getopt_internal.
4570         (_getopt_long_r, _getopt_long_only_r):
4571         Change 'argv' argument to type 'char **'.
4572         (main): Constify 'long_options'.
4573         * posix/getopt_int.h (getopt_internal, _getopt_internal_r)
4574         (_getopt_long_r, _getopt_long_only_r):
4575         Change 'argv' argument to type 'char **'.
4577         * stdio-common/fxprintf.c (__fxprintf_nocancel): New function.
4578         (locked_vfxprintf): New helper function. Handle arbitrary
4579         multibyte strings, not just ASCII.
4580         * include/stdio.h: Declare __fxprintf_nocancel.
4581         * posix/getopt.c: When _LIBC is defined, define fprintf to
4582         __fxprintf_nocancel, flockfile to _IO_flockfile, and funlockfile
4583         to _IO_funlockfile.  When neither _LIBC nor
4584         _POSIX_THREAD_SAFE_FUNCTIONS is defined, define flockfile and
4585         funlockfile as no-ops.
4586         (_getopt_internal_r): Remove all internal #ifdef _LIBC blocks;
4587         the standalone error-printing code can now be used for libc as
4588         well.  Add an flockfile/funlockfile pair around one case where
4589         the error message is printed in several chunks.  Don't use fputc.
4590         * posix/tst-getopt-cancel.c: New test.
4591         * posix/Makefile: Run it.
4593         * posix/getopt.c (_getopt_internal_r): Don't increment
4594         d->optind a second time when reporting ambiguous -W options.
4596         * posix/getopt_int.h: Include getopt.h.
4597         Use impl-namespace names for all arguments to _getopt_internal and
4598         _getopt_internal_r.
4599         Declare __ordering enum outside the struct.
4600         Harmonize comments with gnulib.
4601         * posix/getopt1.c: Simplify #ifdeffage at top of file. Remove
4602         ELIDE_CODE logic entirely.  Move inclusion of stdlib.h to
4603         #ifdef TEST block and make unconditional.  Do not define NULL.
4604         * posix/getopt.c: Partial merge from gnulib, covering the
4605         initial includes and global declarations, commentary, and
4606         a couple of semantically-neutral code changes.
4608         * posix/getopt.c, posix/getopt.h, posix/getopt1.c, posix/getopt_int.h:
4609         Use '...' instead of `...' for quotation marks inside
4610         comments and strings.
4612         * config.h.in (USE_NONOPTION_FLAGS): Remove.
4613         * csu/init-first.c: Remove all #ifdef USE_NONOPTION_FLAGS blocks.
4614         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
4615         * posix/getopt_int.h: Likewise.
4616         * posix/getopt.c: Likewise. Also remove SWAP_FLAGS and the
4617         __libc_argc and __libc_argv externs, which were only used by
4618         #ifdef USE_NONOPTION_FLAGS blocks.
4619         * posix/getopt_init.c: Remove file.
4620         * posix/Makefile (routines): Remove getopt_init.
4621         * include/getopt.h: Don't declare __getopt_initialize_environment.
4622         * manual/getopt.texi: Remove mention of USE_NONOPTION_FLAGS in
4623         a comment.
4625 2017-04-07  Florian Weimer  <fweimer@redhat.com>
4627         * resolv/res_mkquery.c (res_nmkquery): Remove IQUERY support.
4629 2017-04-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4631         * sysdeps/sparc/sparc32/Makefile (libc.so-gnulib): New rule.
4632         * sysdeps/sparc/sparc32/sparcv8/udiv.S (.udiv): Make a strong_alias
4633         to __wrap_.udiv.
4634         * sysdeps/sparc/sparc32/sparcv9/udiv.S (.udiv): Likewise.
4635         * sysdeps/sparc/sparc32/udiv.S (.udiv): Likewise.
4637         * sysdeps/i386/symbol-hacks.h: New file.
4638         * sysdeps/m68k/symbol-hacks.h: New file.
4639         * sysdeps/powerpc/powerpc32/symbol-hacks.h: New file.
4640         * sysdeps/s390/s390-32/symbol-hacks.h: New file.
4641         * sysdeps/unix/sysv/linux/i386/Makefile
4642         [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
4643         [$(subdir) = csu] (sysdep-only-routines): Likewise.
4644         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
4645         * sysdeps/unix/sysv/linux/m68k/Makefile
4646         [$(subdir) = csu] (sysdep_routines): Likewise.
4647         [$(subdir) = csu] (sysdep-only-routines): Likewise.
4648         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
4649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
4650         [$(subdir) = csu] (sysdep_routines): Likewise.
4651         [$(subdir) = csu] (sysdep-only-routines): Likewise.
4652         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
4653         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
4654         [$(subdir) = csu] (sysdep_routines): Likewise.
4655         [$(subdir) = csu] (sysdep-only-routines): Likewise.
4656         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
4657         * sysdeps/wordsize-32/Makefile: Remove file.
4658         * sysdeps/wordsize-32/symbol-hacks.h: Definitions move to ...
4659         * sysdeps/wordsize-32/divdi3-symbol-hacks.h: ... here.
4661 2017-04-05  H.J. Lu  <hongjiu.lu@intel.com>
4663         * elf/tst-dlopen-aout.c (TEST_FUNCTION): Removed.
4664         (TEST_FUNCTION_ARGV): New.
4666 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
4668         * elf/next.c: Import support/test-driver.c instead of
4669         test-skeleton.c and delete TEST_FUNCTION macro definition.
4670         * elf/nodelete.c: Likewise.
4671         * elf/order2.c: Likewise.
4672         * elf/tst-_dl_addr_inside_object.c: Likewise.
4673         * elf/tst-addr1.c: Likewise.
4674         * elf/tst-align.c: Likewise.
4675         * elf/tst-align2.c: Likewise.
4676         * elf/tst-audit11.c: Likewise.
4677         * elf/tst-audit12.c: Likewise.
4678         * elf/tst-audit2.c: Likewise.
4679         * elf/tst-audit9.c: Likewise.
4680         * elf/tst-auxv.c: Likewise and define TEST_FUNCTION_ARGV macro.
4681         * elf/tst-deep1.c: Likewise.
4682         * elf/tst-dl-iter-static.c: Likewise.
4683         * elf/tst-dlmodcount.c: Likewise.
4684         * elf/tst-dlmopen1.c: Likewise.
4685         * elf/tst-dlmopen2.c: Likewise.
4686         * elf/tst-dlmopen3.c: Likewise.
4687         * elf/tst-dlopen-aout.c: Likewise.
4688         * elf/tst-dlopenrpath.c: Likewise.
4689         * elf/tst-dlsym-error.c: Likewise.
4690         * elf/tst-execstack-needed.c: Likewise.
4691         * elf/tst-execstack-prog.c: Likewise.
4692         * elf/tst-execstack.c: Likewise.
4693         * elf/tst-global1.c: Likewise.
4694         * elf/tst-gnu2-tls1.c: Likewise.
4695         * elf/tst-latepthread.c: Likewise.
4696         * elf/tst-leaks1.c: Likewise.
4697         * elf/tst-linkall-static.c: Likewise.
4698         (do_test): New function.
4699         * elf/tst-nodelete-opened.c: Likewise.
4700         * elf/tst-nodelete.cc: Likewise.
4701         * elf/tst-nodelete2.c: Likewise.
4702         * elf/tst-noload.c: Likewise.
4703         * elf/tst-null-argv.c: Likewise and define TEST_FUNCTION_ARGV marcro.
4704         * elf/tst-order-main.c: Likewise.
4705         * elf/tst-pathopt.c: Likewise.
4706         * elf/tst-pie2.c: Likewise.
4707         * elf/tst-piemod1.c: Likewise.
4708         * elf/tst-prelink.c: Likewise.
4709         * elf/tst-protected1a.c: Likewise.
4710         * elf/tst-protected1b.c: Likewise.
4711         * elf/tst-ptrguard1.c: Likewise, import getopt.h,
4712         and define _GNU_SOURCE macro.
4713         (cmdline_process_function): New function.
4714         * elf/tst-relsort1.c: Likewise.
4715         * elf/tst-stackguard1.c: Likewise, import getopt.h,
4716         and define _GNU_SOURCE macro.
4717         (cmdline_process_function): New function.
4718         * elf/tst-thrlock.c: Likewise.
4719         * elf/tst-tls-dlinfo.c: Likewise.
4720         * elf/tst-tls-manydynamic.c: Likewise and import support/xthread.h.
4721         * elf/tst-tls1.c: Likewise.
4722         * elf/tst-tls10.c: Likewise.
4723         * elf/tst-tls11.c: Likewise.
4724         * elf/tst-tls12.c: Likewise.
4725         * elf/tst-tls13.c: Likewise.
4726         * elf/tst-tls14.c: Likewise.
4727         * elf/tst-tls15.c: Likewise.
4728         * elf/tst-tls16.c: Likewise.
4729         * elf/tst-tls17.c: Likewise.
4730         * elf/tst-tls18.c: Likewise.
4731         * elf/tst-tls19.c: Likewise.
4732         * elf/tst-tls2.c: Likewise.
4733         * elf/tst-tls3.c: Likewise.
4734         * elf/tst-tls4.c: Likewise.
4735         * elf/tst-tls5.c: Likewise.
4736         * elf/tst-tls6.c: Likewise.
4737         * elf/tst-tls7.c: Likewise.
4738         * elf/tst-tls8.c: Likewise.
4739         * elf/tst-tls9.c: Likewise.
4740         * elf/tst-tlsalign-extern.c: Likewise.
4741         * elf/tst-tlsalign.c: Likewise.
4742         * elf/tst-unique1.c: Likewise.
4743         * elf/tst-unique2.c: Likewise.
4744         * elf/vismain.c: Likewise.
4746 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
4748         * string/test-strnlen.c (do_page_tests): New function
4749         to check length of strings ending at the page boundary.
4750         (test_main): Added call to the do_page_tests function.
4752 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
4753             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4755         * sysdeps/powerpc/powerpc64/multiarch/Makefile
4756         (sysdep_routines): Add strnlen-power8.
4757         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4758         (strnlen): Add __strnlen_power8 to list of strnlen functions.
4759         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: New file.
4760         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c
4761         (__strnlen): Add __strnlen_power8 to ifunc list.
4762         * sysdeps/powerpc/powerpc64/power8/strnlen.S: New file.
4764 2017-04-04  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
4766         * wcsmbs/tst-btowc.c: Import support/test-driver.c and remove
4767         the TEST_FUNCTION macro definition.
4768         * wcsmbs/tst-mbrtowc2.c: Likewise.
4769         * wcsmbs/tst-mbsrtowcs.c: Likewise.
4770         * wcsmbs/tst-wchar-h.c: Likewise.
4771         * wcsmbs/tst-wcpncpy.c: Likewise.
4772         * wcsmbs/tst-wcrtomb.c: Likewise.
4773         * wcsmbs/tst-wcsnlen.c: Likewise.
4774         * wcsmbs/tst-wcstof.c: Likewise.
4776 2017-04-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4778         * nptl/pthread_create.c (START_THREAD_DEFN): Remove
4779         CALL_THREAD_FCT macro usage.
4780         * sysdeps/i386/nptl/tls.h (CALL_THREAD_FCT): Remove definition.
4781         * sysdeps/x86_64/nptl/tls.h (CALL_THREAD_FCT): Likewise.
4782         * sysdeps/x86_64/32/nptl/tls.h: Remove file.
4784         * nptl/pthreadP.h (USE_REQUEUE_PI): Remove ununsed macro.
4785         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4786         (__ASSUME_REQUEUE_PI): Likewise.
4787         * sysdeps/unix/sysv/linux/kernel-features.h
4788         (__ASSUME_REQUEUE_PI): Likewise.
4789         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4790         (__ASSUME_REQUEUE_PI): Likewise.
4791         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4792         (__ASSUME_REQUEUE_PI): Likewise.
4793         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
4794         (__ASSUME_REQUEUE_PI): Likewise.
4796 2017-04-04  Florian Weimer  <fweimer@redhat.com>
4798         * resolv/tst-resolv-canonname.c: New file.
4799         * resolv/Makefile (tests): Add tst-resolv-canonname.
4800         (tst-resolv-canonname): Link with -ldl, -lresolv, -lpthread.
4802 2017-04-04  Florian Weimer  <fweimer@redhat.com>
4804         * include/arpa/nameser.h (__ns_name_ntop, __ns_name_unpack):
4805         Declare.
4806         * resolv/nss_dns/dns-network.c: Include <arpa/nameser.h>.
4807         (NS_MAXCDNAME): Remove definition.
4808         (__ns_name_ntop, __ns_name_unpack): Remove declaration.
4809         * resolv/nss_dns/dns-host.c: Include <arpa/nameser.h>.
4810         (NS_MAXCDNAME): Remove definition.
4811         (__ns_name_ntop, __ns_name_unpack): Remove declaration.
4813 2017-04-04  Florian Weimer  <fweimer@redhat.com>
4815         * resolv/nss_dns/dns-network.c (getanswer_r): Remove __dn_expand
4816         call whose result is not used.
4818 2017-04-04  Florian Weimer  <fweimer@redhat.com>
4820         * resolv/tst-ns_name.c, resolv/tst-ns_name.data: New file.
4821         * resolv/Makefile (tests): Add tst-ns_name.
4822         (tst-ns_name): Link with -lresolv.
4823         (tst-ns_name.out): Depend on the input data file.
4825 2017-04-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
4827         * sysdeps/s390/s390-32/tls-macros.h (TLS_LD, TLS_GD):
4828         Clobber also r14.
4830 2017-04-03  Mike Frysinger  <vapier@gentoo.org>
4832         [BZ #21253]
4833         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Increase argv_size
4834         slack space by 32KiB.
4836 2017-04-01  Wladimir van der Laan  <laanwj@gmail.com>
4838         [BZ #21338]
4839         * malloc/malloc.c: Call do_set_arena_max for M_ARENA_MAX
4840         instead of incorrect do_set_arena_test
4842 2017-03-31  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4844         * math/math.h: Fix check for __MATH_DECLARE_LDOUBLE.
4845         * math/bits/math-finite.h: Likewise.
4847 2017-03-31  Slava Barinov  <v.barinov@samsung.com>
4849         [BZ #21289]
4850         * io/fts.h (fts_set): Replace __REDIRECT with __REDIRECT_NTH.
4852 2017-03-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4854         * sysdeps/unix/sysv/linux/test-errno-linux.c (do_test): Handle
4855         non expected inotify_add_watch and quotactl return.
4857 2017-03-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4859         * math/e_rem_pio2l.c (__ieee754_rem_pio2l): Change return type
4860         to int32_t.
4861         * sysdeps/generic/math_private.h: Declare __ieee754_rem_pio2l
4862         as returning int32_t.
4864 2017-03-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4866         * math/math.h: Include bits/math-finite.h once per
4867         floating-point type.
4868         * math/bits/math-finite.h: Macroize all declarations by
4869         floating-point type.
4871 2017-03-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4873         [BZ #21182]
4874         * string/test-memchr.c (do_test): Add BZ#21182 checks for address
4875         near end of a page.
4876         * sysdeps/i386/i686/multiarch/memchr-sse2.S (__memchr): Fix
4877         overflow calculation.
4879 2017-03-28  Steve Ellcey  <sellcey@caviumnetworks.com>
4881         * benchtests/bench-memcpy-random.c (TEST_NAME): Change to memcpy.
4882         (IMPL) Call with 1 instead of 0 as argument.
4884 2017-03-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4886         * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
4887         * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
4888         * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
4889         * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
4890         * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
4891         * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
4892         * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
4893         * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
4894         * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
4895         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
4896         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
4897         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
4898         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
4899         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
4900         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
4901         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
4902         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
4903         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
4904         * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
4905         * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
4906         * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
4907         * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
4908         * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
4909         * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
4910         * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
4911         * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
4912         * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
4913         * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
4914         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
4915         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
4916         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
4917         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
4918         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
4919         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
4920         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
4921         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
4922         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
4923         * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
4924         * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
4925         * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
4926         * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
4927         * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
4928         * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
4929         * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
4930         * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
4931         * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
4932         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
4933         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
4934         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
4935         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
4936         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
4937         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
4938         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
4939         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
4940         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
4941         * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
4942         INLINE_SYSCALL_ERROR_RETURN_VALUE.
4943         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
4944         * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
4945         defined.
4946         * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
4947         __NR_setgroups32 if defined.
4948         * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
4949         if defined.
4950         * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
4951         __NR_setresgid32 is defined.
4952         * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
4953         __NR_setresuid32 if defined.
4954         * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
4955         __NR_setreuid32 if defined.
4956         * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
4957         defined.
4958         * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
4959         * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
4960         * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
4961         * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
4962         * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
4963         * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
4964         * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
4965         * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
4966         * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
4967         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
4968         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
4969         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
4970         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
4971         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
4972         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
4973         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
4974         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
4975         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
4976         * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
4977         * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
4978         * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
4979         * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
4980         * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
4981         * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
4982         * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
4983         * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
4984         * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
4985         * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
4986         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
4987         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
4988         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
4989         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
4990         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
4991         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
4992         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
4993         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
4994         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
4995         * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
4996         * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
4997         * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
4998         * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
4999         * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
5000         * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
5001         * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
5002         * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
5003         * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
5004         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
5005         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
5006         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
5007         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
5008         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
5009         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
5010         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
5011         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
5012         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
5013         * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
5014         INLINE_SYSCALL_ERROR_RETURN_VALUE.
5015         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
5016         * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
5017         defined.
5018         * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
5019         __NR_setgroups32 if defined.
5020         * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
5021         if defined.
5022         * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
5023         __NR_setresgid32 is defined.
5024         * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
5025         __NR_setresuid32 if defined.
5026         * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
5027         __NR_setreuid32 if defined.
5028         * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
5029         defined.
5031 2017-03-27  Joseph Myers  <joseph@codesourcery.com>
5033         [BZ #21277]
5034         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IUCLC): Define
5035         unconditionally.
5036         (IMAXBEL): Likewise.
5037         (IUTF8): Likewise.
5039 2017-03-27  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5041         * sysdeps/aarch64/libm-test-ulps: Update.
5043 2017-03-24  Sunyeop Lee  <sunyeop97@gmail.com>
5045         * README.tunables: Updated descriptions.
5046         * elf/dl-tunables.list: Fixed typo: SXID_NONE -> NONE.
5047         * scripts/gen-tunables.awk: Updated the code related to the
5048         commit.
5050 2017-03-23  Wilco Dijkstra  <wdijkstr@arm.com>
5052         * benchtests/Makefile (string-benchset): Add memcpy-random.
5053         * benchtests/bench-memcpy-random.c: New file.
5055 2017-03-23  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5057         * stdio-common/printf.h (register_printf_modifier): Change the
5058         order of __wur and __THROW.
5059         (register_printf_type): Likewise.
5061 2017-03-23  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
5063         * string/test-string.h (TEST_FUNCTION): Use test_main instead of
5064         test_main ().
5065         (CMDLINE_PROCESS): Use function instead of defined macro.
5066         * debug/test-strcpy_chk.c: Import support/test-driver.c and also
5067         <suppport/support.h> to use set_fortify_handler().
5068         * string/bug-envz1.c: Import support/test-driver.c instead of
5069         test-skeleton.c.
5070         * string/bug-strcoll2.c: Likewise.
5071         * string/bug-strtok1.c: Likewise.
5072         * string/stratcliff.c: Likewise.
5073         * string/test-ffs.c: Likewise.
5074         * string/test-memccpy.c: Likewise.
5075         * string/test-memchr.c: Likewise.
5076         * string/test-memcmp.c: Likewise.
5077         * string/test-memcpy.c: Likewise.
5078         * string/test-memmem.c: Likewise.
5079         * string/test-memmove.c: Likewise.
5080         * string/test-memrchr.c: Likewise.
5081         * string/test-memset.c: Likewise.
5082         * string/test-rawmemchr.c: Likewise.
5083         * string/test-strcasecmp.c: Likewise.
5084         * string/test-strcasestr.c: Likewise.
5085         * string/test-strcat.c: Likewise.
5086         * string/test-strchr.c: Likewise.
5087         * string/test-strcmp.c: Likewise.
5088         * string/test-strcpy.c: Likewise.
5089         * string/test-string.h: Likewise.
5090         * string/test-strlen.c: Likewise.
5091         * string/test-strncasecmp.c: Likewise.
5092         * string/test-strncat.c: Likewise.
5093         * string/test-strncmp.c: Likewise.
5094         * string/test-strncpy.c: Likewise.
5095         * string/test-strnlen.c: Likewise.
5096         * string/test-strpbrk.c: Likewise.
5097         * string/test-strrchr.c: Likewise.
5098         * string/test-strspn.c: Likewise.
5099         * string/test-strstr.c: Likewise.
5100         * string/tst-bswap.c: Likewise.
5101         * string/tst-cmp.c: Likewise.
5102         * string/tst-endian.c: Likewise.
5103         * string/tst-inlcall.c: Likewise.
5104         * string/tst-strcoll-overflow.c: Likewise.
5105         * string/tst-strfry.c: Likewise.
5106         * string/tst-strlen.c: Likewise.
5107         * string/tst-strtok.c: Likewise.
5108         * string/tst-strtok_r.c: Likewise.
5109         * string/tst-strxfrm.c: Likewise.
5110         * string/tst-strxfrm2.c: Likewise.
5111         * string/tst-svc.c: Likewise.
5112         * string/tst-svc2.c: Likewise.
5114 2017-03-22  Zack Weinberg  <zackw@panix.com>
5116         * stdio-common/bug25.c: Include stdlib.h.
5117         * support/tst-support_format_dns_packet.c: Include stdio.h,
5118         stdlib.h, and string.h.
5119         * support/tst-support_record_failure.c: Include string.h.
5120         * support/tst-support_record_failure-2.sh: Adjust line number
5121         expectations and correct a typo in an error message.
5123 2017-03-21  H.J. Lu  <hongjiu.lu@intel.com>
5125         [BZ #21258]
5126         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve_opt):
5127         Define only if _dl_runtime_resolve is defined to
5128         _dl_runtime_resolve_sse_vex.
5129         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_opt):
5130         Fallthrough to _dl_runtime_resolve_sse_vex.
5132 2017-03-21  Joseph Myers  <joseph@codesourcery.com>
5134         * INSTALL: Regenerated.
5136 2017-03-21  Thorsten Kukuk  <kukuk@suse.com>
5138         * config.h.in: Add LINK_OBSOLETE_NSL.
5139         * config.make.in: Add build-obsolete-nsl.
5140         * configure.ac: Add obsolete-nsl option.
5141         * include/libc-symbols.h: Define libnsl_hidden_nolink_def.
5142         * include/rpcsvc/yp.h: Add missing functions as libnsl_hidden_proto.
5143         * include/rpcsvc/nislib.h: Likewise.
5144         * include/rpcsvc/ypclnt.h: Likewise.
5145         * manual/install.texi: Document --enable-obsolete-nsl.
5146         * nis/Makefile: Build only libnsl by default (add build-obsolete-nsl).
5147         * nis/nis_add.c: Replace libnsl_hidden_def with
5148         libnsl_hidden_nolink_def.
5149         * nis/nis_addmember.c: Likewise.
5150         * nis/nis_call.c: Likewise.
5151         * nis/nis_clone_obj.c: Likewise.
5152         * nis/nis_defaults.c: Likeise.
5153         * nis/nis_domain_of_r.c: Likewise.
5154         * nis/nis_error.c: Likewise.
5155         * nis/nis_file.c: Likewise.
5156         * nis/nis_free.c: Likewise.
5157         * nis_local_names.c: Likewise.
5158         * nis/nis_lookup.c: Likewise.
5159         * nis/nis_modify.c: Likewise.
5160         * nis/nis_print.c: Likewise.
5161         * nis/nis_remove.c: Likewise.
5162         * nis/nis_table.c: Likewise.
5163         * nis/nis_util.c: Likewise.
5164         * nis/nis_xdr.c: Likewise.
5165         * nis/yp_xdr.c: Likewise.
5166         * nis/ypclnt.c: Likewise.
5167         * nis/ypupdate_xdr.c: Likewise.
5168         * nis/nis_checkpoint.c: Add libnsl_hidden_nolink_def to all functions.
5169         * nis/nis_clone_dir.c: Likewise.
5170         * nis/nis_clone_res.c: Likewise.
5171         * nis/nis_creategroup.c: Likewise.
5172         * nis/nis_destroygroup.c: Likewise.
5173         * nis/nis_domain_of.c: Likewise.
5174         * nis/nis_getservlist.c: Likewise.
5175         * nis/nis_ismember.c: Likewise.
5176         * nis/nis_mkdir.c: Likewise.
5177         * nis/nis_ping.c: Likewise.
5178         * nis/nis_print_group_entry.c: Likewise.
5179         * nis/nis_removemember.c: Likewise.
5180         * nis/nis_rmdir.c: Likewise.
5181         * nis/nis_server.c: Likewise.
5182         * nis/nis_subr.c: Likewise.
5183         * nis/nis_verifygroup.c: Likewise.
5185 2017-03-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
5187         * malloc/tst-interpose-aux.c (check_for_allocations):
5188         Move compiler barrier before free.
5190 2017-03-20  Joseph Myers  <joseph@codesourcery.com>
5192         [BZ #21279]
5193         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
5194         [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
5195         * conform/data/mqueue.h-data (mq_attr.mq_flags): XFAIL for
5196         x86_64-x32-linux.
5197         (mq_attr.mq_maxmsg): Likewise.
5198         (mq_attr.mq_msgsize): Likewise.
5199         (mq_attr.mq_curmsgs): Likewise.
5201         [BZ #21278]
5202         * sysdeps/unix/sysv/linux/mips/mips32/Makefile
5203         [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
5204         * conform/data/sys/stat.h-data (stat.st_rdev): XFAIL for
5205         mips-o32-linux.
5207         [BZ #21268]
5208         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (NL2): Define only
5209         if [__USE_MISC]
5210         (NL3): Likewise.
5212 2017-03-20  Mike Frysinger  <vapier@gentoo.org>
5214         [BZ #21275]
5215         * sysdeps/unix/sysv/linux/spawni.c [__ia64__] (CLONE): Rename
5216         __stack to __stackbase.
5217         (STACK): Invert _STACK_GROWS_DOWN and _STACK_GROWS_UP order of
5218         checks so we can include defined(__ia64__) first.
5220 2017-03-19  Christian Brauner  <christian.brauner@ubuntu.com>
5222         * sysdeps/unix/sysv/linux/ttyname.h: New file.
5223         * sysdeps/unix/sysv/linux/ttyname.c: Include "ttyname.h".
5224         (ttyname) [!_STATBUF_ST_RDEV]: Make code unconditional.
5225         Call is_pty when the link does not exist or does not match, fail
5226         with ENODEV when it returns true.
5227         * sysdeps/unix/sysv/linux/ttyname_r.c: Include "ttyname.h".
5228         (__ttyname_r) [!_STATBUF_ST_RDEV]: Make code unconditional.
5229         Call is_pty when the link does not exist or does not match, fail
5230         with ENODEV when it returns true.
5232 2017-03-18  Joseph Myers  <joseph@codesourcery.com>
5234         [BZ #16437]
5235         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
5236         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
5237         * conform/data/signal.h-data (timespec.tv_nsec): XFAIL for
5238         x86_64-x32-linux.
5239         * conform/data/sys/select.h-data (timespec.tv_nsec): Likewise.
5240         * conform/data/sys/stat.h-data (timespec.tv_nsec): Likewise.
5241         * conform/data/time.h-data (timespec.tv_nsec): Likewise.
5243         [BZ #21261]
5244         * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h
5245         [__WORDSIZE == 64 && !_ASM] (__sparc64_jmp_buf): Use reserved
5246         names for all fields.
5247         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Update
5248         for jmp_buf field renaming.
5249         (_JMPBUF_UNWINDS_ADJ): Likewise.
5251         * conform/conformtest.pl: Handle xfail[cond]- in header mentioned
5252         with allow-header.
5254 2017-03-17  Chris Evans  <scarybeasts@gmail.com>
5256         * malloc/malloc.c (unlink): Add consistency check between size and
5257         next->prev->size, to further harden against 1-byte overflows.
5259 2017-03-17  H.J. Lu  <hongjiu.lu@intel.com>
5261         * sysdeps/x86/cpu-features.c (init_cpu_features): Check AVX with
5262         CPU_FEATURES_CPU_P.
5264 2017-03-17  Joseph Myers  <joseph@codesourcery.com>
5266         [BZ #21259]
5267         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IXANY): Define
5268         unconditionally, not just for [__USE_MISC].
5270         [BZ #17786]
5271         * sysdeps/unix/sysv/linux/mips/mips32/Makefile: New file.
5272         * conform/data/sys/stat.h-data (stat.st_dev): XFAIL for
5273         mips-o32-linux.
5275         [BZ #21260]
5276         * sysdeps/unix/sysv/linux/alpha/Makefile
5277         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
5278         * conform/data/netdb.h-data (netent.n_net): XFAIL for alpha-linux.
5280         * conform/conformtest.pl ($cross): New variable.
5281         (--cross): New command-line option.
5282         (runtest): Skip test execution when cross-compiling.
5283         * conform/Makefile (conformtest-cross): New variable.
5284         ($(conformtest-header-tests)): Pass $(conformtest-cross) to
5285         conformtest.pl.
5287         * conform/conformtest.pl ($xfail_str): New variable.
5288         (--xfail=): New command-line option.
5289         (top level): Handle expectations starting xfail[cond]-.
5290         * conform/Makefile (conformtest-xfail): New variable.
5291         ($(conformtest-header-tests)): Pass $(conformtest-xfail) to
5292         conformtest.pl.
5294 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
5296         * conform/conformtest.pl: Use compilation instead of execution
5297         tests for testing values of constants and usability in #if.
5299 2017-03-16  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5301         * math/auto-libm-test-in: Mark some catan and catanh as
5302         xfail-rounding:ibm128-libgcc.
5303         * math/auto-libm-test-out-catan: Regenerate.
5304         * math/auto-libm-test-out-catanh: Likewise.
5306 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
5308         * misc/sys/cdefs.h (__BEGIN_NAMESPACE_STD): Remove macro.
5309         (__END_NAMESPACE_STD): Likewise.
5310         (__USING_NAMESPACE_STD): Likewise.
5311         (__BEGIN_NAMESPACE_C99): Likewise.
5312         (__END_NAMESPACE_C99): Likewise.
5313         (__USING_NAMESPACE_C99): Likewise.
5314         * math/math.h (_Mdouble_BEGIN_NAMESPACE): Do not define and
5315         undefine macro.
5316         (_Mdouble_END_NAMESPACE): Likewise.
5317         * ctype/ctype.h: Do not handle C++ namespaces.
5318         * libio/bits/stdio-ldbl.h: Likewise.
5319         * libio/stdio.h: Likewise.
5320         * locale/locale.h: Likewise.
5321         * math/bits/mathcalls.h: Likewise.
5322         * setjmp/setjmp.h: Likewise.
5323         * signal/signal.h: Likewise.
5324         * stdlib/bits/stdlib-float.h: Likewise.
5325         * stdlib/bits/stdlib-ldbl.h: Likewise.
5326         * stdlib/stdlib.h: Likewise.
5327         * string/string.h: Likewise.
5328         * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
5329         * time/bits/types/clock_t.h: Likewise.
5330         * time/bits/types/struct_tm.h: Likewise.
5331         * time/bits/types/time_t.h: Likewise.
5332         * time/time.h: Likewise.
5333         * wcsmbs/bits/wchar-ldbl.h: Likewise.
5334         * wcsmbs/uchar.h: Likewise.
5335         * wcsmbs/wchar.h: Likewise.
5336         [_GLIBCPP_USE_NAMESPACES] (wint_t): Remove conditional definition.
5337         * wctype/wctype.h: Do not handle C++ namespaces.
5338         * scripts/begin-end-check.pl: Remove.
5339         * Makefile (installed-headers): Likewise.
5340         (tests-special): Do not add $(objpfx)begin-end-check.out.
5341         ($(objpfx)begin-end-check.out): Remove.
5343 2017-03-15  Steve Ellcey  <sellcey@caviumnetworks.com>
5344             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5346         * sysdeps/aarch64/dl-machine.h: Include cpu-features.c.
5347         (DL_PLATFORM_INIT): New define.
5348         (dl_platform_init): New function.
5349         * sysdeps/aarch64/ldsodefs.h: Include cpu-features.h.
5350         * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: New file.
5351         * sysdeps/unix/sysv/linux/aarch64/cpu-features.h: Likewise.
5352         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c: Likewise.
5353         * sysdeps/unix/sysv/linux/aarch64/libc-start.c: Likewise.
5355 2017-03-15  Mike Frysinger  <vapier@gentoo.org>
5357         * sysdeps/x86_64/mempcpy_chk.S (__mempcpy_chk): Check for SHARED
5358         instead of PIC.
5360 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
5362         [BZ #21094]
5363         * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
5364         24+24+24-bit pi for wider range of values around pi/2.
5365         * math/auto-libm-test-in: Add more tests of cos and tan.
5366         * math/auto-libm-test-out-cos: Regenerated.
5367         * math/auto-libm-test-out-tan: Likewise.
5369 2017-03-15  John David Anglin  <danglin@gcc.gnu.org>
5371         * sysdeps/hppa/dl-machine.h (DL_STACK_END): Define.
5372         (RTLD_START): Don't record stack end address in _dl_start_user.
5374 2017-03-15  Alexey Neyman  <stilor@att.net>
5376         [BZ #21088]
5377         * nss/nsswitch.c (nscd_init_cb, is_nscd): Make the #if check
5378         around definitions match those around use.
5380 2017-03-15  Alexey Neyman  <stilor@att.net>
5382         * configure.ac: Avoid empty subexpression in grep.
5383         * configure: Regenerate.
5385 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5387         * posix/test-errno.c (do_test): Initialize setsockopt optlen.
5388         * sysdeps/unix/sysv/linux/test-errno.c: Move to ...
5389         * sysdeps/unix/sysv/linux/test-errno-linux.c: ... here.
5390         (test_wrp_rv): Fix format.
5391         (test_wrp_rv2): New macro.
5392         (do_test): Handle mlock return on 64 bits kernels with 32 bits
5393         binaries.
5395 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
5397         * sysdeps/x86/fpu/test-math-vector-sincos.h (INIT_VEC_PTRS_LOOP):
5398         Use a union when storing pointers.
5399         (VECTOR_WRAPPER_fFF_2): Do not take address of integer vector and
5400         cast result when passing to INIT_VEC_PTRS_LOOP.
5401         (VECTOR_WRAPPER_fFF_3): Likewise.
5402         (VECTOR_WRAPPER_fFF_4): Likewise.
5404 2017-03-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5406         * include/bits/mathcalls-helper-functions.h: New file.
5407         * math/Makefile (headers): Add bits/mathcalls-helper-functions.h.
5408         * math/bits/mathcalls.h (__finite, __fpclassify, __iseqsig)
5409         (__isinf, __isnan, __issignaling, __signbit): Move declarations to
5410         math/bits/mathcalls-helper-functions.h.
5411         * math/bits/mathcalls-helper-functions.h: New file.
5412         * math/math.h: Include bits/mathcalls-helper-functions.h for
5413         float, double, and long double.
5415 2017-03-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5417         * math/s_iseqsig_template.c (__iseqsig): Use __feraiseexcept
5418         instead of feraiseexcept.
5420 2017-03-15  Florian Weimer  <fweimer@redhat.com>
5422         [BZ #21243]
5423         * support/temp_file.c (support_delete_temp_files): Add comment
5424         about ignored errors.
5426 2017-03-15  Florian Weimer  <fweimer@redhat.com>
5428         [BZ #21244]
5429         * support/xclose.c: New file.
5430         * support/Makefile (libsupport-routines): Add xclose.
5431         * support/xunistd.h (xclose): Declare.
5432         * support/resolv_test.c (server_thread_tcp_client)
5433         (server_thread_tcp, make_server_sockets, resolv_test_start)
5434         (resolv_test_end): Call xclose instead of close.
5435         * support/support_enter_network_namespace.c
5436         (support_enter_network_namespace): Likewise.
5437         * support/support_run_diff.c (write_to_temp_file): Likewise.
5439 2017-03-15  Florian Weimer  <fweimer@redhat.com>
5441         * support/support_format_dns_packet.c (support_format_dns_packet):
5442         Handle CNAME records in the response.  Extract RDATA names from
5443         rdata, not the whole packet.  Check AAAA record length.
5444         * support/tst-support_format_dns_packet.c: New file.
5445         * support/Makefile (tests): Add tst-support_format_dns_packet.
5446         (tst-support_format_dns_packet): Link against libresolv.
5448 2017-03-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5450         [BZ #21232]
5451         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c: Add
5452         posix_fadvise64 weak_alias for static build.
5454 2017-03-14  Andreas Schwab  <schwab@suse.de>
5456         * sysdeps/generic/dl-procinfo.h (_dl_platform_string): Remove.
5457         * sysdeps/alpha/dl-procinfo.h (_dl_platform_string): Remove.
5458         (_dl_string_platform): Use GLRO(dl_alpha_platforms) directly.
5459         * sysdeps/i386/dl-procinfo.h (_dl_platform_string): Remove.
5460         * sysdeps/mips/dl-procinfo.h (_dl_platform_string): Remove.
5461         (_dl_string_platform): Use GLRO(dl_mips_platforms) directly.
5462         * sysdeps/s390/dl-procinfo.h (_dl_platform_string): Remove.
5463         * sysdeps/sparc/dl-procinfo.h (_dl_platform_string): Remove.
5465 2017-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5467         * sysdeps/mach/hurd/send.c (__send): Convert hurdish error code into
5468         posix error code.
5469         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
5471 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5473         * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
5474         no_isolate usage for SH.
5476 2017-03-13  Wilco Dijkstra  <wdijkstr@arm.com>
5478         [BZ #15105]
5479         [BZ #19463]
5480         * elf/dl-cache.c (_dl_load_cache_lookup): Use __strdup.
5481         * inet/rcmd.c (rcmd_af): Likewise.
5482         * inet/rexec.c   (rexec_af): Likewise.
5483         * intl/dcigettext.c (_LIBC): Likewise.
5484         * intl/finddomain.c (_nl_find_domain): Use strdup expansion.
5485         * locale/loadarchive.c (_nl_load_locale_from_archive): Use __strdup.
5486         * locale/setlocale.c (setlocale): Likewise.
5487         * posix/spawn_faction_addopen.c
5488         (posix_spawn_file_actions_addopen): Likewise.
5489         * stdlib/putenv.c (putenv): Use __strndup.
5490         * sunrpc/svc_simple.c (__registerrpc): Use __strdup.
5491         * sysdeps/posix/getaddrinfo.c (gaih_inet): Use __strdup/__strndup.
5492         * include/stdlib.h (__need_malloc_and_calloc): Remove uses.
5493         (__Need_M_And_C) Remove define/undef.
5494         * stdlib/stdlib.h (__need_malloc_and_calloc): Remove uses.
5495         (__malloc_and_calloc_defined): Remove define.
5496         * string/bits/string2.h (__strdup): Remove define.
5497         (strdup): Likewise.
5498         (__strndup): Likewise.
5499         (strndup): Likewise.
5501 2017-03-13  Joseph Myers  <joseph@codesourcery.com>
5503         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_AUTOFLOWLABEL): New
5504         macro.
5505         (IPV6_ADDR_PREFERENCES): Likewise.
5506         (IPV6_MINHOPCOUNT): Likewise.
5507         (IPV6_ORIGDSTADDR): Likewise.
5508         (IPV6_RECVORIGDSTADDR): Likewise.
5509         (IPV6_TRANSPARENT): Likewise.
5510         (IPV6_UNICAST_IF): Likewise.
5511         (IPV6_RECVFRAGSIZE): Likewise.
5513 2017-03-13  Thorsten Kukuk  <kukuk@suse.com>
5515         * sunrpc/Makefile: only run rpcgen tests if we build rpcgen.
5517 2017-03-12  Alexey Neyman <stilor@att.net>
5519         * sysdeps/sh/dl-machine.h (elf_machine_rela): The condition
5520         in R_SH_DIR32 case is always false when inlined from
5521         dl-conflict.c. Ifdef out to prevent GCC from insertin an
5523 2016-03-12  Marko Myllynen  <myllynen@redhat.com>
5525         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5526         (__ASSUME_RECV_SYSCALL): Replace duplicate by
5527         __ASSUME_SEND_SYSCALL.
5529 2017-03-11  Thorsten Kukuk  <kukuk@suse.com>
5531         * sunrpc/Makefile: don't build and install rpcsvc header
5532         files, rpcgen and librpcsvc.a by default.
5534 2017-03-10  Stefan Liebler  <stli@linux.vnet.ibm.com>
5536         * math/auto-libm-test-out-catan: Regenerated.
5537         * math/auto-libm-test-out-catanh: Likewise.
5538         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5540 2017-03-09  Joseph Myers  <joseph@codesourcery.com>
5542         * sysdeps/mips/mips64/libm-test-ulps: Update catan and catanh ulps
5543         for long double with corrected test expectations.
5545 2016-03-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5547         * sysdeps/unix/sysv/linux/sysdep.h (HAVE_INTERNAL_SEND_SYMBOL):
5548         Define.
5549         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
5550         (HAVE_INTERNAL_SEND_SYMBOL): Undefine.
5551         * sysdeps/unix/sysv/linux/nios2/sysdep.h
5552         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
5553         * sysdeps/unix/sysv/linux/tile/sysdep.h
5554         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
5555         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5556         (__ASSUME_RECV_SYSCALL): Define.
5557         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5558         (__ASSUME_RECV_SYSCALL): Likewise.
5559         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5560         (__ASSUME_RECV_SYSCALL): Likewise.
5561         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5562         (__ASSUME_RECV_SYSCALL): Likewise.
5563         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5564         (__ASSUME_RECV_SYSCALL): Likewise.
5565         * sysdeps/unix/sysv/linux/i386/kernel-features.h
5566         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Remove define.
5567         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5568         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
5569         * sysdeps/unix/sysv/linux/s390/kernel-features.h
5570         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
5571         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove send from
5572         auto-generation list.
5573         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
5574         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
5575         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewike.
5576         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
5577         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
5578         * sysdeps/unix/sysv/linux/send.c: Simplify includes.
5579         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Replace by
5580         __ASSUME_SENDTO_SYSCALL.
5581         * sysdeps/unix/sysv/linux/x86_64/send.c: Remove file.
5582         * sysdeps/unix/sysv/linux/mips/mips64/send.c: Likewise.
5583         * sysdeps/unix/sysv/linux/generic/send.c: Likewise.
5585         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sendto from
5586         auto-generation list.
5587         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
5588         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
5589         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
5590         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
5591         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
5592         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
5593         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
5594         * sysdeps/unix/sysv/linux/kernel-features.h
5595         (__ASSUME_SENDTO_SYSCALL): Define by default.
5596         * sysdeps/unix/sysv/linux/i386/kernel-features.h
5597         (__ASSUME_SENDTO_SYSCALL): Undef it is kernel does not support
5598         __NR_sendto.
5599         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5600         (__ASSUME_SENDTO_SYSCALL): Likewise.
5601         * sysdeps/unix/sysv/linux/s390/kernel-features.h
5602         (__ASSUME_SENDTO_SYSCALL): Likewise.
5603         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5604         (__ASSUME_SENDTO_SYSCALL): Remove definition.
5605         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5606         (__ASSUME_SENDTO_SYSCALL): Likewise.
5607         * sysdeps/unix/sysv/linux/sh/kernel-features.h:
5608         (__ASSUME_SENDTO_SYSCALL): Likewise.
5609         * sysdeps/unix/sysv/linux/sendto.c: Simplify includes.
5611         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recv from
5612         auto-generation list.
5613         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
5614         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
5615         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
5616         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
5617         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
5618         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5619         (__ASSUME_RECV_SYSCALL): New define.
5620         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5621         (__ASSUME_RECV_SYSCALL): Likewise.
5622         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5623         (__ASSUME_RECV_SYSCALL): Likewise.
5624         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5625         (__ASSUME_RECV_SYSCALL): Likewise.
5626         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5627         (__ASSUME_RECV_SYSCALL): Likewise.
5628         * sysdeps/unix/sysv/linux/i386/kernel-features.h
5629         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
5630         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5631         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
5632         * sysdeps/unix/sysv/linux/s390/kernel-features.h
5633         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
5634         * sysdeps/unix/sysv/linux/generic/recv.c: Remove file.
5635         * sysdeps/unix/sysv/linux/mips/mips64/recv.c: Likewise.
5636         * sysdeps/unix/sysv/linux/x86_64/recv.c: Likewise.
5637         * sysdeps/unix/sysv/linux/recv.c: Simplify includes.
5638         (__libc_recv): Use __ASSUME_RECVFROM_SYSCALL instead of
5639         __ASSUME_RECVFROM_FOR_RECV_SYSCALL to issue recvfrom syscall.
5641         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recvfrom from
5642         auto-generation list.
5643         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
5644         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
5645         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
5646         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
5647         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
5648         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
5649         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
5650         * sysdeps/unix/sysv/linux/i386/kernel-features.h
5651         (__ASSUME_RECVFROM_SYSCALL): Define by default.
5652         * sysdeps/unix/sysv/linux/kernel-features.h
5653         (__ASSUME_RECVFROM_SYSCALL): Undef it if kernel does not support
5654         __NR_recvfrom.
5655         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5656         (__ASSUME_RECVFROM_SYSCALL): Likewise.
5657         * sysdeps/unix/sysv/linux/s390/kernel-features.h
5658         (__ASSUME_RECVFROM_SYSCALL): Likewise.
5659         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5660         (__ASSUME_RECVFROM_SYSCALL): Remove definition.
5661         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5662         (__ASSUME_RECVFROM_SYSCALL): Likewise.
5663         * sysdeps/unix/sysv/linux/sh/kernel-features.h
5664         (__ASSUME_RECVFROM_SYSCALL): Likewise.
5665         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5666         (__ASSUME_RECVFROM_SYSCALL): Likewise.
5667         * sysdeps/unix/sysv/linux/recvfrom.c: Simplify includes.
5669         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove connect from
5670         auto-generation list.
5671         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
5672         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
5673         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
5674         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
5675         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
5676         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
5677         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
5678         * sysdeps/unix/sysv/linux/connect.c: Simplify include list.
5679         * sysdeps/unix/sysv/linux/kernel-features.h
5680         (__ASSUME_CONNECT_SYSCALL): Define.
5681         * sysdeps/unix/sysv/linux/i386/kernel-features.h
5682         (__ASSUME_CONNECT_SYSCALL): Undef if kernel does not support it.
5683         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5684         (__ASSUME_CONNECT_SYSCALL): Likewise.
5685         * sysdeps/unix/sysv/linux/s390/kernel-features.h
5686         (__ASSUME_CONNECT_SYSCALL): Likewise.
5687         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5688         (__ASSUME_CONNECT_SYSCALL): Likewise.
5690         * sysdeps/unix/sysv/linux/accept.c (__libc_accept): Replace
5691         __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL by __ASSUME_ACCEPT4_SYSCALL.
5692         * sysdeps/unix/sysv/linux/alpha/syscalls.list?: Remove accept from
5693         auto-generation list.
5694         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
5695         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
5696         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
5697         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
5698         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
5699         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
5700         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
5701         * sysdeps/unix/sysv/linux/i386/kernel-features.h
5702         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
5703         (__ASSUME_ACCEPT_SYSCALL): Undefine.
5704         * sysdeps/unix/sysv/linux/kernel-features.h
5705         (__ASSUME_ACCEPT_SYSCALL): New define.
5706         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5707         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
5708         (__ASSUME_ACCEPT_SYSCALL): Define wheter kernel version supports.
5709         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5710         (__ASSUME_ACCEPT_SYSCALL): Define.
5711         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5712         (__ASSUME_ACCEPT_SYSCALL): Undefine.
5713         * sysdeps/unix/sysv/linux/s390/kernel-features.h
5714         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
5715         (__ASSUME_ACCEPT_SYSCALL): Undefine.
5716         * sysdeps/unix/sysv/linux/sh/kernel-features.h
5717         (__ASSUME_ACCEPT_SYSCALL): Undefine.
5718         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5719         (__ASSUME_ACCEPT_SYSCALL): Undefine for 32 bits.
5721 2017-03-08  Yury Norov <ynorov@caviumnetworks.com>
5722             Zack Weinberg  <zackw@panix.com>
5724         * posix/test-errno.c: New file.
5725         * posix/Makefile (tests): Add test-errno.
5726         * sysdeps/unix/sysv/linux/test-errno.c: New file.
5727         * sysdeps/unix/sysv/linux/Makefile (tests): Add test-errno.
5729 2017-03-08  Stefan Liebler  <stli@linux.vnet.ibm.com>
5731         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5733 2017-03-07  Florian Weimer  <fweimer@redhat.com>
5735         * time/tzset.c (compute_offset): Open-code min macro.
5736         (min, max, sign): Remove.
5738 2017-03-07  Florian Weimer  <fweimer@redhat.com>
5740         [BZ #15576]
5741         Remove TZNAME_MAX limit from sysconf.
5742         * include/time.h (__tzname_cur_max, __tzname_max): Remove
5743         declaration.
5744         * time/tzfile.c (__tzfile_read, __tzfile_default): Do not call
5745         compute_tzname_max.
5746         (compute_tzname_max): Remove.
5747         * time/tzset.c (__tzname_cur_max, __tzname_max): Remove.
5748         (update_vars): Do not update __tzname_cur_max.
5749         (tzset_internal): Remove argument.
5750         (__tzset): Adjust call to tzset_internal.
5751         (__tz_convert): Likewise.
5753         * posix/sysconf.c (__sysconf): Return -1 for _SC_TZNAME_MAX.
5754         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
5755         * manual/conf.texi (Sysconf Definition): Update comment.
5757 2017-03-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5759         [BZ #21209]
5760         * elf/rtld.c (process_envvars): Ignore LD_HWCAP_MASK for
5761         AT_SECURE processes.
5762         * sysdeps/generic/unsecvars.h: Add LD_HWCAP_MASK.
5763         * elf/tst-env-setuid.c (test_parent): Test LD_HWCAP_MASK.
5764         (test_child): Likewise.
5765         * elf/Makefile (tst-env-setuid-ENV): Add LD_HWCAP_MASK.
5767 2017-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5769         * sysdeps/unix/sysv/linux/hppa/ipc_priv.h: New file.
5771 2017-03-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
5773         * sysdeps/s390/atomic-machine.h
5774         (USE_ATOMIC_COMPILER_BUILTINS): Define to 1.
5775         (__arch_compare_and_exchange_val_8_acq,
5776         __arch_compare_and_exchange_val_16_acq,
5777         __arch_compare_and_exchange_val_32_acq,
5778         __arch_compare_and_exchange_val_64_acq):
5779         Delete macro.
5780         (atomic_compare_and_exchange_val_acq,
5781         atomic_compare_and_exchange_val_rel,
5782         atomic_compare_and_exchange_bool_acq,
5783         catomic_compare_and_exchange_bool_acq,
5784         atomic_exchange_acq, atomic_exchange_rel,
5785         atomic_exchange_and_add_acq,
5786         atomic_exchange_and_add_rel,
5787         catomic_exchange_and_add, atomic_or_val,
5788         atomic_or, catomic_or, atomic_bit_test_set,
5789         atomic_and_val, atomic_and, catomic_and):
5790         Define macros with help of C11 atomic builtins.
5792 2017-03-03  Justus Winter <justus@gnupg.org>
5794         * sysdeps/mach/hurd/ftruncate64.c: New file.
5795         * sysdeps/mach/hurd/truncate64.c: Likewise.
5797 2017-03-03  Florian Weimer  <fweimer@redhat.com>
5799         * time/tzfile.c (NOID): Do not define.
5800         * time/tzset.c (NOID): Likewise.
5802 2017-03-03  Florian Weimer  <fweimer@redhat.com>
5804         * time/tzset.c (compute_offset): Remove __attribute_noinline__.
5806 2017-03-02  Florian Weimer  <fweimer@redhat.com>
5808         * elf/get-dynamic-info.h: Remove header file inclusion guard.
5810 2017-03-02  Florian Weimer  <fweimer@redhat.com>
5812         [BZ #21015]
5813         * manual/install.texi (Configuring and compiling): Document
5814         --enable-bind-now.
5815         * Makeconfig [bind-now] (LDFLAGS-lib.so): Set.
5816         (build-shlib-helper): Use $(LDFLAGS-lib.so).
5817         (format.lds): Likewise.
5818         [bind-now] (LDFLAGS-c.so): Remove.
5819         * sysdeps/x86_64/localplt.data (libm.so): matherr relocation can
5820         be R_X86_64_GLOB_DAT.
5821         * sysdeps/unix/sysv/linux/i386/localplt.data (libm.so): matherr
5822         relocation can be R_386_GLOB_DAT.
5823         * sysdeps/unix/sysv/linux/alpha/localplt.data (libm.so): matherr
5824         relocaiton can be R_ALPHA_GLOB_DAT.
5825         * iconvdata/Makefile [bind-now] (LDFLAGS.so): Add -Wl,-z,now.
5827 2017-03-01  Zack Weinberg  <zackw@panix.com>
5829         * include/libc-pointer-arith.h: New file.  Define
5830         cast_to_integer, ALIGN_UP, ALIGN_DOWN, PTR_ALIGN_UP, and
5831         PTR_ALIGN_DOWN here.
5832         * include/libc-internal.h: Definitions of above macros
5833         moved from here.  Don't include libc-diag.h anymore either.
5834         * posix/wordexp-test.c: Include stdint.h and libc-pointer-arith.h.
5835         Don't include libc-internal.h.
5837         * debug/pcprofile.c, elf/dl-tunables.c, elf/soinit.c, io/openat.c
5838         * io/openat64.c, misc/ptrace.c, nptl/pthread_clock_gettime.c
5839         * nptl/pthread_clock_settime.c, nptl/pthread_cond_common.c
5840         * string/strcoll_l.c, sysdeps/nacl/brk.c
5841         * sysdeps/unix/clock_settime.c
5842         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c
5843         * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c
5844         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
5845         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c:
5846         Don't include libc-internal.h.
5848         * elf/get-dynamic-info.h, iconv/loop.c
5849         * iconvdata/iso-2022-cn-ext.c, locale/weight.h, locale/weightwc.h
5850         * misc/reboot.c, nis/nis_table.c, nptl_db/thread_dbP.h
5851         * nscd/connections.c, resolv/res_send.c, soft-fp/fmadf4.c
5852         * soft-fp/fmasf4.c, soft-fp/fmatf4.c, stdio-common/vfscanf.c
5853         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
5854         * sysdeps/ieee754/dbl-64/k_rem_pio2.c
5855         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
5856         * sysdeps/ieee754/flt-32/k_rem_pio2f.c
5857         * sysdeps/ieee754/ldbl-128/k_tanl.c
5858         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
5859         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
5860         * sysdeps/ieee754/ldbl-96/k_tanl.c, sysdeps/nptl/futex-internal.h:
5861         Include libc-diag.h instead of libc-internal.h.
5863         * elf/dl-load.c, elf/dl-reloc.c, locale/programs/locarchive.c
5864         * nptl/nptl-init.c, string/strcspn.c, string/strspn.c
5865         * malloc/malloc.c, sysdeps/i386/nptl/tls.h
5866         * sysdeps/nacl/dl-map-segments.h, sysdeps/x86_64/atomic-machine.h
5867         * sysdeps/unix/sysv/linux/spawni.c
5868         * sysdeps/x86_64/nptl/tls.h:
5869         Include libc-pointer-arith.h instead of libc-internal.h.
5871         * elf/get-dynamic-info.h, sysdeps/nacl/dl-map-segments.h
5872         * sysdeps/x86_64/atomic-machine.h:
5873         Add multiple include guard.
5875         * nss/tst-cancel-getpwuid_r.c: Include nss.h.
5876         * string/strcasestr.c: No need to include config.h.
5877         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
5878         sys/auxv.h. Don't include sysdep.h.
5879         * sysdeps/powerpc/tst-set_ppr.c: Don't include dl-procinfo.h.
5881         * dlfcn/tst-dladdr.c: Don't include ldsodefs.h.  Don't use
5882         DL_LOOKUP_ADDRESS.
5883         * math/test-misc.c: Instead of testing NO_LONG_DOUBLE, test whether
5884         LDBL_MANT_DIG is greater than DBL_MANT_DIG.
5885         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Use
5886         sysconf (_SC_PAGESIZE) instead of __getpagesize in definition
5887         of ARTIFICIAL_LIMIT.
5888         * sysdeps/unix/sysv/linux/tst-clone.c [__ia64__]: Add extern
5889         declaration of __clone2.
5891 2017-02-28  Florian Weimer  <fweimer@redhat.com>
5893         * scripts/backport-support.sh (latest_commit): New file.
5895 2017-02-28  Florian Weimer  <fweimer@redhat.com>
5897         [BZ #20257]
5898         * inet/Makefile (routines): Add deadline.
5899         (tests-static): Add tst-deadline.
5900         * inet/net-internal.h (struct deadline_current_time)
5901         (__deadline_current_time, struct deadline, __deadline_is_infinite)
5902         (__deadline_elapsed, __deadline_first, __deadline_from_timeval)
5903         (__deadline_to_ms, __is_timeval_valid_timeout): Declare.
5904         * inet/deadline.c: New file.
5905         * inet/tst-deadline.c: Likewise.
5906         * sunrpc/Makefile (tests): Add tst-udp-nonblocking,
5907         tst-udp-timeout, tst-udp-garbage.
5908         (tst-udp-nonblocking, tst-udp-timeout): Link against libc.so
5909         explicitly.
5910         (tst-udp-garbage): Likewise.  Also link against thread library.
5911         * sunrpc/clnt_udp.c (struct cu_data): Mention in comment that the
5912         struct layout is part of the ABI.
5913         (clntudp_call): Rework timeout handling.
5914         * sunrpc/tst-udp-garbage.c: New file.
5915         * sunrpc/tst-udp-nonblocking.c: Likewise.
5916         * sunrpc/tst-udp-timeout.c: Likewise.
5918 2017-02-28  Florian Weimer  <fweimer@redhat.com>
5920         [BZ #5010]
5921         * sunrpc/svc.c (svc_is_mapped): Remove.
5922         (svc_unregister): Obtain mapped status while the service is still
5923         registered.
5924         * sunrpc/Makefile [have-thread-library] (tests): Add
5925         tst-svc_register.
5926         (tst-svc_register): Link against libc.so explicitly and the thread
5927         library.
5928         * sunrpc/tst-svc_register.c: New file.
5930 2017-02-28  Andreas Schwab  <schwab@linux-m68k.org>
5932         * bits/sigthread.h: Refer to <signal.h>, not <pthread.h>.
5933         * sysdeps/pthread/bits/sigthread.h: Likewise.
5935 2017-02-27  Florian Weimer  <fweimer@redhat.com>
5937         [BZ #21115]
5938         * sunrpc/clnt_udp.c (clntudp_call): Free ancillary data later.
5939         * sunrpc/Makefile (tests): Add tst-udp-error.
5940         (tst-udp-error): Link against libc.so explicitly.
5941         * sunrpc/tst-udp-error: New file.
5943 2017-02-25  Zack Weinberg  <zackw@panix.com>
5945         * sysdeps/generic/math_private.h: Use __BIG_ENDIAN and
5946         __LITTLE_ENDIAN, not BIG_ENDIAN and LITTLE_ENDIAN.
5948         * sysdeps/generic/math_ldbl.h
5949         * sysdeps/ia64/fpu/math_ldbl.h
5950         * sysdeps/ieee754/ldbl-128/math_ldbl.h
5951         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
5952         * sysdeps/ieee754/ldbl-96/math_ldbl.h
5953         * sysdeps/powerpc/fpu/math_ldbl.h
5954         * sysdeps/x86_64/fpu/math_ldbl.h:
5955         Allow direct inclusion.  Use uintNN_t instead of u_intNN_t.
5956         Use __BIG_ENDIAN and __LITTLE_ENDIAN, not BIG_ENDIAN and
5957         LITTLE_ENDIAN.  Include endian.h and/or stdint.h if necessary.
5958         Add copyright notices.
5960         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
5961         Don't use EXTRACT_WORDS64.
5963         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c
5964         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
5965         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c
5966         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c:
5967         Include math_ldbl.h, not math_private.h.
5969 2017-02-25  Zack Weinberg  <zackw@panix.com>
5971         * include/libc-diag.h: New file.  Define ignore_value,
5972         DIAG_PUSH_NEEDS_COMMENT, DIAG_POP_NEEDS_COMMENT,
5973         DIAG_IGNORE_NEEDS_COMMENT, and DIAG_IGNORE_Os_NEEDS_COMMENT here.
5975         * include/libc-internal.h: Definitions of above macros moved from
5976         here.  Include libc-diag.h.  Add copyright notice.
5978         * malloc/tst-malloc.c, malloc/tst-memcheck.c, malloc/tst-realloc.c
5979         * misc/tst-error1.c, posix/tst-dir.c, stdio-common/bug21.c
5980         * stdio-common/scanf14.c, stdio-common/scanf4.c, stdio-common/scanf7.c
5981         * stdio-common/test-vfprintf.c, stdio-common/tst-printf.c
5982         * stdio-common/tst-printfsz.c, stdio-common/tst-sprintf.c
5983         * stdio-common/tst-unlockedio.c, stdio-common/tstdiomisc.c
5984         * stdlib/bug-getcontext.c, string/tester.c, string/tst-endian.c
5985         * time/tst-strptime2.c, wcsmbs/tst-wcstof.c:
5986         Include libc-diag.h instead of libc-internal.h.
5988         * stdlib/tst-environ.c: Include libc-diag.h.  Suppress -Wnonnull for
5989         call to unsetenv (NULL).
5990         * nptl/tst-mutex1.c: Include libc-diag.h.  Suppress -Wnonnull for
5991         call to pthread_mutexattr_destroy (NULL).
5993 2017-02-25  Zack Weinberg  <zackw@panix.com>
5995         * include/features.h (__GLIBC_USE_DEPRECATED_GETS): New macro.
5996         * libio/stdio.h, libio/bits/stdio2.h: Condition gets on
5997         __GLIBC_USE (DEPRECATED_GETS).  Update comments to indicate
5998         gets was removed from C++ in C++14.
5999         * include/stdio.h: Remove redundant declaration of gets.
6000         * debug/tst-chk1.c, stdio-common/tst-gets.c: Force gets to
6001         be declared, since we are testing it.
6002         * stdio-common/Makefile (tst-gets.c): Compile with
6003         -Wno-deprecated-declarations.
6004         * debug/Makefile (tst-chk1.c, tst-chk2.c, tst-chk3.c, tst-chk4.cc)
6005         (tst-chk5.cc, tst-chk6.cc, tst-lfschk1.c, tst-lfschk2.c)
6006         (tst-lfschk3.c, tst-lfschk4.cc, tst-lfschk5.cc, tst-lfschk6.cc):
6007         Compile with -Wno-deprecated-declarations.
6009 2017-02-24  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6011         * math/libm-test-support.c (check_ulp): Use LIT() around literal
6012         numbers.
6014 2017-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
6016         * resolv/tst-resolv-qtypes.c (domain):
6017         Change type to const pointer to const char.
6019 2017-02-24  Joseph Myers  <joseph@codesourcery.com>
6021         * math/Makefile (libm-tests-generated): Remove variable.
6022         (libm-tests-base-normal): New variable.
6023         (libm-tests-base-finite): Likewise.
6024         (libm-tests-base-inline): Likewise.
6025         (libm-tests-base): Likewise.
6026         (libm-tests-normal): Likewise.
6027         (libm-tests-finite): Likewise.
6028         (libm-tests-inline): Likewise.
6029         (libm-tests-vector): Likewise.
6030         (libm-tests): Define in terms of these new variables.
6031         (libm-tests-for-type): New variable.
6032         (libm-tests.o): Move definition.
6033         (tests): Move addition of $(libm-tests).
6034         (generated): Update for new and removed libm test files.
6035         ($(objpfx)libm-test.c): Remove target.
6036         ($(objpfx)libm-have-vector-test.h): Likewise.
6037         (CFLAGS-test-double-vlen2.c): Remove variable.
6038         (CFLAGS-test-double-vlen4.c): Likewise.
6039         (CFLAGS-test-double-vlen8.c): Likewise.
6040         (CFLAGS-test-float-vlen4.c): Likewise.
6041         (CFLAGS-test-float-vlen8.c): Likewise.
6042         (CFLAGS-test-float-vlen16.c): Likewise.
6043         (CFLAGS-test-float.c): Likewise.
6044         (CFLAGS-test-float-finite.c): Likewise.
6045         (CFLAGS-libm-test-support-float.c): Likewise.
6046         (CFLAGS-test-double.c): Likewise.
6047         (CFLAGS-test-double-finite.c): Likewise.
6048         (CFLAGS-libm-test-support-double.c): Likewise.
6049         (CFLAGS-test-ldouble.c): Likewise.
6050         (CFLAGS-test-ldouble-finite.c): Likewise.
6051         (CFLAGS-libm-test-support-ldouble.c): Likewise.
6052         (libm-test-inline-cflags): New variable.
6053         (CFLAGS-test-ifloat.c): Remove variable.
6054         (CFLAGS-test-idouble.c): Likewise.
6055         (CFLAGS-test-ildouble.c): Likewise.
6056         ($(addprefix $(objpfx), $(libm-tests.o))): Move target and update
6057         dependencies.
6058         ($(foreach t,$(libm-tests-normal),$(objpfx)$(t).c)): New rule.
6059         ($(foreach t,$(libm-tests-finite),$(objpfx)$(t).c)): Likewise.
6060         ($(foreach t,$(libm-tests-inline),$(objpfx)$(t).c)): Likewise.
6061         ($(foreach t,$(libm-tests-vector),$(objpfx)$(t).c)): Likewise.
6062         ($(foreach t,$(types),$(objpfx)libm-test-support-$(t).c)):
6063         Likewise.
6064         (dependencies on libm-test-support-*.o): Remove.
6065         ($(foreach f,$(libm-test-funcs-all),$(objpfx)$(o)-$(f).o)): New
6066         rules using iterators.
6067         ($(addprefix $(objpfx),$(call libm-tests-for-type,$(o)))):
6068         Likewise.
6069         ($(objpfx)libm-test-support-$(o).o): Likewise.
6070         ($(addprefix $(objpfx),$(filter-out $(tests-static)
6071         $(libm-vec-tests),$(tests)))): Filter out $(libm-tests-vector)
6072         instead.
6073         ($(addprefix $(objpfx), $(libm-vec-tests))): Use iterator to
6074         define rule instead.
6075         * math/README.libm-test: Update.
6076         * math/libm-test-acos.inc: Include libm-test-driver.c.
6077         (do_test): New function.
6078         * math/libm-test-acosh.inc: Include libm-test-driver.c.
6079         (do_test): New function.
6080         * math/libm-test-asin.inc: Include libm-test-driver.c.
6081         (do_test): New function.
6082         * math/libm-test-asinh.inc: Include libm-test-driver.c.
6083         (do_test): New function.
6084         * math/libm-test-atan.inc: Include libm-test-driver.c.
6085         (do_test): New function.
6086         * math/libm-test-atan2.inc: Include libm-test-driver.c.
6087         (do_test): New function.
6088         * math/libm-test-atanh.inc: Include libm-test-driver.c.
6089         (do_test): New function.
6090         * math/libm-test-cabs.inc: Include libm-test-driver.c.
6091         (do_test): New function.
6092         * math/libm-test-cacos.inc: Include libm-test-driver.c.
6093         (do_test): New function.
6094         * math/libm-test-cacosh.inc: Include libm-test-driver.c.
6095         (do_test): New function.
6096         * math/libm-test-canonicalize.inc: Include libm-test-driver.c.
6097         (do_test): New function.
6098         * math/libm-test-carg.inc: Include libm-test-driver.c.
6099         (do_test): New function.
6100         * math/libm-test-casin.inc: Include libm-test-driver.c.
6101         (do_test): New function.
6102         * math/libm-test-casinh.inc: Include libm-test-driver.c.
6103         (do_test): New function.
6104         * math/libm-test-catan.inc: Include libm-test-driver.c.
6105         (do_test): New function.
6106         * math/libm-test-catanh.inc: Include libm-test-driver.c.
6107         (do_test): New function.
6108         * math/libm-test-cbrt.inc: Include libm-test-driver.c.
6109         (do_test): New function.
6110         * math/libm-test-ccos.inc: Include libm-test-driver.c.
6111         (do_test): New function.
6112         * math/libm-test-ccosh.inc: Include libm-test-driver.c.
6113         (do_test): New function.
6114         * math/libm-test-ceil.inc: Include libm-test-driver.c.
6115         (do_test): New function.
6116         * math/libm-test-cexp.inc: Include libm-test-driver.c.
6117         (do_test): New function.
6118         * math/libm-test-cimag.inc: Include libm-test-driver.c.
6119         (do_test): New function.
6120         * math/libm-test-clog.inc: Include libm-test-driver.c.
6121         (do_test): New function.
6122         * math/libm-test-clog10.inc: Include libm-test-driver.c.
6123         (do_test): New function.
6124         * math/libm-test-conj.inc: Include libm-test-driver.c.
6125         (do_test): New function.
6126         * math/libm-test-copysign.inc: Include libm-test-driver.c.
6127         (do_test): New function.
6128         * math/libm-test-cos.inc: Include libm-test-driver.c.
6129         (do_test): New function.
6130         * math/libm-test-cosh.inc: Include libm-test-driver.c.
6131         (do_test): New function.
6132         * math/libm-test-cpow.inc: Include libm-test-driver.c.
6133         (do_test): New function.
6134         * math/libm-test-cproj.inc: Include libm-test-driver.c.
6135         (do_test): New function.
6136         * math/libm-test-creal.inc: Include libm-test-driver.c.
6137         (do_test): New function.
6138         * math/libm-test-csin.inc: Include libm-test-driver.c.
6139         (do_test): New function.
6140         * math/libm-test-csinh.inc: Include libm-test-driver.c.
6141         (do_test): New function.
6142         * math/libm-test-csqrt.inc: Include libm-test-driver.c.
6143         (do_test): New function.
6144         * math/libm-test-ctan.inc: Include libm-test-driver.c.
6145         (do_test): New function.
6146         * math/libm-test-ctanh.inc: Include libm-test-driver.c.
6147         (do_test): New function.
6148         * math/libm-test-erf.inc: Include libm-test-driver.c.
6149         (do_test): New function.
6150         * math/libm-test-erfc.inc: Include libm-test-driver.c.
6151         (do_test): New function.
6152         * math/libm-test-exp.inc: Include libm-test-driver.c.
6153         (do_test): New function.
6154         * math/libm-test-exp10.inc: Include libm-test-driver.c.
6155         (do_test): New function.
6156         * math/libm-test-exp2.inc: Include libm-test-driver.c.
6157         (do_test): New function.
6158         * math/libm-test-expm1.inc: Include libm-test-driver.c.
6159         (do_test): New function.
6160         * math/libm-test-fabs.inc: Include libm-test-driver.c.
6161         (do_test): New function.
6162         * math/libm-test-fdim.inc: Include libm-test-driver.c.
6163         (do_test): New function.
6164         * math/libm-test-floor.inc: Include libm-test-driver.c.
6165         (do_test): New function.
6166         * math/libm-test-fma.inc: Include libm-test-driver.c.
6167         (do_test): New function.
6168         * math/libm-test-fmax.inc: Include libm-test-driver.c.
6169         (do_test): New function.
6170         * math/libm-test-fmaxmag.inc: Include libm-test-driver.c.
6171         (do_test): New function.
6172         * math/libm-test-fmin.inc: Include libm-test-driver.c.
6173         (do_test): New function.
6174         * math/libm-test-fminmag.inc: Include libm-test-driver.c.
6175         (do_test): New function.
6176         * math/libm-test-fmod.inc: Include libm-test-driver.c.
6177         (do_test): New function.
6178         * math/libm-test-fpclassify.inc: Include libm-test-driver.c.
6179         (do_test): New function.
6180         * math/libm-test-frexp.inc: Include libm-test-driver.c.
6181         (do_test): New function.
6182         * math/libm-test-fromfp.inc: Include libm-test-driver.c.
6183         (do_test): New function.
6184         * math/libm-test-fromfpx.inc: Include libm-test-driver.c.
6185         (do_test): New function.
6186         * math/libm-test-getpayload.inc: Include libm-test-driver.c.
6187         (do_test): New function.
6188         * math/libm-test-hypot.inc: Include libm-test-driver.c.
6189         (do_test): New function.
6190         * math/libm-test-ilogb.inc: Include libm-test-driver.c.
6191         (do_test): New function.
6192         * math/libm-test-iscanonical.inc: Include libm-test-driver.c.
6193         (do_test): New function.
6194         * math/libm-test-iseqsig.inc: Include libm-test-driver.c.
6195         (do_test): New function.
6196         * math/libm-test-isfinite.inc: Include libm-test-driver.c.
6197         (do_test): New function.
6198         * math/libm-test-isgreater.inc: Include libm-test-driver.c.
6199         (do_test): New function.
6200         * math/libm-test-isgreaterequal.inc: Include libm-test-driver.c.
6201         (do_test): New function.
6202         * math/libm-test-isinf.inc: Include libm-test-driver.c.
6203         (do_test): New function.
6204         * math/libm-test-isless.inc: Include libm-test-driver.c.
6205         (do_test): New function.
6206         * math/libm-test-islessequal.inc: Include libm-test-driver.c.
6207         (do_test): New function.
6208         * math/libm-test-islessgreater.inc: Include libm-test-driver.c.
6209         (do_test): New function.
6210         * math/libm-test-isnan.inc: Include libm-test-driver.c.
6211         (do_test): New function.
6212         * math/libm-test-isnormal.inc: Include libm-test-driver.c.
6213         (do_test): New function.
6214         * math/libm-test-issignaling.inc: Include libm-test-driver.c.
6215         (do_test): New function.
6216         * math/libm-test-issubnormal.inc: Include libm-test-driver.c.
6217         (do_test): New function.
6218         * math/libm-test-isunordered.inc: Include libm-test-driver.c.
6219         (do_test): New function.
6220         * math/libm-test-iszero.inc: Include libm-test-driver.c.
6221         (do_test): New function.
6222         * math/libm-test-j0.inc: Include libm-test-driver.c.
6223         (do_test): New function.
6224         * math/libm-test-j1.inc: Include libm-test-driver.c.
6225         (do_test): New function.
6226         * math/libm-test-jn.inc: Include libm-test-driver.c.
6227         (do_test): New function.
6228         * math/libm-test-lgamma.inc: Include libm-test-driver.c.
6229         (do_test): New function.
6230         * math/libm-test-llogb.inc: Include libm-test-driver.c.
6231         (do_test): New function.
6232         * math/libm-test-llrint.inc: Include libm-test-driver.c.
6233         (do_test): New function.
6234         * math/libm-test-llround.inc: Include libm-test-driver.c.
6235         (do_test): New function.
6236         * math/libm-test-log.inc: Include libm-test-driver.c.
6237         (do_test): New function.
6238         * math/libm-test-log10.inc: Include libm-test-driver.c.
6239         (do_test): New function.
6240         * math/libm-test-log1p.inc: Include libm-test-driver.c.
6241         (do_test): New function.
6242         * math/libm-test-log2.inc: Include libm-test-driver.c.
6243         (do_test): New function.
6244         * math/libm-test-logb.inc: Include libm-test-driver.c.
6245         (do_test): New function.
6246         * math/libm-test-lrint.inc: Include libm-test-driver.c.
6247         (do_test): New function.
6248         * math/libm-test-lround.inc: Include libm-test-driver.c.
6249         (do_test): New function.
6250         * math/libm-test-modf.inc: Include libm-test-driver.c.
6251         (do_test): New function.
6252         * math/libm-test-nearbyint.inc: Include libm-test-driver.c.
6253         (do_test): New function.
6254         * math/libm-test-nextafter.inc: Include libm-test-driver.c.
6255         (do_test): New function.
6256         * math/libm-test-nextdown.inc: Include libm-test-driver.c.
6257         (do_test): New function.
6258         * math/libm-test-nexttoward.inc: Include libm-test-driver.c.
6259         (do_test): New function.
6260         * math/libm-test-nextup.inc: Include libm-test-driver.c.
6261         (do_test): New function.
6262         * math/libm-test-pow.inc: Include libm-test-driver.c.
6263         (do_test): New function.
6264         * math/libm-test-remainder.inc: Include libm-test-driver.c.
6265         (do_test): New function.
6266         * math/libm-test-remquo.inc: Include libm-test-driver.c.
6267         (do_test): New function.
6268         * math/libm-test-rint.inc: Include libm-test-driver.c.
6269         (do_test): New function.
6270         * math/libm-test-round.inc: Include libm-test-driver.c.
6271         (do_test): New function.
6272         * math/libm-test-roundeven.inc: Include libm-test-driver.c.
6273         (do_test): New function.
6274         * math/libm-test-scalb.inc: Include libm-test-driver.c.
6275         (do_test): New function.
6276         * math/libm-test-scalbln.inc: Include libm-test-driver.c.
6277         (do_test): New function.
6278         * math/libm-test-scalbn.inc: Include libm-test-driver.c.
6279         (do_test): New function.
6280         * math/libm-test-setpayload.inc: Include libm-test-driver.c.
6281         (do_test): New function.
6282         * math/libm-test-setpayloadsig.inc: Include libm-test-driver.c.
6283         (do_test): New function.
6284         * math/libm-test-signbit.inc: Include libm-test-driver.c.
6285         (do_test): New function.
6286         * math/libm-test-significand.inc: Include libm-test-driver.c.
6287         (do_test): New function.
6288         * math/libm-test-sin.inc: Include libm-test-driver.c.
6289         (do_test): New function.
6290         * math/libm-test-sincos.inc: Include libm-test-driver.c.
6291         (do_test): New function.
6292         * math/libm-test-sinh.inc: Include libm-test-driver.c.
6293         (do_test): New function.
6294         * math/libm-test-sqrt.inc: Include libm-test-driver.c.
6295         (do_test): New function.
6296         * math/libm-test-tan.inc: Include libm-test-driver.c.
6297         (do_test): New function.
6298         * math/libm-test-tanh.inc: Include libm-test-driver.c.
6299         (do_test): New function.
6300         * math/libm-test-tgamma.inc: Include libm-test-driver.c.
6301         (do_test): New function.
6302         * math/libm-test-totalorder.inc: Include libm-test-driver.c.
6303         (do_test): New function.
6304         * math/libm-test-totalordermag.inc: Include libm-test-driver.c.
6305         (do_test): New function.
6306         * math/libm-test-trunc.inc: Include libm-test-driver.c.
6307         (do_test): New function.
6308         * math/libm-test-ufromfp.inc: Include libm-test-driver.c.
6309         (do_test): New function.
6310         * math/libm-test-ufromfpx.inc: Include libm-test-driver.c.
6311         (do_test): New function.
6312         * math/libm-test-y0.inc: Include libm-test-driver.c.
6313         (do_test): New function.
6314         * math/libm-test-y1.inc: Include libm-test-driver.c.
6315         (do_test): New function.
6316         * math/libm-test-yn.inc: Include libm-test-driver.c.
6317         (do_test): New function.
6318         * math/libm-test-driver.c: Do not include libm-have-vector-test.h.
6319         (HAVE_VECTOR): Remove macro.
6320         (START): Do not call HAVE_VECTOR.
6321         * math/test-double-vlen2.h (FUNC_TEST): Remove macro.
6322         * math/test-double-vlen4.h (FUNC_TEST): Remove macro.
6323         * math/test-double-vlen8.h (FUNC_TEST): Remove macro.
6324         * math/test-float-vlen16.h (FUNC_TEST): Remove macro.
6325         * math/test-float-vlen4.h (FUNC_TEST): Remove macro.
6326         * math/test-float-vlen8.h (FUNC_TEST): Remove macro.
6327         * math/test-math-vector.h (FUNC_TEST): New macro.
6328         (WRAPPER_DECL): Rename to WRAPPER_DECL_f.
6329         * sysdeps/x86_64/fpu/Makefile (double-vlen2-funcs): New variable.
6330         (double-vlen4-funcs): Likewise.
6331         (double-vlen4-avx2-funcs): Likewise.
6332         (double-vlen8-funcs): Likewise.
6333         (float-vlen4-funcs): Likewise.
6334         (float-vlen8-funcs): Likewise.
6335         (float-vlen8-avx2-funcs): Likewise.
6336         (float-vlen16-funcs): Likewise.
6337         (CFLAGS-test-double-vlen4-avx2.c): Remove variable.
6338         (CFLAGS-test-float-vlen8-avx2.c): Likewise.
6339         * sysdeps/x86_64/fpu/test-double-vlen4.h (TEST_VECTOR_cos): Remove
6340         macro.
6341         (TEST_VECTOR_sin): Likewise.
6342         (TEST_VECTOR_sincos): Likewise.
6343         (TEST_VECTOR_log): Likewise.
6344         (TEST_VECTOR_exp): Likewise.
6345         (TEST_VECTOR_pow): Likewise.
6346         * sysdeps/x86_64/fpu/test-double-vlen8.h (TEST_VECTOR_cos):
6347         Likewise.
6348         (TEST_VECTOR_sin): Likewise.
6349         (TEST_VECTOR_sincos): Likewise.
6350         (TEST_VECTOR_log): Likewise.
6351         (TEST_VECTOR_exp): Likewise.
6352         (TEST_VECTOR_pow): Likewise.
6353         * sysdeps/x86_64/fpu/test-float-vlen16.h (TEST_VECTOR_cosf):
6354         Likewise.
6355         (TEST_VECTOR_sinf): Likewise.
6356         (TEST_VECTOR_sincosf): Likewise.
6357         (TEST_VECTOR_logf): Likewise.
6358         (TEST_VECTOR_expf): Likewise.
6359         (TEST_VECTOR_powf): Likewise.
6360         * sysdeps/x86_64/fpu/test-float-vlen8.h (TEST_VECTOR_cosf):
6361         Likewise.
6362         (TEST_VECTOR_sinf): Likewise.
6363         (TEST_VECTOR_sincosf): Likewise.
6364         (TEST_VECTOR_logf): Likewise.
6365         (TEST_VECTOR_expf): Likewise.
6366         (TEST_VECTOR_powf): Likewise.
6367         * math/gen-libm-have-vector-test.sh: Remove file.
6368         * math/libm-test.inc: Likewise.
6369         * math/libm-test-support-double.c: Likewise.
6370         * math/libm-test-support-float.c: Likewise.
6371         * math/libm-test-support-ldouble.c: Likewise.
6372         * math/test-double-finite.c: Likewise.: Likewise.
6373         * math/test-double.c: Likewise.
6374         * math/test-float-finite.c: Likewise.
6375         * math/test-float.c: Likewise.
6376         * math/test-idouble.c: Likewise.
6377         * math/test-ifloat.c: Likewise.
6378         * math/test-ildouble.c: Likewise.
6379         * math/test-ldouble-finite.c: Likewise.
6380         * math/test-ldouble.c: Likewise.
6381         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
6382         * sysdeps/x86_64/fpu/test-double-vlen2.h: Likewise.
6383         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
6384         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
6385         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
6386         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
6387         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
6388         * sysdeps/x86_64/fpu/test-float-vlen4.h: Likewise.
6389         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
6390         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
6392 2017-02-23 Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6393            Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6395         * math/Makefile: Add wrappers to gen-libm-calls.
6396         * math/w_acos_template.c: New file.
6397         * math/w_acosh_template.c: Likewise.
6398         * math/w_asin_template.c: Likewise.
6399         * math/w_atan2_template.c: Likewise.
6400         * math/w_atanh_template.c: Likewise.
6401         * math/w_cosh_template.c: Likewise.
6402         * math/w_exp10_template.c: Likewise.
6403         * math/w_exp2_template.c: Likewise.
6404         * math/w_exp_template.c: Likewise.
6405         * math/w_fmod_template.c: Likewise.
6406         * math/w_hypot_template.c: Likewise.
6407         * math/w_j0_template.c: Likewise.
6408         * math/w_j1_template.c: Likewise.
6409         * math/w_jn_template.c: Likewise.
6410         * math/w_lgamma_r_template.c: Likewise.
6411         * math/w_lgamma_template.c: Likewise.
6412         * math/w_log10_template.c: Likewise.
6413         * math/w_log2_template.c: Likewise.
6414         * math/w_log_template.c: Likewise.
6415         * math/w_pow_template.c: Likewise.
6416         * math/w_remainder_template.c: Likewise.
6417         * math/w_sinh_template.c: Likewise.
6418         * math/w_sqrt_template.c: Likewise.
6419         * math/w_tgamma_template.c: Likewise.: Likewise.
6420         * sysdeps/generic/math-type-macros-double.h
6421         (__USE_WRAPPER_TEMPLATE): New macro to control inclusion of
6422         the new wrappers.
6423         * sysdeps/generic/math-type-macros-float.h: Likewise.
6424         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
6426 2017-02-22  Joseph Myers  <joseph@codesourcery.com>
6428         * sysdeps/unix/sysv/linux/sys/timerfd.h (TFD_TIMER_CANCEL_ON_SET):
6429         New enum constant and macro.
6431         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
6432         kernel version to 4.10.
6434 2017-02-21  Joseph Myers  <joseph@codesourcery.com>
6436         * sysdeps/unix/sysv/linux/bits/in.h (IP_RECVFRAGSIZE): New macro.
6438 2017-02-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6440         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6442 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
6444         * sysdeps/powerpc/tst-set_ppr.c: New file.
6445         Implement test cases for __ppc_set_ppr_* functions.
6446         * sysdeps/powerpc/Makefile ($(subdir),misc): Add tst-set_ppr
6447         in the list of tests.
6449 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
6451         * sysdeps/powerpc/test-get_hwcap.c: Use <support/test-driver.c>
6452         instead of test-skeleton.c.
6453         (do_test): Replaced pthread_create and pthread_join with
6454         xpthread_create and xpthread_join.  Use TEST_VERIFY_EXIT macro.
6455         Removed unneeded status variable.
6456         * sysdeps/powerpc/test-gettimebase.c: Use <support/test-driver.c>
6457         instead of test-skeleton.c.
6458         * sysdeps/powerpc/tst-tlsopt-powerpc.c: Likewise.
6460 2017-02-20  Mike FABIAN  <mfabian@redhat.com>
6462         [BZ #20313]
6463         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
6464         201605L, for Unicode 9.
6466 2017-02-20  Joseph Myers  <joseph@codesourcery.com>
6468         * math/libm-test-support.h (EXCEPTIONS_OK): Remove macro.
6469         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
6470         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
6471         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
6472         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
6473         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
6475 2017-02-19  Zack Weinberg  <zackw@panix.com>
6477         * rt/tst-mqueue4.c: Include stdint.h.
6479 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
6481         * sysdeps/arm/libm-test-ulps: Update.
6482         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
6483         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6484         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
6486 2017-01-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6488         [BZ #21029]
6489         * config.h.in [CAN_USE_REGISTER_ASM_EBP]: New define.
6490         * sysdeps/unix/sysv/linux/i386/Makefile
6491         [$(subdir) = elf] (sysdep-dl-routines): Add libc-do-syscall.
6492         (uses-6-syscall-arguments): Remove.
6493         [$(subdir) = misc] (CFLAGS-epoll_pwait.o): Likewise.
6494         [$(subdir) = misc] (CFLAGS-epoll_pwait.os): Likewise.
6495         [$(subdir) = misc] (CFLAGS-mmap.o): Likewise.
6496         [$(subdir) = misc] (CFLAGS-mmap.os): Likewise.
6497         [$(subdir) = misc] (CFLAGS-mmap64.o): Likewise.
6498         [$(subdir) = misc] (CFLAGS-mmap64.os): Likewise.
6499         [$(subdir) = misc] (CFLAGS-pselect.o): Likewise.
6500         [$(subdir) = misc] (cflags-pselect.o): Likewise.
6501         [$(subdir) = misc] (cflags-pselect.os): Likewise.
6502         [$(subdir) = misc] (cflags-rtld-mmap.os): Likewise.
6503         [$(subdir) = sysvipc] (cflags-semtimedop.o): Likewise.
6504         [$(subdir) = sysvipc] (cflags-semtimedop.os): Likewise.
6505         [$(subdir) = io] (CFLAGS-posix_fadvise64.o): Likewise.
6506         [$(subdir) = io] (CFLAGS-posix_fadvise64.os): Likewise.
6507         [$(subdir) = io] (CFLAGS-posix_fallocate.o): Likewise.
6508         [$(subdir) = io] (CFLAGS-posix_fallocate.os): Likewise.
6509         [$(subdir) = io] (CFLAGS-posix_fallocate64.o): Likewise.
6510         [$(subdir) = io] (CFLAGS-posix_fallocate64.os): Likewise.
6511         [$(subdir) = io] (CFLAGS-sync_file_range.o): Likewise.
6512         [$(subdir) = io] (CFLAGS-sync_file_range.os): Likewise.
6513         [$(subdir) = io] (CFLAGS-fallocate.o): Likewise.
6514         [$(subdir) = io] (CFLAGS-fallocate.os): Likewise.
6515         [$(subdir) = io] (CFLAGS-fallocate64.o): Likewise.
6516         [$(subdir) = io] (CFLAGS-fallocate64.os): Likewise.
6517         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o):
6518         Likewise.
6519         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.os):
6520         Likewise.
6521         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.o):
6522         Likewise.
6523         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.os):
6524         Likewise.
6525         [$(subdir) = nptl] (CFLAGS-sem_wait.o): Likewise.
6526         [$(subdir) = nptl] (CFLAGS-sem_wait.os): Likewise.
6527         [$(subdir) = nptl] (CFLAGS-sem_timedwait.o): Likewise.
6528         [$(subdir) = nptl] (CFLAGS-sem_timedwait.os): Likewise.
6529         * sysdeps/unix/sysv/linux/i386/configure.ac: Add check if compiler allows
6530         ebp on inline assembly.
6531         * sysdeps/unix/sysv/linux/i386/configure: Regenerate.
6532         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
6533         Set if CAN_USE_REGISTER_ASM_EBP is set.
6535 2017-02-17  H.J. Lu  <hongjiu.lu@intel.com>
6537         * sysdeps/x86/cpu-features.c (init_cpu_features): Use
6538         index_cpu_RTM and reg_RTM to clear the bit_cpu_RTM bit.
6540 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
6542         * math/auto-libm-test-in: Add tests of catan and catanh.
6543         * math/auto-libm-test-out-catan: New generated file.
6544         * math/auto-libm-test-out-catanh: Likewise.
6545         * math/libm-test-catan.inc (catan_test_data): Use AUTO_TESTS_c_c.
6546         Move tests with finite inputs, except divide-by-zero cases, to
6547         auto-libm-test-in.
6548         * math/libm-test-catanh.inc (catanh_test_data): Likewise.
6549         * math/Makefile (libm-test-funcs-auto): Add catan and catanh.
6550         (libm-test-funcs-noauto): Remove catan and catanh.
6551         * sysdeps/i386/fpu/libm-test-ulps: Update.
6552         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
6553         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6555         * math/auto-libm-test-in: Add tests of casin and casinh.
6556         * math/auto-libm-test-out-casin: New generated file.
6557         * math/auto-libm-test-out-casinh: Likewise.
6558         * math/libm-test-casin.inc (casin_test_data): Use AUTO_TESTS_c_c.
6559         Move tests with finite inputs to auto-libm-test-in.
6560         * math/libm-test-casinh.inc (casinh_test_data): Likewise.
6561         * math/Makefile (libm-test-funcs-auto): Add casin and casinh.
6562         (libm-test-funcs-noauto): Remove casin and casinh.
6563         * sysdeps/i386/fpu/libm-test-ulps: Update.
6564         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
6565         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6567         * math/auto-libm-test-in: Add tests of cacos and cacosh.
6568         * math/auto-libm-test-out-cacos: New generated file.
6569         * math/auto-libm-test-out-cacosh: Likewise.
6570         * math/libm-test-cacos.inc (cacos_test_data): Use AUTO_TESTS_c_c.
6571         Move tests with finite inputs to auto-libm-test-in.
6572         * math/libm-test-cacosh.inc (cacosh_test_data): Likewise.
6573         * math/Makefile (libm-test-funcs-auto): Add cacos and cacosh.
6574         (libm-test-funcs-noauto): Remove cacos and cacosh.
6575         * sysdeps/i386/fpu/libm-test-ulps: Update.
6576         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
6577         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6579         Revert:
6580         2017-02-16  Zack Weinberg  <zackw@panix.com>
6582         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
6583         Don't include init-arch.h.
6584         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
6585         Don't include init-arch.h.
6587 2017-02-17  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6589         [BZ #21171]
6590         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Return
6591         +Inf and raise divide-by-zero when x is negative.
6592         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Likewise.
6593         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Likewise.
6594         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10):  Return
6595         -Inf and raise divide-by-zero when x = +-0.
6596         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
6597         * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
6598         * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
6599         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
6600         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
6601         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
6602         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
6604 2017-02-16  Zack Weinberg  <zackw@panix.com>
6606         * scripts/build-many-glibcs.py (bot_build_mail): If the
6607         bot_config does not contain all of the necessary email-
6608         related settings, just print a warning and continue.
6610 2017-02-16  Zack Weinberg  <zackw@panix.com>
6612         * crypt/md5.h: Test _LIBC with #if defined, not #if.
6613         * dirent/opendir-tst1.c: Include sys/stat.h.
6614         * dirent/tst-fdopendir.c: Include sys/stat.h.
6615         * dirent/tst-fdopendir2.c: Include stdlib.h.
6616         * dirent/tst-scandir.c: Include stdbool.h.
6617         * elf/tst-auditmod1.c: Include link.h and stddef.h.
6618         * elf/tst-tls15.c: Include stdlib.h.
6619         * elf/tst-tls16.c: Include stdlib.h.
6620         * elf/tst-tls17.c: Include stdlib.h.
6621         * elf/tst-tls18.c: Include stdlib.h.
6622         * iconv/tst-iconv6.c: Include endian.h.
6623         * iconvdata/bug-iconv11.c: Include limits.h.
6624         * io/test-utime.c: Include stdint.h.
6625         * io/tst-faccessat.c: Include sys/stat.h.
6626         * io/tst-fchmodat.c: Include sys/stat.h.
6627         * io/tst-fchownat.c: Include sys/stat.h.
6628         * io/tst-fstatat.c: Include sys/stat.h.
6629         * io/tst-futimesat.c: Include sys/stat.h.
6630         * io/tst-linkat.c: Include sys/stat.h.
6631         * io/tst-mkdirat.c: Include sys/stat.h and stdbool.h.
6632         * io/tst-mkfifoat.c: Include sys/stat.h and stdbool.h.
6633         * io/tst-mknodat.c: Include sys/stat.h and stdbool.h.
6634         * io/tst-openat.c: Include stdbool.h.
6635         * io/tst-readlinkat.c: Include sys/stat.h.
6636         * io/tst-renameat.c: Include sys/stat.h.
6637         * io/tst-symlinkat.c: Include sys/stat.h.
6638         * io/tst-unlinkat.c: Include stdbool.h.
6639         * libio/bug-memstream1.c: Include stdlib.h.
6640         * libio/bug-wmemstream1.c: Include stdlib.h.
6641         * libio/tst-fwrite-error.c: Include stdlib.h.
6642         * libio/tst-memstream1.c: Include stdlib.h.
6643         * libio/tst-memstream2.c: Include stdlib.h.
6644         * libio/tst-memstream3.c: Include stdlib.h.
6645         * malloc/tst-interpose-aux.c: Include stdint.h.
6646         * misc/tst-preadvwritev-common.c: Include sys/stat.h.
6647         * nptl/tst-basic7.c: Include limits.h.
6648         * nptl/tst-cancel25.c: Include pthread.h, not pthreadP.h.
6649         * nptl/tst-cancel4.c: Include stddef.h, limits.h, and sys/stat.h.
6650         * nptl/tst-cancel4_1.c: Include stddef.h.
6651         * nptl/tst-cancel4_2.c: Include stddef.h.
6652         * nptl/tst-cond16.c: Include limits.h.
6653         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
6654         * nptl/tst-cond18.c: Include limits.h.
6655         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
6656         * nptl/tst-cond4.c: Include stdint.h.
6657         * nptl/tst-cond6.c: Include stdint.h.
6658         * nptl/tst-stack2.c: Include limits.h.
6659         * nptl/tst-stackguard1.c: Include stddef.h.
6660         * nptl/tst-tls4.c: Include stdint.h. Don't include tls.h.
6661         * nptl/tst-tls4moda.c: Include stddef.h.
6662         Don't include stdio.h, unistd.h, or tls.h.
6663         * nptl/tst-tls4modb.c: Include stddef.h.
6664         Don't include stdio.h, unistd.h, or tls.h.
6665         * nptl/tst-tls5.h: Include stddef.h. Don't include stdlib.h or tls.h.
6666         * posix/tst-getaddrinfo2.c: Include stdio.h.
6667         * posix/tst-getaddrinfo5.c: Include stdio.h.
6668         * posix/tst-pathconf.c: Include sys/stat.h.
6669         * posix/tst-posix_fadvise-common.c: Include stdint.h.
6670         * posix/tst-preadwrite-common.c: Include sys/stat.h.
6671         * posix/tst-regex.c: Include stdint.h.
6672         Don't include spawn.h or spawn_int.h.
6673         * posix/tst-regexloc.c: Don't include spawn.h or spawn_int.h.
6674         * posix/tst-vfork3.c: Include sys/stat.h.
6675         * resolv/tst-bug18665-tcp.c: Include stdlib.h.
6676         * resolv/tst-res_hconf_reorder.c: Include stdlib.h.
6677         * resolv/tst-resolv-search.c: Include stdlib.h.
6678         * stdio-common/tst-fmemopen2.c: Include stdint.h.
6679         * stdio-common/tst-vfprintf-width-prec.c: Include stdlib.h.
6680         * stdlib/test-canon.c: Include sys/stat.h.
6681         * stdlib/tst-tls-atexit.c: Include stdbool.h.
6682         * string/test-memchr.c: Include stdint.h.
6683         * string/tst-cmp.c: Include stdint.h.
6684         * sysdeps/pthread/tst-timer.c: Include stdint.h.
6685         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Include stdint.h.
6686         * sysdeps/wordsize-64/tst-writev.c: Include limits.h and stdint.h.
6687         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
6688         Don't include init-arch.h.
6689         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
6690         Don't include init-arch.h.
6691         * sysdeps/x86_64/tst-auditmod10b.c: Include link.h and stddef.h.
6692         * sysdeps/x86_64/tst-auditmod3b.c: Include link.h and stddef.h.
6693         * sysdeps/x86_64/tst-auditmod4b.c: Include link.h and stddef.h.
6694         * sysdeps/x86_64/tst-auditmod5b.c: Include link.h and stddef.h.
6695         * sysdeps/x86_64/tst-auditmod6b.c: Include link.h and stddef.h.
6696         * sysdeps/x86_64/tst-auditmod6c.c: Include link.h and stddef.h.
6697         * sysdeps/x86_64/tst-auditmod7b.c: Include link.h and stddef.h.
6698         * time/clocktest.c: Include stdint.h.
6699         * time/tst-posixtz.c: Include stdint.h.
6700         * timezone/tst-timezone.c: Include stdint.h.
6702 2017-02-16  Zack Weinberg  <zackw@panix.com>
6704         * string/string.h [__USE_MISC]: Include strings.h.
6705         (__bzero, bcmp, bcopy, bzero, index, rindex)
6706         (strcasecmp, strncasecmp, strcasecmp_l, strncasecmp_l)
6707         (ffs, ffsl, ffsll): Don't declare.
6708         * string/strings.h: Do not suppress the file if string.h has
6709         already been included.
6710         (bcmp, bcopy, bzero, strcasecmp, strncasecmp): Add __nonnull
6711         annotations.
6712         (index, rindex): Define inline forwarders even if
6713         __CORRECT_ISO_CPP_STRING_H_PROTO is defined.
6714         (ffs): Use __attribute_const__.
6715         (ffsl, ffsll): Declare here.
6716         (strcasecmp_l, strncasecmp_l): Correct comments; these functions
6717         have now been standardized.
6718         * include/string.h (__bzero): Declare here.
6720         * bits/types.h: Move to posix/bits.
6721         * include/bits/types.h: New wrapper.
6723 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
6725         * string/bits/string2.h (strcmp): Remove define.
6726         (__strcmp_cg): Likewise.
6727         (strncmp): Likewise.
6729 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
6731         * include/string.h: Add __cplusplus check.
6733 2017-02-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6735         [BZ #21134]
6736         * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_y0): Raise the
6737         "divide by zero" exception when the input is zero.
6738         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_y1): Likewise.
6739         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Likewise.
6740         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Likewise.
6741         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Likewise.
6742         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
6744 2017-02-15  Joseph Myers  <joseph@codesourcery.com>
6746         * sysdeps/x86_64/fpu/test-double-vlen2.c: Move most contents to,
6747         and include ...
6748         * sysdeps/x86_64/fpu/test-double-vlen2.h: ... here.  New file.
6749         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Move most contents
6750         to, and include ...
6751         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.h: ... here.  New
6752         file.
6753         * sysdeps/x86_64/fpu/test-double-vlen4.c: Move most contents to,
6754         and include ...
6755         * sysdeps/x86_64/fpu/test-double-vlen4.h: ... here.  New file.
6756         * sysdeps/x86_64/fpu/test-double-vlen8.c: Move most contents to,
6757         and include ...
6758         * sysdeps/x86_64/fpu/test-double-vlen8.h: ... here.  New file.
6759         * sysdeps/x86_64/fpu/test-float-vlen16.c: Move most contents to,
6760         and include ...
6761         * sysdeps/x86_64/fpu/test-float-vlen16.h: ... here.  New file.
6762         * sysdeps/x86_64/fpu/test-float-vlen4.c: Move most contents to,
6763         and include ...
6764         * sysdeps/x86_64/fpu/test-float-vlen4.h: ... here.  New file.
6765         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Move most contents
6766         to, and include ...
6767         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.h: ... here.  New file.
6768         * sysdeps/x86_64/fpu/test-float-vlen8.c: Move most contents to,
6769         and include ...
6770         * sysdeps/x86_64/fpu/test-float-vlen8.h: ... here.  New file.
6772 2017-02-14  Joseph Myers  <joseph@codesourcery.com>
6774         * math/libm-test-support.h: Do not include <math-tests-arch.h>
6775         here.
6776         * math/libm-test-support.c (libm_test_init): Do not call
6777         INIT_ARCH_EXT here.
6778         * math/libm-test-driver.c: Include <math-tests-arch.h>.
6779         (main): Call INIT_ARCH_EXT.
6781 2017-02-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6783         [BZ #21130]
6784         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Return NAN
6785         with the "invalid" exception raised when x is -Inf.
6786         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
6788 2017-02-10  Wilco Dijkstra  <wdijkstr@arm.com>
6790         * string/bits/string2.h (strchr): Remove define.
6792 2017-02-09  H.J. Lu  <hongjiu.lu@intel.com>
6794         * sysdeps/x86_64/Makefile (tests): Add tst-sse, tst-avx and
6795         tst-avx512.
6796         (test-extras): Add tst-avx-aux and tst-avx512-aux.
6797         (extra-test-objs): Add tst-avx-aux.o and tst-avx512-aux.o.
6798         (modules-names): Add tst-ssemod, tst-avxmod and tst-avx512mod.
6799         ($(objpfx)tst-sse): New rule.
6800         ($(objpfx)tst-avx): Likewise.
6801         ($(objpfx)tst-avx512): Likewise.
6802         (CFLAGS-tst-avx-aux.c): New.
6803         (CFLAGS-tst-avxmod.c): Likewise.
6804         (CFLAGS-tst-avx512-aux.c): Likewise.
6805         (CFLAGS-tst-avx512mod.c): Likewise.
6806         * sysdeps/x86_64/tst-avx-aux.c: New file.
6807         * sysdeps/x86_64/tst-avx.c: Likewise.
6808         * sysdeps/x86_64/tst-avx512-aux.c: Likewise.
6809         * sysdeps/x86_64/tst-avx512.c: Likewise.
6810         * sysdeps/x86_64/tst-avx512mod.c: Likewise.
6811         * sysdeps/x86_64/tst-avxmod.c: Likewise.
6812         * sysdeps/x86_64/tst-sse.c: Likewise.
6813         * sysdeps/x86_64/tst-ssemod.c: Likewise.
6815 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
6817         * math/auto-libm-test-in: Add more tests of csin and csinh.
6818         * math/auto-libm-test-out-csin: Regenerated.
6819         * math/auto-libm-test-out-csinh: Likewise.
6820         * math/libm-test-csin.inc (csin_test_data): Remove tests moved to
6821         auto-libm-test-in.
6822         * math/libm-test-csinh.inc (csinh_test_data): Likewise.
6824 2017-02-09  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6826         * math/Makefile (libm-compat-calls-ldouble-yes): Merge into
6827         libm-compat-calls-auto.
6828         (libm-compat-calls): Likewise.
6829         (libm-compat-calls-auto): Rename to libm-compat-calls and add
6830         w_lgamma_compatF and k_standardF (merged from the items above).
6831         (libm-routines): Use libm-compat-calls, instead of
6832         libm-compat-calls-auto, with type-foreach.
6834 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
6836         * math/test-math-inline.h (__LIBC_INTERNAL_MATH_INLINES): Undefine
6837         macro.
6838         * math/Makefile (CPPFLAGS-test-ifloat.c): Rename to ...
6839         (CFLAGS-test-ifloat.c): ... this.  Remove
6840         -U__LIBC_INTERNAL_MATH_INLINES.
6841         * math/Makefile (CPPFLAGS-test-idouble.c): Rename to ...
6842         (CFLAGS-test-idouble.c): ... this.  Remove
6843         -U__LIBC_INTERNAL_MATH_INLINES.
6844         * math/Makefile (CPPFLAGS-test-ildouble.c): Rename to ...
6845         (CFLAGS-test-ildouble.c): ... this.  Remove
6846         -U__LIBC_INTERNAL_MATH_INLINES.
6848 2017-02-08  Joseph Myers  <joseph@codesourcery.com>
6850         * math/libm-test-support.c: New file.  Content from
6851         math/libm-test-driver.c.
6852         * math/libm-test-support.h: Likewise.
6853         * math/libm-test-support-double.c: New file.
6854         * math/libm-test-support-float.c: Likewise.
6855         * math/libm-test-support-ldouble.c: Likewise.
6856         * math/libm-test-driver.c: Remove main comment and header
6857         includes.  Include libm-test-support.h.
6858         [!_GNU_SOURCE] (_GNU_SOURCE): Do not define.
6859         (flag_test_errno): Remove static.
6860         (flag_test_exceptions): Likewise.
6861         (flag_test_finite): Likewise.
6862         (flag_test_inline): Likewise.
6863         (flag_test_mathvec): Likewise.
6864         (test_msg): Likewise.
6865         (NO_EXCEPTION): Remove.
6866         (INVALID_EXCEPTION): Likewise.
6867         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
6868         (OVERFLOW_EXCEPTION): Likewise.
6869         (UNDERFLOW_EXCEPTION): Likewise.
6870         (INEXACT_EXCEPTION): Likewise.
6871         (INVALID_EXCEPTION_OK): Likewise.
6872         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
6873         (OVERFLOW_EXCEPTION_OK): Likewise.
6874         (UNDERFLOW_EXCEPTION_OK): Likewise.
6875         (NO_INEXACT_EXCEPTION): Likewise.
6876         (EXCEPTIONS_OK): Likewise.
6877         (IGNORE_ZERO_INF_SIGN): Likewise.
6878         (TEST_NAN_SIGN): Likewise.
6879         (TEST_NAN_PAYLOAD): Likewise.
6880         (NO_TEST_INLINE): Likewise.
6881         (XFAIL_TEST): Likewise.
6882         (ERRNO_UNCHANGED): Likewise.
6883         (ERRNO_EDOM): Likewise.
6884         (ERRNO_ERANGE): Likewise.
6885         (IGNORE_RESULT): Likewise.
6886         (NON_FINITE): Likewise.
6887         (TEST_SNAN): Likewise.
6888         (NO_TEST_MATHVEC): Likewise.
6889         (__CONCATX): Likewise.
6890         (TYPE_MIN): Likewise.
6891         (TYPE_TRUE_MIN): Likewise.
6892         (TYPE_MAX): Likewise.
6893         (MIN_EXP): Likewise.
6894         (MAX_EXP): Likewise.
6895         (MANT_DIG): Likewise.
6896         (FSTR_MAX): Likewise.
6897         (ulp_idx): Likewise.
6898         (qtype_str): Remove static.
6899         (TEST_COND_binary32): Remove.
6900         (TEST_COND_binary64): Likewise.
6901         (TEST_COND_binary128): Likewise.
6902         (TEST_COND_ibm128): Likewise.
6903         (TEST_COND_intel96): Likewise.
6904         (TEST_COND_m68k96): Likewise.
6905         (TEST_COND_ibm128_libgcc): Likewise.
6906         (XFAIL_IBM128_LIBGCC): Likewise.
6907         (PAYLOAD_DIG): Likewise.
6908         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
6909         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
6910         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
6911         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
6912         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
6913         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
6914         (TEST_COND_long32): Likewise.
6915         (TEST_COND_long64): Likewise.
6916         (TEST_COND_before_rounding): Likewise.
6917         (TEST_COND_after_rounding): Likewise.
6918         (ulps_file_name): Likewise.
6919         (ulps_file): Likewise.
6920         (output_ulps): Likewise.
6921         (output_dir): Likewise.
6922         (noErrors): Likewise.
6923         (noTests): Likewise.
6924         (noExcTests): Likewise.
6925         (noErrnoTests): Likewise.
6926         (verbose): Likewise.
6927         (output_max_error): Likewise.
6928         (output_points): Likewise.
6929         (ignore_max_ulp): Likewise.
6930         (max_error): Likewise.
6931         (real_max_error): Likewise.
6932         (imag_max_error): Likewise.
6933         (prev_max_error): Likewise.
6934         (prev_real_max_error): Likewise.
6935         (prev_imag_max_error): Likewise.
6936         (max_valid_error): Likewise.
6937         (TYPE_DECIMAL_DIG): Likewise.
6938         (TYPE_HEX_DIG): Likewise.
6939         (fmt_ftostr): Likewise.
6940         (compare_ulp_data): Likewise.
6941         (find_ulps): Likewise.
6942         (init_max_error): Likewise.
6943         (set_max_error): Likewise.
6944         (print_float): Likewise.
6945         (print_screen): Likewise.
6946         (print_screen_max_error): Likewise.
6947         (update_stats): Likewise.
6948         (print_function_ulps): Likewise.
6949         (print_complex_function_ulps): Likewise.
6950         (fpstack_test): Likewise.
6951         (print_max_error): Likewise.
6952         (print_complex_max_error): Likewise.
6953         (test_single_exception): Likewise.
6954         (test_exceptions): Likewise.
6955         (test_single_errno): Likewise.
6956         (test_errno): Likewise.
6957         (ULPDIFF): Likewise.
6958         (ulp): Likewise.
6959         (check_float_internal): Likewise.
6960         (check_float): Likewise.
6961         (check_complex): Likewise.
6962         (check_int): Likewise.
6963         (check_long): Likewise.
6964         (check_bool): Likewise.
6965         (check_longlong): Likewise.
6966         (check_intmax_t): Likewise.
6967         (check_uintmax_t): Likewise.
6968         (enable_test): Likewise.
6969         (matherr): Likewise.
6970         (initialize): Likewise.
6971         (options): Likewise.
6972         (doc): Remove static.
6973         (argp): Likewise.
6974         (parse_opt): Remove.
6975         (check_ulp): Likewise.
6976         (libm_test_init): Likewise.
6977         (libm_test_finish): Likewise.
6978         * math/Makefile (libm-test-support): New variable.
6979         (test-extras): Add libm-test-support files.
6980         (extra-test-objs): Likewise.
6981         (CFLAGS-libm-test-support-float.c): New variable.
6982         (CFLAGS-libm-test-support-double.c): Likewise.
6983         (CFLAGS-libm-test-support-ldouble.c): Likewise.
6984         ($(addprefix $(objpfx),$(libm-tests)): Depend on appropriate
6985         libm-test-support objects.
6987 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6989         * math/Makefile (libm-calls): Move w_exp...
6990         (libm-compat-calls-auto): Here.
6992         * math/w_expl.c: Add suffix "_compat" to filename.
6993         * sysdeps/ia64/fpu/w_expl.c: Likewise.
6994         * sysdeps/ia64/fpu/w_expf.c: Likewise.
6995         * sysdeps/ia64/fpu/w_exp.c: Likewise.
6996         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
6997         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6998         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6999         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
7000         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
7002         * math/w_expl_compat.c: New file, copied from above.
7003         * sysdeps/ia64/fpu/w_exp_compat.c: Likewise.
7004         * sysdeps/ia64/fpu/w_expf_compat.c: Likewise.
7005         * sysdeps/ia64/fpu/w_expl_compat.c: Likewise.
7006         * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
7007         * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
7008         * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
7009         * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
7010         * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
7012         * sysdeps/ieee754/ldbl-64-128/w_expl.c: Add suffix "_compat"
7013         to filename.
7014         * sysdeps/ieee754/ldbl-opt/w_exp.c: Likewise.
7016         * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: New file,
7017         copied from above and adjusted for the new filenames.
7018         * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
7020 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7022         * math/Makefile (libm-calls): Move w_lgammaF...
7023         (libm-compat-calls-auto): Here.
7025         * math/w_lgamma.c: Add suffix "_compat2" to filename.
7026         * math/w_lgammaf.c: Likewise.
7027         * math/w_lgammal.c: Likewise.
7029         * math/w_lgamma_compat2.c: New file, copied from above.
7030         * math/w_lgammaf_compat2.c: Likewise.
7031         * math/w_lgammal_compat2.c: Likewise.
7033 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7035         * math/Makefile (libm-calls): Move w_lgammaF_r...
7036         (libm-compat-calls-auto): Here.
7038         * math/w_lgamma_r.c: Add suffix "_compat" to filename.
7039         * math/w_lgammaf_r.c: Likewise.
7040         * math/w_lgammal_r.c: Likewise.
7041         * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
7042         * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
7043         * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
7045         * math/w_lgamma_r_compat.c: New file, copied from above.
7046         * math/w_lgammaf_r_compat.c: Likewise.
7047         * math/w_lgammal_r_compat.c: Likewise.
7048         * sysdeps/ia64/fpu/w_lgamma_r_compat.c: Likewise.
7049         * sysdeps/ia64/fpu/w_lgammaf_r_compat.c: Likewise.
7050         * sysdeps/ia64/fpu/w_lgammal_r_compat.c: Likewise.
7052         * sysdeps/ieee754/ldbl-opt/w_lgamma_r.c: Add suffix "_compat"
7053         to filename.
7054         * sysdeps/ieee754/ldbl-opt/w_lgammal_r.c: Likewise.
7056         * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: New file
7057         copied from above and adjusted for the new filenames.
7058         * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
7060 2017-02-08  Yury Norov  <ynorov@caviumnetworks.com>
7062         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: use PTR_REG() for offset
7063         calculation in SYSCALL_ERROR_HANDLER().
7065 2017-02-08  Rical Jasan  <ricaljasan@pacific.net>
7067         * manual/contrib.texi: Fix typo.
7069 2017-02-08  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7071         [BZ #21109]
7072         * elf/dl-tunable-types.h (tunable_callback_t): Accept
7073         tunable_val_t as argument.
7074         * elf/dl-tunables.c (__tunable_set_val): Add comment.
7075         * malloc/arena.c (set_mallopt_check): Take tunable_val_t as
7076         argument.
7077         (DL_TUNABLE_CALLBACK_FNDECL): Likewise.
7079 2017-02-08  Kir Kolyshkin  <kir@openvz.org>
7081         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_eventcodes):
7082         Add PTRACE_EVENT_STOP.
7083         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
7084         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7085         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7086         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7087         * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
7088         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
7090 2017-02-07  Joseph Myers  <joseph@codesourcery.com>
7092         * math/test-math-finite.h (TEST_EXCEPTIONS): New macro.
7093         * math/test-math-no-finite.h (TEST_EXCEPTIONS): Likewise.
7094         * math/test-math-vector.h (TEST_EXCEPTIONS): Likewise.
7095         * math/test-math-no-inline.h (TEST_EXCEPTIONS): Remove macro.
7096         * math/test-double-vlen2.h (EXCEPTION_TESTS_double): Likewise.
7097         * math/test-double-vlen4.h (EXCEPTION_TESTS_double): Likewise.
7098         * math/test-double-vlen8.h (EXCEPTION_TESTS_double): Likewise.
7099         * math/test-float-vlen4.h (EXCEPTION_TESTS_float): Likewise.
7100         * math/test-float-vlen8.h (EXCEPTION_TESTS_float): Likewise.
7101         * math/test-float-vlen16.h (EXCEPTION_TESTS_float): Likewise.
7103         [BZ #21112]
7104         * sysdeps/ieee754/flt-32/e_powf.c (cp_h): Use value with trailing
7105         12 bits zero.
7106         (cp_l): Update for new value of cp_h.
7107         * math/auto-libm-test-in: Add another test of pow.
7108         * math/auto-libm-test-out-pow: Regenerated.
7110 2017-02-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7112         * manual/contrib.texi: Fix typo.
7114 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7116         [BZ #15998]
7117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
7118         (arch_minimum_kernel): Set as 3.10.0 for ppc64le.
7119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
7121 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7123         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Redefine
7124         STRCHR as __strchr_power8.
7125         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Redefine
7126         strlen as __strlen_power8.
7128 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7130         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Adjust address for
7131         unaligned load for shorter strings.
7132         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
7134 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
7136         * math/libm-test-driver.c (flag_test_errno): New variable.
7137         (flag_test_exceptions): Likewise.
7138         (flag_test_finite): Likewise.
7139         (flag_test_inline): Likewise.
7140         (flag_test_mathvec): Likewise.
7141         (test_msg): Likewise.
7142         (ulp_idx): Likewise.
7143         (qtype_str): Likewise.
7144         (ULP_IDX): Remove macro.
7145         (QTYPE_STR): Likewise.
7146         (find_ulps): Use ulp_idx not ULP_IDX.
7147         (print_function_ulps): Use qtype_str, printed with %s, not
7148         QTYPE_STR, printed with concatentation to format string.
7149         (print_complex_function_ulps): Likewise.
7150         (test_exceptions): Use flag_test_exceptions not TEST_EXCEPTIONS.
7151         (test_errno): Use flag_test_errno not TEST_ERRNO.
7152         (enable_test): Use flag_test_inline, flag_test_finite and
7153         flag_test_mathvec instead of TEST_INLINE, TEST_FINITE and
7154         TEST_MATHVEC.
7155         (libm_test_init): New function.  Factored out of main.
7156         (libm_test_finish): Likewise.
7157         (main): Call libm_test_init and libm_test_finish and move most
7158         code to those functions.
7160         * math/libm-test-driver.c (STRX): New macro.
7161         (STR): Likewise.
7162         (STR_FLOAT): Likewise.
7163         (STR_VEC_LEN): Likewise.
7164         (TEST_MSG): Likewise.  Define here instead of expecting to be
7165         defined by including file.
7166         * math/test-double-finite.c (TEST_MSG): Remove macro.
7167         * math/test-double-vlen2.h (TEST_MSG): Likewise.
7168         * math/test-double-vlen4.h (TEST_MSG): Likewise.
7169         * math/test-double-vlen8.h (TEST_MSG): Likewise.
7170         * math/test-double.c (TEST_MSG): Likewise.
7171         * math/test-float-finite.c (TEST_MSG): Likewise.
7172         * math/test-float-vlen16.h (TEST_MSG): Likewise.
7173         * math/test-float-vlen4.h (TEST_MSG): Likewise.
7174         * math/test-float-vlen8.h (TEST_MSG): Likewise.
7175         * math/test-float.c (TEST_MSG): Likewise.
7176         * math/test-idouble.c (TEST_MSG): Likewise.
7177         * math/test-ifloat.c (TEST_MSG): Likewise.
7178         * math/test-ildouble.c (TEST_MSG): Likewise.
7179         * math/test-ldouble-finite.c (TEST_MSG): Likewise.
7180         * math/test-ldouble.c (TEST_MSG): Likewise.
7182         * math/libm-test.inc: Move all tests of individual functions to
7183         libm-test-*.inc and #include libm-test-*.c files.
7184         (acos_test_data): Remove.
7185         (acos_test): Likewise.
7186         (acosh_test_data): Likewise.
7187         (acosh_test): Likewise.
7188         (asin_test_data): Likewise.
7189         (asin_test): Likewise.
7190         (asinh_test_data): Likewise.
7191         (asinh_test): Likewise.
7192         (atan_test_data): Likewise.
7193         (atan_test): Likewise.
7194         (atanh_test_data): Likewise.
7195         (atanh_test): Likewise.
7196         (atan2_test_data): Likewise.
7197         (atan2_test): Likewise.
7198         (cabs_test_data): Likewise.
7199         (cabs_test): Likewise.
7200         (cacos_test_data): Likewise.
7201         (cacos_test): Likewise.
7202         (cacosh_test_data): Likewise.
7203         (cacosh_test): Likewise.
7204         (canonicalize_test_data): Likewise.
7205         (canonicalize_test): Likewise.
7206         (carg_test_data): Likewise.
7207         (carg_test): Likewise.
7208         (casin_test_data): Likewise.
7209         (casin_test): Likewise.
7210         (casinh_test_data): Likewise.
7211         (casinh_test): Likewise.
7212         (catan_test_data): Likewise.
7213         (catan_test): Likewise.
7214         (catanh_test_data): Likewise.
7215         (catanh_test): Likewise.
7216         (cbrt_test_data): Likewise.
7217         (cbrt_test): Likewise.
7218         (ccos_test_data): Likewise.
7219         (ccos_test): Likewise.
7220         (ccosh_test_data): Likewise.
7221         (ccosh_test): Likewise.
7222         (ceil_test_data): Likewise.
7223         (ceil_test): Likewise.
7224         (cexp_test_data): Likewise.
7225         (cexp_test): Likewise.
7226         (cimag_test_data): Likewise.
7227         (cimag_test): Likewise.
7228         (clog_test_data): Likewise.
7229         (clog_test): Likewise.
7230         (clog10_test_data): Likewise.
7231         (clog10_test): Likewise.
7232         (conj_test_data): Likewise.
7233         (conj_test): Likewise.
7234         (copysign_test_data): Likewise.
7235         (copysign_test): Likewise.
7236         (cos_test_data): Likewise.
7237         (cos_test): Likewise.
7238         (cosh_test_data): Likewise.
7239         (cosh_test): Likewise.
7240         (cpow_test_data): Likewise.
7241         (cpow_test): Likewise.
7242         (cproj_test_data): Likewise.
7243         (cproj_test): Likewise.
7244         (creal_test_data): Likewise.
7245         (creal_test): Likewise.
7246         (csin_test_data): Likewise.
7247         (csin_test): Likewise.
7248         (csinh_test_data): Likewise.
7249         (csinh_test): Likewise.
7250         (csqrt_test_data): Likewise.
7251         (csqrt_test): Likewise.
7252         (ctan_test_data): Likewise.
7253         (ctan_test): Likewise.
7254         (ctanh_test_data): Likewise.
7255         (ctanh_test): Likewise.
7256         (erf_test_data): Likewise.
7257         (erf_test): Likewise.
7258         (erfc_test_data): Likewise.
7259         (erfc_test): Likewise.
7260         (exp_test_data): Likewise.
7261         (exp_test): Likewise.
7262         (exp10_test_data): Likewise.
7263         (exp10_test): Likewise.
7264         (pow10_test): Likewise.
7265         (exp2_test_data): Likewise.
7266         (exp2_test): Likewise.
7267         (expm1_test_data): Likewise.
7268         (expm1_test): Likewise.
7269         (fabs_test_data): Likewise.
7270         (fabs_test): Likewise.
7271         (fdim_test_data): Likewise.
7272         (fdim_test): Likewise.
7273         (floor_test_data): Likewise.
7274         (floor_test): Likewise.
7275         (fma_test_data): Likewise.
7276         (fma_test): Likewise.
7277         (fmax_test_data): Likewise.
7278         (fmax_test): Likewise.
7279         (fmaxmag_test_data): Likewise.
7280         (fmaxmag_test): Likewise.
7281         (fmin_test_data): Likewise.
7282         (fmin_test): Likewise.
7283         (fminmag_test_data): Likewise.
7284         (fminmag_test): Likewise.
7285         (fmod_test_data): Likewise.
7286         (fmod_test): Likewise.
7287         (fpclassify_test_data): Likewise.
7288         (fpclassify_test): Likewise.
7289         (frexp_test_data): Likewise.
7290         (frexp_test): Likewise.
7291         (fromfp_test_data): Likewise.
7292         (fromfp_test): Likewise.
7293         (fromfpx_test_data): Likewise.
7294         (fromfpx_test): Likewise.
7295         (getpayload_test_data): Likewise.
7296         (getpayload_test): Likewise.
7297         (hypot_test_data): Likewise.
7298         (hypot_test): Likewise.
7299         (ilogb_test_data): Likewise.
7300         (ilogb_test): Likewise.
7301         (iscanonical_test_data): Likewise.
7302         (iscanonical_test): Likewise.
7303         (iseqsig_test_data): Likewise.
7304         (iseqsig_test): Likewise.
7305         (isfinite_test_data): Likewise.
7306         (isfinite_test): Likewise.
7307         (finite_test): Likewise.
7308         (isgreater_test_data): Likewise.
7309         (isgreater_test): Likewise.
7310         (isgreaterequal_test_data): Likewise.
7311         (isgreaterequal_test): Likewise.
7312         (isinf_test_data): Likewise.
7313         (isinf_test): Likewise.
7314         (isless_test_data): Likewise.
7315         (isless_test): Likewise.
7316         (islessequal_test_data): Likewise.
7317         (islessequal_test): Likewise.
7318         (islessgreater_test_data): Likewise.
7319         (islessgreater_test): Likewise.
7320         (isnan_test_data): Likewise.
7321         (isnan_test): Likewise.
7322         (isnormal_test_data): Likewise.
7323         (isnormal_test): Likewise.
7324         (issignaling_test_data): Likewise.
7325         (issignaling_test): Likewise.
7326         (issubnormal_test_data): Likewise.
7327         (issubnormal_test): Likewise.
7328         (isunordered_test_data): Likewise.
7329         (isunordered_test): Likewise.
7330         (iszero_test_data): Likewise.
7331         (iszero_test): Likewise.
7332         (j0_test_data): Likewise.
7333         (j0_test): Likewise.
7334         (j1_test_data): Likewise.
7335         (j1_test): Likewise.
7336         (jn_test_data): Likewise.
7337         (jn_test): Likewise.
7338         (lgamma_test_data): Likewise.
7339         (lgamma_test): Likewise.
7340         (gamma_test): Likewise.
7341         (llogb_test_data): Likewise.
7342         (llogb_test): Likewise.
7343         (lrint_test_data): Likewise.
7344         (lrint_test): Likewise.
7345         (llrint_test_data): Likewise.
7346         (llrint_test): Likewise.
7347         (log_test_data): Likewise.
7348         (log_test): Likewise.
7349         (log10_test_data): Likewise.
7350         (log10_test): Likewise.
7351         (log1p_test_data): Likewise.
7352         (log1p_test): Likewise.
7353         (log2_test_data): Likewise.
7354         (log2_test): Likewise.
7355         (logb_test_data): Likewise.
7356         (logb_test): Likewise.
7357         (lround_test_data): Likewise.
7358         (lround_test): Likewise.
7359         (llround_test_data): Likewise.
7360         (llround_test): Likewise.
7361         (modf_test_data): Likewise.
7362         (modf_test): Likewise.
7363         (nearbyint_test_data): Likewise.
7364         (nearbyint_test): Likewise.
7365         (nextafter_test_data): Likewise.
7366         (nextafter_test): Likewise.
7367         (nextup_test_data): Likewise.
7368         (nextup_test): Likewise.
7369         (nextdown_test_data): Likewise.
7370         (nextdown_test): Likewise.
7371         (nexttoward_test_data): Likewise.
7372         (nexttoward_test): Likewise.
7373         (pow_test_data): Likewise.
7374         (pow_test): Likewise.
7375         (remainder_test_data): Likewise.
7376         (remainder_test): Likewise.
7377         (drem_test): Likewise.
7378         (remquo_test_data): Likewise.
7379         (remquo_test): Likewise.
7380         (rint_test_data): Likewise.
7381         (rint_test): Likewise.
7382         (round_test_data): Likewise.
7383         (round_test): Likewise.
7384         (roundeven_test_data): Likewise.
7385         (roundeven_test): Likewise.
7386         (scalb_test_data): Likewise.
7387         (scalb_test): Likewise.
7388         (scalbn_test_data): Likewise.
7389         (scalbn_test): Likewise.
7390         (ldexp_test): Likewise.
7391         (scalbln_test_data): Likewise.
7392         (scalbln_test): Likewise.
7393         (setpayload_test_data): Likewise.
7394         (setpayload_test): Likewise.
7395         (setpayloadsig_test_data): Likewise.
7396         (setpayloadsig_test): Likewise.
7397         (signbit_test_data): Likewise.
7398         (signbit_test): Likewise.
7399         (sin_test_data): Likewise.
7400         (sin_test): Likewise.
7401         (sincos_test_data): Likewise.
7402         (sincos_test): Likewise.
7403         (sinh_test_data): Likewise.
7404         (sinh_test): Likewise.
7405         (sqrt_test_data): Likewise.
7406         (sqrt_test): Likewise.
7407         (tan_test_data): Likewise.
7408         (tan_test): Likewise.
7409         (tanh_test_data): Likewise.
7410         (tanh_test): Likewise.
7411         (tgamma_test_data): Likewise.
7412         (tgamma_test): Likewise.
7413         (totalorder_test_data): Likewise.
7414         (totalorder_test): Likewise.
7415         (totalordermag_test_data): Likewise.
7416         (totalordermag_test): Likewise.
7417         (trunc_test_data): Likewise.
7418         (trunc_test): Likewise.
7419         (ufromfp_test_data): Likewise.
7420         (ufromfp_test): Likewise.
7421         (ufromfpx_test_data): Likewise.
7422         (ufromfpx_test): Likewise.
7423         (y0_test_data): Likewise.
7424         (y0_test): Likewise.
7425         (y1_test_data): Likewise.
7426         (y1_test): Likewise.
7427         (yn_test_data): Likewise.
7428         (yn_test): Likewise.
7429         (significand_test_data): Likewise.
7430         (significand_test): Likewise.
7431         * math/Makefile (auto-libm-test-out-files): Remove variable.
7432         (libm-test-funcs-noauto): New variable.
7433         (libm-test-funcs-all): Likewise.
7434         (libm-test-c-auto): Likewise.
7435         (libm-test-c-noauto): Likewise.
7436         (libm-tests-generated): Add $(libm-test-c-auto) and
7437         $(libm-test-c-noauto).
7438         (generated): Do not add auto-libm-test-out.
7439         (libm-test-c-auto-obj): New variable.
7440         (libm-test-c-noauto-obj): Likewise.
7441         ($(objpfx)libm-test.c): Do not generate or use auto-libm-test-out.
7442         ($(libm-test-c-noauto-obj)): New static pattern rule.
7443         ($(libm-test-c-auto-obj)): Likewise.
7444         (libm-test-incs): New variable.
7445         ($(objpfx)libm-have-vector-test.h): Depend on $(libm-test-incs)
7446         and pass it to gen-libm-have-vector-test.sh.
7447         * math/gen-libm-have-vector-test.sh: Expect list of .inc files to
7448         be passed on command line.
7449         * math/libm-test-acos.inc: New file.  Content from
7450         math/libm-test.inc.
7451         * math/libm-test-acosh.inc: Likewise.
7452         * math/libm-test-asin.inc: Likewise.
7453         * math/libm-test-asinh.inc: Likewise.
7454         * math/libm-test-atan.inc: Likewise.
7455         * math/libm-test-atan2.inc: Likewise.
7456         * math/libm-test-atanh.inc: Likewise.
7457         * math/libm-test-cabs.inc: Likewise.
7458         * math/libm-test-cacos.inc: Likewise.
7459         * math/libm-test-cacosh.inc: Likewise.
7460         * math/libm-test-canonicalize.inc: Likewise.
7461         * math/libm-test-carg.inc: Likewise.
7462         * math/libm-test-casin.inc: Likewise.
7463         * math/libm-test-casinh.inc: Likewise.
7464         * math/libm-test-catan.inc: Likewise.
7465         * math/libm-test-catanh.inc: Likewise.
7466         * math/libm-test-cbrt.inc: Likewise.
7467         * math/libm-test-ccos.inc: Likewise.
7468         * math/libm-test-ccosh.inc: Likewise.
7469         * math/libm-test-ceil.inc: Likewise.
7470         * math/libm-test-cexp.inc: Likewise.
7471         * math/libm-test-cimag.inc: Likewise.
7472         * math/libm-test-clog.inc: Likewise.
7473         * math/libm-test-clog10.inc: Likewise.
7474         * math/libm-test-conj.inc: Likewise.
7475         * math/libm-test-copysign.inc: Likewise.
7476         * math/libm-test-cos.inc: Likewise.
7477         * math/libm-test-cosh.inc: Likewise.
7478         * math/libm-test-cpow.inc: Likewise.
7479         * math/libm-test-cproj.inc: Likewise.
7480         * math/libm-test-creal.inc: Likewise.
7481         * math/libm-test-csin.inc: Likewise.
7482         * math/libm-test-csinh.inc: Likewise.
7483         * math/libm-test-csqrt.inc: Likewise.
7484         * math/libm-test-ctan.inc: Likewise.
7485         * math/libm-test-ctanh.inc: Likewise.
7486         * math/libm-test-erf.inc: Likewise.
7487         * math/libm-test-erfc.inc: Likewise.
7488         * math/libm-test-exp.inc: Likewise.
7489         * math/libm-test-exp10.inc: Likewise.
7490         * math/libm-test-exp2.inc: Likewise.
7491         * math/libm-test-expm1.inc: Likewise.
7492         * math/libm-test-fabs.inc: Likewise.
7493         * math/libm-test-fdim.inc: Likewise.
7494         * math/libm-test-floor.inc: Likewise.
7495         * math/libm-test-fma.inc: Likewise.
7496         * math/libm-test-fmax.inc: Likewise.
7497         * math/libm-test-fmaxmag.inc: Likewise.
7498         * math/libm-test-fmin.inc: Likewise.
7499         * math/libm-test-fminmag.inc: Likewise.
7500         * math/libm-test-fmod.inc: Likewise.
7501         * math/libm-test-fpclassify.inc: Likewise.
7502         * math/libm-test-frexp.inc: Likewise.
7503         * math/libm-test-fromfp.inc: Likewise.
7504         * math/libm-test-fromfpx.inc: Likewise.
7505         * math/libm-test-getpayload.inc: Likewise.
7506         * math/libm-test-hypot.inc: Likewise.
7507         * math/libm-test-ilogb.inc: Likewise.
7508         * math/libm-test-iscanonical.inc: Likewise.
7509         * math/libm-test-iseqsig.inc: Likewise.
7510         * math/libm-test-isfinite.inc: Likewise.
7511         * math/libm-test-isgreater.inc: Likewise.
7512         * math/libm-test-isgreaterequal.inc: Likewise.
7513         * math/libm-test-isinf.inc: Likewise.
7514         * math/libm-test-isless.inc: Likewise.
7515         * math/libm-test-islessequal.inc: Likewise.
7516         * math/libm-test-islessgreater.inc: Likewise.
7517         * math/libm-test-isnan.inc: Likewise.
7518         * math/libm-test-isnormal.inc: Likewise.
7519         * math/libm-test-issignaling.inc: Likewise.
7520         * math/libm-test-issubnormal.inc: Likewise.
7521         * math/libm-test-isunordered.inc: Likewise.
7522         * math/libm-test-iszero.inc: Likewise.
7523         * math/libm-test-j0.inc: Likewise.
7524         * math/libm-test-j1.inc: Likewise.
7525         * math/libm-test-jn.inc: Likewise.
7526         * math/libm-test-lgamma.inc: Likewise.
7527         * math/libm-test-llogb.inc: Likewise.
7528         * math/libm-test-llrint.inc: Likewise.
7529         * math/libm-test-llround.inc: Likewise.
7530         * math/libm-test-log.inc: Likewise.
7531         * math/libm-test-log10.inc: Likewise.
7532         * math/libm-test-log1p.inc: Likewise.
7533         * math/libm-test-log2.inc: Likewise.
7534         * math/libm-test-logb.inc: Likewise.
7535         * math/libm-test-lrint.inc: Likewise.
7536         * math/libm-test-lround.inc: Likewise.
7537         * math/libm-test-modf.inc: Likewise.
7538         * math/libm-test-nearbyint.inc: Likewise.
7539         * math/libm-test-nextafter.inc: Likewise.
7540         * math/libm-test-nextdown.inc: Likewise.
7541         * math/libm-test-nexttoward.inc: Likewise.
7542         * math/libm-test-nextup.inc: Likewise.
7543         * math/libm-test-pow.inc: Likewise.
7544         * math/libm-test-remainder.inc: Likewise.
7545         * math/libm-test-remquo.inc: Likewise.
7546         * math/libm-test-rint.inc: Likewise.
7547         * math/libm-test-round.inc: Likewise.
7548         * math/libm-test-roundeven.inc: Likewise.
7549         * math/libm-test-scalb.inc: Likewise.
7550         * math/libm-test-scalbln.inc: Likewise.
7551         * math/libm-test-scalbn.inc: Likewise.
7552         * math/libm-test-setpayload.inc: Likewise.
7553         * math/libm-test-setpayloadsig.inc: Likewise.
7554         * math/libm-test-signbit.inc: Likewise.
7555         * math/libm-test-significand.inc: Likewise.
7556         * math/libm-test-sin.inc: Likewise.
7557         * math/libm-test-sincos.inc: Likewise.
7558         * math/libm-test-sinh.inc: Likewise.
7559         * math/libm-test-sqrt.inc: Likewise.
7560         * math/libm-test-tan.inc: Likewise.
7561         * math/libm-test-tanh.inc: Likewise.
7562         * math/libm-test-tgamma.inc: Likewise.
7563         * math/libm-test-totalorder.inc: Likewise.
7564         * math/libm-test-totalordermag.inc: Likewise.
7565         * math/libm-test-trunc.inc: Likewise.
7566         * math/libm-test-ufromfp.inc: Likewise.
7567         * math/libm-test-ufromfpx.inc: Likewise.
7568         * math/libm-test-y0.inc: Likewise.
7569         * math/libm-test-y1.inc: Likewise.
7570         * math/libm-test-yn.inc: Likewise.
7571         * math/README.libm-test: Update.
7573         * math/gen-auto-libm-tests.c: Update comment about use of program.
7574         (generate_output): Add argument FUNCTION.
7575         (main): Require extra argument.  Pass function name to
7576         generate_output.
7577         * math/Makefile (generated): Add auto-libm-test-out.
7578         (libm-test-funcs-auto): New variable.
7579         (auto-libm-test-out-files): New variable.
7580         ($(objpfx)libm-test.c): Depend on $(auto-libm-test-out-files).
7581         Concatenate those files to form $(objpfx)auto-libm-test-out and
7582         use it as input to gen-libm-test.pl.
7583         * math/README.libm-test: Update.
7584         * math/auto-libm-test-out: Remove.
7585         * math/auto-libm-test-out-acos: New generated file.
7586         * math/auto-libm-test-out-acosh: Likewise.
7587         * math/auto-libm-test-out-asin: Likewise.
7588         * math/auto-libm-test-out-asinh: Likewise.
7589         * math/auto-libm-test-out-atan: Likewise.
7590         * math/auto-libm-test-out-atan2: Likewise.
7591         * math/auto-libm-test-out-atanh: Likewise.
7592         * math/auto-libm-test-out-cabs: Likewise.
7593         * math/auto-libm-test-out-carg: Likewise.
7594         * math/auto-libm-test-out-cbrt: Likewise.
7595         * math/auto-libm-test-out-ccos: Likewise.
7596         * math/auto-libm-test-out-ccosh: Likewise.
7597         * math/auto-libm-test-out-cexp: Likewise.
7598         * math/auto-libm-test-out-clog: Likewise.
7599         * math/auto-libm-test-out-clog10: Likewise.
7600         * math/auto-libm-test-out-cos: Likewise.
7601         * math/auto-libm-test-out-cosh: Likewise.
7602         * math/auto-libm-test-out-cpow: Likewise.
7603         * math/auto-libm-test-out-csin: Likewise.
7604         * math/auto-libm-test-out-csinh: Likewise.
7605         * math/auto-libm-test-out-csqrt: Likewise.
7606         * math/auto-libm-test-out-ctan: Likewise.
7607         * math/auto-libm-test-out-ctanh: Likewise.
7608         * math/auto-libm-test-out-erf: Likewise.
7609         * math/auto-libm-test-out-erfc: Likewise.
7610         * math/auto-libm-test-out-exp: Likewise.
7611         * math/auto-libm-test-out-exp10: Likewise.
7612         * math/auto-libm-test-out-exp2: Likewise.
7613         * math/auto-libm-test-out-expm1: Likewise.
7614         * math/auto-libm-test-out-fma: Likewise.
7615         * math/auto-libm-test-out-hypot: Likewise.
7616         * math/auto-libm-test-out-j0: Likewise.
7617         * math/auto-libm-test-out-j1: Likewise.
7618         * math/auto-libm-test-out-jn: Likewise.
7619         * math/auto-libm-test-out-lgamma: Likewise.
7620         * math/auto-libm-test-out-log: Likewise.
7621         * math/auto-libm-test-out-log10: Likewise.
7622         * math/auto-libm-test-out-log1p: Likewise.
7623         * math/auto-libm-test-out-log2: Likewise.
7624         * math/auto-libm-test-out-pow: Likewise.
7625         * math/auto-libm-test-out-sin: Likewise.
7626         * math/auto-libm-test-out-sincos: Likewise.
7627         * math/auto-libm-test-out-sinh: Likewise.
7628         * math/auto-libm-test-out-sqrt: Likewise.
7629         * math/auto-libm-test-out-tan: Likewise.
7630         * math/auto-libm-test-out-tanh: Likewise.
7631         * math/auto-libm-test-out-tgamma: Likewise.
7632         * math/auto-libm-test-out-y0: Likewise.
7633         * math/auto-libm-test-out-y1: Likewise.
7634         * math/auto-libm-test-out-yn: Likewise.
7636         * math/Makefile (generated): Do not include libm-test.stmp.
7637         ($(addprefix $(objpfx), $(libm-tests-generated))): Do not depend
7638         on $(objpfx)libm-test.stmp.
7639         ($(objpfx)libm-test.stmp): Remove rule.
7640         ($(objpfx)libm-test-ulps.h): New rule.
7641         ($(objpfx)libm-test.c): Likewise.
7642         ($(objpfx)libm-have-vector-test.h): Likewise.
7643         ($(addprefix $(objpfx), $(libm-tests.o)): Depend directly on
7644         individual generated files, not libm-test.stmp.
7646         * math/gen-libm-test.pl ($output_dir): Remove variable.
7647         ($srcdir): Likewise.
7648         ($opt_a): New variable.
7649         ($opt_c): Likewise.
7650         ($opt_C): Likewise.
7651         ($opt_H): Likewise.
7652         (-n): Make option take argument and use it as NewUlps output.
7653         (-a): New option.  Use its argument for auto-libm-test-out input.
7654         (-c): New option.  Use its argument for libm-test.inc input.
7655         (-C): New option.  Use its argument for libm-test.c output.
7656         (-H): New option.  Use its argument for libm-test-ulps.h output.
7657         (top level): Only process inputs needed to generate outputs
7658         specified by command-line options.  Only generate outputs
7659         specified by command-line options.
7660         * math/README.libm-test: Update example gen-libm-test.pl command.
7661         * math/Makefile ($(objpfx)libm-test.stmp): Update gen-libm-test.pl
7662         commands.
7663         (regen-ulps): Likewise.
7665 2017-02-06  Wilco Dijkstra  <wdijkstr@arm.com>
7667         * hurd/path-lookup.c (file_name_path_scan): Rename index to strchr.
7668         * include/string.h (index): Remove define.
7669         (rindex): Likewise.
7670         * misc/getttyent.c (__getttyent): Rename index to strchr.
7671         * misc/ttyslot.c (ttyslot): Rename rindex to strrchr.
7672         * sunrpc/rpc_main.c (mkfile_output): Likewise.
7674 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
7676         * math/libm-test-driver.c: New file.  Based on math/libm-test.inc.
7677         * math/libm-test.inc: Move all contents, other than tests of
7678         individual functions, to libm-test-driver.c.
7679         [!FE_TONEAREST] (FE_TONEAREST): Move to libm-test-driver.c.
7680         [!FE_TOWARDZERO] (FE_TOWARDZERO): Likewise.
7681         [!FE_UPWARD] (FE_UPWARD): Likewise.
7682         [!FE_DOWNWARD] (FE_DOWNWARD): Likewise.
7683         (NO_EXCEPTION): Likewise.
7684         (INVALID_EXCEPTION): Likewise.
7685         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
7686         (OVERFLOW_EXCEPTION): Likewise.
7687         (UNDERFLOW_EXCEPTION): Likewise.
7688         (INEXACT_EXCEPTION): Likewise.
7689         (INVALID_EXCEPTION_OK): Likewise.
7690         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7691         (OVERFLOW_EXCEPTION_OK): Likewise.
7692         (UNDERFLOW_EXCEPTION_OK): Likewise.
7693         (NO_INEXACT_EXCEPTION): Likewise.
7694         (EXCEPTIONS_OK): Likewise.
7695         (IGNORE_ZERO_INF_SIGN): Likewise.
7696         (TEST_NAN_SIGN): Likewise.
7697         (TEST_NAN_PAYLOAD): Likewise.
7698         (NO_TEST_INLINE): Likewise.
7699         (XFAIL_TEST): Likewise.
7700         (ERRNO_UNCHANGED): Likewise.
7701         (ERRNO_EDOM): Likewise.
7702         (ERRNO_ERANGE): Likewise.
7703         (IGNORE_RESULT): Likewise.
7704         (NON_FINITE): Likewise.
7705         (TEST_SNAN): Likewise.
7706         (NO_TEST_MATHVEC): Likewise.
7707         (TEST_NAN_PAYLOAD_CANONICALIZE): Likewise.
7708         (__CONCATX): Likewise.
7709         (TYPE_MIN): Likewise.
7710         (TYPE_TRUE_MIN): Likewise.
7711         (TYPE_MAX): Likewise.
7712         (MIN_EXP): Likewise.
7713         (MAX_EXP): Likewise.
7714         (MANT_DIG): Likewise.
7715         (FSTR_MAX): Likewise.
7716         (ULP_IDX): Likewise.
7717         (QTYPE_STR): Likewise.
7718         (TEST_COND_binary32): Likewise.
7719         (TEST_COND_binary64): Likewise.
7720         (TEST_COND_binary128): Likewise.
7721         (TEST_COND_ibm128): Likewise.
7722         (TEST_COND_intel96): Likewise.
7723         (TEST_COND_m68k96): Likewise.
7724         (TEST_COND_ibm128_libgcc): Likewise.
7725         (XFAIL_IBM128_LIBGCC): Likewise.
7726         (PAYLOAD_DIG): Likewise.
7727         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
7728         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
7729         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
7730         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
7731         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
7732         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
7733         (TEST_COND_long32): Likewise.
7734         (TEST_COND_long64): Likewise.
7735         (TEST_COND_before_rounding): Likewise.
7736         (TEST_COND_after_rounding): Likewise.
7737         (lit_pi_3_m_4_d): Likewise.
7738         (lit_pi_3_m_4_ln10_m_d): Likewise.
7739         (lit_pi_2_ln10_m_d): Likewise.
7740         (lit_pi_4_ln10_m_d): Likewise.
7741         (lit_pi_ln10_d): Likewise.
7742         (lit_pi_2_d): Likewise.
7743         (lit_pi_4_d): Likewise.
7744         (lit_pi): Likewise.
7745         (lit_e): Likewise.
7746         (ulps_file_name): Likewise.
7747         (ulps_file): Likewise.
7748         (output_ulps): Likewise.
7749         (output_dir): Likewise.
7750         (noErrors): Likewise.
7751         (noTests): Likewise.
7752         (noExcTests): Likewise.
7753         (noErrnoTests): Likewise.
7754         (verbose): Likewise.
7755         (output_max_error): Likewise.
7756         (output_points): Likewise.
7757         (ignore_max_ulp): Likewise.
7758         (plus_zero): Likewise.
7759         (minus_zero): Likewise.
7760         (plus_infty): Likewise.
7761         (minus_infty): Likewise.
7762         (qnan_value_pl): Likewise.
7763         (qnan_value): Likewise.
7764         (snan_value_pl): Likewise.
7765         (snan_value): Likewise.
7766         (max_value): Likewise.
7767         (min_value): Likewise.
7768         (min_subnorm_value): Likewise.
7769         (snan_value_ld): Likewise.
7770         (max_error): Likewise.
7771         (real_max_error): Likewise.
7772         (imag_max_error): Likewise.
7773         (prev_max_error): Likewise.
7774         (prev_real_max_error): Likewise.
7775         (prev_imag_max_error): Likewise.
7776         (max_valid_error): Likewise.
7777         (TYPE_DECIMAL_DIG): Likewise.
7778         (TYPE_HEX_DIG): Likewise.
7779         (fmt_ftostr): Likewise.
7780         (compare_ulp_data): Likewise.
7781         (find_ulps): Likewise.
7782         (init_max_error): Likewise.
7783         (set_max_error): Likewise.
7784         (print_float): Likewise.
7785         (print_screen): Likewise.
7786         (print_screen_max_error): Likewise.
7787         (update_stats): Likewise.
7788         (print_function_ulps): Likewise.
7789         (print_complex_function_ulps): Likewise.
7790         (fpstack_test): Likewise.
7791         (print_max_error): Likewise.
7792         (print_complex_max_error): Likewise.
7793         (test_single_exception): Likewise.
7794         (test_exceptions): Likewise.
7795         (test_single_errno): Likewise.
7796         (test_errno): Likewise.
7797         (ULPDIFF): Likewise.
7798         (ulp): Likewise.
7799         (check_float_internal): Likewise.
7800         (check_float): Likewise.
7801         (check_complex): Likewise.
7802         (check_int): Likewise.
7803         (check_long): Likewise.
7804         (check_bool): Likewise.
7805         (check_longlong): Likewise.
7806         (check_intmax_t): Likewise.
7807         (check_uintmax_t): Likewise.
7808         (enable_test): Likewise.
7809         (struct test_f_f_data): Likewise.
7810         (struct test_ff_f_data): Likewise.
7811         (struct test_fj_f_data): Likewise.
7812         (struct test_fi_f_data): Likewise.
7813         (struct test_fl_f_data): Likewise.
7814         (struct test_if_f_data): Likewise.
7815         (struct test_fff_f_data): Likewise.
7816         (struct test_fiu_M_data): Likewise.
7817         (struct test_fiu_U_data): Likewise.
7818         (struct test_c_f_data): Likewise.
7819         (struct test_f_f1_data): Likewise.
7820         (struct test_fF_f1_data): Likewise.
7821         (struct test_ffI_f1_data): Likewise.
7822         (struct test_c_c_data): Likewise.
7823         (struct test_cc_c_data): Likewise.
7824         (struct test_f_i_data): Likewise.
7825         (struct test_ff_i_data): Likewise.
7826         (struct test_f_l_data): Likewise.
7827         (struct test_f_L_data): Likewise.
7828         (struct test_fFF_11_data): Likewise.
7829         (struct test_Ff_b1_data): Likewise.
7830         (IF_ROUND_INIT_): Likewise.
7831         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
7832         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
7833         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
7834         (IF_ROUND_INIT_FE_UPWARD): Likewise.
7835         (ROUND_RESTORE_): Likewise.
7836         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
7837         (ROUND_RESTORE_FE_TONEAREST): Likewise.
7838         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
7839         (ROUND_RESTORE_FE_UPWARD): Likewise.
7840         (RM_): Likewise.
7841         (RM_FE_DOWNWARD): Likewise.
7842         (RM_FE_TONEAREST): Likewise.
7843         (RM_FE_TOWARDZERO): Likewise.
7844         (RM_FE_UPWARD): Likewise.
7845         (COMMON_TEST_SETUP): Likewise.
7846         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
7847         (COMMON_TEST_CLEANUP): Likewise.
7848         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
7849         (RUN_TEST_f_f): Likewise.
7850         (RUN_TEST_LOOP_f_f): Likewise.
7851         (RUN_TEST_fp_f): Likewise.
7852         (RUN_TEST_LOOP_fp_f): Likewise.
7853         (RUN_TEST_2_f): Likewise.
7854         (RUN_TEST_LOOP_2_f): Likewise.
7855         (RUN_TEST_ff_f): Likewise.
7856         (RUN_TEST_LOOP_ff_f): Likewise.
7857         (RUN_TEST_LOOP_fj_f): Likewise.
7858         (RUN_TEST_fi_f): Likewise.
7859         (RUN_TEST_LOOP_fi_f): Likewise.
7860         (RUN_TEST_fl_f): Likewise.
7861         (RUN_TEST_LOOP_fl_f): Likewise.
7862         (RUN_TEST_if_f): Likewise.
7863         (RUN_TEST_LOOP_if_f): Likewise.
7864         (RUN_TEST_fff_f): Likewise.
7865         (RUN_TEST_LOOP_fff_f): Likewise.
7866         (RUN_TEST_fiu_M): Likewise.
7867         (RUN_TEST_LOOP_fiu_M): Likewise.
7868         (RUN_TEST_fiu_U): Likewise.
7869         (RUN_TEST_LOOP_fiu_U): Likewise.
7870         (RUN_TEST_c_f): Likewise.
7871         (RUN_TEST_LOOP_c_f): Likewise.
7872         (RUN_TEST_f_f1): Likewise.
7873         (RUN_TEST_LOOP_f_f1): Likewise.
7874         (RUN_TEST_fF_f1): Likewise.
7875         (RUN_TEST_LOOP_fF_f1): Likewise.
7876         (RUN_TEST_fI_f1): Likewise.
7877         (RUN_TEST_LOOP_fI_f1): Likewise.
7878         (RUN_TEST_ffI_f1_mod8): Likewise.
7879         (RUN_TEST_LOOP_ffI_f1_mod8): Likewise.
7880         (RUN_TEST_Ff_b1): Likewise.
7881         (RUN_TEST_LOOP_Ff_b1): Likewise.
7882         (RUN_TEST_Ffp_b1): Likewise.
7883         (RUN_TEST_LOOP_Ffp_b1): Likewise.
7884         (RUN_TEST_c_c): Likewise.
7885         (RUN_TEST_LOOP_c_c): Likewise.
7886         (RUN_TEST_cc_c): Likewise.
7887         (RUN_TEST_LOOP_cc_c): Likewise.
7888         (RUN_TEST_f_i): Likewise.
7889         (RUN_TEST_LOOP_f_i): Likewise.
7890         (RUN_TEST_f_i_tg): Likewise.
7891         (RUN_TEST_LOOP_f_i_tg): Likewise.
7892         (RUN_TEST_ff_b): Likewise.
7893         (RUN_TEST_LOOP_ff_b): Likewise.
7894         (RUN_TEST_ff_i_tg): Likewise.
7895         (RUN_TEST_LOOP_ff_i_tg): Likewise.
7896         (RUN_TEST_f_b): Likewise.
7897         (RUN_TEST_LOOP_f_b): Likewise.
7898         (RUN_TEST_f_b_tg): Likewise.
7899         (RUN_TEST_LOOP_f_b_tg): Likewise.
7900         (RUN_TEST_f_l): Likewise.
7901         (RUN_TEST_LOOP_f_l): Likewise.
7902         (RUN_TEST_f_L): Likewise.
7903         (RUN_TEST_LOOP_f_L): Likewise.
7904         (RUN_TEST_fFF_11): Likewise.
7905         (RUN_TEST_LOOP_fFF_11): Likewise.
7906         (VEC_SUFF): Likewise.
7907         (STR_CONCAT): Likewise.
7908         (STR_CON3): Likewise.
7909         (HAVE_VECTOR): Likewise.
7910         (START): Likewise.
7911         (END): Likewise.
7912         (END_COMPLEX): Likewise.
7913         (ALL_RM_TEST): Likewise.
7914         (matherr): Likewise.
7915         (initialize): Likewise.
7916         (options): Likewise.
7917         (doc): Likewise.
7918         (parse_opt): Likewise.
7919         (argp): Likewise.
7920         (check_ulp): Likewise.
7921         (main): Likewise.
7922         (do_test): New function.  Call tests of individual functions
7923         previously called from main.
7925         * math/libm-test.inc: Remove comment listing functions tested and
7926         not tested.
7928 2016-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7930         * nptl/allocatestack.c [COLORING_INCREMENT] (nptl_ncreated): Remove.
7931         (allocate_stack): Remove COLORING_INCREMENT usage.
7932         * nptl/stack-aliasing.h (COLORING_INCREMENT). Likewise.
7933         * sysdeps/i386/i686/stack-aliasing.h (COLORING_INCREMENT): Likewise.
7935 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
7937         * manual/libm-err-tab.pl (@all_functions): Change to
7938         %all_functions.  Initialize as empty.
7939         (parse_ulps): Add to %all_functions based on functions found in
7940         ulps files.  Ignore results for non-default rounding modes and
7941         vector functions.
7942         (print_platforms): Use %all_platforms.
7943         * manual/math.texi (Errors in Math Functions): Document omissions
7944         from the table.
7946         * math/Makefile (before-compile): Remove.
7948 2017-02-06  Ivo Raisr <ivo.raisr@oracle.com>
7950         [BZ #21075]
7951         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Remove
7952         unused assignment.
7953         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
7955 2017-02-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
7957         * sysdeps/nptl/lowlevellock.h (lll_trylock, lll_cond_trylock):
7958         Add __glibc_unlikely hint.
7960 2017-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7962         [BZ #16640]
7963         * sysdeps/i386/i686/strtok.S: Remove file.
7964         * sysdeps/i386/i686/strtok_r.S: Likewise.
7965         * sysdeps/i386/strtok.S: Likewise.
7966         * sysdeps/i386/strtok_r.S: Likewise.
7967         * sysdeps/powerpc/powerpc64/strtok.S: Likewise.
7968         * sysdeps/powerpc/powerpc64/strtok_r.S: Likewise.
7969         * sysdeps/x86_64/strtok.S: Likewise.
7970         * sysdeps/x86_64/strtok_r.S: Likewise.
7972         * sysdeps/unix/sysv/linux/arm/posix_fadvise.c: Remove file.
7973         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
7974         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7975         (__ASSUME_FADVISE64_AS_64_64): Define.
7976         * sysdeps/unix/sysv/linux/posix_fadvise.c [__NR_fadvise64]: Add
7977         !defined __ASSUME_FADVISE64_AS_64_64 to use syscall issue.
7978         [!__NR_fadvise64 && __ASSUME_FADVISE64_64_6ARG]: Remove
7979         __ALIGNMENT_ARG usage.
7980         [!__NR_fadvise64 && !__ASSUME_FADVISE64_64_6ARG]: Define
7981         __NR_fadvise64_64 if it is not defined.
7983 2017-02-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7985         * version.h (RELEASE): Set to "development"
7986         (VERSION): Set to 2.25.90.
7987         * NEWS: Add 2.26 section.
7989         * version.h (RELEASE): Set to "stable"
7990         (VERSION): Set to 2.25.
7991         * include/features.h (__GLIBC_MINOR__): Set to 25.
7993         * manual/contrib.texi: Add more contributors from this release
7994         and past releases.
7996         * NEWS (2.25): Add list of bugs fixed.
7998         * NEWS: Add missing news items.
8000 2017-02-04  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8002         * elf/tst-env-setuid.c (do_execve): Return EXIT_UNSUPPORTED in
8003         parent if child exited in that manner.  Print WEXITSTATUS
8004         instead of the raw status.
8005         (do_test_prep): Rename to do_test.
8006         (do_test): Return the result of run_executable_sgid.
8007         (TEST_FUNCTION_ARGV): Adjust.
8009 2017-02-03  Alexandre Oliva  <aoliva@redhat.com>
8010             Florian Weimer  <fweimer@redhat.com>
8011             Carlos O'Donell  <carlos@redhat.com>
8013         [BZ #20915]
8014         * elf/dl-reloc.c (_dl_nothread_init_static_tls):
8015         Do not initialize DTV.
8016         * nptl/allocatestack.c (init_one_static_tls): Likewise.
8018 2017-02-03  David S. Miller  <davem@davemloft.net>
8020         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax-vis3.S: Remove file.
8021         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
8022         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: Likewise.
8023         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
8024         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: Likewise.
8025         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
8026         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: Likewise.
8027         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
8028         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
8029         (libm-sysdep_routines): Update.
8030         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Remove file.
8031         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: Likewise.
8032         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
8033         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: Likewise.
8034         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
8035         * sysdeps/sparc/sparc64/fpu/s_fmax.S: Likewise.
8036         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: Likewise.
8037         * sysdeps/sparc/sparc64/fpu/s_fmin.S: Likewise.
8038         * sysdeps/sparc/sparc64/fpu/s_fminf.S: Likewise.
8039         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S:
8040         Likewise.
8041         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
8042         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S:
8043         Likewise.
8044         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
8045         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S:
8046         Likewise.
8047         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
8048         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S:
8049         Likewise.
8050         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
8051         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
8052         (libm-sysdep_routines): Update.
8054 2017-02-02  H.J. Lu  <hongjiu.lu@intel.com>
8056         * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
8057         _dl_fatal_printf with _dl_error_printf for IFUNC relocation
8058         against unrelocated shared library.
8059         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
8061 2017-02-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8063         * sysdeps/generic/unsecvars.h: Add GLIBC_TUNABLES.
8064         * elf/tst-env-setuid-tunables.c
8065         (test_child_tunables)[!HAVE_TUNABLES]: Verify that
8066         GLIBC_TUNABLES is removed in a setgid process.
8068         [BZ #21073]
8069         * elf/dl-tunable-types.h (tunable_seclevel_t): New enum.
8070         * elf/dl-tunables.c (tunables_strdup): Remove.
8071         (get_next_env): Also return the previous envp.
8072         (parse_tunables): Erase tunables of category
8073         TUNABLES_SECLEVEL_SXID_ERASE.
8074         (maybe_enable_malloc_check): Make MALLOC_CHECK_
8075         TUNABLE_SECLEVEL_NONE if /etc/setuid-debug is accessible.
8076         (__tunables_init)[TUNABLES_FRONTEND ==
8077         TUNABLES_FRONTEND_valstring]: Update GLIBC_TUNABLES envvar
8078         after parsing.
8079         [TUNABLES_FRONTEND != TUNABLES_FRONTEND_valstring]: Erase
8080         tunable envvars of category TUNABLES_SECLEVEL_SXID_ERASE.
8081         * elf/dl-tunables.h (struct _tunable): Change member is_secure
8082         to security_level.
8083         * elf/dl-tunables.list: Add security_level annotations for all
8084         tunables.
8085         * scripts/gen-tunables.awk: Recognize and generate enum values
8086         for security_level.
8087         * elf/tst-env-setuid.c: New test case.
8088         * elf/tst-env-setuid-tunables: new test case.
8089         * elf/Makefile (tests-static): Add them.
8091 2017-02-01  Richard Henderson  <rth@twiddle.net>
8093         * sysdeps/alpha/memchr.c (__memchr): Use saturating arithmetic
8094         adjusting the byte count.
8096 2017-02-01  Andreas Schwab  <schwab@linux-m68k.org>
8098         * conform/Makefile (linknamespace-libs): Define.
8100         * sysdeps/m68k/m680x0/m68020/atomic-machine.h
8101         (__arch_compare_and_exchange_val_64_acq, atomic_exchange_acq)
8102         (atomic_exchange_and_add, atomic_add): Add casts to 64 bit asm
8103         operands.
8105 2017-01-31  Chung-Lin Tang  <cltang@codesourcery.com>
8107         * sysdeps/unix/sysv/linux/nios2/ipc_priv.h: New file.
8109 2017-01-30  H.J. Lu  <hongjiu.lu@intel.com>
8111         [BZ #21081]
8112         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
8113         (L(stosb)): Add VZEROUPPER before ret.
8115 2016-01-28  Carlos O'Donell  <carlos@redhat.com>
8116             Alexey Makhalov <amakhalov@vmware.com>
8117             Florian Weimer <fweimer@redhat.com>
8119         [BZ #20116]
8120         * nptl/pthread_create.c: Document concurrency notes.
8121         Enhance thread creation notes.
8122         (create_thread): Use bool *stopped_start.
8123         (START_THREAD_DEFN): Comment ownership of PD.
8124         (__pthread_create_2_1): Add local bool stopped_start and use
8125         that instead of pd->stopped_start where appropriate.
8126         * nptl/createthread.c (create_thread): Use bool *stopped_start.
8127         * sysdeps/nacl/createthread.c (create_thread): Use bool *stopped_start.
8128         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
8129         * nptl/tst-create-detached.c: New file.
8130         * nptl/Makefile (tests): Add tst-create-detached.
8131         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
8132         Reference the enhanced thread creation notes.
8133         * nptl/pthread_setschedparam.c (__pthread_setschedparam): Likewise.
8134         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
8135         * nptl/tpp.c (__pthread_tpp_change_priority): Likewise.
8136         (__pthread_current_priority): Likewise.
8137         * support/Makefile (libsupport-routines): Add xpthread_attr_destroy
8138         xpthread_attr_init, xpthread_attr_setdetachstate, and
8139         xpthread_attr_setstacksize.
8140         * support/xpthread_attr_destroy.c: New file.
8141         * support/xpthread_attr_init.c: New file.
8142         * support/xpthread_attr_setdetachstate.c: New file.
8143         * support/xpthread_attr_setstacksize.c: New file.
8144         * support/xthread.h: Define prototypes for xpthread_attr_destroy
8145         xpthread_attr_init, xpthread_attr_setdetachstate, and
8146         xpthread_attr_setstacksize.
8148 2017-01-27  Florian Weimer  <fweimer@redhat.com>
8150         * nptl/Makefile (tests): Add tst-robust-fork.
8151         * nptl/tst-robust-fork.c: New file.
8152         * support/Makefile (libsupport-routines): Add xmmap, xmunmap,
8153         xpthread_mutex_consistent, xpthread_mutex_destroy,
8154         xpthread_mutex_init, xpthread_mutexattr_destroy,
8155         xpthread_mutexattr_init, xpthread_mutexattr_setprotocol,
8156         xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust,
8157         xpthread_mutexattr_settype.
8158         * support/xmmap.c: New file.
8159         * support/xmunmap.c: Likewise.
8160         * support/xpthread_mutex_consistent.c: Likewise.
8161         * support/xpthread_mutex_destroy.c: Likewise.
8162         * support/xpthread_mutex_init.c: Likewise.
8163         * support/xpthread_mutexattr_destroy.c: Likewise.
8164         * support/xpthread_mutexattr_init.c: Likewise.
8165         * support/xpthread_mutexattr_setprotocol.c: Likewise.
8166         * support/xpthread_mutexattr_setpshared.c: Likewise.
8167         * support/xpthread_mutexattr_setrobust.c: Likewise.
8168         * support/xpthread_mutexattr_settype.c: Likewise.
8169         * support/xthread.h (xpthread_mutexattr_destroy)
8170         (xpthread_mutexattr_init, xpthread_mutexattr_setprotocol)
8171         (xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust)
8172         (xpthread_mutexattr_settype, xpthread_mutex_init)
8173         (xpthread_mutex_destroy, xpthread_mutex_consistent): Declare.
8174         * support/xunistd.h (xmmap, xmunmap): Likewise.
8176 2017-01-25  Florian Weimer  <fweimer@redhat.com>
8178         * string/Makefile (xtests): Add comment.
8179         (LOCALES): Add en_GB.UTF-8.
8180         (tst-strcoll-overflow.out): Depend on generated locales.
8181         * string/tst-strcoll-overflow.c: Convert to support/test-driver.c.
8182         (SIZE, TIMEOUT): Update comments.
8183         (do_test): Define as static.  Fail test if setlocale fails.
8184         Return EXIT_UNSUPPORTED if insufficient memory.  Enhance output
8185         messages.
8186         (EXPECTED_SIGNAL, EXPECTED_STATUS, TEST_FUNCTION): Remove.
8187         TIMEOUT at 300 seconds should be enough to run this test
8188         successfully.
8190 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
8192         * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
8193         /* FALLTHRU */ comments.
8195 2017-01-24  James Clarke  <jrtc27@jrtc27.com>
8197         [BZ #21053]
8198         * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym: Use new REG_R*
8199         constants instead of the old R* ones.
8200         * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym: Likewise.
8201         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGPREG): Rename...
8202         (NGREG): ... to this, to fit in with other architectures.
8203         (gpregset_t): Use new NGREG macro.
8204         [__USE_GNU]: Remove condition; all architectures other than tile
8205         are unconditional.
8206         (R*): Rename to REG_R*.
8208 2017-01-20  DJ Delorie  <dj@redhat.com>
8210         * elf/dl-tunables.c (tunable_set_val_if_valid_range): Split into ...
8211         (tunable_set_val_if_valid_range_signed) ... this, and ...
8212         (tunable_set_val_if_valid_range_unsigned) ... this.
8213         (tunable_initialize): Call the correct one of the above based on type.
8215 2017-01-20  Joseph Myers  <joseph@codesourcery.com>
8217         * sysdeps/hppa/fpu/libm-test-ulps: Remove *_tonearest entries.
8218         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
8219         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
8220         * sysdeps/microblaze/libm-test-ulps: Likewise.
8221         * sysdeps/sh/libm-test-ulps: Likewise.
8223         * math/README.libm-test: Update list of characters for input and
8224         output types.
8226 2017-01-20  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8228         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
8229         (__lll_unlock_elision): Fix adapt_count decrement.
8231 2017-01-14  Martin Galvan  <martingalvan@sourceware.org>
8233         * README.pretty-printers (Known issues): Warn about printers not
8234         always covering everything.
8235         * nptl/nptl-printers.py (MutexPrinter): Change output.
8236         * nptl/test-mutex-printers.py: Fix test and adapt to changed output.
8238 2017-01-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
8240         * sysdeps/unix/sysv/linux/s390/htm.h: Adjust comments.
8241         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
8242         * sysdeps/unix/sysv/linux/s390/elision-lock.c: Adjust comments.
8243         (__lll_lock_elision): Do not test futex before starting a
8244         transaction.  Use __glibc_likely instead of __builtin_expect.
8245         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Adjust comments.
8246         (__lll_trylock_elision): Do not test futex before starting a
8247         transaction.  Use __glibc_likely instead of __builtin_expect.
8249 2017-01-20  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8251         * po/Makefile (update-translations): New target.
8253 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
8255         [BZ #21061]
8256         * sysdeps/unix/sysv/linux/microblaze/clock-compat.c: New file.
8258 2017-01-19  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8260         * elf/dl-tunables (get_next_env): Always advance envp.
8261         * stdlib/tst-empty-env.c: New test case.
8262         * stdlib/Makefile (tests): Use it.
8264 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
8266         [BZ #21047]
8267         * sysdeps/arm/fpu_control.h [!__SOFTFP__] (_FPU_GETCW): Use VFP
8268         name for instruction.
8269         [!__SOFTFP__] (_FPU_SETCW): Likewise.
8271 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
8273         * scripts/build-many-glibcs.py (Config.build_cross_tool): Use -j1
8274         for make install.
8276 2017-01-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8278         * po/bg.po: Merge from Translation Project.
8279         * po/fr.po: Likewise.
8280         * po/ko.po: Likewise.
8281         * po/nl.po: Likewise.
8282         * po/sv.po: Likewise.
8284 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
8286         * manual/install.texi (Tools for Compilation): Update GCC version
8287         known to work to build glibc.
8288         * INSTALL: Regenerated.
8290 2017-01-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
8292         [BZ #21006]
8293         * string/Makefile (LDFLAGS-tst-xbzero-opt): New variable.
8295 2017-01-16  Joseph Myers  <joseph@codesourcery.com>
8297         [BZ #21045]
8298         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
8299         (__CONTEXT_FUNC_NAME): Pass address of signal mask to be restored
8300         to __sigprocmask.
8302 2017-01-16  Chris Metcalf  <cmetcalf@mellanox.com>
8304         * sysdeps/tile/tilegx/memchr.c (__memchr): Handle pointer
8305         wrap-around.
8306         * sysdeps/tile/tilepro/memchr.c (__memchr): Likewise.
8308         * sysdeps/unix/sysv/linux/tile/ipc_priv.h: New file.
8310 2016-01-14  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8312         * NEWS: Fix typo.
8314 2016-01-13  Torvald Riegel  <triegel@redhat.com>
8316         * nptl/descr.h (ENQUEUE_MUTEX_BOTH, DEQUEUE_MUTEX): Add compiler
8317         barriers and comments.
8318         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Likewise.
8319         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
8320         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
8322 2016-01-13  Torvald Riegel  <triegel@redhat.com>
8324         [BZ #19402]
8325         * sysdeps/nptl/fork.c (__libc_fork): Clear list of acquired robust
8326         mutexes.
8328 2016-01-13  Torvald Riegel  <triegel@redhat.com>
8330         [BZ #20985]
8331         * nptl/Makefile: Adapt.
8332         * nptl/pthread_mutex_cond_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
8333         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
8334         * nptl/pthread_mutex_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
8335         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
8336         (__pthread_mutex_lock_full): Inline lll_robust* functions and adapt.
8337         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Inline
8338         lll_robust* functions and adapt.
8339         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
8340         * sysdeps/nptl/lowlevellock.h (__lll_robust_lock_wait,
8341         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
8342         __lll_robust_timedlock, __lll_robust_unlock): Remove.
8343         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_robust_lock,
8344         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
8345         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_robust_lock,
8346         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
8347         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (__lll_robust_lock_wait,
8348         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
8349         __lll_robust_timedlock, __lll_robust_unlock): Remove.
8350         * nptl/lowlevelrobustlock.c: Remove file.
8351         * nptl/lowlevelrobustlock.sym: Likewise.
8352         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Likewise.
8353         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Likewise.
8355 2017-01-13  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8357         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
8359 2017-01-12  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8361         * po/cs.po: Merge translations from the Translation Project.
8362         * po/de.po: Likewise.
8363         * po/pl.po: Likewise.
8364         * po/ru.po: Likewise.
8365         * po/tr.po: Likewise.
8366         * po/uk.po: Likewise.
8367         * po/vi.po: Likewise.
8368         * po/zh_CN.po: Likewise.
8370 2017-01-12  Joseph Myers  <joseph@codesourcery.com>
8372         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
8374         * math/fgetexcptflg.c (__fegetexceptflag): Store 0 in fexcept_t
8375         object.
8377 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
8379         [BZ #16458]
8380         * bits/uintn-identity.h: New file.
8381         * inet/netinet/in.h: Include <bits/uintn-identity.h>.
8382         [__BYTE_ORDER == __BIG_ENDIAN] (ntohl): Use __uint32_identity.
8383         [__BYTE_ORDER == __BIG_ENDIAN] (ntohs): Use __uint16_identity.
8384         [__BYTE_ORDER == __BIG_ENDIAN] (htonl): Use __uint32_identity.
8385         [__BYTE_ORDER == __BIG_ENDIAN] (htohs): Use __uint16_identity.
8386         * string/endian.h: Include <bits/uintn-identity.h>.
8387         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole16): Use
8388         __uint16_identity.
8389         [__BYTE_ORDER == __LITTLE_ENDIAN] (le16toh): Likewise.
8390         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole32): Use
8391         __uint32_identity.
8392         [__BYTE_ORDER == __LITTLE_ENDIAN] (le32toh): Likewise.
8393         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole64): Use
8394         __uint64_identity.
8395         [__BYTE_ORDER == __LITTLE_ENDIAN] (le64toh): Likewise.
8396         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe16): Use
8397         __uint16_identity.
8398         [__BYTE_ORDER != __LITTLE_ENDIAN] (be16toh): Likewise.
8399         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe32): Use
8400         __uint32_identity.
8401         [__BYTE_ORDER != __LITTLE_ENDIAN] (be32toh): Likewise.
8402         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe64): Use
8403         __uint64_identity.
8404         [__BYTE_ORDER != __LITTLE_ENDIAN] (be64toh): Likewise.
8405         * string/Makefile (headers): Add bits/uintn-identity.h.
8406         (tests): Add test-endian-types.
8407         * string/test-endian-types.c: New file.
8408         * inet/Makefile (tests): Add test-hnto-types.
8409         * inet/test-hnto-types.c: New file.
8411 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8413         * po/be.po: Update from Translation Project.
8414         * po/bg.po: Likewise.
8415         * po/ca.po: Likewise.
8416         * po/cs.po: Likewise.
8417         * po/da.po: Likewise.
8418         * po/de.po: Likewise.
8419         * po/el.po: Likewise.
8420         * po/eo.po: Likewise.
8421         * po/es.po: Likewise.
8422         * po/fi.po: Likewise.
8423         * po/fr.po: Likewise.
8424         * po/gl.po: Likewise.
8425         * po/hr.po: Likewise.
8426         * po/hu.po: Likewise.
8427         * po/ia.po: Likewise.
8428         * po/id.po: Likewise.
8429         * po/it.po: Likewise.
8430         * po/ja.po: Likewise.
8431         * po/ko.po: Likewise.
8432         * po/lt.po: Likewise.
8433         * po/nb.po: Likewise.
8434         * po/nl.po: Likewise.
8435         * po/pl.po: Likewise.
8436         * po/pt_BR.po: Likewise.
8437         * po/ru.po: Likewise.
8438         * po/rw.po: Likewise.
8439         * po/sk.po: Likewise.
8440         * po/sl.po: Likewise.
8441         * po/sv.po: Likewise.
8442         * po/tr.po: Likewise.
8443         * po/uk.po: Likewise.
8444         * po/vi.po: Likewise.
8445         * po/zh_CN.po: Likewise.
8446         * po/zh_TW.po: Likewise.
8448 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
8450         * stdio-common/tst-printf.c [__GNUC_PREREQ (7, 0)]: Ignore
8451         -Wformat-truncation instead of -Wformat-length.
8452         * time/tst-strptime2.c (mkbuf) [__GNUC_PREREQ (7, 0)]: Likewise.
8453         * stdio-common/tstdiomisc.c (F): Ignore -Wformat-truncation for
8454         GCC 7.
8455         * wcsmbs/tst-wcstof.c: Include <libc-internal.h>.
8456         (do_test): Ignore -Wformat-truncation for GCC 7.
8458         * locale/programs/ld-address.c (INT_STR_ELEM): Increase size of
8459         buffer used to print long int value.
8461         * elf/sotruss-lib.c (init): Increase space allocated for pid by
8462         one byte.  Print it with %ld, cast to long int.
8464 2017-01-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8466         * scripts/build-many-glibcs.py (os.cpu_count): Add compatibility definition.
8467         (re.fullmatch, subprocess.run): Likewise.
8469 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8471         * po/libc.pot: Regenerate.
8473 2016-01-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8475         * elf/dl-tunables.c (tunables_unsetenv): Remove function.
8476         (min_strlen): Likewise.
8477         (disable_tunable): Likewise.
8478         (maybe_disable_malloc_check): Rename to
8479         maybe_enable_malloc_check.
8480         (maybe_enable_malloc_check): Enable glibc.malloc.check tunable
8481         if /etc/suid-debug file exists.
8482         (__tunables_init): Update caller.
8483         * elf/dl-tunables.list (glibc.malloc.check): Don't mark as
8484         secure.
8486 2016-01-10  Torvald Riegel  <triegel@redhat.com>
8488         * nptl/DESIGN-rwlock.txt: Remove.
8489         * nptl/lowlevelrwlock.sym: Remove.
8490         * nptl/Makefile: Add new tests.
8491         * nptl/pthread_rwlock_common.c: New file.  Contains the new rwlock.
8492         * nptl/pthreadP.h (PTHREAD_RWLOCK_PREFER_READER_P): Remove.
8493         (PTHREAD_RWLOCK_WRPHASE, PTHREAD_RWLOCK_WRLOCKED,
8494         PTHREAD_RWLOCK_RWAITING, PTHREAD_RWLOCK_READER_SHIFT,
8495         PTHREAD_RWLOCK_READER_OVERFLOW, PTHREAD_RWLOCK_WRHANDOVER,
8496         PTHREAD_RWLOCK_FUTEX_USED): New.
8497         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Adapt to new
8498         implementation.
8499         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow): Remove.
8500         (__pthread_rwlock_rdlock): Adapt.
8501         * nptl/pthread_rwlock_timedrdlock.c
8502         (pthread_rwlock_timedrdlock): Adapt.
8503         * nptl/pthread_rwlock_timedwrlock.c
8504         (pthread_rwlock_timedwrlock): Adapt.
8505         * nptl/pthread_rwlock_trywrlock.c (pthread_rwlock_trywrlock): Adapt.
8506         * nptl/pthread_rwlock_tryrdlock.c (pthread_rwlock_tryrdlock): Adapt.
8507         * nptl/pthread_rwlock_unlock.c (pthread_rwlock_unlock): Adapt.
8508         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow): Remove.
8509         (__pthread_rwlock_wrlock): Adapt.
8510         * nptl/tst-rwlock10.c: Adapt.
8511         * nptl/tst-rwlock11.c: Adapt.
8512         * nptl/tst-rwlock17.c: New file.
8513         * nptl/tst-rwlock18.c: New file.
8514         * nptl/tst-rwlock19.c: New file.
8515         * nptl/tst-rwlock2b.c: New file.
8516         * nptl/tst-rwlock8.c: Adapt.
8517         * nptl/tst-rwlock9.c: Adapt.
8518         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
8519         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
8520         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
8521         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
8522         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
8523         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
8524         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
8525         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
8526         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
8527         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
8528         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
8529         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
8530         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
8531         (pthread_rwlock_t): Adapt.
8532         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8533         (pthread_rwlock_t): Adapt.
8534         * sysdeps/x86/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
8535         * nptl/nptl-printers.py (): Adapt.
8536         * nptl/nptl_lock_constants.pysym: Adapt.
8537         * nptl/test-rwlock-printers.py: Adapt.
8538         * nptl/test-rwlockattr-printers.c: Adapt.
8539         * nptl/test-rwlockattr-printers.py: Adapt.
8541 2017-01-10  Joseph Myers  <joseph@codesourcery.com>
8543         * math/libm-test.inc (XFAIL_IBM128_LIBGCC): New macro.
8544         (fdim_test_data): Use XFAIL_ROUNDING_IBM128_LIBGCC for some tests.
8545         (fma_test_data): Likewise.
8546         (hypot_test_data): Likewise.
8547         (log1p_test_data): Likewise.
8548         (modf_test_data): Likewise.
8549         (pow_test_data): Likewise.
8550         (remainder_test_data): Likewise.
8551         (remquo_test_data): Likewise.
8552         (scalb_test_data): Likewise.
8553         (scalbn_test_data): Likewise.
8554         (scalbln_test_data): Likewise.
8555         * math/gen-libm-test.pl (parse_args): Transform
8556         XFAIL_ROUNDING_IBM128_LIBGCC to XFAIL_IBM128_LIBGCC or 0 depending
8557         on the rounding mode.
8559 2017-01-09  Joseph Myers  <joseph@codesourcery.com>
8561         * math/gen-auto-libm-tests.c (output_for_one_input_case): Apply
8562         xfail-rounding:ibm128-libgcc automatically to tests overflowing
8563         and those that can underflow to zero.
8564         * math/auto-libm-test-in: Remove most XFAILs for ibm128-libgcc and
8565         add others.
8566         * math/auto-libm-test-out: Regenerated.
8568         * math/test-fenv.c (fe_tests): Skip most tests when exceptions not
8569         supported.
8570         (feholdexcept_tests): Skip tests requiring exceptions or rounding
8571         modes support if not supported.
8573         * sysdeps/unix/sysv/linux/microblaze/localplt.data (__pread64):
8574         Add libc.so PLT entry.
8575         (__tls_get_addr): Make ld.so PLT entry optional.
8577 2017-01-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8579         * string/bits/strings_fortified.h (explicit_bzero): Move back to ..
8580         * string/bits/string3.h: ... here.
8582 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
8584         [BZ #21028]
8585         * math/fsetexcptflg.c (__fesetexceptflag): Always return 0.
8586         * math/test-fexcept.c (test_set): Allow failure of feraiseexcept
8587         if EXCEPTION_TESTS returns false.
8589 2017-01-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8591         [BZ #20558]
8592         * string/bits/string3.h [__USE_MISC] (bcopy): Move to
8593         strings_fortified.h.
8594         [__USE_MISC] (bzero): Likewise.
8595         [__USE_MISC] (explicit_bzero): Likewise.
8596         * string/strings.h: Include strings_fortified.h.
8597         * string/Makefile (headers): Add strings_fortified.h.
8598         * string/bits/strings_fortified.h: New file.
8599         * include/bits/strings_fortified.h: Likewise.
8601 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
8603         * elf/tst-tls13.c (TIMEOUT): Remove.
8604         * iconvdata/tst-loading.c (TIMEOUT): Likewise.
8605         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Increase to 100.
8606         * malloc/tst-mallocfork2.c (TIMEOUT): Define to 100.
8607         * nss/tst-cancel-getpwuid_r.c (TIMEOUT): Define to 900.
8608         * nss/tst-nss-getpwent.c (TIMEOUT): Define to 300.
8610         [BZ #21026]
8611         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
8612         (readahead): New syscall entry.
8614 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
8616         * string/tester.c (test_strncat): Disable -Wstringop-overflow=
8617         around tests of strncat with large sizes.
8619         * malloc/tst-malloc.c: Include <libc-internal.h>.
8620         (do_test): Disable -Walloc-size-larger-than= around tests of
8621         malloc with negative sizes.
8622         * malloc/tst-mcheck.c: Include <libc-internal.h>.
8623         (do_test): Disable -Walloc-size-larger-than= around tests of
8624         malloc and realloc with negative sizes.
8625         * malloc/tst-realloc.c: Include <libc-internal.h>.
8626         (do_test): Disable -Walloc-size-larger-than= around tests of
8627         realloc with negative sizes.
8629         * math/libm-test.inc (TEST_COND_ibm128_libgcc): New macro.
8630         (init_max_error) [TEST_COND_ibm128]: Increase maximum error
8631         allowed to 16 ulps.
8632         * math/auto-libm-test-in: Change most XFAILs for ibm128 to use
8633         ibm128-libgcc.  XFAIL more tests for ibm128-libgcc.
8634         * math/auto-libm-test-out: Regenerated.
8636 2017-01-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8638         * math/Makefile (libm-calls): Move wrappers...
8639         (libm-compat-call-auto): Here.
8640         (libm-routines): Add items in libm-compat-calls-auto.
8641         * sysdeps/powerpc/nofpu/Makefile: Add suffix ("_compat") to
8642         the filenames of the wrappers that have been renamed.
8643         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Likewise.
8644         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
8646         * math/w_acos.c: Add _compat suffix to filename.
8647         * math/w_acosf.c: Likewise.
8648         * math/w_acosh.c: Likewise.
8649         * math/w_acoshf.c: Likewise.
8650         * math/w_acoshl.c: Likewise.
8651         * math/w_acosl.c: Likewise.
8652         * math/w_asin.c: Likewise.
8653         * math/w_asinf.c: Likewise.
8654         * math/w_asinl.c: Likewise.
8655         * math/w_atan2.c: Likewise.
8656         * math/w_atan2f.c: Likewise.
8657         * math/w_atan2l.c: Likewise.
8658         * math/w_atanh.c: Likewise.
8659         * math/w_atanhf.c: Likewise.
8660         * math/w_atanhl.c: Likewise.
8661         * math/w_cosh.c: Likewise.
8662         * math/w_coshf.c: Likewise.
8663         * math/w_coshl.c: Likewise.
8664         * math/w_exp10.c: Likewise.
8665         * math/w_exp10f.c: Likewise.
8666         * math/w_exp10l.c: Likewise.
8667         * math/w_exp2.c: Likewise.
8668         * math/w_exp2f.c: Likewise.
8669         * math/w_exp2l.c: Likewise.
8670         * math/w_fmod.c: Likewise.
8671         * math/w_fmodf.c: Likewise.
8672         * math/w_fmodl.c: Likewise.
8673         * math/w_hypot.c: Likewise.
8674         * math/w_hypotf.c: Likewise.
8675         * math/w_hypotl.c: Likewise.
8676         * math/w_j0.c: Likewise.
8677         * math/w_j0f.c: Likewise.
8678         * math/w_j0l.c: Likewise.
8679         * math/w_j1.c: Likewise.
8680         * math/w_j1f.c: Likewise.
8681         * math/w_j1l.c: Likewise.
8682         * math/w_jn.c: Likewise.
8683         * math/w_jnf.c: Likewise.
8684         * math/w_jnl.c: Likewise.
8685         * math/w_log10.c: Likewise.
8686         * math/w_log10f.c: Likewise.
8687         * math/w_log10l.c: Likewise.
8688         * math/w_log2.c: Likewise.
8689         * math/w_log2f.c: Likewise.
8690         * math/w_log2l.c: Likewise.
8691         * math/w_log.c: Likewise.
8692         * math/w_logf.c: Likewise.
8693         * math/w_logl.c: Likewise.
8694         * math/w_pow.c: Likewise.
8695         * math/w_powf.c: Likewise.
8696         * math/w_powl.c: Likewise.
8697         * math/w_remainder.c: Likewise.
8698         * math/w_remainderf.c: Likewise.
8699         * math/w_remainderl.c: Likewise.
8700         * math/w_scalb.c: Likewise.
8701         * math/w_scalbf.c: Likewise.
8702         * math/w_scalbl.c: Likewise.
8703         * math/w_sinh.c: Likewise.
8704         * math/w_sinhf.c: Likewise.
8705         * math/w_sinhl.c: Likewise.
8706         * math/w_sqrt.c: Likewise.
8707         * math/w_sqrtf.c: Likewise.
8708         * math/w_sqrtl.c: Likewise.
8709         * math/w_tgamma.c: Likewise.
8710         * math/w_tgammaf.c: Likewise.
8711         * math/w_tgammal.c: Likewise.
8713         * math/w_acos_compat.c: New file copied from above and
8714         adjusted for new #includes path
8715         * math/w_acosf_compat.c: Likewise.
8716         * math/w_acosh_compat.c: Likewise.
8717         * math/w_acoshf_compat.c: Likewise.
8718         * math/w_acoshl_compat.c: Likewise.
8719         * math/w_acosl_compat.c: Likewise.
8720         * math/w_asin_compat.c: Likewise.
8721         * math/w_asinf_compat.c: Likewise.
8722         * math/w_asinl_compat.c: Likewise.
8723         * math/w_atan2_compat.c: Likewise.
8724         * math/w_atan2f_compat.c: Likewise.
8725         * math/w_atan2l_compat.c: Likewise.
8726         * math/w_atanh_compat.c: Likewise.
8727         * math/w_atanhf_compat.c: Likewise.
8728         * math/w_atanhl_compat.c: Likewise.
8729         * math/w_cosh_compat.c: Likewise.
8730         * math/w_coshf_compat.c: Likewise.
8731         * math/w_coshl_compat.c: Likewise.
8732         * math/w_exp10_compat.c: Likewise.
8733         * math/w_exp10f_compat.c: Likewise.
8734         * math/w_exp10l_compat.c: Likewise.
8735         * math/w_exp2_compat.c: Likewise.
8736         * math/w_exp2f_compat.c: Likewise.
8737         * math/w_exp2l_compat.c: Likewise.
8738         * math/w_fmod_compat.c: Likewise.
8739         * math/w_fmodf_compat.c: Likewise.
8740         * math/w_fmodl_compat.c: Likewise.
8741         * math/w_hypot_compat.c: Likewise.
8742         * math/w_hypotf_compat.c: Likewise.
8743         * math/w_hypotl_compat.c: Likewise.
8744         * math/w_j0_compat.c: Likewise.
8745         * math/w_j0f_compat.c: Likewise.
8746         * math/w_j0l_compat.c: Likewise.
8747         * math/w_j1_compat.c: Likewise.
8748         * math/w_j1f_compat.c: Likewise.
8749         * math/w_j1l_compat.c: Likewise.
8750         * math/w_jn_compat.c: Likewise.
8751         * math/w_jnf_compat.c: Likewise.
8752         * math/w_jnl_compat.c: Likewise.
8753         * math/w_log10_compat.c: Likewise.
8754         * math/w_log10f_compat.c: Likewise.
8755         * math/w_log10l_compat.c: Likewise.
8756         * math/w_log2_compat.c: Likewise.
8757         * math/w_log2f_compat.c: Likewise.
8758         * math/w_log2l_compat.c: Likewise.
8759         * math/w_log_compat.c: Likewise.
8760         * math/w_logf_compat.c: Likewise.
8761         * math/w_logl_compat.c: Likewise.
8762         * math/w_pow_compat.c: Likewise.
8763         * math/w_powf_compat.c: Likewise.
8764         * math/w_powl_compat.c: Likewise.
8765         * math/w_remainder_compat.c: Likewise.
8766         * math/w_remainderf_compat.c: Likewise.
8767         * math/w_remainderl_compat.c: Likewise.
8768         * math/w_scalb_compat.c: Likewise.
8769         * math/w_scalbf_compat.c: Likewise.
8770         * math/w_scalbl_compat.c: Likewise.
8771         * math/w_sinh_compat.c: Likewise.
8772         * math/w_sinhf_compat.c: Likewise.
8773         * math/w_sinhl_compat.c: Likewise.
8774         * math/w_sqrt_compat.c: Likewise.
8775         * math/w_sqrtf_compat.c: Likewise.
8776         * math/w_sqrtl_compat.c: Likewise.
8777         * math/w_tgamma_compat.c: Likewise.
8778         * math/w_tgammaf_compat.c: Likewise.
8779         * math/w_tgammal_compat.c: Likewise.
8781         * sysdeps/i386/fpu/w_sqrt.c: Add _compat suffix to filename.
8782         * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
8783         * sysdeps/ia64/fpu/w_acosl.c: Likewise.
8784         * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
8785         * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
8786         * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
8787         * sysdeps/ia64/fpu/w_acosf.c: Likewise.
8788         * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
8789         * sysdeps/ia64/fpu/w_sinh.c: Likewise.
8790         * sysdeps/ia64/fpu/w_scalbl.c: Likewise.
8791         * sysdeps/ia64/fpu/w_scalbf.c: Likewise.
8792         * sysdeps/ia64/fpu/w_scalb.c: Likewise.
8793         * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
8794         * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
8795         * sysdeps/ia64/fpu/w_remainder.c: Likewise.
8796         * sysdeps/ia64/fpu/w_powl.c: Likewise.
8797         * sysdeps/ia64/fpu/w_powf.c: Likewise.
8798         * sysdeps/ia64/fpu/w_pow.c: Likewise.
8799         * sysdeps/ia64/fpu/w_logl.c: Likewise.
8800         * sysdeps/ia64/fpu/w_logf.c: Likewise.
8801         * sysdeps/ia64/fpu/w_log2l.c: Likewise.
8802         * sysdeps/ia64/fpu/w_log2f.c: Likewise.
8803         * sysdeps/ia64/fpu/w_log2.c: Likewise.
8804         * sysdeps/ia64/fpu/w_log10l.c: Likewise.
8805         * sysdeps/ia64/fpu/w_log10f.c: Likewise.
8806         * sysdeps/ia64/fpu/w_log10.c: Likewise.
8807         * sysdeps/ia64/fpu/w_log.c: Likewise.
8808         * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
8809         * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
8810         * sysdeps/ia64/fpu/w_hypot.c: Likewise.
8811         * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
8812         * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
8813         * sysdeps/ia64/fpu/w_fmod.c: Likewise.
8814         * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
8815         * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
8816         * sysdeps/ia64/fpu/w_exp2.c: Likewise.
8817         * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
8818         * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
8819         * sysdeps/ia64/fpu/w_exp10.c: Likewise.
8820         * sysdeps/ia64/fpu/w_coshl.c: Likewise.
8821         * sysdeps/ia64/fpu/w_coshf.c: Likewise.
8822         * sysdeps/ia64/fpu/w_cosh.c: Likewise.
8823         * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
8824         * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
8825         * sysdeps/ia64/fpu/w_atanh.c: Likewise.
8826         * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
8827         * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
8828         * sysdeps/ia64/fpu/w_atan2.c: Likewise.
8829         * sysdeps/ia64/fpu/w_asinl.c: Likewise.
8830         * sysdeps/ia64/fpu/w_asinf.c: Likewise.
8831         * sysdeps/ia64/fpu/w_asin.c: Likewise.
8832         * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
8833         * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
8834         * sysdeps/ia64/fpu/w_acosh.c: Likewise.
8835         * sysdeps/ia64/fpu/w_acos.c: Likewise.
8836         * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
8837         * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
8838         * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
8839         * sysdeps/ieee754/ldbl-opt/w_acos.c: Likewise.
8840         * sysdeps/ieee754/ldbl-opt/w_acosh.c: Likewise.
8841         * sysdeps/ieee754/ldbl-opt/w_acoshl.c: Likewise.
8842         * sysdeps/ieee754/ldbl-opt/w_acosl.c: Likewise.
8843         * sysdeps/ieee754/ldbl-opt/w_asin.c: Likewise.
8844         * sysdeps/ieee754/ldbl-opt/w_asinl.c: Likewise.
8845         * sysdeps/ieee754/ldbl-opt/w_atan2.c: Likewise.
8846         * sysdeps/ieee754/ldbl-opt/w_atan2l.c: Likewise.
8847         * sysdeps/ieee754/ldbl-opt/w_atanh.c: Likewise.
8848         * sysdeps/ieee754/ldbl-opt/w_atanhl.c: Likewise.
8849         * sysdeps/ieee754/ldbl-opt/w_cosh.c: Likewise.
8850         * sysdeps/ieee754/ldbl-opt/w_coshl.c: Likewise.
8851         * sysdeps/ieee754/ldbl-opt/w_exp10.c: Likewise.
8852         * sysdeps/ieee754/ldbl-opt/w_exp10l.c: Likewise.
8853         * sysdeps/ieee754/ldbl-opt/w_fmod.c: Likewise.
8854         * sysdeps/ieee754/ldbl-opt/w_fmodl.c: Likewise.
8855         * sysdeps/ieee754/ldbl-opt/w_hypot.c: Likewise.
8856         * sysdeps/ieee754/ldbl-opt/w_hypotl.c: Likewise.
8857         * sysdeps/ieee754/ldbl-opt/w_j0.c: Likewise.
8858         * sysdeps/ieee754/ldbl-opt/w_j0l.c: Likewise.
8859         * sysdeps/ieee754/ldbl-opt/w_j1.c: Likewise.
8860         * sysdeps/ieee754/ldbl-opt/w_j1l.c: Likewise.
8861         * sysdeps/ieee754/ldbl-opt/w_jn.c: Likewise.
8862         * sysdeps/ieee754/ldbl-opt/w_jnl.c: Likewise.
8863         * sysdeps/ieee754/ldbl-opt/w_log10.c: Likewise.
8864         * sysdeps/ieee754/ldbl-opt/w_log10l.c: Likewise.
8865         * sysdeps/ieee754/ldbl-opt/w_log2.c: Likewise.
8866         * sysdeps/ieee754/ldbl-opt/w_log2l.c: Likewise.
8867         * sysdeps/ieee754/ldbl-opt/w_log.c: Likewise.
8868         * sysdeps/ieee754/ldbl-opt/w_logl.c: Likewise.
8869         * sysdeps/ieee754/ldbl-opt/w_pow.c: Likewise.
8870         * sysdeps/ieee754/ldbl-opt/w_powl.c: Likewise.
8871         * sysdeps/ieee754/ldbl-opt/w_remainder.c: Likewise.
8872         * sysdeps/ieee754/ldbl-opt/w_remainderl.c: Likewise.
8873         * sysdeps/ieee754/ldbl-opt/w_scalb.c: Likewise.
8874         * sysdeps/ieee754/ldbl-opt/w_scalbl.c: Likewise.
8875         * sysdeps/ieee754/ldbl-opt/w_sinh.c: Likewise.
8876         * sysdeps/ieee754/ldbl-opt/w_sinhl.c: Likewise.
8877         * sysdeps/ieee754/ldbl-opt/w_sqrt.c: Likewise.
8878         * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: Likewise.
8879         * sysdeps/ieee754/ldbl-opt/w_tgamma.c: Likewise.
8880         * sysdeps/ieee754/ldbl-opt/w_tgammal.c: Likewise.
8881         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S:
8882         Likewise.
8883         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S:
8884         Likewise.
8885         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: Likewise.
8886         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S:
8887         Likewise.
8888         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S:
8889         Likewise.
8890         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: Likewise.
8891         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8892         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8893         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8894         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8895         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
8896         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
8897         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: Likewise.
8898         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
8899         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: Likewise.
8900         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
8901         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
8902         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
8903         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
8904         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
8906         * sysdeps/i386/fpu/w_sqrt_compat.c: New file copied from above
8907         and adjusted for new #includes path
8908         * sysdeps/ia64/fpu/w_acos_compat.c: Likewise.
8909         * sysdeps/ia64/fpu/w_acosf_compat.c: Likewise.
8910         * sysdeps/ia64/fpu/w_acosh_compat.c: Likewise.
8911         * sysdeps/ia64/fpu/w_acoshf_compat.c: Likewise.
8912         * sysdeps/ia64/fpu/w_acoshl_compat.c: Likewise.
8913         * sysdeps/ia64/fpu/w_acosl_compat.c: Likewise.
8914         * sysdeps/ia64/fpu/w_asin_compat.c: Likewise.
8915         * sysdeps/ia64/fpu/w_asinf_compat.c: Likewise.
8916         * sysdeps/ia64/fpu/w_asinl_compat.c: Likewise.
8917         * sysdeps/ia64/fpu/w_atan2_compat.c: Likewise.
8918         * sysdeps/ia64/fpu/w_atan2f_compat.c: Likewise.
8919         * sysdeps/ia64/fpu/w_atan2l_compat.c: Likewise.
8920         * sysdeps/ia64/fpu/w_atanh_compat.c: Likewise.
8921         * sysdeps/ia64/fpu/w_atanhf_compat.c: Likewise.
8922         * sysdeps/ia64/fpu/w_atanhl_compat.c: Likewise.
8923         * sysdeps/ia64/fpu/w_cosh_compat.c: Likewise.
8924         * sysdeps/ia64/fpu/w_coshf_compat.c: Likewise.
8925         * sysdeps/ia64/fpu/w_coshl_compat.c: Likewise.
8926         * sysdeps/ia64/fpu/w_exp10_compat.c: Likewise.
8927         * sysdeps/ia64/fpu/w_exp10f_compat.c: Likewise.
8928         * sysdeps/ia64/fpu/w_exp10l_compat.c: Likewise.
8929         * sysdeps/ia64/fpu/w_exp2_compat.c: Likewise.
8930         * sysdeps/ia64/fpu/w_exp2f_compat.c: Likewise.
8931         * sysdeps/ia64/fpu/w_exp2l_compat.c: Likewise.
8932         * sysdeps/ia64/fpu/w_fmod_compat.c: Likewise.
8933         * sysdeps/ia64/fpu/w_fmodf_compat.c: Likewise.
8934         * sysdeps/ia64/fpu/w_fmodl_compat.c: Likewise.
8935         * sysdeps/ia64/fpu/w_hypot_compat.c: Likewise.
8936         * sysdeps/ia64/fpu/w_hypotf_compat.c: Likewise.
8937         * sysdeps/ia64/fpu/w_hypotl_compat.c: Likewise.
8938         * sysdeps/ia64/fpu/w_log10_compat.c: Likewise.
8939         * sysdeps/ia64/fpu/w_log10f_compat.c: Likewise.
8940         * sysdeps/ia64/fpu/w_log10l_compat.c: Likewise.
8941         * sysdeps/ia64/fpu/w_log2_compat.c: Likewise.
8942         * sysdeps/ia64/fpu/w_log2f_compat.c: Likewise.
8943         * sysdeps/ia64/fpu/w_log2l_compat.c: Likewise.
8944         * sysdeps/ia64/fpu/w_log_compat.c: Likewise.
8945         * sysdeps/ia64/fpu/w_logf_compat.c: Likewise.
8946         * sysdeps/ia64/fpu/w_logl_compat.c: Likewise.
8947         * sysdeps/ia64/fpu/w_pow_compat.c: Likewise.
8948         * sysdeps/ia64/fpu/w_powf_compat.c: Likewise.
8949         * sysdeps/ia64/fpu/w_powl_compat.c: Likewise.
8950         * sysdeps/ia64/fpu/w_remainder_compat.c: Likewise.
8951         * sysdeps/ia64/fpu/w_remainderf_compat.c: Likewise.
8952         * sysdeps/ia64/fpu/w_remainderl_compat.c: Likewise.
8953         * sysdeps/ia64/fpu/w_scalb_compat.c: Likewise.
8954         * sysdeps/ia64/fpu/w_scalbf_compat.c: Likewise.
8955         * sysdeps/ia64/fpu/w_scalbl_compat.c: Likewise.
8956         * sysdeps/ia64/fpu/w_sinh_compat.c: Likewise.
8957         * sysdeps/ia64/fpu/w_sinhf_compat.c: Likewise.
8958         * sysdeps/ia64/fpu/w_sinhl_compat.c: Likewise.
8959         * sysdeps/ia64/fpu/w_sqrt_compat.c: Likewise.
8960         * sysdeps/ia64/fpu/w_sqrtf_compat.c: Likewise.
8961         * sysdeps/ia64/fpu/w_sqrtl_compat.c: Likewise.
8962         * sysdeps/ia64/fpu/w_tgamma_compat.S: Likewise.
8963         * sysdeps/ia64/fpu/w_tgammaf_compat.S: Likewise.
8964         * sysdeps/ia64/fpu/w_tgammal_compat.S: Likewise.
8965         * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Likewise.
8966         * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
8967         * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
8968         * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
8969         * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
8970         * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
8971         * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
8972         * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
8973         * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
8974         * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
8975         * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
8976         * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
8977         * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c: Likewise.
8978         * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Likewise.
8979         * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
8980         * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
8981         * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
8982         * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
8983         * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
8984         * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
8985         * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
8986         * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
8987         * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
8988         * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
8989         * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
8990         * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
8991         * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
8992         * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
8993         * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
8994         * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
8995         * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
8996         * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
8997         * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c: Likewise.
8998         * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
8999         * sysdeps/ieee754/ldbl-opt/w_scalb_compat.c: Likewise.
9000         * sysdeps/ieee754/ldbl-opt/w_scalbl_compat.c: Likewise.
9001         * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
9002         * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
9003         * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
9004         * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
9005         * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
9006         * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
9007         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
9008         Likewise.
9009         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
9010         Likewise.
9011         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
9012         Likewise.
9013         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
9014         Likewise.
9015         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
9016         Likewise.
9017         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
9018         Likewise.
9019         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
9020         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
9021         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
9022         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
9023         * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
9024         * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
9025         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
9026         Likewise.
9027         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
9028         Likewise.
9029         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
9030         Likewise.
9031         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
9032         Likewise.
9033         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
9034         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
9035         * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
9036         * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
9038 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
9040         * sysdeps/microblaze/bits/setjmp.h (__jmp_buf): Give struct tag
9041         __jmp_buf_internal_tag.
9043         * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Always
9044         preserve NaN payload if [__mips_nan2008].
9045         * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
9047         [BZ #21022]
9048         * sysdeps/microblaze/backtrace.c (get_frame_size): Make static.
9050 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
9052         * sysdeps/i386/fpu/libm-test-ulps: Update.
9054 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9056         * sysdeps/ia64/strcat.c: Remove file.
9057         * sysdeps/powerpc/strcat.c: Likewise.
9058         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default
9059         C implementation.
9060         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise.
9061         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise.
9063 2017-01-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9064             Steven Munroe  <sjmunroe@us.ibm.com>
9065             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9067         [BZ #20822]
9068         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
9069         (__lll_lock_elision): Access adapt_count via C11 atomics.
9070         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
9071         (__lll_trylock_elision): Likewise.
9072         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
9073         (__lll_unlock_elision):  Update adapt_count variable inside the
9074         critical section using C11 atomics.
9076 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
9078         * math/test-fenvinline.c (do_test): Disable tests of raised
9079         exceptions if !EXCEPTION_TESTS (FLOAT).
9081 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9083         [BZ #19390]
9084         * string/test-strncat.c (test_main): Add tests with SIZE_MAX as
9085         maximum string size.
9086         * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow
9087         in pointer addition.
9088         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):
9089         Likewise.
9091 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
9093         * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments
9094         passed to tst-ldconfig-X.sh.
9096 2017-01-03  Martin Galvan  <martingalvan@sourceware.org>
9098         * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
9100 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
9102         [BZ #21019]
9103         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
9104         New syscall entry.
9105         * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
9106         * io/test-lfs.c (do_test): Test offset returned from lseek64 and
9107         lseek.
9109         * scripts/build-many-glibcs.py (Context.add_all_configs): Add
9110         power4 glibc for powerpc-linux-gnu.
9112 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9114         * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
9115         semctl.
9117 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
9119         * math/test-nearbyint-except.c: Include <stdbool.h>.
9120         (any_supported): New variable.
9121         (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT).  Otherwise
9122         set any_supported.
9123         (do_test): Return 77 if no floating-point type supported
9124         exceptions.
9126         * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
9127         condition on [__mips_hard_float].
9129 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9131         [BZ #21014]
9132         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
9133         in pointer addition.
9134         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
9136 2017-01-02  Torvald Riegel  <triegel@redhat.com>
9138         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
9139         new condvar.
9141 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
9143         * scripts/build-many-glibcs.py (Context.checkout): Default
9144         binutils version to 2.28 branch.
9146 2017-01-01  Florian Weimer  <fweimer@redhat.com>
9148         * support/support_format_netent.c (support_format_netent): Work
9149         around alpha struct netent definition difference.
9151 2017-01-01  Florian Weimer  <fweimer@redhat.com>
9153         * support/xwrite.c (xwrite): Use %td for pointer difference.
9155 2017-01-01  Florian Weimer  <fweimer@redhat.com>
9157         * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
9158         have-tunables only.
9159         (tests-static): Add tst-malloc-usable-static-tunables for
9160         have-tunables only.
9162 2017-01-01  Joseph Myers  <joseph@codesourcery.com>
9164         * scripts/config.guess: Update to version 2017-01-01.
9165         * scripts/config.sub: Update to version 2017-01-01.
9167         * NEWS: Update copyright dates.
9168         * catgets/gencat.c (print_version): Likewise.
9169         * csu/version.c (banner): Likewise.
9170         * debug/catchsegv.sh: Likewise.
9171         * debug/pcprofiledump.c (print_version): Likewise.
9172         * debug/xtrace.sh (do_version): Likewise.
9173         * elf/ldconfig.c (print_version): Likewise.
9174         * elf/ldd.bash.in: Likewise.
9175         * elf/pldd.c (print_version): Likewise.
9176         * elf/sotruss.sh: Likewise.
9177         * elf/sprof.c (print_version): Likewise.
9178         * iconv/iconv_prog.c (print_version): Likewise.
9179         * iconv/iconvconfig.c (print_version): Likewise.
9180         * locale/programs/locale.c (print_version): Likewise.
9181         * locale/programs/localedef.c (print_version): Likewise.
9182         * login/programs/pt_chown.c (print_version): Likewise.
9183         * malloc/memusage.sh (do_version): Likewise.
9184         * malloc/memusagestat.c (print_version): Likewise.
9185         * malloc/mtrace.pl: Likewise.
9186         * manual/libc.texinfo: Likewise.
9187         * nptl/version.c (banner): Likewise.
9188         * nscd/nscd.c (print_version): Likewise.
9189         * nss/getent.c (print_version): Likewise.
9190         * nss/makedb.c (print_version): Likewise.
9191         * posix/getconf.c (main): Likewise.
9192         * scripts/test-installation.pl: Likewise.
9193         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
9195         * All files with FSF copyright notices: Update copyright dates
9196         using scripts/update-copyrights.
9197         * intl/plural.c: Regenerated.
9198         * locale/programs/charmap-kw.h: Likewise.
9199         * locale/programs/locfile-kw.h: Likewise.
9201 2016-12-31  Florian Weimer  <fweimer@redhat.com>
9203         [BZ #20593]
9204         Update DNS RR type definitions.
9205         * scripts/gen-rrtypes.py: New file.
9206         * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
9207         BIND-internal RR type not used on the Internet.  Add ns_t_ds,
9208         ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
9209         ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
9210         ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
9211         ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
9212         ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
9213         ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
9214         ns_t_ta, ns_t_dlv.
9215         * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
9216         (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
9217         (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
9218         (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
9219         (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
9220         (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
9221         Define.
9222         * resolv/res_debug.c (__p_type_syms): Update comment.  Remove
9223         entry for ns_t_zxfr.
9225 2016-12-31  Florian Weimer  <fweimer@redhat.com>
9227         [BZ #18784]
9228         CVE-2015-5180
9229         * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
9230         T_UNSPEC.  Adjust value.
9231         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
9232         * resolv/res_query.c (__libc_res_nquery): Likewise.
9233         * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
9234         QTYPEs.
9235         * resolv/tst-resolv-qtypes.c: New file.
9236         * resolv/Makefile (xtests): Add tst-resolv-qtypes.
9237         (tst-resolv-qtypes): Link against libresolv and libpthread.
9239 2016-12-31  Florian Weimer  <fweimer@redhat.com>
9241         * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
9243 2016-12-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9245         * manual/tunables.texi: New chapter.
9246         * manual/Makefile (chapters): Add it.
9247         * manual/probes.texi (@node): Point to the Tunables chapter.
9249         * Makeconfig (have-tunables): Check for non-negative instead
9250         of positive.
9251         * configure.ac: Add 'valstring' as a valid value for
9252         --enable-tunables.
9253         * configure: Regenerate.
9254         * elf/Makefile (have-tunables): Check for non-negative instead
9255         of positive.
9256         (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
9257         dl-tunables.c.
9258         * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
9259         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
9260         (tunables_strdup): Likewise.
9261         (disable_tunables): Likewise.
9262         (parse_tunables): Likewise.
9263         (__tunables_init): Process GLIBC_TUNABLES envvar only when.
9264         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
9265         * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
9266         (TUNABLES_FRONTEND_yes): New macro, define as
9267         TUNABLES_FRONTEND_valstring by default.
9268         * manual/install.texi: Document new acceptable values for
9269         --enable-tunables.
9270         * INSTALL: Regenerate.
9272         * config.make.in (have-loop-to-function): Define.
9273         * elf/Makefile (CFLAGS-dl-tunables.c): Add
9274         -fno-tree-loop-distribute-patterns.
9275         * elf/dl-tunables.c: Include libc-internals.h.
9276         (GLIBC_TUNABLES): New macro.
9277         (tunables_strdup): New function.
9278         (parse_tunables): New function.
9279         (min_strlen): New function.
9280         (__tunables_init): Use the new functions and macro.
9281         (disable_tunable): Disable tunable from GLIBC_TUNABLES.
9282         * malloc/tst-malloc-usable-tunables.c: New test case.
9283         * malloc/tst-malloc-usable-static-tunables.c: New test case.
9284         * malloc/Makefile (tests, tests-static): Add tests.
9286         * manual/install.texi: Add --enable-tunables option.
9287         * INSTALL: Regenerate.
9288         * README.tunables: New file.
9289         * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
9290         (before-compile): Generate dl-tunable-list.h early.
9291         * config.h.in: Add HAVE_TUNABLES.
9292         * config.make.in: Add have-tunables.
9293         * configure.ac: Add --enable-tunables option.
9294         * configure: Regenerate.
9295         * csu/init-first.c (__libc_init_first): Move
9296         __libc_init_secure earlier...
9297         * csu/init-first.c (LIBC_START_MAIN):... to here.
9298         Include dl-tunables.h, libc-internal.h.
9299         (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
9300         binaries.
9301         * elf/Makefile (dl-routines): Add dl-tunables.
9302         * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
9303         namespace.
9304         * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
9305         only when !HAVE_TUNABLES.
9306         * elf/rtld.c (process_envvars): Likewise.
9307         * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
9308         (_dl_sysdep_start): Call __tunables_init.
9309         * elf/dl-tunable-types.h: New file.
9310         * elf/dl-tunables.c: New file.
9311         * elf/dl-tunables.h: New file.
9312         * elf/dl-tunables.list: New file.
9313         * malloc/tst-malloc-usable-static.c: New test case.
9314         * malloc/Makefile (tests-static): Add it.
9315         * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
9316         Define TUNABLE_NAMESPACE.
9317         (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
9318         (DL_TUNABLE_CALLBACK_FNDECL): New macro.  Use it to define
9319         callback functions.
9320         (ptmalloc_init): Set tunable values.
9321         * scripts/gen-tunables.awk: New file.
9322         * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
9323         (_dl_sysdep_start): Call __tunables_init.
9325 2016-12-31  Florian Weimer  <fweimer@redhat.com>
9327         * resolv/resolv.h (RES_BLAST): Deprecate.
9328         * resolv/res_debug.c (p_option): Remove RES_BLAST.
9329         * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
9330         to RES_BLAST.
9332 2016-12-27  Florian Weimer  <fweimer@redhat.com>
9334         [BZ #19582]
9335         Deprecate RES_USE_INET6.
9336         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
9337         (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
9338         (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
9339         RES_USE_INET6.
9340         * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
9341         (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
9342         (_nss_nisplus_gethostbyaddr_r): Likewise.
9343         * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
9344         of res_use_inet6.
9345         * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
9346         instead of RES_USE_INET6.
9347         * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
9348         * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
9349         (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
9350         Likewise.
9351         * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
9352         (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
9353         Likewise.
9354         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
9355         (_nss_dns_gethostbyname_r): Likewise.
9356         (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
9357         alternate RES_USE_INET6 handling.
9358         * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
9359         instead of RES_USE_INET6.
9360         * resolv/res_init.c (res_setoptions): Likewise.
9361         * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
9362         * resolv/resolv-internal.h: New file.
9363         * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
9364         make the deprecation warning non-fatal.
9365         * resolv/README (Using the resolver in multi-threaded code): Drop
9366         reference to RES_USE_INET6.
9367         * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
9368         DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
9370 2016-12-31  Florian Weimer  <fweimer@redhat.com>
9372         * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
9373         tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
9374         tst-resolv-search.
9375         (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
9376         (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
9377         with libresolv and libpthread.
9378         * resolv/tst-bug18665.c: New file.
9379         * resolv/tst-bug18665-tcp: Likewise.
9380         * resolv/tst-res_use_inet6: Likewise.
9381         * resolv/tst-resolv-basic: Likewise.
9382         * resolv/tst-resolv-network: Likewise.
9383         * resolv/tst-resolv-search: Likewise.
9384         * support/Makefile (libsupport-routines): Add check_addrinfo,
9385         check_dns_packet, check_hostent, check_netent, resolv_test,
9386         support_format_address_family, support_format_addrinfo,
9387         support_format_dns_packet, support_format_herrno,
9388         support_format_hostent, support_format_netent, support_run_diff,
9389         xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
9390         xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
9391         xstrdup, xwrite.
9392         * support/check_addrinfo.c: New file.
9393         * support/check_dns_packet.c: Likewise.
9394         * support/check_hostent.c: Likewise.
9395         * support/check_netent.c: Likewise.
9396         * support/check_nss.h: Likewise.
9397         * support/format_nss.h: Likewise.
9398         * support/resolv_test.c: Likewise.
9399         * support/resolv_test.h: Likewise.
9400         * support/run_diff.h: Likewise.
9401         * support/support_format_address_family.c: Likewise.
9402         * support/support_format_addrinfo.c: Likewise.
9403         * support/support_format_dns_packet.c: Likewise.
9404         * support/support_format_herrno.c: Likewise.
9405         * support/support_format_hostent.c: Likewise.
9406         * support/support_format_netent.c: Likewise.
9407         * support/support_run_diff.c: Likewise.
9408         * support/xaccept.c: Likewise.
9409         * support/xbind.c: Likewise.
9410         * support/xconnect.c: Likewise.
9411         * support/xfclose.c: Likewise.
9412         * support/xfopen.c: Likewise.
9413         * support/xgetsockname.c: Likewise.
9414         * support/xlisten.c: Likewise.
9415         * support/xmemstream.c: Likewise.
9416         * support/xmemstream.h: Likewise.
9417         * support/xpoll.c: Likewise.
9418         * support/xpthread_once.c: Likewise.
9419         * support/xrecvfrom.c: Likewise.
9420         * support/xsendto.c: Likewise.
9421         * support/xsetsockopt.c: Likewise.
9422         * support/xstdio.h: Likewise.
9423         * support/xstrdup.c: Likewise.
9424         * support/support.h (xstrdup): Declare.
9425         * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
9426         (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
9427         * support/xthread.h (xpthread_once): Likwise.
9428         * support/xunistd.h (xwrite): Declare.
9430 2016-12-31  Florian Weimer  <fweimer@redhat.com>
9432         * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
9433         (test_verbose): Declare.
9434         * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
9435         * support/support_test_main.c (default_options): Likewise.
9436         (usage, support_test_main): Handle 'v'.
9437         (test_verbose): Define.
9438         * support/tst-support_record_failure.c (do_test): Use
9439         test_verbose.
9440         * support/tst-support_record_failure-2.sh (different_status): Add
9441         --verbose test.
9443 2016-12-31  Florian Weimer  <fweimer@redhat.com>
9445         * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
9446         test failures are recorded.
9447         * support/check.c (support_print_failure_impl): Call
9448         support_record_failure.
9449         (support_exit_failure_impl): Call support_record_failure if status
9450         indicates failure.
9451         * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
9452         * support/xasprintf.c (xasprintf): Likewise.
9453         * support/xfork.c (xfork): Likewise.
9454         * support/xpthread_check_return.c (xpthread_check_return):
9455         Likewise.
9456         * support/xsocket.c (xsocket): Likeweise.
9457         * support/xwaitpid.c (xwaitpid): Likewise.
9458         * support/support_record_failure.c (struct test_failures): Adjust
9459         to coding style.
9460         * support/support_test_verify_impl.c (support_test_verify_impl):
9461         Adjust error messages.
9462         * support/tst-support_record_failure-2.sh (different_status):
9463         Adjust error messages.
9465 2016-12-31  Florian Weimer  <fweimer@redhat.com>
9467         * support/namespace.h: New file.
9468         * support/support_become_root.c: Likewise.
9469         * support/support_enter_network_namespace.c: Likewise.
9470         * support/tst-support-namespace.c: Likewise.
9471         * support/xsocket.c: Likewise.
9472         * support/xsocket.h: Likewise.
9473         * support/Makefile (libsupport-routines): Add support_become_root,
9474         support_enter_network_namespace, xsocket.
9475         (tests): Add tst-support-namespace.
9477 2016-12-31  Florian Weimer  <fweimer@redhat.com>
9479         [BZ #17252]
9480         * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
9481         __USE_GNU.
9483 2016-12-31  Torvald Riegel  <triegel@redhat.com>
9485         [BZ #13165]
9486         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
9487         use new algorithm.
9488         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
9489         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
9490         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
9491         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
9492         (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
9493         (__condvar_confirm_wakeup, __condvar_cancel_waiting,
9494         __condvar_cleanup_waiting, __condvar_dec_grefs,
9495         __pthread_cond_wait_common): New.
9496         (__condvar_cleanup): Remove.
9497         * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
9498         * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
9499         Likewise.
9500         * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
9501         Likewise.
9502         * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
9503         * nptl/tst-cond1.c: Add comment.
9504         * nptl/tst-cond20.c (do_test): Adapt.
9505         * nptl/tst-cond22.c (do_test): Likewise.
9506         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
9507         structure.
9508         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
9509         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
9510         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
9511         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
9512         Likewise.
9513         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
9514         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
9515         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
9516         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
9517         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
9518         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
9519         Likewise.
9520         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
9521         Likewise.
9522         * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
9523         * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
9524         (COND_CLOCK_BITS): Adapt.
9525         * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
9526         * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
9527         __PTHREAD_COND_SHARED_MASK): New.
9528         * nptl/nptl-printers.py (CLOCK_IDS): Remove.
9529         (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
9530         * nptl/nptl_lock_constants.pysym: Adapt.
9531         * nptl/test-cond-printers.py: Adapt.
9532         * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
9533         cond_compat_check_and_clear): Adapt.
9534         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
9535         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
9536         (__pthread_cond_timedwait): ... and move here.
9537         * nptl/DESIGN-condvar.txt: Remove file.
9538         * nptl/lowlevelcond.sym: Likewise.
9539         * nptl/pthread_cond_timedwait.c: Likewise.
9540         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
9541         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
9542         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
9543         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
9544         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
9545         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
9546         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
9547         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
9548         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
9549         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
9550         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
9551         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
9552         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
9553         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
9554         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
9555         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
9557 2016-12-31  Joseph Myers  <joseph@codesourcery.com>
9559         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9560         (fromfp): New declaration.
9561         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
9562         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
9563         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
9564         * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
9565         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
9566         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
9567         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
9568         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
9569         * math/math.h: Include <bits/types.h>.
9570         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
9571         constant and macro.
9572         (FP_INT_DOWNWARD): Likewise.
9573         (FP_INT_TOWARDZERO): Likewise.
9574         (FP_INT_TONEARESTFROMZERO): Likewise.
9575         (FP_INT_TONEAREST): Likewise.
9576         * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
9577         (fromfpf): Likewise.
9578         (fromfpl): Likewise.
9579         (ufromfp): Likewise.
9580         (ufromfpf): Likewise.
9581         (ufromfpl): Likewise.
9582         (fromfpx): Likewise.
9583         (fromfpxf): Likewise.
9584         (fromfpxl): Likewise.
9585         (ufromfpx): Likewise.
9586         (ufromfpxf): Likewise.
9587         (ufromfpxl): Likewise.
9588         * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
9589         s_fromfpxF and s_ufromfpxF.
9590         * math/gen-fromfp-tests.py: New file.
9591         * math/gen-fromfp-tests-inputs: Likewise.
9592         * math/libm-test.inc: Include <stdint.h>
9593         (check_intmax_t): New function.
9594         (check_uintmax_t): Likewise.
9595         (struct test_fiu_M_data): New type.
9596         (struct test_fiu_U_data): Likewise.
9597         (RUN_TEST_fiu_M): New macro.
9598         (RUN_TEST_LOOP_fiu_M): Likewise.
9599         (RUN_TEST_fiu_U): Likewise.
9600         (RUN_TEST_LOOP_fiu_U): Likewise.
9601         (fromfp_test_data): New array.
9602         (fromfp_test): New function.
9603         (fromfpx_test_data): New array.
9604         (fromfpx_test): New function.
9605         (ufromfp_test_data): New array.
9606         (ufromfp_test): New function.
9607         (ufromfpx_test_data): New array.
9608         (ufromfpx_test): New function.
9609         (main): Call fromfp_test, fromfpx_test, ufromfp_test and
9610         ufromfpx_test.
9611         * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
9612         characters.
9613         * math/test-tgmath-ret.c: Include <stdint.h>.
9614         (rm): New variable.
9615         (width): Likewise.
9616         (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
9617         called function.
9618         (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
9619         CHECK_RET_CONST_TYPE.
9620         (CHECK_RET_CONST_DOUBLE): Likewise.
9621         (CHECK_RET_CONST_LDOUBLE): Likewise.
9622         (CHECK_RET_CONST): Take extra arguments and pass them to calls
9623         macros.
9624         (fromfp): New CHECK_RET_CONST call.
9625         (ufromfp): Likewise.
9626         (fromfpx): Likewise.
9627         (ufromfpx): Likewise.
9628         (do_test): Call check_return_fromfp, check_return_ufromfp,
9629         check_return_fromfpx and check_return_ufromfpx.
9630         * math/test-tgmath.c: Include <stdint.h>
9631         (NCALLS): Increase to 138.
9632         (F(compile_test)): Initialize i.  Call fromfp functions.
9633         (F(fromfp)): New function.
9634         (F(fromfpx)): Likewise.
9635         (F(ufromfp)): Likewise.
9636         (F(ufromfpx)): Likewise.
9637         * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
9638         FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
9639         FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
9640         ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
9641         ufromfpxl.
9642         * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
9643         ufromfp and ufromfpx.
9644         * math/fromfp.h: New file.
9645         * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
9646         * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
9647         * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
9648         * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
9649         * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
9650         * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
9651         * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
9652         * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
9653         * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
9654         * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
9655         * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
9656         * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
9657         * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
9658         * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
9659         * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
9660         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
9661         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
9662         * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
9663         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
9664         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
9665         * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
9666         * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
9667         * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
9668         * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
9669         * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
9670         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
9671         ufromfp, fromfpx and ufromfpx.
9672         (CFLAGS-nldbl-fromfp.c): New variable.
9673         (CFLAGS-nldbl-fromfpx.c): Likewise.
9674         (CFLAGS-nldbl-ufromfp.c): Likewise.
9675         (CFLAGS-nldbl-ufromfpx.c): Likewise.
9676         * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
9677         * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
9678         * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
9679         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
9680         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
9681         * sysdeps/nacl/libm.abilist: Update.
9682         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9683         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9684         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9685         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9686         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9687         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9688         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9689         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9690         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9691         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9692         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9693         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9694         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9695         Likewise.
9696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9697         Likewise.
9698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9699         Likewise.
9700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9701         Likewise.
9702         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9703         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9704         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9705         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9706         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9707         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9708         Likewise.
9709         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9710         Likewise.
9711         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9712         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9713         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9715 2016-12-30  Florian Weimer  <fweimer@redhat.com>
9717         * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
9718         compat-gethnamaddr.
9719         (CPPFLAGS): Remove.
9720         * resolv/gethnamaddr.c: Rename ...
9721         * resolv/compat-gethnamaddr.c: ... to this file.
9722         (_endhtent): Make static.
9723         (res_gethostbyname): Renamed from gethostbyname.  Turn into compat
9724         symbol.
9725         (res_gethostbyname2): Renamed from gethostbyname2.  Turn into
9726         compat symbol.
9727         (res_gethostbyaddr): Renamed from gethostbyaddr.  Turn into compat
9728         symbol.
9729         (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
9730         Turn into compat symbol.
9731         * include/resolv.h (_endhtent): Remove declaration.
9733 2016-12-30  Joseph Myers  <joseph@codesourcery.com>
9735         * bits/types.h (__intmax_t): New typedef.
9736         (__uintmax_t): Likewise.
9737         * sysdeps/generic/stdint.h: Include <bits/types.h>.
9738         (intmax_t): Define using __intmax_t.
9739         (uintmax_t): Define using __uintmax_t.
9741         * support/Makefile (tests-special): Make definition conditional on
9742         [$(run-built-tests) = yes].
9743         ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
9744         on [$(run-built-tests) = yes].
9746 2016-12-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9748         * Rules (tests): Add tests-printers-programs to tests to be
9749         built.
9751 2016-12-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9753         * sysvipc/Makefile (tests): Add test-sysvshm.
9754         * sysvipc/test-sysvshm.c: New file.
9756         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
9757         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
9758         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
9759         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
9760         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
9761         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
9762         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
9763         Likewise.
9764         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
9765         Likewise.
9766         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
9767         * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
9768         is defined.
9770         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
9771         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
9772         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
9773         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
9774         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
9775         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
9776         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
9777         Likewise.
9778         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
9779         Likewise.
9780         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
9781         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
9782         defined.
9784         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
9785         oldshmctl.
9786         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
9787         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
9788         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
9789         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
9790         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
9791         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
9792         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
9793         Likewise.
9794         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
9795         Likewise.
9796         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
9797         * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
9798         * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
9799         * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
9800         * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
9801         implementation.
9802         * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
9803         if it is defined.
9805         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
9806         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
9807         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
9808         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
9809         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
9810         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
9811         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
9812         Likewise.
9813         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
9814         Likewise.
9815         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
9816         * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
9817         Define to __NR_osf_shmat.
9818         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
9819         defined.
9821         * sysvipc/Makefile (tests): Add test-sysvsem.
9822         * sysvipc/test-sysvsem.c: New file.
9824         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
9825         * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
9826         * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
9827         Likewise.
9828         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
9829         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
9830         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
9831         Likewise.
9832         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
9833         Likewise.
9834         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
9835         * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
9836         * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
9837         add a comment about s390 syscall difference from default one.
9838         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
9839         syscall if it is defined.
9841         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
9842         * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
9843         * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
9844         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
9845         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
9846         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
9847         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
9848         Likewise.
9849         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
9850         Likewise.
9851         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
9852         * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
9853         defined.
9855         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
9856         * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
9857         * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
9858         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
9859         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
9860         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
9861         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
9862         Likewise.
9863         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
9864         Likewise.
9865         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
9866         * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
9867         if it is defined.
9869         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
9870         oldsemctl.
9871         * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
9872         * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
9873         * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
9874         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
9875         * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
9876         implementation.
9877         * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
9878         syscall if it is defined.
9879         * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
9880         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
9881         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
9882         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
9883         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
9884         Likewise.
9885         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
9887         * sysvipc/Makefile (tests): Add test-sysvmsg.
9888         * sysvipc/test-sysvmsg.c: New file.
9889         * support/check.h (FAIL_UNSUPPORTED): New define.
9891         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
9892         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
9893         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
9894         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
9895         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
9896         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
9897         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
9898         Likewise.
9899         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
9900         Likewise.
9901         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
9902         * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
9903         define.
9905         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
9906         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
9907         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
9908         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
9909         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
9910         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
9911         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
9912         Likewise.
9913         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
9914         Likewise.
9915         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
9916         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
9917         if defined.
9919         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
9920         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
9921         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
9922         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
9923         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
9924         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
9925         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
9926         Likewise.
9927         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
9928         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
9929         Likewise.
9930         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
9931         if defined.
9932         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
9934         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
9935         oldmsgctl.
9936         * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
9937         * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
9938         * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
9939         * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
9940         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
9941         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
9942         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
9943         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
9944         Likewise.
9945         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
9946         * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
9947         implementation.
9948         * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
9949         if defined.
9951         * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
9952         * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
9953         definition and define its own.
9954         * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
9955         * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
9956         * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
9957         * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
9958         * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
9959         definitions to common header.
9960         * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
9961         operation from ipc_ops.h.
9963         * sysdeps/unix/sysv/linux/kernel-features.h
9964         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
9965         * sysdeps/unix/sysv/linux/i386/kernel-features.h
9966         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
9967         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9968         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
9969         * sysdeps/unix/sysv/linux/mips/kernel-features.h
9970         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
9971         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
9972         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
9973         * sysdeps/unix/sysv/linux/s390/kernel-features.h
9974         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
9975         * sysdeps/unix/sysv/linux/sh/kernel-features.h
9976         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
9977         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
9978         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
9980 2016-12-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9982         * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
9983         overflow in pointer addition.
9985 2016-12-28  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9987         * sysdeps/powerpc/powerpc64/multiarch/Makefile
9988         (sysdep_routines): Add strchr-power8 and strchrnul_power8.
9989         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9990         (strchr): Add __strchr_power8 to list of strchr functions.
9991         (strchrnul): Add __strchrnul_power8 to list of strchr functions.
9992         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
9993         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
9994         * sysdeps/powerpc/powerpc64/multiarch/strchr.c
9995         (strchr): Add __strchr_power8 to ifunc list.
9996         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
9997         (__strchrnul): Add __strchrnul_power8 to ifunc list.
9998         * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
9999         * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
10001 2016-12-28  Florian Weimer  <fweimer@redhat.com>
10003         * support/Makefile (libsupport-routines): Add
10004         support_test_verify_impl, support_record_failure, xfork, xwaitpid.
10005         (tests): Add tst-support_record_failure.
10006         (tests-special): tst-support_record_failure-2.
10007         (tst-support_record_failure-2.out): Depend on
10008         tst-support_record_failure-2.sh and tst-support_record_failure.
10009         * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
10010         (support_test_verify_impl, support_record_failure)
10011         (support_report_failure, support_report_failure_reset): Declare.
10012         * support/support_test_main.c (adjust_exit_status): New function.
10013         (support_test_main): Call it to incorporate record test failures.
10014         * support/support_test_verify_impl.c: New file.
10015         * support/support_record_failure.c: Likewise.
10016         * support/tst-support_record_failure.c: Likewise.
10017         * support/tst-support_record_failure-2.sh: Likewise.
10018         * support/xunistd.h: Likewise.
10019         * support/xfork.c: Likewise.
10020         * support/xwaitpid.c: Likewise.
10022 2016-12-27  Steve Ellcey  <sellcey@caviumnetworks.com>
10024         * scripts/check-c++-types.sh: Add comments.
10026 2016-12-27  Dmitry V. Levin  <ldv@altlinux.org>
10028         [BZ #19514]
10029         * resolv/res_send.c: Fix typo in comment.
10030         * sysdeps/i386/i386-mcount.S: Likewise.
10031         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
10032         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
10033         * sysdeps/sparc/sparc-mcount.S: Likewise.
10035 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10037         * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
10038         * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
10039         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
10040         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
10041         * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
10042         * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
10043         * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
10044         * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
10046 2016-12-27  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10048         * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
10050 2016-12-27  Florian Weimer  <fweimer@redhat.com>
10052         [BZ #17252]
10053         * posix/unistd.h (getentropy): Declare.
10055 2016-12-27  Florian Weimer  <fweimer@redhat.com>
10057         * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
10058         Remove.
10059         * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
10060         (cmd): Remove spoof, nospoof, spoofalert.
10061         (parse_line): Ignore spoof-related lines.
10062         (do_init): Do not process RESOLV_SPOOF_CHECK.
10064 2016-12-27  Florian Weimer  <fweimer@redhat.com>
10066         [BZ #20964]
10067         sunrpc: Always obtain AF_INET addresses from NSS.
10068         * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
10069         * sunrpc/rpc_gethostbyname.c: New file.
10070         * sunrpc/Makefile (routines): Add it.
10071         * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
10072         * sunrpc/clnt_simp.c (callrpc): Likewise.
10073         * sunrpc/getrpcport.c (getrpcport): Likewise.
10075 2016-12-27  Florian Weimer  <fweimer@redhat.com>
10077         * sunrpc/rpcinfo.c: Remove.
10078         * sunrpc/Makefile: Remove comments referring to rpcinfo.
10080 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10082         [BZ #19387]
10083         * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
10084         addition.
10085         * string/test-memchr.c (do_test): Remove alignment limitation.
10086         (test_main): Add test that trigger BZ #19387.
10088 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
10090         [BZ #7065]
10091         Enable stack protectore if requested by ./configure.
10092         * Makeconfig (+stack-protector): New variable.
10093         (+cflags): Use it.
10095 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
10097         [BZ #7065]
10098         * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
10099         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
10100         (__rt_sigreturn_stub): Use inhibit_stack_protector.
10101         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
10102         (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
10104 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
10106         [BZ #7065]
10107         * login/Makefile (pt_chown-cflags): Remove.
10108         * nscd/Makefile (CFLAGS-nscd): Likewise.
10109         * resolv/Makefile (CFLAGS-libresolv): Likewise.
10111 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
10113         [BZ #7065]
10114         * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
10115         non-libc-linking testcase.
10117 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
10118             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10119             Florian Weimer  <fweimer@redhat.com>
10121         [BZ #7065]
10122         PLT avoidance for __stack_chk_fail*.
10123         * debug/Makefile (CFLAGS-stack_chk_fail.c)
10124         (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
10125         * debug/stack_chk_fail.c (__stack_chk_fail): Add
10126         __stack_chk_fail_local alias.
10127         * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
10128         (__stack_chk_fail): Turn into hidden reference to
10129         __stack_chk_fail_local.
10131 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
10133         [BZ #7065]
10134         * configure.ac: Add check for unsupported stack-protection level.
10135         (libc_cv_predef_stack_protector): Remove.
10136         (no_ssp): New variable.
10137         (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
10138         (stack_protector): Set to -fno-stack-protector similarly.
10139         (libc_cv_ld_gnu_indirect_function): Use no_ssp.
10140         (libc_cv_asm_set_directive): Likewise.
10141         (libc_cv_protected_data): Likewise.
10142         (libc_cv_z_combreloc): Likewise.
10143         (libc_cv_hashstyle): Likewise.
10144         (libc_cv_has_glob_dat): Likewise.
10145         (libc_cv_output_format): Likewise.
10146         (libc_cv_output_format): Likewise.
10147         (libc_cv_ehdr_start): Likewise.
10148         * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
10149         (LIBC_LINKER_FEATURE): Likewise.
10150         (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
10152 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
10154         [BZ #7065]
10155         * elf/Makefile (dummy-stack-chk-fail): New.
10156         (librtld.map): Use it.
10158 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
10160         [BZ #7065]
10161         Compile the dynamic linker without stack protection.
10162         * elf/Makefile (elide-stack-protector): New.
10163         (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
10164         (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
10165         * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
10166         * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
10168 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
10170         [BZ #7065]
10171         * config.make.in (have-ssp, no-stack-protector): New.
10172         * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
10173         * misc/Makefile (CFLAGS-sbrk.o): Likewise.
10174         (CFLAGS-sbrk.op): Likewise.
10175         (CFLAGS-brk.o): Likewise.
10176         (CFLAGS-brk.op): Likewise.
10177         * string/Makefile (CFLAGS-memcpy.c): Likewise.
10178         (CFLAGS-wordcopy.c): Likewise.
10180 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
10182         [BZ #7065]
10183         * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
10184         * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
10185         * include/libc-symbols.h (inhibit_stack_protector): New macro.
10186         (__ifunc_resolver): Use it.
10187         * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
10188         inhibit_stack_protector.
10189         * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
10190         * elf/ifuncmain7.c (foo_ifunc): Likewise.
10191         * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
10192         (foo_protected_ifunc): Likewise.
10193         * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
10194         (foo_protected_ifunc): Likewise.
10195         * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
10196         * sysdeps/nacl/nacl_interface_query.c
10197         (nacl_interface_query_ifunc): Likewise.
10198         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
10199         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
10200         Likewise.
10201         * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
10202         * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
10203         the generated vDSO syscall resolver.
10205 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
10206             Florian Weimer  <fweimer@redhat.com>
10208         [BZ #7065]
10209         Initialize the stack guard earlier when linking statically.
10210         * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
10211         (__pthread_initialize_minimal): Declare.
10212         * csu/libc-start.c (__pthread_initialize_minimal): Remove
10213         declaration.
10214         (LIBC_START_MAIN): Call __libc_setup_tls early and directly.  Move
10215         stack canary and apply_irel initialization up.  Call
10216         __pthread_initialize_minimal only if linked in.
10217         * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
10218         constant values.
10219         (__pthread_initialize_minimal): Remove.
10220         * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
10221         (__pthread_initialize_minimal_internal): Do not call
10222         __libc_setup_tls.
10224 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
10226         [BZ #7065]
10227         * configure.ac (libc_cv_ssp): Move up.
10228         (libc_cv_ssp_strong): Likewise.
10229         (libc_cv_ssp_all): New.
10230         (stack_protector): Augment, adding -fstack-protector-all.
10231         (no_stack_protector): New.
10232         (STACK_PROTECTOR_LEVEL): New.
10233         (AC_ARG_ENABLE(stack-protector)): New configure flag.
10234         * manual/install.texi (--enable-stack-protector): Document it.
10235         * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
10237 2016-12-24  Carlos O'Donell  <carlos@redhat.com>
10239         * README.pretty-printers: Must specify CPPFLAGS-* also.
10240         * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
10241         (CPPFLAGS-test-mutex-printers.c): Define.
10242         (CPPFLAGS-test-condattr-printers.c): Define.
10243         (CPPFLAGS-test-cond-printers.c): Define.
10244         (CPPFLAGS-test-rwlockattr-printers.c): Define.
10245         (CPPFLAGS-test-rwlock-printers.c): Define.
10247         * nss/Makefile [ifeq (yes,$(have-thread-library))]
10248         (tests): Add tst-cancel-getpwuid_r.
10249         * nss/tst-cancel-getpwuid_r.c: New file.
10251         [BZ #11941]
10252         * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
10253         Remove assert (map->l_init_called); if DF_1_NODELETE is set.
10254         * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
10255         tst-nodelete-dlclose.
10256         (modules-names): Add tst-nodelete-dlclose-dso and
10257         tst-nodelete-dlclose-plugin.
10258         ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
10259         ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
10260         ($(objpfx)tst-nodelete-dlclose): Define.
10261         ($(objpfx)tst-nodelete-dlclose.out): Define.
10263 2016-12-23  Florian Weimer  <fweimer@redhat.com>
10265         * scripts/test_printers_common.py: Log GDB output in case of
10266         Python detection failure.
10268 2016-12-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10270         * configure.ac: Check for python3 or python.
10271         * configure: Regenerated.
10272         * config.make.in (PYTHON): New variable.
10273         * benchtests/Makefile: Don't define PYTHON.
10274         (bench): Define target only if PYTHON was defined.
10275         * Rules: Don't define PYTHON.
10276         Define pretty printer targets only if PYTHON was defined.
10277         (tests-printers): Add to tests-unsupported if PYTHON is not
10278         found.
10279         (python-flags, python-invoke): Remove.
10280         (tests-printers-out): Use PYTHON instead of python-invoke.
10282 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
10284         [BZ #20978]
10285         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
10286         Compare name == NULL, not name != NULL.
10288         * manual/texinfo.tex: Update to version 2016-09-18.18 with
10289         trailing whitespace removed.
10290         * scripts/config.guess: Update to version 2016-10-02.
10291         * scripts/config.sub: Update to version 2016-11-19.
10292         * scripts/install-sh: Update to version 2016-01-11.22.
10293         * scripts/mkinstalldirs: Update to version 2016-01-11.22.
10294         * scripts/move-if-change: Update to version 2016-01-11 22:04.
10296 2015-12-21  Wilco Dijkstra  <wdijkstr@arm.com>
10298         * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
10299         (do_one_test) Restore original string so iteration works.
10300         * string/string-inlines.c (do_test): Create better input strings.
10301         (test_main) Reduce number of testruns.
10302         * string/string-inlines.c (__old_strsep_1c): New function.
10303         (__old_strsep_2c): Likewise.
10304         (__old_strsep_3c): Likewise.
10305         * string/strsep.c (__strsep): Remove case of small delim string.
10306         Call strcspn directly rather than strpbrk.
10307         * string/bits/string2.h (__strsep): Remove define.
10308         (__strsep_1c): Remove.
10309         (__strsep_2c): Remove.
10310         (__strsep_3c): Remove.
10311         (strsep): Remove.
10312         * sysdeps/unix/sysv/linux/internal_statvfs.c
10313         (__statvfs_getflags): Rename to __strsep.
10315 2016-12-21  Florian Weimer  <fweimer@redhat.com>
10317         * csu/libc-tls.c (_dl_tls_setup): Remove.
10318         * elf/dl-tls.c (_dl_tls_setup): Likewise.
10319         * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
10320         * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
10322 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
10324         [BZ #7065]
10325         * sysdeps/x86_64/Makefile [$(subdir) = elf]
10326         (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
10328 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
10329             Florian Weimer  <fweimer@redhat.com>
10331         [BZ #7065]
10332         * csu/Makefile (tests): Empty assignment and document it.
10333         (tests-static): Remove.
10334         * csu/tst-empty.c: Move to...
10335         * misc/tst-empty.c: ... here.  Switch to new test driver.
10336         * csu/tst-atomic.c: Move to...
10337         * misc/tst-atomic.c: ... here.  Switch to new test driver.
10338         * csu/tst-atomic-long.c: Move to...
10339         * misc/tst-atomic-long.c: ... here.
10340         * misc/Makefile (tests): Add tst-empty, tst-atomic,
10341         tst-atomic-long.
10342         (tests-static): Add tst-empty.
10344 2016-12-21  Rical Jasan  <ricaljasan@pacific.net>
10346         * manual/nss.texi: Change incorrect @vtable to @table.
10347         * manual/arith.texi: Convert @tables of variables to @vtables
10348         and remove unnecessary indexing.
10349         * manual/filesys.texi: Likewise.
10350         * manual/llio.texi: Likewise.
10351         * manual/memory.texi: Likewise.
10352         * manual/process.texi: Likewise.
10353         * manual/resource.texi: Likewise.
10354         * manual/search.texi: Likewise.
10355         * manual/signal.texi: Likewise.
10356         * manual/socket.texi: Likewise.
10357         * manual/stdio.texi: Likewise.
10358         * manual/sysinfo.texi: Likewise.
10359         * manual/syslog.texi: Likewise.
10360         * manual/terminal.texi: Likewise.
10361         * manual/time.texi: Likewise.
10362         * manual/users.texi: Likewise.
10364 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
10366         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10367         (roundeven): New declaration.
10368         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
10369         macro.
10370         * math/Versions (roundeven): New libm symbol at version
10371         GLIBC_2.25.
10372         (roundevenf): Likewise.
10373         (roundevenl): Likewise.
10374         * math/Makefile (libm-calls): Add s_roundevenF.
10375         * math/libm-test.inc (roundeven_test_data): New array.
10376         (roundeven_test): New function.
10377         (main): Call roundeven_test.
10378         * math/test-tgmath.c (NCALLS): Increase to 134.
10379         (F(compile_test)): Call roundeven.
10380         (F(roundeven)): New function.
10381         * manual/arith.texi (Rounding Functions): Document roundeven,
10382         roundevenf and roundevenl.
10383         * manual/libm-err-tab.pl (@all_functions): Add roundeven.
10384         * include/math.h (roundeven): Use libm_hidden_proto.
10385         * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
10386         * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
10387         * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
10388         * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
10389         * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
10390         * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
10391         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
10392         roundeven.
10393         (CFLAGS-nldbl-roundeven.c): New variable.
10394         * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
10395         * sysdeps/nacl/libm.abilist: Update.
10396         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10397         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10398         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10399         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10400         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10401         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10402         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10403         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10404         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10405         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10406         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10407         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10408         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10409         Likewise.
10410         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10411         Likewise.
10412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10413         Likewise.
10414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10415         Likewise.
10416         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10417         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10418         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10419         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10420         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10421         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10422         Likewise.
10423         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10424         Likewise.
10425         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10426         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10427         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10429 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
10431         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
10432         preprocessor indentation inside #if.
10434 2016-12-20  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10436         * math/libm-test.inc (fmt_ftostr): New function.
10437         (print_float, check_float_internal): Replace some uses of
10438         FTOSTR with uses of fmt_ftostr.
10439         (print_max_error, print_complex_max_error, print_function_ulps)
10440         (print_complex_function_ulps): Remove uses of the macros
10441         PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
10442         * math/test-double.h (FTOSTR): Define to strfromd.
10443         (PRINTF_EXPR): Delete.
10444         (PRINTF_XEXPR): Likewise.
10445         (PRINTF_NEXPR): Likewise.
10446         * math/test-float.h (FTOSTR): Define to strfromf.
10447         (PRINTF_EXPR): Delete.
10448         (PRINTF_XEXPR): Likewise.
10449         (PRINTF_NEXPR): Likewise.
10450         * math/test-ldouble.h (FTOSTR): Define to strfroml.
10451         (PRINTF_EXPR): Delete.
10452         (PRINTF_XEXPR): Likewise.
10453         (PRINTF_NEXPR): Likewise.
10455 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
10457         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
10458         (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
10459         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
10460         (__lll_lock_elision): Decrement adapt_count while unlocking
10461         instead of before locking.
10462         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
10463         (__lll_trylock_elision): Likewise.
10464         * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
10465         (__lll_unlock_elision): Likewise.
10467 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
10469         * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
10470         * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
10471         Use __libc_tbegin_retry macro.
10473 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
10475         * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
10476         Add -msoft-float.
10477         * sysdeps/unix/sysv/linux/s390/htm.h: New File.
10478         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
10479         Use __libc_t* transaction macros instead of __builtin_t*.
10480         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
10481         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
10483 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
10485         * sysdeps/unix/sysv/linux/s390/elision-lock.c
10486         (__lll_lock_elision): Use atomics to load / store adapt_count.
10487         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
10488         (__lll_trylock_elision): Likewise.
10490 2016-12-20  Florian Weimer  <fweimer@redhat.com>
10492         Do not require memset elimination in explicit_bzero test.
10493         * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
10494         (enum test_expectation): Add NO_EXPECTATIONS.
10495         (subtests): NO_EXPECTATIONS for ordinary clear.
10496         (check_test_buffer): Handle NO_EXPECTATIONS.
10497         * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
10499 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
10501         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10502         (fmaxmag): New declaration.
10503         (fminmag): Likewise.
10504         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
10505         macro.
10506         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
10507         * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
10508         (fmaxmagf): Likewise.
10509         (fmaxmagl): Likewise.
10510         (fminmag): Likewise.
10511         (fminmagf): Likewise.
10512         (fminmagl): Likewise.
10513         * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
10514         * math/s_fmaxmag_template.c: New file.
10515         * math/s_fminmag_template.c: Likewise.
10516         * math/libm-test.inc (fmaxmag_test_data): New array.
10517         (fmaxmag_test): New function.
10518         (fminmag_test_data): New array.
10519         (fminmag_test): New function.
10520         (main): Call fmaxmag_test and fminmag_test.
10521         * math/test-tgmath.c (NCALLS): Increase to 132.
10522         (F(compile_test)): Call fmaxmag and fminmag.
10523         (F(fminmag)): New function.
10524         (F(fmaxmag)): Likewise.
10525         * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
10526         fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
10527         * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
10528         fminmag.
10529         * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
10530         * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
10531         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
10532         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
10533         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
10534         and fminmag.
10535         (CFLAGS-nldbl-fmaxmag.c): New variable.
10536         (CFLAGS-nldbl-fminmag.c): Likewise.
10537         * sysdeps/nacl/libm.abilist: Update.
10538         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10539         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10540         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10541         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10542         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10543         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10544         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10545         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10546         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10547         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10548         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10549         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10551         Likewise.
10552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10553         Likewise.
10554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10555         Likewise.
10556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10557         Likewise.
10558         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10559         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10560         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10561         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10562         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10563         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10564         Likewise.
10565         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10566         Likewise.
10567         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10568         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10569         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10571 2016-12-19  Torvald Riegel  <triegel@redhat.com>
10573         [BZ #20973]
10574         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
10575         wake-up in robust mutexes.
10576         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
10578 2016-12-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10580         * benchtests/Makefile (bench-math): Add fminf and fmaxf.
10581         (CFLAGS-bench-fmaxf.c): New rule.
10582         (CFLAGS-bench-fminf.c): Likewise.
10583         * benchtests/fmaxf-inputs: New file.
10584         * benchtests/fminf-inputs: Likewise.
10586         * benchtests/Makefile (bench-math): Add fmin and fmax.
10587         (CFLAGS-bench-fmax.c): New rule.
10588         (CFLAGS-bench-fmin.c): Likewise.
10589         * benchtests/fmax-inputs: New file.
10590         * benchtests/fmin-inputs: Likewise.
10592         * benchtests/bench-string.h (TEST_FUNCTION): Use name without
10593         parenthesis.
10594         (CMDLINE_PROCESS): Define using function instead of macro.
10595         * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
10596         of test-skeleton.
10597         * benchtests/bench-memchr.c: Likewise.
10598         * benchtests/bench-memcmp.c: Likewise.
10599         * benchtests/bench-memcpy-large.c: Likewise.
10600         * benchtests/bench-memcpy.c: Likewise.
10601         * benchtests/bench-memmem.c: Likewise.
10602         * benchtests/bench-memmove-large.c: Likewise.
10603         * benchtests/bench-memmove.c: Likewise.
10604         * benchtests/bench-memset-large.c: Likewise.
10605         * benchtests/bench-memset.c: Likewise.
10606         * benchtests/bench-rawmemchr.c: Likewise.
10607         * benchtests/bench-strcasecmp.c: Likewise.
10608         * benchtests/bench-strcasestr.c: Likewise.
10609         * benchtests/bench-strcat.c: Likewise.
10610         * benchtests/bench-strchr.c: Likewise.
10611         * benchtests/bench-strcmp.c: Likewise.
10612         * benchtests/bench-strcpy.c: Likewise.
10613         * benchtests/bench-strcpy_chk.c: Likewise.
10614         * benchtests/bench-strlen.c: Likewise.
10615         * benchtests/bench-strncasecmp.c: Likewise.
10616         * benchtests/bench-strncmp.c: Likewise.
10617         * benchtests/bench-strncpy.c: Likewise.
10618         * benchtests/bench-strnlen.c: Likewise.
10619         * benchtests/bench-strpbrk.c: Likewise.
10620         * benchtests/bench-strrchr.c: Likewise.
10621         * benchtests/bench-strsep.c: Likewise.
10622         * benchtests/bench-strspn.c: Likewise.
10623         * benchtests/bench-strstr.c: Likewise.
10624         * benchtests/bench-strtok.c: Likewise.
10626 2016-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
10628         * sysdeps/x86/cpu-features.c (get_common_indeces): Add
10629         stepping identification.
10630         (init_cpu_features): Add handle of Haswell.
10632 2016-11-25  Jim Meyering  <meyering@fb.com>
10634         [BZ #20386]
10635         Let gcc detect assert(a = 1) errors.
10636         * assert/assert.h (assert): Rewrite, retaining the old definintion
10637         when required, but otherwise putting the expression as-is in an "if"
10638         expression (hence, with no added parentheses) within a statement
10639         expression.
10641 2016-12-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10643         * benchtests/Makefile (binaries-benchset): Depend on libsupport
10644         DSO.
10646 2016-12-17  Martin Galvan  <martingalvan@sourceware.org>
10648         * Rules (python-flags, python-invoke): New.
10649         ($(test-printers-out)): Use $(python-flags).
10651 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
10653         * manual/arith.texi (Math Error Reporting): Document that sNaN
10654         arguments are not considered domain errors.
10656 2016-12-16  Zack Weinberg <zackw@panix.com>
10657             Florian Weimer <fweimer@redhat.com>
10658             Nick Mathewson <nickm@torproject.org>
10660         * string/explicit_bzero.c: New routine.
10661         * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
10662         * string/Makefile (routines, strop-tests, tests): Add them.
10663         * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
10664         * string/string.h [__USE_MISC]: Declare explicit_bzero.
10666         * debug/explicit_bzero_chk.c: New routine.
10667         * debug/Makefile (routines): Add it.
10668         * debug/tst-chk1.c: Test fortification of explicit_bzero.
10669         * string/bits/string3.h: Fortify explicit_bzero.
10671         * manual/string.texi: Document explicit_bzero.
10672         * NEWS: Mention addition of explicit_bzero.
10674         * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
10675         data before returning, using explicit_bzero.
10676         * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
10677         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
10678         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
10680         * include/string.h: Redirect internal uses of explicit_bzero
10681         to __explicit_bzero_chk[_internal].
10682         * string/Versions [GLIBC_2.25]: Add explicit_bzero.
10683         * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
10684         * sysdeps/arm/nacl/libc.abilist
10685         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
10686         * sysdeps/unix/sysv/linux/alpha/libc.abilist
10687         * sysdeps/unix/sysv/linux/arm/libc.abilist
10688         * sysdeps/unix/sysv/linux/hppa/libc.abilist
10689         * sysdeps/unix/sysv/linux/i386/libc.abilist
10690         * sysdeps/unix/sysv/linux/ia64/libc.abilist
10691         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
10692         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
10693         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
10694         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
10695         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
10696         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
10697         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
10698         * sysdeps/unix/sysv/linux/nios2/libc.abilist
10699         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
10700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
10701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
10702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
10703         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
10704         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
10705         * sysdeps/unix/sysv/linux/sh/libc.abilist
10706         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
10707         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
10708         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
10709         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
10710         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
10711         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
10712         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
10713         Add entries for explicit_bzero and __explicit_bzero_chk.
10715 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
10717         * math/fenv.h
10718         [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
10719         (FE_SNANS_ALWAYS_SIGNAL): New macro.
10720         * math/test-fe-snans-always-signal.c: New file.
10721         * math/Makefile (tests): Add test-fe-snans-always-signal.
10722         (CFLAGS-test-fe-snans-always-signal.c): New variable.
10723         * manual/arith.texi (Infinity and NaN): Document
10724         FE_SNANS_ALWAYS_SIGNAL.
10726 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10728         * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
10729         bracket.
10731 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
10733         * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
10734         before calling execv.
10736 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10738         [BZ #20971]
10739         * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
10740         overflow in pointer addition.
10741         * string/test-memchr.c (do_test): Add an argument to pass as
10742         the size on memchr.
10743         (test_main): Add check for SIZE_MAX.
10745 2016-12-16  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10747         * math/Makefile (gen-libm-calls): Remove w_scalblnF.
10748         (libm-calls): Add w_scalblnF.
10749         * math/w_scalbln.c: Remove.
10750         * math/w_scalblnf.c: Likewise.
10751         * math/w_scalblnl.c: Likewise.
10752         * math/w_scalbln_template.c: New file with type-generic
10753         implementation based on math/w_scalbln.c.
10754         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
10755         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
10757 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
10759         [BZ #20947]
10760         * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
10761         either is a signaling NaN.
10762         * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise.  Make code
10763         follow fmaxl more closely.
10764         * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
10765         when either is a signaling NaN.
10766         * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
10767         * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
10768         * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
10769         * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
10770         * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
10771         * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
10772         * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
10773         * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
10774         (fmin_test_data): Likewise.
10776 2016-12-15  Andreas Schwab  <schwab@suse.de>
10778         * support/support_test_main.c (support_test_main): Don't shadow
10779         file-local variable test_pid.
10781 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
10783         [BZ #20947]
10784         * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
10785         either is a signaling NaN.
10786         * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
10788 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
10790         [BZ #20947]
10791         * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
10792         when either is a signaling NaN.
10793         * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
10795         * bits/long-double.h: New file.
10796         * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
10797         * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
10798         * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
10799         * sysdeps/mips/bits/long-double.h: Likewise.
10800         * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
10801         * math/Makefile (headers): Add bits/long-double.h.
10802         * misc/sys/cdefs.h: Include <bits/long-double.h>.
10803         * stdlib/strtold.c: Include <bits/long-double.h> instead of
10804         <bits/wordsize.h>.
10805         * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
10806         [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
10807         * math/math.h: Do not include <bits/mathdef.h>.
10808         * sysdeps/aarch64/bits/mathdef.h: Remove file.
10809         * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
10810         inclusion.
10811         * sysdeps/ia64/bits/mathdef.h: Remove file.
10812         * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
10813         * sysdeps/mips/bits/mathdef.h: Likewise.
10814         * sysdeps/powerpc/bits/mathdef.h: Likewise.
10815         * sysdeps/s390/bits/mathdef.h: Likewise.
10816         * sysdeps/sparc/bits/mathdef.h: Likewise.
10817         * sysdeps/x86/bits/mathdef.h: Likewise.
10818         * sysdeps/s390/s390-32/bits/wordsize.h
10819         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
10820         conditional code.
10821         * sysdeps/s390/s390-64/bits/wordsize.h
10822         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
10823         Likewise.
10824         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
10825         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
10826         Likewise.
10827         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
10828         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
10829         Likewise.
10830         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
10831         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
10832         Likewise.
10834         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
10835         <linux/falloc.h>.
10836         (FALLOC_FL_KEEP_SIZE): Remove.
10837         (FALLOC_FL_PUNCH_HOLE): Likewise.
10838         (FALLOC_FL_COLLAPSE_RANGE): Likewise.
10839         (FALLOC_FL_ZERO_RANGE): Likewise.
10841 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10843         * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
10845 2016-12-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10847         * sysdeps/unix/sysv/linux/renameat.c: New file.
10848         * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
10850         * sysdeps/unix/sysv/linux/rename.c: New file.
10851         * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
10853 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
10855         * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
10856         * string/strtok.c (strtok): Change to tailcall __strtok_r.
10857         * string/strtok_r.c (__strtok_r): Optimize for performance.
10858         * string/string-inlines.c (__old_strtok_r_1c): New function.
10859         * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
10861 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10863         * math/Makefile (gen-libm-calls): Add w_log1pF.
10864         (libm-calls): Remove w_log1pF.
10865         * math/w_log1p.c: Remove.
10866         * math/w_log1pf.c: Likewise.
10867         * math/w_log1pl.c: Likewise.
10868         * math/w_log1p_template.c: New file with type-generic
10869         implementation based on math/w_log1p.c.
10870         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
10871         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
10873 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
10875         * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
10877 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
10879         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
10880         kernel version to 4.9.
10882 2016-12-12  Andrew Senkevich  <andrew.senkevich@intel.com>
10884         * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
10885         ($(inst_libdir)/libm.a): Fix rule to create the target only.
10887 2016-12-13  Andreas Schwab  <schwab@suse.de>
10889         * sysdeps/powerpc/dl-procinfo.c: Don't define
10890         _dl_powerpc_platforms.
10891         * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
10892         constants instead of referencing _dl_powerpc_platforms.
10893         (_dl_platform_string): Remove.
10895 2016-12-13  Florian Weimer  <fweimer@redhat.com>
10897         * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
10899 2016-12-13  Florian Weimer  <fweimer@redhat.com>
10901         * Rules (binaries-shared-tests, binaries-pie-tests)
10902         (binaries-static-tests): Link with $(link-extra-libs-tests).
10903         * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
10904         Remove $(link-extra-libs-tests).
10906 2016-12-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10908         * sysdeps/powerpc/powerpc64/multiarch/Makefile
10909         (sysdep_routines): Add strncmp_power9.
10910         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10911         (strncmp): Add __strncmp_power9 to list of strncmp functions.
10912         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
10913         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
10914         (strncmp): Add __strncmp_power9 to ifunc list.
10915         * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
10917 2016-12-12  Florian Weimer  <fweimer@redhat.com>
10919         [BZ #17252]
10920         Add getentropy, getrandom.
10921         * stdlib/sys/random.h: New file.
10922         (headers): Add it.
10923         * stdlib/Makefile (routines): Add getentropy, getrandom.
10924         (tests): Add tst-getrandom.
10925         * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
10926         * stdlib/getentropy.c: New file.
10927         * stdlib/getrandom.c: Likewise.
10928         * stdlib/tst-getrandom.c: Likewise.
10929         * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
10930         * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
10931         * manual/crypt.texi (Unpredictable Bytes): New section.
10932         * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
10933         * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
10934         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
10935         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10936         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
10937         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
10938         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
10939         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10940         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
10941         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
10942         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
10943         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
10944         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
10945         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
10946         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10947         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
10948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
10949         Likewise.
10950         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10951         Likewise.
10952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
10953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
10954         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
10955         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10956         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
10957         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
10958         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10959         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
10960         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
10961         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
10962         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10963         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
10965 2016-12-10  Florian Weimer  <fweimer@redhat.com>
10967         [BZ #20956]
10968         * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
10969         as additional compiler barriers.
10970         * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
10971         (fn2, do_test): Declare with external linkage.
10972         * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
10973         (do_test): Declare with external linkage.
10974         * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
10975         (do_test): Declare with external linkage.
10976         * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
10977         (do_test): Declare with external linkage.
10979 2016-12-10  Andreas Schwab  <schwab@linux-m68k.org>
10981         * support/support_test_main.c (support_test_main): Use correct
10982         timeout.
10984 2016-12-09  Carlos O'Donell  <carlos@redhat.com>
10985             Florian Weimer  <fweimer@redhat.com>
10987         [BZ #16421]
10988         * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
10989         and __u6_addr32 members.
10990         (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
10991         (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
10992         (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
10993         Use __u6_addr32.
10994         * inet/tst-checks.c: Use <support/test-driver.c>
10995         * inet/tst-checks-posix.c: New file.
10996         * inet/Makefile (tests): Add it.
10997         (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
10999 2016-12-09  Florian Weimer  <fweimer@redhat.com>
11001         New subdirectory support for build and test infrastructure.
11002         * extra-libs.mk (extra-libs-noinstall): Add variable.  Use it when
11003         setting install-lib.
11004         * Makeconfig (link-extra-libs-tests): Define.
11005         (+link-pie-tests, +link-static-tests, +link-tests): Use
11006         link-extra-libs-tests.
11007         (rpath-dirs, all-subdirs): Add support.
11008         (built-modules): Add libsupport.
11009         (libsupport): Define.
11010         * support: New directory.
11011         * support/Makefile: New file.
11012         * support/check.c: Likewise.
11013         * support/check.h: Likewise.
11014         * support/delayed_exit.c: Likewise.
11015         * support/ignore_stderr.c: Likewise.
11016         * support/oom_error.c: Likewise.
11017         * support/set_fortify_handler.c: Likewise.
11018         * support/support.h: Likewise.
11019         * support/temp_file-internal.h: Likewise.
11020         * support/temp_file.c: Likewise.
11021         * support/test-driver.c: Likewise.
11022         * support/test-driver.h: Likewise.
11023         * support/test_main.c: Likewise.
11024         * support/write_message.c: Likewise.
11025         * support/xasprintf.c: Likewise.
11026         * support/xcalloc.c: Likewise.
11027         * support/xmalloc.c: Likewise.
11028         * support/xpthread_barrier_destroy.c: Likewise.
11029         * support/xpthread_barrier_init.c: Likewise.
11030         * support/xpthread_barrier_wait.c: Likewise.
11031         * support/xpthread_cancel.c: Likewise.
11032         * support/xpthread_check_return.c: Likewise.
11033         * support/xpthread_cond_wait.c: Likewise.
11034         * support/xpthread_create.c: Likewise.
11035         * support/xpthread_detach.c: Likewise.
11036         * support/xpthread_join.c: Likewise.
11037         * support/xpthread_mutex_lock.c: Likewise.
11038         * support/xpthread_mutex_unlock.c: Likewise.
11039         * support/xpthread_sigmask.c: Likewise.
11040         * support/xpthread_spin_lock.c: Likewise.
11041         * support/xpthread_spin_unlock.c: Likewise.
11042         * support/xrealloc.c: Likewise.
11043         * support/xsignal.h: Likewise.
11044         * support/xthread.h: Likewise.
11045         * support_tempfile.h: Likewise.
11046         * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
11047         (TEST_DATA_LIMIT): Remove unused macro.
11048         (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove.  Now in
11049         <support/check.h>.
11050         (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
11051         (ignore_stderr, set_fortify_handler): Remove.  Now in
11052         <support/support.h>.
11053         (xpthread_sigmask): Remove.  Now in <support/xsignal.h>.
11054         (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
11055         (xpthread_barrier_wait, xpthread_create, xpthread_detach)
11056         (xpthread_join): Remove.  Now in <support/xthread.h>.
11057         (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
11058         Introduce legacy wrappers.
11059         * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
11060         * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
11061         (write_message): Remove.
11062         * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
11063         test-skeleton.c.
11064         * io/test-open-tmpfile: Likewise.
11065         * io/tst-posix_fallocate-common.c: Likewise.
11066         * libio/tst-fseek.c: Likewise.
11067         * malloc/tst-malloc-backtrace.c: Likewise.
11068         * malloc/tst-malloc-fork-deadlock.c: Likewise.
11069         * malloc/tst-malloc-thread-exit.c: Likewise.
11070         * nptl/tst-cancel7.c: Likewise.
11071         * nptl/tst-cleanup0.c: Likewise.
11072         * posix/tst-posix_fadvise-common.c: Likewise.
11073         * rt/tst-shm.c: Likewise.
11074         * time/bug-getdate1.c: Likewise.
11075         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
11076         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
11077         * elf/Makefile (tst-piemod1.so): Link against libsupport.
11079 2016-12-08  Joseph Myers  <joseph@codesourcery.com>
11081         * Rules [$(run-built-tests) != no] (tests-expected): Add
11082         $(tests-printers).
11083         (tests): Do not pass $(tests-printers) to merge-test-results.sh.
11085 2016-12-08  Andrew Senkevich  <andrew.senkevich@intel.com>
11087         [BZ #20539]
11088         * math/Makefile (install-lib-ldscripts): Add libm.a.
11089         (install_subdir): Remove.
11090         (install-others): Add.
11091         ($(inst_libdir)/libm.a): Add rule for installation as
11092         linker script.
11093         * Makerules (install-lib.a): Filter out install-lib-ldscripts.
11095 2016-12-08  Martin Galvan  <martin.galvan@tallertechnologies.com>
11097         * INSTALL: Regenerated.
11098         * Makeconfig: Add comments and whitespace to make the control flow
11099         clearer.
11100         (+link-printers-tests, +link-pie-printers-tests,
11101         CFLAGS-printers-tests, installed-rtld-LDFLAGS,
11102         built-rtld-LDFLAGS, link-libc-rpath,
11103         link-libc-tests-after-rpath-link,
11104         link-libc-printers-tests): New.
11105         (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
11106         link-libc-tests): Use the new variables as required.
11107         * Makerules ($(py-const)): New rule.
11108         generated: Add $(py-const).
11109         * README.pretty-printers: New file.
11110         * Rules (tests-printers-programs, tests-printers-out, py-env): New.
11111         (others): Depend on $(py-const).
11112         (tests): Depend on $(tests-printers-programs) or
11113         $(tests-printers-out),
11114         as required.  Pass $(tests-printers) to merge-test-results.sh.
11115         * manual/install.texi: Add requirements for testing the pretty
11116         printers.
11117         * nptl/Makefile (gen-py-const-headers, pretty-printers,
11118         tests-printers, CFLAGS-test-mutexattr-printers.c
11119         CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
11120         CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
11121         CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
11122         * nptl/nptl-printers.py: New file.
11123         * nptl/nptl_lock_constants.pysym: Likewise.
11124         * nptl/test-cond-printers.c: Likewise.
11125         * nptl/test-cond-printers.py: Likewise.
11126         * nptl/test-condattr-printers.c: Likewise.
11127         * nptl/test-condattr-printers.py: Likewise.
11128         * nptl/test-mutex-printers.c: Likewise.
11129         * nptl/test-mutex-printers.py: Likewise.
11130         * nptl/test-mutexattr-printers.c: Likewise.
11131         * nptl/test-mutexattr-printers.py: Likewise.
11132         * nptl/test-rwlock-printers.c: Likewise.
11133         * nptl/test-rwlock-printers.py: Likewise.
11134         * nptl/test-rwlockattr-printers.c: Likewise.
11135         * nptl/test-rwlockattr-printers.py: Likewise.
11136         * scripts/gen-py-const.awk: Likewise.
11137         * scripts/test_printers_common.py: Likewise.
11138         * scripts/test_printers_exceptions.py: Likewise.
11140 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
11142         * scripts/build-many-glibcs.py (Context.__init__): Take strip
11143         argument.
11144         (Glibc.build_glibc): Strip installed shared libraries if
11145         requested.
11146         (get_parser): Add --strip option.
11147         (main): Update Context call.
11149 2016-12-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11150             Dominik Vogt  <vogt@linux.vnet.ibm.com>
11152         [BZ #20847]
11153         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
11154         array bounds for else branch.
11155         (__execvpe): Style fixes.
11156         * posix/tst-vfork3.c (run_script): New function.
11157         (create_script): Likewise.
11158         (do_test): Use run_script internal function.
11159         (do_prepare): Use create_script internal function.
11161 2016-12-07  Andreas Schwab  <schwab@suse.de>
11163         * sysdeps/unix/sysv/linux/x86/elision-conf.h
11164         (__elision_available): Don't declare.
11165         * sysdeps/unix/sysv/linux/x86/elision-conf.c
11166         (__elision_available): Don't define.
11167         (elision_init): Don't set __elision_available.
11169 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
11171         [BZ #20940]
11172         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
11173         return Inf for arguments Inf and sNaN.
11174         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
11175         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
11176         Likewise.
11177         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
11178         Likewise.
11179         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
11180         * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
11181         for arguments Inf and sNaN.  When returning a NaN, compute it by
11182         arithmetic on the arguments.
11183         * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
11184         * math/libm-test.inc (hypot_test_data): Add tests of sNaN
11185         arguments.
11187 2016-12-06  Joseph Myers  <joseph@codesourcery.com>
11189         [BZ #20916]
11190         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
11191         arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN arguments
11192         to compute result.
11193         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
11194         * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
11196 2016-12-05  Torvald Riegel  <triegel@redhat.com>
11198         * include/atomic.h (__atomic_check_size_ls): New.
11199         (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
11200         atomic_store_release): Use it.
11201         * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
11202         (elision_adapt, ELIDE_LOCK): Use atomics.
11203         * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
11204         atomics and improve code comments.
11205         * sysdeps/unix/sysv/linux/x86/elision-trylock.c
11206         (__lll_trylock_elision): Likewise.
11208 2016-12-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11210         * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
11211         programs.
11213 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
11215         [BZ #20916]
11216         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
11217         for arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN
11218         arguments to compute result.
11219         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
11220         1 for arguments (sNaN, 0) or (1, sNaN).
11221         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
11222         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
11224         [BZ #20919]
11225         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
11226         NaN first argument when raised to power 0.
11227         * math/w_pow.c (__pow): Do not check for NaN or zero results from
11228         raising to power zero.
11229         * math/w_powf.c (__powf): Likewise.
11230         * math/w_powl.c (__powl): Likewise.
11231         * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
11232         pow (0, 0) or pow (NaN, 0).
11234 2016-12-02  Carlos O'Donell  <carlos@redhat.com>
11236         [BZ #20918]
11237         * configure.ac: Test for static NSS cryptographic libraries and set
11238         libc_cv_static_nss_crypt.
11239         * configure: Regenerate.
11240         * config.make.in (static-nss-crypt): Define.
11241         * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
11242         [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
11243         (CFLAGS-tst-linkall-static.c): Define.
11244         ($(objpfx)tst-linkall-static): Remove libcrypt.a.
11245         [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
11246         ($(objpfx)tst-linkall-static): Define.
11247         [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
11248         * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
11250 2016-12-02  Florian Weimer  <fweimer@redhat.com>
11252         * elf/Makefile [build-shared] (tests): Add tst-latepthread.
11253         (one-hundred, tst-tls-many-dynamic-modules): Define.
11254         (modules-names): Add $(tst-tls-many-dynamic-modules).
11255         (tst-tls-manydynamic%mod.os): Build with special preprocessor
11256         macros.
11257         (tst-tls-manydynamic): Link against libdl, libpthread.
11258         (tst-tls-manydynamic.out): The test needs the test modules at run
11259         time.
11260         * elf/tst-tls-manydynamic.c: New file.
11261         * elf/tst-tls-manydynamic.h: Likewise.
11262         * elf/tst-tls-manydynamicmod.c: Likewise.
11264 2016-12-02  Florian Weimer  <fweimer@redhat.com>
11266         * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
11267         (TLS_DTV_UNALLOCATED): Add.
11268         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
11269         offsets.
11271 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
11273         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
11275 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
11277         * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
11278         Add -fno-optimize-sibling-calls.
11280 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
11282         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
11283         New declaration.
11284         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
11285         macro.
11286         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
11287         New macro.
11288         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
11289         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
11290         * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
11291         (llogbf): Likewise.
11292         (llogbl): Likewise.
11293         * math/Makefile (gen-libm-calls): Add w_llogbF.
11294         (tests): Add test-fp-llogb-constants.
11295         * math/w_llogb_template.c: New file.  Based on
11296         math/w_ilogb_template.c.
11297         * math/libm-test.inc (llogb_test_data): New array.
11298         (llogb_test): New function.
11299         (main): Call llogb_test.
11300         * math/test-fp-llogb-constants.c: New file.  Based on
11301         math/test-fp-ilogb-constants.c.
11302         * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
11303         (do_test): Call check_return_llogb.
11304         * math/test-tgmath.c (NCALLS): Increase to 126.
11305         (F(compile_test)): Call llogb.
11306         (F(llogb)): New function.
11307         * manual/math.texi (Exponents and Logarithms): Document llogb,
11308         llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
11309         * manual/libm-err-tab.pl (@all_functions): Add llogb.
11310         * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
11311         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
11312         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
11313         (CFLAGS-nldbl-llogb.c): New variable.
11314         * sysdeps/nacl/libm.abilist: Update.
11315         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11316         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11317         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11318         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11319         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11320         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11321         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11322         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11323         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11324         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11325         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11326         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11328         Likewise.
11329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11330         Likewise.
11331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11332         Likewise.
11333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11334         Likewise.
11335         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11336         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11337         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11338         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11339         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11340         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11341         Likewise.
11342         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11343         Likewise.
11344         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11345         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11346         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11348 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
11350         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
11351         _Float128 instead of long double.
11352         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
11354         * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
11355         * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
11356         * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
11357         * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
11358         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
11359         * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
11360         * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
11361         * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
11362         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
11363         Likewise.
11365 2016-12-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11367         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
11368         Remove redirection to __strrchr_ppc.
11370 2016-12-01  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11372         * sysdeps/powerpc/powerpc64/multiarch/Makefile
11373         (sysdep_routines): Add strcmp_power9.
11374         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11375         (strcmp): Add __strcmp_power9 to list of strcmp functions.
11376         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
11377         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
11378         (strcmp): Add __strcmp_power9 to ifunc list.
11379         * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
11381 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
11383         * bits/fp-logb.h: New file.
11384         * sysdeps/ia64/bits/fp-logb.h: Likewise.
11385         * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
11386         * sysdeps/x86/bits/fp-logb.h: Likewise.
11387         * math/Makefile (headers): Add bits/fp-logb.h.
11388         * math/math.h: Include <bits/fp-logb.h>.
11389         [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
11390         [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
11391         * bits/mathdef.h (FP_ILOGB0): Remove.
11392         (FP_ILOGBNAN): Likewise.
11393         * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
11394         (FP_ILOGBNAN): Likewise.
11395         * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
11396         (FP_ILOGBNAN): Likewise.
11397         * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
11398         (FP_ILOGBNAN): Likewise.
11399         * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
11400         (FP_ILOGBNAN): Likewise.
11401         * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
11402         (FP_ILOGBNAN): Likewise.
11403         * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
11404         (FP_ILOGBNAN): Likewise.
11405         * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
11406         (FP_ILOGBNAN): Likewise.
11407         * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
11408         (FP_ILOGBNAN): Likewise.
11409         * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
11410         (FP_ILOGBNAN): Likewise.
11412         * scripts/build-many-glibcs.py: Add bot to usage message.  Import
11413         time module.
11414         (Context.__init__): Initialize self.logsdir_old.
11415         (Context.run_builds): Handle bot action.
11416         (Context.bot_cycle): Copy logs directory before running builds.
11417         (Context.bot_run_self): Take argument for whether to check
11418         subprocess result.  Flush stdout before running subprocess.
11419         (Context.bot): New function.
11420         (get_parser): Allow bot action.
11422 2016-11-30  Joseph Myers  <joseph@codesourcery.com>
11424         * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
11425         Import email.mime.text, email.utils and smtplib modules.
11426         (Context.__init__): Initialize self.bot_config_json.
11427         (Context.run_builds): Handle bot-cycle action.
11428         (Context.load_bot_config_json): New function.
11429         (Context.part_build_old): Likewise.
11430         (Context.bot_cycle): Likewise.
11431         (Context.bot_build_mail): Likewise.
11432         (Context.bot_run_self): Likewise.
11433         (get_parser): Allow bot-cycle action.
11435 2016-11-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11437         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
11438         Remove redirection to __stpcpy_ppc.
11440 2016-11-30  Florian Weimer  <fweimer@redhat.com>
11442         Remove __libc_memalign from ld.so because it is unused.
11443         * elf/dl-minimal.c: Update comment on the malloc implementation.
11444         (malloc): Renamed from __libc_memalign, replacing the original
11445         malloc implementation.  Replace the align parameter with
11446         MALLOC_ALIGNMENT.
11447         * elf/Versions (ld): Update comment and remove __libc_memalign.
11448         * sysdeps/nacl/ld.abilist: Likewise.
11449         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
11450         * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
11451         * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
11452         * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
11453         * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
11454         * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
11455         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
11456         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
11457         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
11458         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
11459         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
11460         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
11461         * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
11462         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
11463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
11464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
11465         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
11466         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
11467         * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
11468         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
11469         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
11470         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
11471         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
11472         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
11473         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
11474         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
11475         * sysdeps/generic/localplt.data (ld.so): Likewise.
11476         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
11477         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
11478         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
11479         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
11480         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
11481         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
11482         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
11483         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
11484         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
11485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
11486         (ld.so): Likewise.
11487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
11488         (ld.so): Likewise.
11489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
11490         Likewise.
11491         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
11492         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
11493         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
11494         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
11495         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
11497 2016-11-30  Florian Weimer  <fweimer@redhat.com>
11499         [BZ #16628]
11500         Implement _dl_catch_error, _dl_signal_error in libc.so.
11501         * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
11502         (catch_hook): Define as thread-local or regular variable,
11503         depending on DL_ERROR_BOOTSTRAP.
11504         (CATCH_HOOK): Remove.
11505         (dl_signal_error, _dl_catch_error): Use
11506         catch_hook.  Add hidden definition for libc.
11507         (_dl_receive_error, _dl_signal_cerror): Use catch_hook.  Compile
11508         for DL_ERROR_BOOTSTRAP only.
11509         * elf/dl-error.c: New file.
11510         * elf/dl-error-minimal.c: Likewise.
11511         * elf/tst-latepthread.c: Likewise.
11512         * elf/tst-latepthreadmod.c: Likewise.
11513         * elf/Makefile (routines): Add dl-error.
11514         (dl-routines): Remove dl-error.
11515         (rtld-routines): Add dl-error-minimal.
11516         [build-shared] (tests): Add tst-latepthread.
11517         (module-names): Add tst-latepthreadmod.
11518         (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
11519         symbol.
11520         (tst-latepthreadmod.so): Link against libpthread.
11521         (tst-latepthread): Link against libdbl.
11522         * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
11523         _dl_catch_error.
11524         [ld] (GLIBC_PRIVATE): Likewise.
11525         * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
11526         * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
11527         * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
11528         directly.
11529         * elf/dl-tsd.c: Remove file.
11530         * elf/rtld.c (_rtld_global_ro): Remove initializers for
11531         _dl_catch_error, _dl_signal_error.
11532         (_dl_initial_error_catch_tsd): Remove definition.
11533         (do_preload): Remove initialization of dl_error_catch_tsd.
11534         * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
11535         * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
11536         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
11537         * dlfcn/dlopen.c (dlopen_doit): Likewise.
11538         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
11539         set dl_error_catch_tsd.
11540         * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
11541         _dl_error_catch_tsd member.
11542         (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
11543         members.
11544         (_dl_initial_error_catch_tsd): Remove declaration.
11545         (_dl_dprintf): Provide definition for use outside of ld.so.
11546         [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
11547         (_dl_signal_error, _dl_catch_error): Make public.  Add hidden
11548         prototype for libc.
11549         * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
11550         _dl_catch_error.
11551         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
11552         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
11553         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
11554         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
11555         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
11556         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
11557         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
11558         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
11559         Likewise.
11560         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
11561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
11562         (ld.so): Likewise.
11563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
11564         (ld.so): Likewise.
11565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
11566         Likewise.
11567         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
11568         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
11569         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
11570         Likewise.
11571         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
11572         Likewise.
11573         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
11575 2016-11-30  Florian Weimer  <fweimer@redhat.com>
11577         [BZ #4099]
11578         * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
11579         _IO_BUFSIZ (8192).
11581 2016-11-30  Carlos O'Donell  <carlos@redhat.com>
11583         * PROJECTS: Remove file.
11585 2016-11-29  Florian Weimer  <fweimer@redhat.com>
11587         * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
11589 2016-11-29  Yury Norov  <ynorov@caviumnetworks.com>
11590             Steve Ellcey  <sellcey@caviumnetworks.com>
11592         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
11593         fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
11594         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
11595         fxstatat.
11596         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
11597         lxstat.
11598         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
11599         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
11600         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
11601         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
11602         an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
11603         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
11604         __xstat.
11606 2016-11-29  Florian Weimer  <fweimer@redhat.com>
11608         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
11609         Define.
11610         * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
11611         definition.
11613 2016-11-29  Florian Weimer  <fweimer@redhat.com>
11615         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
11616         version and turn into strong alias.  Remove compat symbol.
11618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
11619         (__longjmp): Remove.
11621 2016-11-29  Joseph Myers  <joseph@codesourcery.com>
11623         * bits/fp-fast.h: New file.
11624         * sysdeps/aarch64/bits/fp-fast.h: Likewise.
11625         * sysdeps/powerpc/bits/fp-fast.h: Likewise.
11626         * math/Makefile (headers): Add bits/fp-fast.h.
11627         * math/math.h: Include <bits/fp-fast.h>.
11628         * bits/mathdef.h (FP_FAST_FMA): Remove.
11629         (FP_FAST_FMAF): Likewise.
11630         (FP_FAST_FMAL): Likewise.
11631         * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
11632         (FP_FAST_FMAF): Likewise.
11633         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
11634         (FP_FAST_FMAF): Likewise.
11635         * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
11636         (FP_FAST_FMAF): Likewise.
11637         (FP_FAST_FMAL): Likewise.
11638         * sysdeps/arm/bits/mathdef.h: Remove file.
11639         * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
11640         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
11641         * sysdeps/tile/bits/mathdef.h: Likewise.
11643 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
11645         * math/w_ilogb_template.c: New file.  Based on math/w_ilogb.c.
11646         * math/w_ilogb.c: Remove.
11647         * math/w_ilogbf.c: Likewise.
11648         * math/w_ilogbl.c: Likewise.
11649         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
11650         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
11651         * math/Makefile (gen-libm-calls): Add w_ilogbF.
11652         (libm-calls): Remove w_ilogbF.
11653         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
11654         (LDOUBLE_ilogbl_libm_version): New macro.
11656         * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
11658         * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
11659         [!__STRICT_ANSI__ && !__cplusplus].
11661 2016-11-28  H.J. Lu  <hongjiu.lu@intel.com>
11663         [BZ #20750]
11664         * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
11665         of PIC.
11667 2016-11-28  Andrew Pinski  <andrew.pinski@caviumnetworks.com>
11668             Yury Norov  <ynorov@caviumnetworks.com>
11669             Steve Ellcey  <sellcey@caviumnetworks.com>
11671         * sysdeps/aarch64/crti.S: Add include of sysdep.h.
11672         (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
11673         * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
11674         (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
11675         * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
11676         (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
11677         elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
11678         elf_machine_lazy_rel): Add ifdef's for ILP32 support.
11679         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
11680         _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
11681         _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
11682         to get correct reg name for ILP32.
11683         * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
11684         (RELA_SIZE): New Macro.
11685         (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
11686         to support ILP32.
11687         * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
11688         cast for ILP32 mode.
11689         * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
11690         * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
11691         * sysdeps/aarch64/memset.S (__memset): Ditto.
11692         * sysdeps/aarch64/strchr.S (strchr): Ditto.
11693         * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
11694         * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
11695         * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
11696         * sysdeps/aarch64/strlen.S (__strlen): Ditto.
11697         * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
11698         * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
11699         * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
11700         * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
11701         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
11702         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
11703         * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
11704         change PTR_MANGLE call to use register numbers instead of names.
11705         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
11706         * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
11707         ILP32 mode, change PTR_MANGLE calls to use register numbers.
11708         * sysdeps/aarch64/start.S (_start): Ditto.
11709         * sysdeps/aarch64/nptl/bits/pthreadtypes.h
11710         (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
11711         (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
11712         __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
11713         __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
11714         __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
11715         __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
11716         Make defined values dependent on __ILP32__.
11717         * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
11718         (sem_t): Change __align type.
11719         * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
11720         PTR_SIZE): New Macros.
11721         (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
11722         * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
11723         Set when in ILP32 mode.
11724         (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
11725         * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
11726         Set elf flags for ILP32.
11727         (add_system_dir): Set ILP32 library directories.
11728         * sysdeps/unix/sysv/linux/aarch64/init-first.c
11729         (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
11730         * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
11731         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
11732         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
11733         New Macros.
11734         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
11736 2016-11-28  Steve Ellcey  <sellcey@caviumnetworks.com>
11738         * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
11739         only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
11740         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
11742 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
11744         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
11745         <asm/cachectl.h>.
11747 2016-11-27  Zack Weinberg  <zackw@panix.com>
11749         * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
11750         * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
11752 2016-11-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11754         * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
11755         error_t to fix usage in C++ programs.
11757 2016-11-26  Joseph Myers  <joseph@codesourcery.com>
11759         * scripts/build-many-glibcs.py: Import datetime module.
11760         (Context.__init__): Load JSON build state.  Initialize list of
11761         status logs.
11762         (Context.run_builds): Update saved build state.
11763         (Context.add_makefile_cmdlist): Update list of status logs.
11764         (Context.load_build_state_json): New function.
11765         (Context.store_build_state_json): Likewise.
11766         (Context.clear_last_build_state): Likewise.
11767         (Context.update_build_state): Likewise.
11768         (CommandList.status_logs): Likewise.
11770 2016-11-25  Joseph Myers  <joseph@codesourcery.com>
11772         * scripts/build-many-glibcs.py (Context.__init__): Save text of
11773         script being executed.
11774         (Context.get_script_text): New function.
11775         (Context.exec_self): Likewise.
11776         (Context.checkout): Re-exec script if changed by checkout process.
11778 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
11780         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11781         (setpayloadsig): New declaration.
11782         * math/Versions (setpayloadsig): New libm symbol at version
11783         GLIBC_2.25.
11784         (setpayloadsigf): Likewise.
11785         (setpayloadsigl): Likewise.
11786         * math/Makefile (libm-calls): Add s_setpayloadsigF.
11787         * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
11788         (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
11789         (setpayloadsig_test_data): New array.
11790         (setpayloadsig_test): New function.
11791         (main): Call setpayloadsig_test.
11792         * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
11793         setpayloadsigf and setpayloadsigl.
11794         * manual/libm-err-tab.pl: Update comment on interfaces without
11795         ulps tabulated.
11796         * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
11797         * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
11798         * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
11799         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
11800         * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
11801         * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
11802         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
11803         setpayloadsig.
11804         (CFLAGS-nldbl-setpayloadsig.c): New variable.
11805         * sysdeps/nacl/libm.abilist: Update.
11806         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11807         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11808         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11809         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11810         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11811         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11812         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11813         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11814         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11815         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11816         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11817         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11819         Likewise.
11820         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11821         Likewise.
11822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11823         Likewise.
11824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11825         Likewise.
11826         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11827         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11828         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11829         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11830         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11831         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11832         Likewise.
11833         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11834         Likewise.
11835         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11836         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11837         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11839         * scripts/build-many-glibcs.py: Import json module.
11840         (Context.__init__): Take replace_sources argument.  Load
11841         versions.json.
11842         (Context.load_versions_json): New function.
11843         (Context.store_json): Likewise.
11844         (Context.store_versions_json): Likewise.
11845         (Context.set_component_version): Likewise.
11846         (Context.checkout): Update versions.json.  Check for and handle
11847         changes of version.  Prefer previously explicitly specified
11848         version to default version.
11849         (Context.checkout_vcs): Return a revision identifier.
11850         (Context.git_checkout): Likewise.
11851         (Context.gcc_checkout): Likewise.
11852         (get_parser): Add --replace-sources option.
11853         (main): Pass replace_sources argument to Context call.
11855 2016-11-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11857         * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
11858         * nptl/allocatestack.c (allocate_stack): Likewise.
11859         (__reclaim_stacks): Likewise.
11860         (setxid_signal_thread): Obtain pid through syscall.
11861         * nptl/nptl-init.c (sigcancel_handler): Likewise.
11862         (sighandle_setxid): Likewise.
11863         * nptl/pthread_cancel.c (pthread_cancel): Likewise.
11864         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
11865         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
11866         Likewise.
11867         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
11868         * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
11869         comment.
11870         * sysdeps/unix/sysv/linux/getpid.c: Remove file.
11871         * nptl/descr.h (struct pthread): Change comment about pid value.
11872         * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
11873         pid assert.
11874         * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
11875         Do not set pid value.
11876         * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
11877         pid cache check.
11878         * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
11879         * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
11880         * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
11881         * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
11882         * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
11883         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
11884         * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
11885         * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
11886         * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
11887         * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
11888         * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
11889         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
11890         * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
11891         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
11892         * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
11893         * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
11894         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
11895         * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
11896         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
11897         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
11898         * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
11899         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
11900         * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
11901         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
11902         * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
11903         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
11904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
11905         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
11906         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
11907         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
11908         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
11909         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
11910         * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
11911         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
11912         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
11913         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
11914         * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
11915         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
11916         * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
11917         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
11918         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
11919         * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
11920         * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
11921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
11922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
11923         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
11924         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
11925         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
11926         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
11927         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
11928         * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
11929         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
11930         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
11931         * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
11932         struct access.
11933         (clone_test): Remove function.
11934         (do_test): Rewrite to take in consideration pid is not cached anymore.
11936 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
11938         * bits/flt-eval-method.h: New file.
11939         * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
11940         * sysdeps/s390/bits/flt-eval-method.h: Likewise.
11941         * sysdeps/x86/bits/flt-eval-method.h: Likewise.
11942         * math/Makefile (headers): Add bits/flt-eval-method.h.
11943         * math/math.h: Include <bits/flt-eval-method.h>.
11944         [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
11945         [__USE_ISOC99] (double_t): Likewise.
11946         * bits/mathdef.h (float_t): Remove.
11947         (double_t): Likewise.
11948         * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
11949         (double_t): Likewise.
11950         * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
11951         (double_t): Likewise.
11952         * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
11953         (double_t): Likewise.
11954         * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
11955         (double_t): Likewise.
11956         * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
11957         (double_t): Likewise.
11958         * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
11959         (double_t): Likewise.
11960         * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
11961         (double_t): Likewise.
11962         * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
11963         (double_t): Likewise.
11964         * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
11965         (double_t): Likewise.
11966         * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
11967         (double_t): Likewise.
11968         * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
11969         (double_t): Likewise.
11970         * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
11971         (double_t): Likewise.
11972         * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
11973         (double_t): Likewise.
11975 2016-11-24  Aurelien Jarno  <aurelien@aurel32.net>
11977         * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
11978         instead of PIC.
11980 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
11982         [BZ #20859]
11983         * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
11984         (-0x7fffffff) instead of 0x80000001.
11985         * math/test-fp-ilogb-constants.c: New file.
11986         * math/Makefile (tests): Add test-fp-ilogb-constants.
11988 2016-11-23  Maciej W. Rozycki  <macro@imgtec.com>
11990         * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
11991         (_init): Use it in place of hardcoded R_MIPS_JALR.
11992         * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
11993         (_init): Use it in place of hardcoded R_MIPS_JALR.
11994         * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
11995         (_init): Use it in place of hardcoded R_MIPS_JALR.
11997 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
11999         [BZ #20787]
12000         * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
12001         [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
12002         (double_t): Do not define to double if [__x86_64__] when
12003         __FLT_EVAL_METHOD__ is nonzero.
12004         * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
12005         * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
12006         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
12007         test-flt-eval-method-387 and test-flt-eval-method-sse.
12008         [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
12009         variable.
12010         [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
12012 2016-11-23  Chris Metcalf  <cmetcalf@mellanox.com>
12014         * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
12015         use of -fno-isolate-erroneous-paths options for tilepro.
12017 2016-11-23  Florian Weimer  <fweimer@redhat.com>
12019         * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
12020         structure initialization is no longer needed.
12022 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
12024         [BZ #20855]
12025         * bits/mathdef.h (float_t): Define to float.
12026         * math/test-flt-eval-method.c: New file.
12027         * math/Makefile (tests): Add test-flt-eval-method.
12028         (CFLAGS-test-flt-eval-method.c): New variable.
12030 2016-11-22  Steve Ellcey  <sellcey@caviumnetworks.com>
12032         * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
12033         and __fstatfs.  Make them aliases of __fstatfs64 if
12034         STATFS_IS_STATFS64 is set to non-zero.
12035         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
12036         and __statfs64.
12037         * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
12038         define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
12039         * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
12040         for __statfs and statfs.
12041         * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
12042         to 0.
12043         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
12044         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
12045         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
12046         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
12047         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
12048         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
12049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
12050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
12051         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
12052         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
12053         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
12054         * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
12056 2016-11-22  Andreas Schwab  <schwab@suse.de>
12058         * misc/mkstemp.c: Include <fcntl.h>.
12059         * misc/mkstemps.c: Likewise.
12060         * misc/mkostemp.c: Likewise.
12061         * misc/mkostemps.c: Likewise.
12063 2016-11-22  Adhemerval Zanella  <adhemerva.zanella@linaro.org>
12065         [BZ #20847]
12066         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
12067         array bounds.
12068         (__execvpe): Likewise.
12070 2016-11-22  Joseph Myers  <joseph@codesourcery.com>
12072         * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
12073         -fno-isolate-erroneous-paths options for tilepro.
12075 2016-11-21  Steve Ellcey  <sellcey@caviumnetworks.com>
12077         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
12078         to 0 when in 32 bit mode.
12079         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
12080         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
12081         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
12082         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
12083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
12084         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
12085         * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
12086         XSTAT_IS_XSTAT64 test.
12087         * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
12088         * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
12089         * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
12090         * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
12091         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
12092         * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
12093         * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
12094         * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
12095         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
12096         * sysdeps/unix/sysv/linux/xstat.c: Ditto.
12097         * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
12099 2016-11-19  Joseph Myers  <joseph@codesourcery.com>
12101         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12102         (setpayload): New declaration.
12103         * math/Versions (setpayload): New libm symbol at version
12104         GLIBC_2.25.
12105         (setpayloadf): Likewise.
12106         (setpayloadl): Likewise.
12107         * math/Makefile (libm-calls): Add s_setpayloadF.
12108         * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
12109         test_Ff_b1_data.
12110         (RUN_TEST_Ff_b1): New macro.
12111         (RUN_TEST_LOOP_Ff_b1): Likewise.
12112         (canonicalize_test_data): Update type.
12113         (setpayload_test_data): New array.
12114         (setpayload_test): New function.
12115         (main): Call setpayload_test.
12116         * manual/arith.texi (FP Bit Twiddling): Document setpayload,
12117         setpayloadf and setpayloadl.
12118         * manual/libm-err-tab.pl: Update comment on interfaces without
12119         ulps tabulated.
12120         * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
12121         * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
12122         * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
12123         Likewise.
12124         * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
12125         * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
12126         * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
12127         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
12128         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
12129         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
12130         * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
12131         * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
12132         * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
12133         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
12134         setpayload.
12135         (CFLAGS-nldbl-setpayload.c): New variable.
12136         * sysdeps/nacl/libm.abilist: Update.
12137         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12138         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12139         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12140         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12141         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12142         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12143         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12144         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12145         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12146         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12147         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12148         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12150         Likewise.
12151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12152         Likewise.
12153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12154         Likewise.
12155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12156         Likewise.
12157         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12158         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12159         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12160         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12161         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12162         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12163         Likewise.
12164         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12165         Likewise.
12166         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12167         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12168         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12170 2016-11-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12172         * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
12173         * include/unistd.h: Extend comment about __access_noerrno return
12174         semantics.
12175         * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
12176         (access_common): Correct typo for EACCES.
12178 2016-11-18  Chris Metcalf  <cmetcalf@mellanox.com>
12180         * sysdeps/tile/math-tests.h: New file.
12182         * sysdeps/unix/sysv/linux/tile/set_dataplane.c
12183         (__old_set_dataplane): Rename from set_dataplane and make a
12184         compatibility symbol.
12185         * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
12186         * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
12187         sys/dataplane.h.
12189 2016-11-18  Joseph Myers  <joseph@codesourcery.com>
12191         * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
12192         script quote words in command output to log suitably for input to
12193         the shell.
12195 2016-11-18  Matthew Fortune  <Matthew.Fortune@imgtec.com>
12196             Maciej W. Rozycki  <macro@imgtec.com>
12198         * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
12199         `.Lno_weak_fn' label.
12200         * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
12201         * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
12203 2016-11-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12204             Yury Norov  <ynorov@caviumnetworks.com>
12206         * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
12207         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
12208         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
12209         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
12210         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
12211         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
12212         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
12213         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12214         [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
12215         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
12216         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
12217         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
12218         (sysdep_routines): Remove oldgetrlimit64.
12219         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
12220         (sysdep_routines): Likewise.
12221         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
12222         (sysdep_routines): Likewise.
12223         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
12224         [$(subdir) = resource] (sysdep_routines): Likewise.
12225         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
12226         [$(subdir) = resource] (sysdep_routines): Likewise.
12227         * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
12228         * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
12229         * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
12230         * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
12231         * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
12232         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
12233         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
12234         * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
12235         * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
12236         * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
12237         * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
12238         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
12239         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
12240         * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
12241         * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
12242         * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
12243         * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
12244         setrlimit and getrlimit.
12245         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
12246         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
12247         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
12248         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
12249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
12250         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
12251         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
12252         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
12253         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
12254         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
12255         * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
12256         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
12257         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
12258         __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
12259         (__old_getrlimit64): Add compatibility symbol.
12260         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
12262 2016-11-17  Joseph Myers  <joseph@codesourcery.com>
12264         * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
12265         newly built gmp, mpfr and mpc.
12267         * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
12269 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
12271         * conform/Makefile (linknamespace-libs): Rename to
12272         linknamespace-libs-thr.
12273         (linknamespace-libs-posix): New variable.
12274         (linknamespace-libs-xsi): Likewise.
12275         (linknamespace-libs-XPG3): Include libcrypt.a.
12276         (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
12277         (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
12278         (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
12279         (linknamespace-libs-XOPEN2K): Likewise.
12280         (linknamespace-libs-XOPEN2K8): Likewise.
12281         (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
12283         [BZ #20829]
12284         * stdio-common/Versions (__snprintf): Add to version
12285         GLIBC_PRIVATE.
12286         * include/stdio.h (__snprintf): Use libc_hidden_proto.
12287         * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
12288         * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
12289         of snprintf.
12290         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
12292 2016-11-16  Zack Weinberg  <zackw@panix.com>
12294         * string/string.h: Remove obsolete comment stating that
12295         strcoll_l and strxfrm_l have not yet been standardized.
12297 2016-11-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12299         * hurd/hurd.h (__hurd_fail_noerrno): New function.
12300         * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
12301         __access_noerrno.
12302         * io/access.c (__access_noerrno): New function.
12303         * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
12304         (hurd_fail_seterrno): Likewise.
12305         (access_common): Likewise.
12306         (__access_noerrno): Likewise.
12307         * sysdeps/nacl/access.c (__access_noerrno): Likewise.
12308         * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
12309         * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
12310         macro.
12312 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
12314         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
12315         Only declare fpregs if [__SH_FPU_ANY__].
12317 2016-11-15  Joseph Myers  <joseph@codesourcery.com>
12319         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
12320         Make code unconditional.
12321         [!(__SH4__ || __SH4A__)]: Remove conditional code.
12323 2016-11-15  Rical Jasan  <ricaljasan@pacific.net>
12325         * manual/sysinfo.texi (S_APPEND): Delete.
12326         (S_IMMUTABLE): Likewise.
12328 2016-11-15  Denis Kaganovich  <mahatma@eu.by>
12329             Magnus Granberg  <zorry@gentoo.org>
12330             Mike Frysinger  <vapier@gentoo.org>
12332         [BZ #20662]
12333         * configure.ac (libc_cv_predef_stack_protector): Also check for
12334         __stack_chk_fail_local symbols.
12335         * configure: Regenerated.
12337 2016-11-15  Florian Weimer  <fweimer@redhat.com>
12339         * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
12340         (libc_hidden_def): Remove redefinition.
12341         (__sigsetjmp): Add hidden definition.
12342         * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
12343         (libc_hidden_def): Remove redefinition.
12344         (__sigsetjmp): Add hidden definition.
12346 2016-11-14  Joseph Myers  <joseph@codesourcery.com>
12348         * scripts/build-many-glibcs.py (os.path): Do not import.
12349         (Context): Inherit explicitly from object.  Remove blank line
12350         between class and docstring.
12351         (Config): Likewise.
12352         (Glibc): Likewise.
12353         (Command): Likewise.
12354         (CommandList): Likewise.
12355         (Context.write_files): Store chmod mode in a variable.
12357         * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
12358         LIBC_SLIBDIR_RTLDDIR for tilegx32.
12359         * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
12361 2016-11-14  Zack Weinberg  <zackw@panix.com>
12363         * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
12364         creating or re-creating it.
12366         * string/bits/string2.h: Fix typo in comment.
12368 2016-11-14  Zack Weinberg  <zackw@panix.com>
12370         * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
12371         (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
12372         (__SYSMACROS_FST_IMPL_TEMPL): Delete.
12373         (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
12374         of redirected function names.
12376         * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
12377         as well.  Document that MESSAGE must be a single string literal.
12379 2016-11-11  Joseph Myers  <joseph@codesourcery.com>
12381         * scripts/build-many-glibcs.py: New file.
12383         * stdlib/bug-getcontext.c: Include <libc-internal.h>.
12384         (do_test): Disable -Wmaybe-uninitialized around uses of
12385         except_mask.
12387         * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
12389 2016-11-10  Chris Metcalf  <cmetcalf@mellanox.com>
12391         * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
12392         (atomic_store_release): Provide tilepro-specific implementations.
12394 2016-11-10  Joseph Myers  <joseph@codesourcery.com>
12396         * math/math.h (__MATH_TG): New macro.
12397         [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
12398         [__USE_ISOC99] (signbit): Likewise.
12399         [__USE_ISOC99] (isfinite): Likewise.
12400         [__USE_ISOC99] (isnan): Likewise.
12401         [__USE_ISOC99] (isinf): Likewise.
12402         [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
12403         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
12404         [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
12405         __MATH_TG and __MATH_EVAL_FMT2.
12406         * sysdeps/generic/math_private.h (fabs_tg): Define using
12407         __MATH_TG.
12408         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
12409         [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
12410         [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
12411         [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
12412         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
12413         macro.
12414         (__iscanonical): Likewise.
12415         (iscanonical): Define using __MATH_TG.
12417 2016-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12419         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
12420         guards.
12422         * sysdeps/unix/sysv/linux/access.c: New file.
12423         * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
12425 2016-11-10  Steve Ellcey  <sellcey@caviumnetworks.com>
12427         * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
12428         and __WORDSIZE32_PTRDIFF_LONG.
12430 2016-11-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
12432         * sysdeps/aarch64/libm-test-ulps: Regenerated.
12434 2016-11-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12436         * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
12437         * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
12438         * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
12439         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
12440         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
12441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
12442         * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
12443         * sysdeps/unix/sysv/linux/truncate.c: New file.
12444         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
12445         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
12446         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
12447         Remove.
12448         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
12449         Likewise.
12451         * posix/tst-truncate-common.c: New file.
12452         * posix/tst-truncate.c: Use tst-truncate-common.c.
12453         * posix/tst-truncate64.c: Likewise and add LFS tests.
12454         * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
12455         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
12456         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
12457         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
12458         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
12459         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
12460         * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
12461         * sysdeps/unix/sysv/linux/ftruncate.c: New file.
12462         * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
12463         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
12464         [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
12465         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
12466         Remove.
12467         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
12468         Likewise.
12470 2016-11-08  Joseph Myers  <joseph@codesourcery.com>
12472         [BZ #20790]
12473         * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
12474         to MAXLINESIZE.
12475         * sunrpc/bug20790.x: New file.
12476         * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
12477         variable.
12478         [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
12479         [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
12481         * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
12483         * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
12485         * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
12486         optional in ld.so.  Allow R_ALPHA_GLOB_DAT relocation for malloc,
12487         calloc, realloc, free, memalign and __libc_memalign rather than
12488         making them optional.
12490         * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
12491         for libc.so.
12493 2016-11-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12495         * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
12496         ptw-lseek64.
12497         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
12498         * sysdeps/unix/sysv/linux/alpha/Makefile  (sysdeps_routines):
12499         Likewise.
12500         * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
12501         * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
12502         * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
12503         * sysdeps/unix/sysv/linux/llseek.c: Remove file.
12504         * sysdeps/unix/sysv/linux/lseek.c: New file.
12505         * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
12506         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
12507         __libc_lseek64 from auto-generation.
12508         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
12509         * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
12511 2016-11-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
12513         * nptl/tst-basic1.c (tf, do_test): Use write_message.
12514         * nptl/tst-cleanup1.c (do_test): Likewise.
12515         * nptl/tst-cleanup3.c (do_test): Likewise.
12516         * nptl/tst-key1.c (do_test): Likewise.
12517         * nptl/tst-key2.c (tf, do_test): Likewise.
12518         * nptl/tst-key3.c (tf, do_test): Likewise.
12519         * nptl/tst-stdio1.c (do_test): Likewise.
12520         * nptl/tst-stdio2.c (do_test): Likewise.
12522         * nptl/tst-kill3.c (handler): Use write_message in place of write.
12523         * nptl/tst-kill6.c (handler): Likewise.
12524         * nptl/tst-tls2.c (CB): Likewise.
12525         * nptl/tst-tls3.c (CB): Likewise.
12527 2016-11-07  Joseph Myers  <joseph@codesourcery.com>
12529         * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
12531 2016-11-07  Yury Norov  <ynorov@caviumnetworks.com>
12532             Steve Ellcey  <sellcey@caviumnetworks.com>
12534         * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
12535           __ASSUME_ST_INO_64_BIT as 0
12536         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
12537         * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
12538           over the code where __ASSUME_ST_INO_64_BIT is used.
12539         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
12540         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
12541         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
12543 2016-11-07  Florian Weimer  <fweimer@redhat.com>
12545         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
12546         Document ABI exposure of the __kind offset.
12547         * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
12548         Mention reason for the __kind offset exposure in the ABI.
12549         * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
12550         Likewise.
12551         * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
12552         Likewise.
12553         * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
12554         Likewise.
12555         * sysdeps/microblaze/nptl/bits/pthreadtypes.h
12556         (struct __pthread_mutex_s): Likewise.
12557         * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
12558         Likewise.
12559         * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
12560         Likewise.
12561         * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
12562         Likewise.
12563         * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
12564         Likewise.
12565         * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
12566         Likewise.
12567         * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
12568         Likewise.
12569         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
12570         (struct __pthread_mutex_s): Likewise.
12571         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
12572         (struct __pthread_mutex_s): Likewise.
12573         * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
12574         Likewise.
12576 2016-11-07  Steve Ellcey  <sellcey@caviumnetworks.com>
12578         * test-skeleton.c: Document do_test usage.
12580 2016-11-06  Aurelien Jarno  <aurelien@aurel32.net>
12582         * iconv/gconv.h (__gconv_info): Define __data element using a
12583         zero-length array.
12585 2016-11-04  Steve Ellcey  <sellcey@caviumnetworks.com>
12587         * math/test-tgmath2.c: Split up test function.
12589 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
12591         * Rules (tests-expected): New variable, depending on
12592         $(run-built-tests).
12593         (tests): Pass $(tests-expected) to merge-test-results.sh, not
12594         $(tests).
12596         * Rules [$(run-built-tests) = no] (tests): Do not depend on
12597         $(tests-unsupported).
12599 2016-11-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12601         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
12602         (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and  64 bits.
12604 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
12606         [BZ #20768]
12607         * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
12608         __fegetenv instead of fegetenv.
12610         [BZ #14139]
12611         * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
12612         (find_files): Obtain platform name from libm-test-ulps-name and
12613         store in %pplatforms.
12614         (canonicalize_platform): Remove.
12615         (print_platforms): Use $pplatforms directly.
12616         (by_platforms): Do not allow for platforms missing from
12617         %pplatforms.
12618         * sysdeps/aarch64/libm-test-ulps-name: New file.
12619         * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
12620         * sysdeps/arm/libm-test-ulps-name: Likewise.
12621         * sysdeps/generic/libm-test-ulps-name: Likewise.
12622         * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
12623         * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
12624         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
12625         * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
12626         * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
12627         * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
12628         * sysdeps/microblaze/libm-test-ulps-name: Likewise.
12629         * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
12630         * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
12631         * sysdeps/nios2/libm-test-ulps-name: Likewise.
12632         * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
12633         * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
12634         * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
12635         * sysdeps/sh/libm-test-ulps-name: Likewise.
12636         * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
12637         * sysdeps/tile/libm-test-ulps-name: Likewise.
12638         * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
12640         * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
12642         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
12643         (test-xfail-check-execstack): New variable.
12645         * sysdeps/mips/localplt.data: New file.
12647 2016-11-04  Yury Norov  <ynorov@caviumnetworks.com>
12648             Steve Ellcey  <sellcey@caviumnetworks.com>
12650         * bits/wordsize.h: Add documentation.
12651         * sysdeps/aarch64/bits/wordsize.h : New file
12652         * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
12653         definitions.
12654         (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
12655         * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
12656         with #if instead of #ifdef.
12657         * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
12658         * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
12659         __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
12660         Add or change defines.
12661         * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
12662         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
12663         * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
12664         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
12665         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
12666         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
12667         * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
12668         * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
12669         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
12670         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
12671         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
12672         * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
12673         * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
12674         * sysdeps/x86/bits/wordsize.h: Likewise.
12676 2016-11-04  Wilco Dijkstra  <wdijkstr@arm.com>
12677             Kevin Petit  <kevin.petit@arm.com>
12679         * sysdeps/aarch64/memchr.S (__memchr): New file.
12681 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
12683         * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
12685 2016-11-03  Joseph Myers  <joseph@codesourcery.com>
12687         [BZ #19398]
12688         * conform/Makefile ($(linknamespace-header-tests)): Also depend on
12689         $(linknamespace-symlists-tests).
12691 2016-11-02  Steve Ellcey  <sellcey@caviumnetworks.com>
12693         * time/tst-strptime2.c: Ignore -Wformat-length warning.
12695 2016-11-02  Florian Weimer  <fweimer@redhat.com>
12696             Carlos O'Donell  <carlos@redhat.com>
12698         [Bug #20729]
12699         * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
12700         change to non -Os related diagnostic.  Use DIAG_IGNORE_Os_NEEDS_COMMENT
12701         for -Os related change.
12703 2016-11-01  Steve Ellcey  <sellcey@caviumnetworks.com>
12705         * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
12707 2016-11-01  Joseph Myers  <joseph@codesourcery.com>
12709         [BZ #19673]
12710         * manual/math.texi (Exponents and Logarithms): Correct description
12711         of clog10.
12713 2016-10-31  Carlos O'Donell  <carlos@redhat.com>
12715         [Bz #20729]
12716         * locale/weight.h: Include libc-internal.h.
12717         * locale/weightwc.h: Likewise.
12718         * nptl/nptl_dbP.h: Likewise.
12720 2016-10-31  Brent W. Baccala  <cosine@freesoft.org>
12722         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
12723         when it is MACH_PORT_NULL.
12725 2016-10-31  Andreas Schwab  <schwab@suse.de>
12727         [BZ #20707]
12728         * posix/glob.c (glob): Initialize pglob before checking for
12729         GLOB_BRACE.  Don't call glob recursively if pattern contains no
12730         valid brace expression despite GLOB_BRACE.
12731         * posix/globtest.sh: Test it.
12733 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
12735         [BZ #20729]
12736         * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
12737         Define.
12738         * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
12739         -Wmaybe-uninitialized for BODY macro only for -Os compiles.
12740         * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
12741         for seq2.back_us and seq1.back_us only for -Os compiles.
12742         * locale/weightwc.h (findix): Likewise.
12743         * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
12744         DB_GET_FIELD_ADDRESS only for -Os compiles.
12745         * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
12746         for slen only for -Os compiles.
12747         * string/strcoll_l.c (get_next_seq): Ignore
12748         -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
12749         for -Os compiles.
12751         * elf/Makefile (CFALGS-tst-linkall-static): Remove.
12752         * include/crypt.h: New file.
12754 2016-10-28  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
12756         * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
12757         from test-skeleton.c.
12758         (statclass): Replace calls to write with calls to write_message.
12760 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
12762         * math/math.h
12763         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
12764         New macro.
12765         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
12766         Likewise.
12767         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
12768         Likewise.
12769         * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
12770         SNANL.
12771         * math/test-double.h (snan_value_MACRO): New macro.
12772         * math/test-float.h (snan_value_MACRO): Likewise.
12773         * math/test-ldouble.h (snan_value_MACRO): Likewise.
12774         * math/libm-test.inc (issignaling_test_data): Add tests of
12775         snan_value_MACRO.
12777 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12779         * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
12780         behavior when eliding a lock not held by the current thread.
12781         * sysdeps/powerpc/nptl/elide.h: Likewise.
12783 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12785         [BZ #20728]
12786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
12787         branch to _exit() by a function call.
12789 2016-10-28  Florian Weimer  <fweimer@redhat.com>
12791         * malloc/malloc.c: Update chunk layout comments.
12792         (chunk_main_arena): Update comment.
12794 2016-10-28  Florian Weimer  <fweimer@redhat.com>
12796         * crypt/sha256.c, crypt/sha256-block.c,
12797         sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
12798         sha256_process_block to __sha256_process_block.
12799         * crypt/sha512.c, crypt/sha512-block.c,
12800         sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
12801         sha512_process_block to __sha512_process_block.
12803 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
12805         * elf/Makefile (CFLAGS-tst-linkall-static): Define.
12807         * math/test-nan-overflow.c: Include stdlib.h for malloc.
12809 2016-10-28  H.J. Lu  <hongjiu.lu@intel.com>
12811         [BZ #20019]
12812         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
12813         definition in unrelocated shared library.
12814         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12816 2016-10-28  Florian Weimer  <fweimer@redhat.com>
12818         [BZ #20729]
12819         Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
12820         * sysdeps/unix/sysv/linux/i386/Makefile
12821         (uses-6-syscall-arguments): Define.
12822         [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
12823         (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
12824         (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
12825         [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
12826         Likewise.
12827         [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
12828         (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
12829         (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
12830         (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
12831         (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
12832         (CFLAGS-fallocate64.os): Likewise.
12833         [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
12834         (CFLAGS-pthread_rwlock_timedrdlock.os)
12835         (CFLAGS-pthread_rwlock_timedwrlock.o)
12836         (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
12837         (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
12838         (CFLAGS-sem_timedwait.os): Likewise.
12840 2016-10-28  Florian Weimer  <fweimer@redhat.com>
12842         * elf/tst-linkall-static.c: New file.
12843         * elf/Makefile (tests-static): Add tst-linkall-static.
12844         (tst-linkall-static): Link against static libraries.
12846 2016-10-27  Florian Weimer  <fweimer@redhat.com>
12848         * malloc/malloc.c (sysmalloc): Initialize previous size field of
12849         mmaped chunks.
12851 2016-10-28  Florian Weimer  <fweimer@redhat.com>
12853         * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
12854         members to mchunk_prev_size, mchunk_size.
12855         (chunk_main_arena): Reverse sense and rename from
12856         chunk_non_main_arena.
12857         (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
12858         mchunk_size instead of size.
12859         (set_non_main_arena): Define.
12860         (chunksize): Use chunksize_nomask instead of direct member access.
12861         (chunksize_nomask): Define.
12862         (next_chunk): Use chunksize instead of direct member access.
12863         (prev_size, set_prev_size): Define.
12864         (prev_chunk): Use prev_size instead of direct member access.
12865         (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
12866         (inuse_bit_at_offset, set_inuse_bit_at_offset)
12867         (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
12868         (mchunk_prev_size, mchunk_size): Poison tokens.
12869         (unlink): Use chunksize_nomask, prev_size accessors.
12870         (do_check_remalloced_chunk): Use chunk_main_arena accessor.
12871         (do_check_free_chunk): Use prev_size accessor.
12872         (sysmalloc): Use set_prev_size, set_head accessors.
12873         (munmap_chunk, mremap_chunk): Use prev_size accessor.
12874         (__libc_free): Use chunksize_nomask accessor.
12875         (_int_malloc): Use set_non_main_arena, chunksize_nomask,
12876         chunk_main_arena accessors.
12877         (_int_free): Use chunksize_nomask, prev_size accessors.
12878         (malloc_consolidate): Use chunksize, prev_size accessors.
12879         (_int_realloc): Use chunksize_nomask accessor.
12880         (_int_memalign): Use set_prev_size accessor.
12881         (__malloc_info): Use chunksize_nomask accessor.
12882         * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
12883         accessors.
12884         * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
12885         (heap_trim): Use chunksize_nomask, prev_size accessors.
12887 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
12889         [BZ #19380]
12890         * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
12891         for inexact results.
12892         * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
12893         of inexact result where mpfr_subnormalize is the only inexact
12894         step.
12895         * stdlib/tst-strtod-round-data.h: Regenerated.
12896         * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
12897         Define to 0.
12898         (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
12900 2016-10-27  David S. Miller  <davem@davemloft.net>
12902         * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
12904 2016-10-27  Siddhesh Poyarekar  <siddhesh@sourceware.org>
12906         * malloc/malloc.c (do_set_mallopt_check): New function.
12907         (do_set_mmap_threshold): Likewise.
12908         (do_set_mmaps_max): Likewise.
12909         (do_set_top_pad): Likewise.
12910         (do_set_perturb_byte): Likewise.
12911         (do_set_trim_threshold): Likewise.
12912         (do_set_arena_max): Likewise.
12913         (do_set_arena_test): Likewise.
12914         (__libc_mallopt): Use them.
12916 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
12918         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12919         (canonicalize): New declaration.
12920         * math/Versions (canonicalize): New libm symbol at version
12921         GLIBC_2.25.
12922         (canonicalizef): Likewise.
12923         (canonicalizel): Likewise.
12924         * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
12925         * math/s_canonicalize_template.c: New file.
12926         * math/libm-test.inc: Update comment on functions tested and
12927         testing of NaN payloads.
12928         (TEST_NAN_PAYLOAD): New macro.
12929         (NO_TEST_INLINE): Update value.
12930         (XFAIL_TEST): Likewise.
12931         (ERRNO_UNCHANGED): Likewise.
12932         (ERRNO_EDOM): Likewise.
12933         (ERRNO_ERANGE): Likewise.
12934         (IGNORE_RESULT): Likewise.
12935         (NON_FINITE): Likewise.
12936         (TEST_SNAN): Likewise.
12937         (NO_TEST_MATHVEC): Likewise.
12938         (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
12939         (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
12940         (struct test_Ffp_b1_data): New type.
12941         (RUN_TEST_Ffp_b1): New macro.
12942         (RUN_TEST_LOOP_Ffp_b1): Likewise.
12943         (canonicalize_test_data): New array.
12944         (canonicalize_test): New function.
12945         (main): Call canonicalize_test.
12946         * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
12947         canonicalizef and canonicalizel.
12948         * manual/libm-err-tab.pl: Update comment on interfaces without
12949         ulps tabulated.
12950         * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
12951         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
12952         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
12953         canonicalize.
12954         (CFLAGS-nldbl-canonicalize.c): New variable.
12955         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
12956         to ...
12957         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
12958         ... here.
12959         (do_test): Also test canonicalizel.
12960         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
12961         test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
12962         * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
12963         file.
12964         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
12965         Use libm_hidden_def.
12966         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
12967         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
12968         (do_test): Also test canonicalizel.
12969         * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
12970         test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
12971         * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
12972         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
12973         libm_hidden_def.
12974         * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
12975         macro.
12976         * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
12977         (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
12978         * sysdeps/nacl/libm.abilist: Update.
12979         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12980         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12981         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12982         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12983         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12984         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12985         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12986         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12987         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12988         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12989         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12990         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12992         Likewise.
12993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12994         Likewise.
12995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12996         Likewise.
12997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12998         Likewise.
12999         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13000         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13001         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13002         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13003         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13004         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13005         Likewise.
13006         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13007         Likewise.
13008         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13009         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13010         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13012         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
13013         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
13014         getpayload.
13015         (CFLAGS-nldbl-getpayload.c): New variable.
13017 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13019         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
13020         integer from the format string.
13022 2016-10-26  Florian Weimer  <fweimer@redhat.com>
13024         [BZ #19473]
13025         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
13026         declarations.
13027         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
13028         weak aliases.
13029         * malloc/hooks.c (__malloc_get_state): Remove definition.
13030         (malloc_get_state): New stub implementation as
13031         compatibility symbol.
13032         (malloc_set_state): Rename from __malloc_set_state.  Turn into
13033         compat symbol.
13034         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
13035         malloc_set_state.
13036         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
13038 2016-10-26  Florian Weimer  <fweimer@redhat.com>
13040         * iconvdata/iso646.c (enum variant): Drop illegal_var.
13041         (names): Turn into concatenation of strings.
13042         (gconv_init): Adapt iteration over names.
13044 2016-10-26  Florian Weimer  <fweimer@redhat.com>
13046         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
13047         make const.
13048         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
13049         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
13050         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
13051         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
13052         character in sbconv.
13053         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
13054         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
13055         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
13057 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
13059         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
13061         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
13062         (M_TRIM_THRESHOLD): Likewise.
13064         * manual/memory.texi (M_ARENA_TEST): Add documentation.
13065         (M_ARENA_MAX): Likewise.
13066         * malloc/malloc.c: Remove obsolete comment.
13068         * manual/memory.texi: Add environment variable alternatives to
13069         setting mallopt parameters.
13071 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
13073         * include/atomic.h
13074         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
13075         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
13077 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13079         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
13080         * stdlib/tst-strfrom.h: New file.
13081         * stdlib/tst-strfrom.c: New file.
13082         * stdlib/tst-strfrom-locale.c: New file.
13084         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
13085         * stdlib/bug-strtod2.c: Likewise.
13086         * stdlib/tst-strtod-round-skeleton.c: Likewise.
13087         * stdlib/tst-strtod6.c: Likewise.
13088         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
13090 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13092         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
13093         * manual/arith.texi: Document strfromd, strfromf, strfroml.
13094         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
13095         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
13096         * stdlib/stdlib.h (strfromd): New declaration.
13097         (strfromf): Likewise.
13098         (strfroml): Likewise.
13099         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
13100         strfrom.
13101         * stdlib/strfromd.c: New file.
13102         * stdlib/strfromf.c: Likewise.
13103         * stdlib/strfroml.c: Likewise.
13104         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
13105         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
13106         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
13107         * sysdeps/arm/nacl/libc.abilist: Update.
13108         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
13109         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
13110         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
13111         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
13112         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
13113         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
13114         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
13115         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
13116         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
13117         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
13118         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
13119         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
13120         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
13121         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
13122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
13123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
13124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
13125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
13126         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
13127         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
13128         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
13129         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
13130         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13131         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
13132         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
13133         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
13134         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
13135         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
13137 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
13139         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
13140         instead of cmpli.
13141         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
13142         instead of cmpli.
13144 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
13146         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
13147         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
13148         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
13149         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
13150         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
13151         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
13153 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13155         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
13156         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
13157         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
13158         SYSCALL_LL64_PRW.
13159         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
13160         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
13161         __ASSUME_PRW_DUMMY_ARG.
13162         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
13163         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
13164         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
13165         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
13166         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
13167         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
13169 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
13171         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
13173 2016-10-22  Florian Weimer  <fweimer@redhat.com>
13175         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
13176         "C++", to override a potential extern "C" directive around the
13177         header file inclusion.
13179 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
13181         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
13183 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13185         * sysdeps/powerpc/fpu/fenv_private.h:
13186         (_FPU_MASK_ALL): Rename to...
13187         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
13188         XE FPSCR bits.
13190         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
13192         (_FPU_MASK_ROUNDING): Rename to...
13193         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
13194         NI bits.
13196         (_FPU_MASK_EXCEPT_ROUND): Rename to...
13197         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
13198         bits and rounding bits.
13200         (__libc_feholdbits_ppc): New inline function to mask, set,
13201         and pontentially clear FSPCR bits, and change MSR[FE] bits.
13202         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
13203         (libc_feholdexcept_setround_ppc): Likewise.
13205         (__libc_femergeenv_ppc): New function to dynamically mask both
13206         old and new FP environments and merge.
13207         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
13208         (libc_feresetround_ppc): Likewise.
13209         (libc_feupdateenv_test_ppc): Likewise.
13210         (libc_feupdateenv_ppc): Likewise.
13212         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
13213         of ISA RN bits, and update macro names.
13214         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
13215         effectively the same as the previously mentioned function.
13217         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
13218         usage with fe_resetround_ppc.
13220         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
13221         to be used.
13222         (libc_feholdexcept_setround_ctxf): Likewise.
13223         (libc_feholdexcept_setround_ctxl): Likewise.
13225 2016-10-21  Florian Weimer  <fweimer@redhat.com>
13227         [BZ #20715]
13228         * math/math.h [__cplusplus] (iszero): Define as function template.
13229         * math/Makefile [CXX] (tests): Add test-math-iszero.
13230         (CFLAGS-test-math-iszero.cc): Set.
13231         * math/test-math-iszero.cc: New file.
13233 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
13235         [BZ #20660]
13236         * sysdeps/arm/e_sqrt.c: New file.
13237         * sysdeps/arm/e_sqrtf.c: Likewise.
13239 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
13241         [BZ #20718]
13242         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
13243         not use floating-point comparisons to test sign.
13244         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
13245         Likewise.
13247         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13248         (getpayload): New declaration.
13249         * math/Versions (getpayload): New libm symbol at version
13250         GLIBC_2.25.
13251         (getpayloadf): Likewise.
13252         (getpayloadl): Likewise.
13253         * math/Makefile (libm-calls): Add s_getpayloadF.
13254         * math/libm-test.inc: Include <nan-high-order-bit.h>.
13255         (struct test_f_f_data): Add comment.
13256         (RUN_TEST_fp_f): New macro.
13257         (RUN_TEST_LOOP_fp_f): Likewise.
13258         (getpayload_test_data): New array.
13259         (getpayload_test): New function.
13260         (main): Call getpayload_test.
13261         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
13262         descriptor.
13263         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
13264         getpayloadf and getpayloadl.
13265         * manual/libm-err-tab.pl: Update comment on interfaces without
13266         ulps tabulated.
13267         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
13268         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
13269         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
13270         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
13271         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
13272         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
13273         * sysdeps/nacl/libm.abilist: Update.
13274         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13275         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13276         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13277         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13278         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13279         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13280         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13281         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13282         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13283         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13284         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13285         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13286         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13287         Likewise.
13288         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13289         Likewise.
13290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13291         Likewise.
13292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13293         Likewise.
13294         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13295         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13296         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13297         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13298         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13299         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13300         Likewise.
13301         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13302         Likewise.
13303         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13304         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13305         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13307 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13309         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
13310         tst-fallocate{64}.
13311         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
13312         on syscall return.
13314 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
13316         [BZ #20689]
13317         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
13318         usable.
13320 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
13322         * sysdeps/generic/nan-high-order-bit.h: New file.
13323         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
13324         * sysdeps/mips/nan-high-order-bit.h: Likewise.
13325         * sysdeps/hppa/math_private.h: Remove file.
13326         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
13327         not define here.
13328         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
13329         <nan-high-order-bit.h>.
13330         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13331         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
13332         <nan-high-order-bit.h>.
13333         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13334         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
13335         <nan-high-order-bit.h>.
13336         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13337         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
13338         <nan-high-order-bit.h>.
13339         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13340         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
13341         <nan-high-order-bit.h>.
13342         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13343         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
13344         <nan-high-order-bit.h>.
13345         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13346         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
13347         <nan-high-order-bit.h>.
13348         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13349         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
13350         <nan-high-order-bit.h>.
13351         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13352         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
13353         <nan-high-order-bit.h>.
13354         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13355         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
13356         <nan-high-order-bit.h>.
13357         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13358         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
13359         <nan-high-order-bit.h>.
13360         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13361         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
13362         <nan-high-order-bit.h>.
13363         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13364         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
13365         <nan-high-order-bit.h>.
13366         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13367         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
13368         <nan-high-order-bit.h>.
13369         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13370         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
13371         <nan-high-order-bit.h>.
13372         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13373         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
13374         <nan-high-order-bit.h>.
13375         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13376         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
13377         <nan-high-order-bit.h>.
13378         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13379         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
13380         <nan-high-order-bit.h>.
13381         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13383 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
13385         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
13387 2016-09-22  John David Anglin  <dave.anglin@bell.net>
13389         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
13390         abort-instr.h.
13391         (EFAULT): Remove conditional define.
13392         (ENOSYS): Likewise.
13393         (atomic_compare_and_exchange_val_acq): Use instruction nullification
13394         instead of conditional branch instructions.
13396 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
13398         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13399         (totalordermag): New declaration.
13400         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
13401         New macro.
13402         * math/Versions (totalordermag): New libm symbol at version
13403         GLIBC_2.25.
13404         (totalordermagf): Likewise.
13405         (totalordermagl): Likewise.
13406         * math/Makefile (libm-calls): Add s_totalordermagF.
13407         * math/libm-test.inc (totalordermag_test_data): New array.
13408         (totalordermag_test): New function.
13409         (main): Call totalordermag_test.
13410         * math/test-tgmath.c (NCALLS): Increase to 125.
13411         (F(compile_test)): Call totalordermag.
13412         (F(totalordermag)): New function.
13413         * manual/arith.texi (FP Comparison Functions): Document
13414         totalordermag, totalordermagf and totalordermagl.
13415         * manual/libm-err-tab.pl: Update comment on interfaces without
13416         ulps tabulated.
13417         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
13418         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
13419         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
13420         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
13421         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
13422         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
13423         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
13424         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
13425         totalordermag.
13426         (CFLAGS-nldbl-totalordermag.c): New variable.
13427         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
13428         (do_test): Also test totalordermagl.
13429         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
13430         Likewise.
13431         * sysdeps/nacl/libm.abilist: Update.
13432         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13433         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13434         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13435         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13436         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13437         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13438         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13439         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13440         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13441         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13442         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13443         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13445         Likewise.
13446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13447         Likewise.
13448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13449         Likewise.
13450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13451         Likewise.
13452         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13453         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13454         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13455         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13456         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13457         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13458         Likewise.
13459         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13460         Likewise.
13461         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13462         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13463         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13465 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
13467         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
13468         boolean.
13470 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
13472         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
13473         raising FE_INVALID with feraisexcept in case where part of
13474         argument is infinite, subtract that part of argument from itself.
13475         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
13476         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
13477         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
13479 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
13481         * math/libm-test.inc (totalorder_test_data): Add more tests.
13483 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
13485         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
13486         Undefine weak_alias and add a comment why mips64 require
13487         versioning.
13489 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
13491         [BZ #20647]
13492         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
13493         maximum CPUID level is less than 2.
13495 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
13497         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13498         (totalorder): New declaration.
13499         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
13500         New macro.
13501         * math/Versions (totalorder): New libm symbol at version
13502         GLIBC_2.25.
13503         (totalorderf): Likewise.
13504         (totalorderl): Likewise.
13505         * math/Makefile (libm-calls): Add s_totalorderF.
13506         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
13507         string.
13508         * math/libm-test.inc (PAYLOAD_DIG): New macro.
13509         (qnan_value_pl): Likewise.
13510         (snan_value_pl): Likewise.
13511         (qnan_value): Define using qnan_value_pl.
13512         (snan_value): Define using snan_value_pl.
13513         (struct test_ff_i_data): Add comment about which tests use this
13514         structure.
13515         (RUN_TEST_ff_b): New macro.
13516         (RUN_TEST_LOOP_ff_b): Likewise.
13517         (totalorder_test_data): New array.
13518         (totalorder_test): New function.
13519         (main): Call totalorder_test.
13520         * math/test-tgmath.c (NCALLS): Increase to 122.
13521         (F(compile_test)): Call totalorder.
13522         (F(totalorder)): New function.
13523         * manual/arith.texi (FP Comparison Functions): Document
13524         totalorder, totalorderf and totalorderl.
13525         * manual/libm-err-tab.pl: Update comment on interfaces without
13526         ulps tabulated.
13527         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
13528         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
13529         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
13530         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
13531         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
13532         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
13533         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
13534         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
13535         totalorder.
13536         (CFLAGS-nldbl-totalorder.c): New variable.
13537         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
13538         file.
13539         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
13540         Add test-totalorderl-ldbl-128ibm.
13541         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
13542         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
13543         test-totalorderl-ldbl-96.
13544         * sysdeps/nacl/libm.abilist: Update.
13545         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13546         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13547         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13548         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13549         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13550         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13551         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13552         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13553         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13554         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13555         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13556         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13558         Likewise.
13559         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13560         Likewise.
13561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13562         Likewise.
13563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13564         Likewise.
13565         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13566         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13567         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13568         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13569         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13570         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13571         Likewise.
13572         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13573         Likewise.
13574         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13575         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13576         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13578 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13580         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
13581         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
13582         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
13583         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
13584         remove ENOSYS implementation.
13585         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
13586         Consolidate all Linux implementations.
13588 2016-10-11  Florian Weimer  <fweimer@redhat.com>
13590         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
13591         * resolv/herror.c (herror): Cast away const-ness.
13592         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
13593         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
13595 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
13597         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
13598         instead of M_NAN + M_NAN.
13599         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
13601 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13603         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
13604         unused variable 'p'.
13606 2016-10-09  Alan Modra  <amodra@gmail.com>
13607             Andreas Schwab  <schwab@linux-m68k.org>
13609         [BZ #20554]
13610         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
13611         [PIC && !SHARED]: Set up PIC register for PLT call.
13613 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
13615         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
13616         conditional on value of [__FLT_EVAL_METHOD__].
13617         * math/test-iseqsig-excess-precision.c: New file.
13618         * math/Makefile (tests): Add test-iseqsig-excess-precision.
13620 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13622         * math/s_iseqsig_template.c: Include math-private.h.
13624         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
13625         * posix/tst-posix_fadvise.c: New file.
13626         * posix/tst-posix_fadvise64.c: Likewise.
13627         * posix/tst-posix_fadvise-common.c: Likewise.
13628         * sysdeps/unix/sysv/linux/arm/kernel-features.h
13629         (__ASSUME_FADVISE64_64_6ARG): Define.
13630         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
13631         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
13632         * sysdeps/unix/sysv/linux/tile/kernel-features.h
13633         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
13634         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
13635         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
13636         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
13637         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
13638         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
13639         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
13640         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
13641         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
13642         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
13643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
13644         Likewise.
13645         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
13646         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
13647         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
13648         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
13649         Alias to __posix_fadvise64_l32.
13650         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
13651         Add compat definition to posix_fadvise64.
13652         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
13653         Add versioned definition to posix_fadvise64.
13654         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
13655         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
13656         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
13657         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
13658         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
13660         * io/Makefile (tests): Add tst-posix_fallocate and
13661         tst-posix_fallocate64.
13662         * io/tst-posix_fallocate-common.c: New file.
13663         * io/tst-posix_fallocate.c: Likewise.
13664         * io/tst-posix_fallocate64.c: Likewise.
13665         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
13666         file.
13667         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
13668         Likewise.
13669         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
13670         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
13671         Likewise.
13672         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
13673         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
13674         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
13675         SYSCALL_LL to pass both offset and len arguments.
13676         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
13677         Likewise.
13678         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
13679         __libc_pwrite64 alias used by posix_fallocate64.
13681         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
13682         tst-fallocate64.
13683         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
13684         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
13685         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
13686         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
13687         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
13688         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
13689         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
13690         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
13691         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
13692         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
13693         macro on offset argument.
13694         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
13695         SYSCALL_LL64 on offset argument.
13697         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
13698         tst-fallocate64.
13699         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
13700         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
13701         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
13702         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
13703         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
13704         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
13705         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
13706         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
13707         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
13708         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
13709         macro on offset argument.
13710         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
13711         SYSCALL_LL64 on offset argument.
13712         * test-skeleton.c (FAIL_RET): Add macro.
13713         (FAIL_EXIT): Likewise.
13714         (FAIL_EXIT1): Likewise.
13715         (_FAIL): Likewise.
13717 2016-10-07  Florian Weimer  <fweimer@redhat.com>
13719         [BZ #20629]
13720         resolv: Remove RES_USEBSTRING and its implementation.
13721         * resolv/resolv.h (RES_USEBSTRING): Remove.
13722         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
13723         (digitvalue, encode_bitstring, decode_bitstring): Remove.
13724         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
13725         (labellen): Remove extended label types support.
13726         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
13727         * resolv/res_init.c (res_setoptions): Likewise.
13728         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
13730 2016-10-07  Florian Weimer  <fweimer@redhat.com>
13732         resolv: Remove RES_NOIP6DOTINT and its implementation.
13733         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
13734         (RES_NOIP6DOTINT): Remove.
13735         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
13736         handling.
13737         * resolv/res_debug.c (p_option): Likewise.
13738         * resolv/res_init.c (res_setoptions): Likewise.
13739         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
13741 2016-10-07  Florian Weimer  <fweimer@redhat.com>
13743         resolv: Deprecate unimplemented flags.
13744         * misc/sys/cdefs.h (__glibc_macro_warning1)
13745         (__glibc_macro_warning): Define.
13746         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
13747         (RES_KEEPTSIG): Mark as deprecated.
13748         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
13749         RES_NOCHECKNAME, RES_KEEPTSIG.
13750         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
13752 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
13754         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
13755         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
13756         Use strong_alias to create symbols for glibc verison 2.19.
13758 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
13760         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
13762 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
13764         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
13766 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
13768         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
13770 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
13772         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
13773         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
13774         in header for using it as type for ifunc function because __GI_* symbols
13775         for ppc32 do not target the ifunc symbols.
13776         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
13778 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
13780         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
13781         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
13782         libc_ifunc_hidden_def.
13783         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
13784         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
13785         Redirect ifunced function in header for using it as type of ifunc'ed
13786         function. Redefine libc_hidden_def to use fallback non ifunc'ed
13787         function for __GI_* symbol.
13788         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
13789         * include/libc-symbols.h
13790         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
13792 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
13794         [BZ #20478]
13795         * sysdeps/s390/multiarch/ifunc-resolve.h
13796         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
13797         to create ifunc symbols.
13798         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
13799         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
13800         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
13801         for using it as type for ifunc function.
13802         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
13803         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
13804         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
13805         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
13806         * sysdeps/s390/multiarch/strcat.c: Likewise.
13807         * sysdeps/s390/multiarch/strchr.c: Likewise.
13808         * sysdeps/s390/multiarch/strcmp.c: Likewise.
13809         * sysdeps/s390/multiarch/strcpy.c: Likewise.
13810         * sysdeps/s390/multiarch/strcspn.c: Likewise.
13811         * sysdeps/s390/multiarch/strlen.c: Likewise.
13812         * sysdeps/s390/multiarch/strncmp.c: Likewise.
13813         * sysdeps/s390/multiarch/strncpy.c: Likewise.
13814         * sysdeps/s390/multiarch/strnlen.c: Likewise.
13815         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
13816         * sysdeps/s390/multiarch/strrchr.c: Likewise.
13817         * sysdeps/s390/multiarch/strspn.c: Likewise.
13818         * sysdeps/s390/multiarch/wcschr.c: Likewise.
13819         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
13820         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
13821         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
13822         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
13823         * sysdeps/s390/multiarch/wmemset.c: Likewise.
13824         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
13825         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
13826         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
13827         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
13828         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
13829         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
13831 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
13833         * include/libc-symbols.h (__ifunc_resolver):
13834         New macro is used by __ifunc* macros.
13835         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
13836         depending on HAVE_GCC_IFUNC.
13837         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
13838         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
13839         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
13840         Redirect ifunced function in header for using as type for ifunc function.
13841         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
13842         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
13843         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
13844         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
13845         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
13846         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
13847         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
13848         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
13849         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
13850         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
13851         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
13852         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
13853         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
13854         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
13855         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
13856         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
13857         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
13858         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
13859         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
13860         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
13861         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
13862         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
13863         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
13864         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
13865         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
13866         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
13867         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
13868         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
13869         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
13870         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
13871         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
13872         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
13873         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
13874         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
13875         Add libc_hidden_def() and use libc_ifunc_hidden() macro
13876         instead of libc_ifunc() macro.
13877         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
13878         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
13880 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
13882         * config.h.in (HAVE_GCC_IFUNC): New undef.
13883         * configure.ac: Add check if gcc supports attribute ifunc feature.
13884         * configure: Regenerated.
13885         * manual/install.texi: Add recommendation for gcc with
13886         indirect-function support.
13887         * INSTALL: Regenerated.
13889 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
13891         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
13892         macro.
13893         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13894         (__iseqsig): New declaration.
13895         * math/s_iseqsig_template.c: New file.
13896         * math/Versions (__iseqsigf): New libm symbol at version
13897         GLIBC_2.25.
13898         (__iseqsig): Likewise.
13899         (__iseqsigl): Likewise.
13900         * math/libm-test.inc (iseqsig_test_data): New array.
13901         (iseqsig_test): New function.
13902         (main): Call iseqsig_test.
13903         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
13904         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
13905         * manual/libm-err-tab.pl: Update comment on interfaces without
13906         ulps tabulated.
13907         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
13908         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
13909         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
13910         * sysdeps/nacl/libm.abilist: Update.
13911         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13912         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13913         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13914         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13915         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13916         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13917         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13918         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13919         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13920         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13921         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13922         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13923         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13924         Likewise.
13925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13926         Likewise.
13927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13928         Likewise.
13929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13930         Likewise.
13931         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13932         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13933         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13934         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13935         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13936         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13937         Likewise.
13938         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13939         Likewise.
13940         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13941         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13942         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13944 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
13946         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
13947         do_sincos_2, sloww, sloww1): Update comments.
13949         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
13950         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
13952         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
13953         K boolean and rename it.
13954         (__sin): Adjust.
13955         (__cos): Adjust.
13957 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
13958             Siddhesh Poyarekar  <siddhesh@sourceware.org>
13960         * manual/nss.texi: Fix typos in the manual.
13962 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
13964         * manual/contrib.texi: Fix typos in the manual.
13966         * manual/maint.texi: Fix typos in the manual.
13968         * manual/install.texi: Fix typos in the manual.
13969         * INSTALL: Regenerated.
13971         * manual/lang.texi: Fix typos in the manual.
13973         * manual/probes.texi: Fix typos in the manual.
13975         * manual/threads.texi: Fix typos in the manual.
13977         * manual/debug.texi: Fix typos in the manual.
13979         * manual/crypt.texi: Fix typos in the manual.
13981         * manual/conf.texi: Fix typos in the manual.
13983         * manual/sysinfo.texi: Fix typos in the manual.
13985         * manual/users.texi: Fix typos in the manual.
13987         * manual/job.texi: Fix typos in the manual.
13989         * manual/process.texi: Fix typos in the manual.
13991         * manual/argp.texi: Fix typos in the manual.
13992         * manual/getopt.texi: Likewise.
13993         * manual/startup.texi: Likewise.
13995         * manual/signal.texi: Fix typos in the manual.
13997         * manual/setjmp.texi: Fix typos in the manual.
13999         * manual/resource.texi: Fix typos in the manual.
14001         * manual/time.texi: Fix typos in the manual.
14003         * manual/arith.texi: Fix typos in the manual.
14005         * manual/math.texi: Fix typos in the manual.
14007         * manual/syslog.texi: Fix typos in the manual.
14009         * manual/terminal.texi: Fix typos in the manual.
14011         * manual/socket.texi: Fix typos in the manual.
14013         * manual/filesys.texi: Fix typos in the manual.
14015         * manual/llio.texi: Fix typos in the manual.
14017         * manual/stdio.text: Fix typos in the manual.
14019 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
14021         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
14022         instead of K1.
14024         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
14025         SHIFT_QUADRANT and make it bool.
14026         (do_sincos_2): Likewise.
14027         (sloww): Likewise.
14028         (sloww1): Likewise.
14029         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
14030         (__cos): Likewise.
14032 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14034         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
14036 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
14038         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
14039         Define to __WORDSIZE, not conditional on [LONG_MAX ==
14040         0x7fffffffL].
14041         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
14043 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14045         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
14046         inline by __inline__.
14047         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
14048         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
14049         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
14050         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
14051         sigset_t from signal.h.
14052         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
14053         which is already required.
14055 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
14057         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
14059 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
14061         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
14062         (struct tcp_repair_window): New type.
14064 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14066         * libio/tst-memstream3.c: Include string.h.
14068 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14070         [BZ #18241]
14071         [BZ #20181]
14072         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
14073         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
14074         write position is at the end the buffer.
14075         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
14076         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
14077         (_IO_str_seekoff): Set correct offset from negative displacement and
14078         set EINVAL for invalid ones.
14079         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
14080         buffer length.
14081         (_IO_wstr_switch_to_get_mode): New function.
14082         (_IO_wstr_seekoff): Set correct offset from negative displacement and
14083         set EINVAL for invalid ones.
14084         * libio/tst-memstream3.c: New file.
14085         * libio/tst-wmemstream3.c: Likewise.
14086         * manual/examples/memstrm.c: Remove warning when priting size_t.
14088 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
14090         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
14091         macro to use __builtin_fma.
14092         * sysdeps/x86_64/fpu/dla.h: Remove file.
14094         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
14095         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
14096         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
14098 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
14100         [BZ #20292]
14101         * elf/Makefile (routines): Add dl-addr-obj.
14102         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
14103         tst-_dl_addr_inside_object.
14104         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
14105         [ifeq (yesyes,$(have-fpie)$(build-shared))]
14106         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
14107         [ifeq (yesyes,$(have-fpie)$(build-shared))]
14108         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
14109         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
14110         * elf/dl-open.c: Likewise.
14111         * elf/dl-addr-obj.c: New file.
14112         * elf/tst-_dl_addr_inside_object.c: New file.
14114 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
14116         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
14117         <bits/iscanonical.h>.
14118         * bits/iscanonical.h: New file.
14119         * math/s_iscanonicall.c: Likewise.
14120         * math/Versions (__iscanonicall): New libm symbol at version
14121         GLIBC_2.25.
14122         * math/libm-test.inc (iscanonical_test_data): New array.
14123         (iscanonical_test): New function.
14124         (main): Call iscanonical_test.
14125         * math/Makefile (headers): Add bits/iscanonical.h.
14126         (type-ldouble-routines): Add s_iscanonicall.
14127         * manual/arith.texi (Floating Point Classes): Document
14128         iscanonical.
14129         * manual/libm-err-tab.pl: Update comment on interfaces without
14130         ulps tabulated.
14131         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
14132         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
14133         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
14134         Likewise.
14135         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
14136         test-iscanonical-ldbl-128ibm.
14137         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
14138         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
14139         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
14140         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
14141         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
14142         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14143         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14144         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
14145         Likewise.
14146         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14147         Likewise.
14148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
14149         Likewise.
14150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
14151         Likewise.
14152         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14153         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14155 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14157         * string/bits/string3.h: Remove C++ style comments.
14159 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
14161         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
14162         instead of ternary condition.
14163         (do_sincos_2): Likewise.
14164         (__sin): Likewise.
14165         (__cos): Likewise.
14166         (slow): Likewise.
14167         (sloww): Likewise.
14168         (sloww1): Likewise.
14169         (bsloww): Likewise.
14170         (bsloww1): Likewise.
14172         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
14173         instead of ternary condition.
14174         (do_sin_slow): Likewise.
14175         (do_sincos_1): Likewise.
14176         (do_sincos_2): Likewise.
14177         (__cos): Likewise.
14178         (sloww): Likewise.
14179         (sloww1): Likewise.
14180         (sloww2): Likewise.
14181         (bsloww): Likewise.
14182         (bsloww1): Likewise.
14183         (bsloww2): Likewise.
14185         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
14186         check from here...
14187         (slow2): ... and here...
14188         (__sin): ... to here.
14190 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
14192         * math/math.h
14193         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
14194         Cast argument to its own type.
14195         * math/test-iszero-excess-precision.c: New file.
14196         * math/Makefile (tests): Add test-iszero-excess-precision.
14197         (CFLAGS-test-iszero-excess-precision.c): New variable.
14199 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
14201         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
14202         field, add err field.
14203         (__spawni_child): Report error through err member instead of pipe.
14204         (__spawnix): Likewise.
14206 2016-09-28  Zack Weinberg  <zackw@panix.com>
14208         * scripts/check-installed-headers.sh: Generalize treatment of
14209         sys/elf.h to all target architectures.
14211         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
14212         deleted typedef ucontext_t.
14214 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14216         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
14217         (__INTERNAL_SYSCALL1): Likewise.
14218         (__INTERNAL_SYSCALL2): Likewise.
14219         (__INTERNAL_SYSCALL3): Likewise.
14220         (__INTERNAL_SYSCALL4): Likewise.
14221         (__INTERNAL_SYSCALL5): Likewise.
14222         (__INTERNAL_SYSCALL6): Likewise.
14223         (__INTERNAL_SYSCALL7): Likewise.
14224         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
14225         (__INTERNAL_SYSCALL_NARGS): Likewise.
14226         (__INTERNAL_SYSCALL_DISP): Likewise.
14227         (INTERNAL_SYSCALL_CALL): Likewise.
14228         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
14229         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
14230         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
14231         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
14232         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
14233         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
14234         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
14235         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
14236         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
14237         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
14238         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
14239         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
14240         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
14242 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
14244         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
14245         macro.
14246         * math/libm-test.inc (iszero_test_data): New array.
14247         (iszero_test): New function.
14248         (main): Call iszero_test.
14249         * manual/arith.texi (Floating Point Classes): Document iszero.
14250         * manual/libm-err-tab.pl: Update comment on interfaces without
14251         ulps tabulated.
14253 2016-09-23  Zack Weinberg  <zackw@panix.com>
14255         * scripts/check-installed-headers.sh: New script.
14256         * Rules: In each directory that defines header files to be installed,
14257         run check-installed-headers.sh on them as a special test.
14258         * Makefile: Likewise for the headers installed at top level.
14260         * include/aliases.h, include/alloca.h, include/argz.h
14261         * include/arpa/nameser.h, include/arpa/nameser_compat.h
14262         * include/elf.h, include/envz.h, include/err.h
14263         * include/execinfo.h, include/fpu_control.h, include/getopt.h
14264         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
14265         * include/link.h, include/malloc.h, include/mcheck.h
14266         * include/mntent.h, include/netinet/ether.h
14267         * include/nss.h, include/obstack.h, include/printf.h
14268         * include/pty.h, include/resolv.h, include/rpc/auth.h
14269         * include/rpc/auth_des.h, include/rpc/auth_unix.h
14270         * include/rpc/clnt.h, include/rpc/des_crypt.h
14271         * include/rpc/key_prot.h, include/rpc/netdb.h
14272         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
14273         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
14274         * include/rpc/rpc_msg.h, include/rpc/svc.h
14275         * include/rpc/svc_auth.h, include/rpc/xdr.h
14276         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
14277         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
14278         * include/rpcsvc/ypupd.h, include/shadow.h
14279         * include/stdio_ext.h, include/sys/epoll.h
14280         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
14281         * include/sys/prctl.h, include/sys/profil.h
14282         * include/sys/statfs.h, include/sys/sysctl.h
14283         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
14284         * sysdeps/arm/nacl/include/bits/setjmp.h
14285         * sysdeps/mips/include/sys/asm.h
14286         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
14287         * sysdeps/unix/sysv/linux/include/sys/timex.h
14288         * sysdeps/x86/fpu/include/bits/fenv.h:
14289         Add #ifndef _ISOMAC guard around internal declarations.
14290         Add multiple-inclusion guard if not already present.
14292 2016-09-23  Zack Weinberg  <zackw@panix.com>
14294         * sysdeps/generic/sys/ucontext.h
14295         * sysdeps/arm/sys/ucontext.h
14296         * sysdeps/i386/sys/ucontext.h
14297         * sysdeps/m68k/sys/ucontext.h
14298         * sysdeps/mips/sys/ucontext.h
14299         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
14300         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
14301         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
14302         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
14303         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
14304         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
14305         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
14306         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
14307         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
14308         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
14309         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
14310         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
14311         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
14312         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
14313         Include both bits/sigcontext.h and bits/sigstack.h.
14314         Fix grammar error in comment, if present.
14316         * bits/sigstack.h
14317         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
14318         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
14319         * sysdeps/unix/sysv/linux/bits/sigstack.h
14320         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
14321         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
14322         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
14323         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
14324         * bits/sigcontext.h
14325         * sysdeps/mach/hurd/i386/bits/sigcontext.h
14326         * sysdeps/unix/sysv/linux/bits/sigcontext.h
14327         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
14328         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
14329         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
14330         as well as signal.h, if this was not already allowed.  Request
14331         definition of size_t if necessary.  Minimize semantically-null
14332         differences across files.
14334 2016-09-23  Zack Weinberg  <zackw@panix.com>
14336         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
14337         Remove all logic conditional on __need macros.  Move all the
14338         conditionally defined types to their own headers...
14339         * time/bits/types/clock_t.h: Define clock_t here.
14340         * time/bits/types/clockid_t.h: Define clockid_t here.
14341         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
14342         * time/bits/types/struct_timespec.h: Define struct timespec here.
14343         * time/bits/types/struct_timeval.h: Define struct timeval here.
14344         * time/bits/types/struct_tm.h: Define struct tm here.
14345         * time/bits/types/time_t.h: Define time_t here.
14346         * time/bits/types/timer_t.h: Define timer_t here.
14347         * time/Makefile: Install the new headers.
14349         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
14350         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
14351         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
14352         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
14353         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
14354         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
14355         * sysdeps/unix/sysv/linux/bits/resource.h
14356         * sysdeps/unix/sysv/linux/bits/timex.h
14357         * sysdeps/unix/sysv/linux/mips/bits/resource.h
14358         * sysdeps/unix/sysv/linux/net/ppp_defs.h
14359         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
14360         * sysdeps/unix/sysv/linux/sys/acct.h
14361         * sysdeps/unix/sysv/linux/sys/timerfd.h
14362         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
14363         * time/sys/time.h, time/sys/timeb.h
14364         Use the new bits/types headers.
14366         * include/time.h: Remove __need logic.
14367         * include/bits/time.h
14368         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
14369         * include/bits/types/time_t.h, include/bits/types/timer_t.h
14370         * include/bits/types/struct_itimerspec.h
14371         * include/bits/types/struct_timespec.h
14372         * include/bits/types/struct_timeval.h
14373         * include/bits/types/struct_tm.h:
14374         New wrapper headers.
14376 2016-09-23  Zack Weinberg  <zackw@panix.com>
14378         * sysdeps/mach/hurd/net/if_ppp.h
14379         * sysdeps/unix/sysv/linux/net/if_ppp.h:
14380         Only define struct ifpppstatsreq and struct ifpppcstatsreq
14381         if __USE_MISC is defined, to ensure struct ifreq is declared.
14383         * inet/netinet/ether.h: Condition all function prototypes
14384         on __USE_MISC, to ensure struct ether_addr is declared.
14386         * socket/bits/types/struct_osockaddr.h: New header.
14387         * include/bits/types/struct_osockaddr.h: New wrapper.
14388         * socket/Makefile: Install the new header.
14389         * socket/sys/socket.h, inet/protocols/talkd.h:
14390         Refer to bits/types/struct_osockaddr.h for the definition of
14391         struct osockaddr.
14393 2016-09-23  Zack Weinberg  <zackw@panix.com>
14395         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
14396         * inet/protocols/routed.h, inet/protocols/talkd.h
14397         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
14398         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
14399         * sysdeps/generic/netinet/if_ether.h
14400         * sysdeps/generic/netinet/in_systm.h
14401         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
14402         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
14403         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
14404         * sysdeps/mach/hurd/net/if_arp.h
14405         * sysdeps/mach/hurd/net/if_ppp.h
14406         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
14407         * sysdeps/unix/sysv/linux/bits/in.h
14408         * sysdeps/unix/sysv/linux/net/ethernet.h
14409         * sysdeps/unix/sysv/linux/net/if_arp.h
14410         * sysdeps/unix/sysv/linux/net/if_ppp.h
14411         * sysdeps/unix/sysv/linux/net/if_shaper.h
14412         * sysdeps/unix/sysv/linux/net/route.h
14413         * sysdeps/unix/sysv/linux/netinet/if_ether.h
14414         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
14415         * sysdeps/unix/sysv/linux/netinet/if_tr.h
14416         * sysdeps/unix/sysv/linux/netipx/ipx.h
14417         * sysdeps/unix/sysv/linux/sys/acct.h
14418         * include/arpa/nameser.h, include/resolv.h:
14419         Change all uses of u_char to unsigned char,
14420         u_short and ushort to unsigned short, u_int and uint to unsigned int,
14421         u_long and ulong to unsigned long, u_int8_t to uint8_t,
14422         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
14423         and u_int64_t and u_quad_t to uint64_t.
14425         * mach/sys/reboot.h: Remove two casts of integer literals
14426         to the types they already have.
14428         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
14429         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
14430         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
14431         from referring to 'unsigned char' to 'uint8_t' for consistency with
14432         the macro definition below.
14434         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
14435         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
14436         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
14437         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
14438         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
14439         * sysdeps/unix/sysv/linux/sys/acct.h
14440         * include/arpa/nameser.h, include/resolv.h:
14441         Fix indentation disrupted by mechanical edits.
14443         * inet/protocols/talkd.h, resolv/arpa/nameser.h
14444         * sysdeps/generic/netinet/in_systm.h
14445         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
14446         * sysdeps/gnu/netinet/udp.h
14447         * sysdeps/unix/sysv/linux/net/ethernet.h
14448         * sysdeps/unix/sysv/linux/net/if_arp.h
14449         * sysdeps/unix/sysv/linux/net/if_ppp.h
14450         * sysdeps/unix/sysv/linux/net/if_shaper.h
14451         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
14452         * sysdeps/unix/sysv/linux/netinet/if_tr.h
14453         * sysdeps/unix/sysv/linux/netipx/ipx.h
14454         * sysdeps/unix/sysv/linux/sys/acct.h
14455         Include stdint.h for uintNN_t definitions.
14456         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
14458 2016-09-23  Zack Weinberg  <zackw@panix.com>
14460         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
14461         * sysdeps/unix/sysv/linux/netrose/rose.h:
14462         Include sys/socket.h and netax25/ax25.h.
14464         * inet/netinet/icmp6.h, inet/netinet/ip6.h
14465         * resolv/arpa/nameser_compat.h:
14466         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
14468         * sysdeps/unix/sysv/linux/sys/quota.h:
14469         Use __caddr_t instead of caddr_t.
14470         * sysdeps/unix/sysv/linux/sys/timerfd.h:
14471         Use __clockid_t instead of clockid_t.
14473         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
14475         * argp/argp.h: Check whether _LIBC is defined before expanding it.
14476         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
14477         expanding it.
14479         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
14480         Define __glibc_c99_flexarr_available to 1 when the compiler
14481         supports C99-compatible flexible array members, 0 otherwise.
14482         * sysdeps/unix/sysv/linux/bits/socket.h
14483         * sysdeps/mach/hurd/bits/socket.h
14484         * bits/socket.h: Use __glibc_c99_flexarr_available in
14485         definitions of struct cmsghdr and CMSG_DATA.
14487 2016-09-23  Florian Weimer  <fweimer@redhat.com>
14489         * manual/nss.texi (NSS Modules Interface): Adjust function return
14490         type to enum nss_status.  Document errnop argument.  Clarify
14491         h_errnop semantics.  Fix cross-reference formatting.
14492         (NSS Module Function Internals): Mention that *errnop needs to be
14493         set on failure, but not to zero.
14495 2016-09-23  Florian Weimer  <fweimer@redhat.com>
14497         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
14498         (get_random_name): New functions.
14499         (check_wrapper_flags_mode): Use linkat to give the new file a name
14500         determined by get_random_name.
14501         (do_test): Add calls to test open64 and openat64.
14503 2016-09-23  Florian Weimer  <fweimer@redhat.com>
14505         * test-skeleton.c: Remove #include <stdarg.h>.
14507 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
14509         [BZ #19826]
14510         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
14511         initialization of static TLS entries.
14512         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
14513         * nptl/allocatestack.c (init_one_static_tls): Likewise.
14515 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14517         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
14518         _hurd_malloc_fork_prepare.
14519         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
14520         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
14521         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
14522         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
14523         (_hurd_fork_child_hook): Drop malloc_fork_child.
14524         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
14525         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
14526         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
14527         after locking locks (notably hurd_dtable_lock). Call
14528         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
14529         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
14530         __malloc_fork_unlock_child.
14531         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
14533 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
14535         * soft-fp/extendhftf2.c: New.
14536         * soft-fp/fixhfti.c: Likewise.
14537         * soft-fp/fixunshfti.c: Likewise.
14538         * soft-fp/floattihf.c: Likewise.
14539         * soft-fp/floatuntihf.c: Likewise.
14540         * soft-fp/half.h: Likewise.
14541         * soft-fp/trunctfhf2.c: Likewise.
14543 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
14545         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
14546         macro.
14547         * math/libm-test.inc (issubnormal_test_data): New array.
14548         (issubnormal_test): New function.
14549         * manual/arith.texi (Floating Point Classes): Document
14550         issubnormal.
14551         * manual/libm-err-tab.pl: Update comment on interfaces without
14552         ulps tabulated.
14554         * sysdeps/generic/stdint.h: Define
14555         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
14556         <bits/libc-header-start.h> instead of including <features.h>.
14557         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
14558         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
14559         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
14560         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
14561         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
14562         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
14563         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
14564         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
14565         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
14566         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
14567         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
14568         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
14569         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
14570         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
14571         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
14572         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
14573         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
14574         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
14575         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
14576         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
14577         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
14578         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
14579         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
14580         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
14581         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
14582         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
14583         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
14584         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
14585         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
14586         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
14587         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
14588         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
14589         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
14590         * manual/arith.texi (Integers): Document these macros for types
14591         specified by width properties.
14592         * manual/lang.texi (Width of Type): Document these macros for
14593         other standard typedefs.
14594         * stdlib/tst-width-stdint.c: New file.
14595         * stdlib/Makefile (tests): Add tst-width-stdint.
14597 2016-09-21  Florian Weimer  <fweimer@redhat.com>
14599         [BZ #20016]
14600         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
14601         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
14602         Move ...
14603         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
14604         ... here, as compatibility symbols in a new file.
14605         * resolv/Makefile (libresolv-routines): Add compat-hooks.
14606         * resolv/res_init.c (__res_vinit): Adjust member names.
14607         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
14608         * resolv/resolv.h (res_sendhookact, res_send_qhook)
14609         (res_send_rhook): Remove.
14610         (struct __res_state): Rename qhook, rhook members.
14612 2016-09-21  Florian Weimer  <fweimer@redhat.com>
14614         malloc: Use __libc_lock wrappers.
14615         * malloc/arena.c (list_lock, free_list_lock): Define using
14616         __libc_lock_define_initialized.
14617         (arena_lock): Adjust formatting.
14618         * malloc/malloc.c (struct malloc_state): Define mutex using
14619         __libc_lock_define.
14620         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
14621         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
14622         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
14623         (mutex_unlock, mutex_trylock): Remove.
14624         (__pthread_initialize): Remove unused macro.
14625         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
14626         (mutex_unlock, mutex_trylock): Remove.
14628 2016-09-21  Florian Weimer  <fweimer@redhat.com>
14630         [BZ #20592]
14631         Remove RR type classification macros.
14632         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
14633         (ns_t_udp_p, ns_t_xfr_p): Remove.
14635 2016-09-21  Florian Weimer  <fweimer@redhat.com>
14637         Remove misleading version information.
14638         * resolv/arpa/nameser.h (__NAMESER): Remove.
14639         * resolv/arpa/nameser_compat.h (__BIND): Remove.
14641 2016-09-21  Florian Weimer  <fweimer@redhat.com>
14643         Remove the always-defined BIND_4_COMPAT macro.
14644         * resolv/arpa/nameser.h: Unconditionally include
14645         <arpa/nameser_compat.h>.
14646         (BIND_4_COMPAT): Remove.
14647         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
14649 2016-09-21  Florian Weimer  <fweimer@redhat.com>
14651         [BZ #20591]
14652         Remove obsolete DNSSEC support.
14653         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
14654         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
14655         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
14656         (ns_verify_tcp, ns_verify_tcp_init): Remove.
14657         (ns_cert_types): Add comment.
14658         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
14659         separately.
14660         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
14661         (dst_s_dns_key_id): Remove.
14662         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
14663         variables.
14665 2016-09-21  Florian Weimer  <fweimer@redhat.com>
14667         [BZ #20524]
14668         * manual/string.texi (String/Array Comparison): Clarify the
14669         strverscmp behavior.
14671 2016-09-21  Florian Weimer  <fweimer@redhat.com>
14673         * test-skeleton.c (xasprintf): Add function.
14674         * io/tst-open-tmpfile.c: New test.
14675         * io/Makefile (tests): Add it.
14677 2016-09-21  Florian Weimer  <fweimer@redhat.com>
14679         Avoid running $(CXX) during build to obtain header file paths.
14680         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
14681         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
14682         * Makerules (cstdlib, cmath): Remove variables.  Use
14683         $(c++-cstdlib-header), $(c++-cmath-header) instead.
14684         * configure: Regenerate.
14686 2016-09-21  Florian Weimer  <fweimer@redhat.com>
14688         * Makeconfig (all-object-suffixes): Include .op only if
14689         $(build-profile).
14691 2016-09-21  Florian Weimer  <fweimer@redhat.com>
14693         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
14694         conditionals.  Do not define PATH_MAX.
14696 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14698         * posix/Makefile (tests): Add tst-spawn3.
14699         * posix/tst-spawn3.c: New file.
14700         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
14701         if it is already opened for open action.
14703         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
14704         all signals when executing the clone vfork child.
14705         (SIGALL_SET): Remove macro.
14707         * nptl/Makefile (tests): Add tst-exec5.
14708         * nptl/tst-exec5.c: New file.
14709         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
14710         asynchronous cancellation.
14712 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14714         * hurd/exc2signal.c: #include <hurd/signal.h>
14715         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
14716         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
14717         accordingly.
14718         * mach/mach_error.c (mach_error): Fix old-style function definition.
14719         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
14721 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14723         * math/Makefile (libm-calls): Remove s_nanF.
14724         (gen-libm-calls): Add s_nanF.
14726         * math/s_nan.c: Refactor into ...
14727         * math/s_nan_template.c: New file.
14729         * math/s_nanf.c: Removed.
14730         * math/s_nanl.c: Removed.
14731         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
14732         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
14734         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
14735         (LDOUBLE_nanl_libm_version): New macro.
14737         * sysdeps/generic/math-type-macros-double.h:
14738         (M_STRTO_NAN): New macro.
14739         * sysdeps/generic/math-type-macros-float.h: Likewise.
14740         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
14742         * sysdeps/generic/math-type-macros.h: Document
14743         M_STRTO_NAN.
14745 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14747         * math/s_nanf.c: Remove __nanf undef.
14748         * math/s_nan.c: Remove __nan undef.
14749         * math/s_nanl.c: Remove __nanl undef.
14751         * sysdeps/generic/math_private.h (__nan): Remove macro
14752         override.
14753         (__nanf): Likewise.
14754         (__nanl): Likewise.
14756 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14758         * math/Makefile (gen-all-calls): New variable.
14759         (generated): Replace gen-libm-calls with gen-all-calls.
14760         (gen-libm-templates.stmp): Likewise.  Also, ensure
14761         the output directory exists or is created and add
14762         dependency on the Makefile.
14763         (calls): Move s_ldexpF into gen-calls.
14764         (gen-calls): New variable.
14766         * math/s_ldexpf.c: Removed.
14767         * math/s_ldexpl.c: Removed.
14768         * math/s_ldexp.c: Refactored into ...
14769         * math/s_ldexp_template.c: New file.
14771         * sysdeps/generic/math-type-macros-double.h: Remove
14772         redundant fall-through definition of declare_mgen_alias.
14773         (declare_mgen_alias_2): New macro.
14775         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
14776         New macro for function aliased to two exported symbols.
14778         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
14779         new template file.
14780         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
14782 2016-09-20  Florian Weimer  <fweimer@redhat.com>
14784         * Makeconfig (all-object-suffixes): Remove .og.
14785         * Makerules (elide-routines.og): Remove.
14786         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
14787         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
14788         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
14790 2016-09-20  Florian Weimer  <fweimer@redhat.com>
14792         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
14793         .os objects.
14795 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14797         [BZ #20615]
14798         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
14799         fpu directory by non-fpu.
14800         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
14801         on non-fpu directory from a fpu directory.
14803 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
14805         * include/limits.h: Define
14806         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
14807         <bits/libc-header-start.h> instead of including <features.h>.
14808         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
14809         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
14810         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
14811         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
14812         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
14813         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
14814         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
14815         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
14816         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
14817         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
14818         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
14819         * manual/lang.texi (Width of Type): Document these macros.
14820         * stdlib/tst-width.c: New file.
14821         * stdlib/Makefile (tests): Add tst-width.
14823 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14825         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
14826         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
14828 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14830         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
14831         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
14832         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
14834 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14836         [BZ #18243]
14837         * rt/Makefile (test): Add tst-shm-cancel.
14838         * rt/tst-shm-cancel.c: New file.
14839         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
14841         [BZ #18243]
14842         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
14843         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
14844         definition.
14845         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
14846         uncontended case.
14847         * nptl/sem_wait.c (__new_sem_wait): Likewise.
14848         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
14849         (tf): Fix check for uncontended case.
14850         (do_test): Likewise.
14851         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
14852         (tf): Fix check for uncontended case.
14853         (do_test): Likewise.
14854         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
14855         (tf): Fix check for uncontended case.
14856         (do_test): Likewise.
14857         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
14858         (tf): Fix check for uncontended case.
14859         (do_test): Likewise.
14861         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
14862         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
14864         [BZ #15765]
14865         * nptl/Makefile (tests): Add tst-sem16.
14866         * nptl/tst-sem16.c: New file.
14867         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
14869         * nptl/sem_open.c (sem_open): Init pad value to 0.
14870         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
14871         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
14873 2016-09-15  Florian Weimer  <fweimer@redhat.com>
14875         [BZ #20611]
14876         * inet/Makefile (routines): Add inet6_scopeid_pton.
14877         (tests): Add tst-inet6_scopeid_pton.
14878         * inet/inet6_scopeid_pton.c: New file.
14879         * inet/net-internal.h: Likewise.
14880         * inet/tst-inet6_scopeid_pton.c: New test.
14881         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
14882         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
14883         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14885 2016-09-14  Florian Weimer  <fweimer@redhat.com>
14887         Remove support for compiling wrappers with PTW.
14888         * sysdeps/nptl/Makeconfig: Drop ptw- support.
14889         * nptl/Makefile (pthread-compat-wrappers): Define.
14890         (libpthread-routines): Use pthread-compat-wrappers.
14891         * sysdeps/unix/sysv/linux/alpha/Makefile
14892         (libpthread-routines, libpthread-shared-only-routines): Remove
14893         ptw- prefix.
14894         * sysdeps/s390/nptl/Makefile
14895         (libpthread-routines, libpthread-shared-only-routines): Likewise.
14896         * sysdeps/ia64/nptl/Makefile
14897         (libpthread-routines, libpthread-shared-only-routines): Likewise.
14898         * sysdeps/nacl/Makefile (libpthread-routines): Use
14899         pthread-compat-wrappers to filter the routines list instead of the
14900         ptw- prefix.
14902 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14904         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
14905         with L() and remove explicit suffix, convert real literals
14906         which can be equivalentally substituted with integers, and
14907         transform -L(x) to L(-x).
14909         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
14910         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14911         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
14912         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14913         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
14914         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
14915         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14916         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
14917         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14918         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
14919         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14920         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14921         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
14922         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
14923         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
14924         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
14925         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14926         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
14927         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
14928         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14929         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
14930         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
14931         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
14932         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14933         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
14934         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
14935         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
14936         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
14937         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
14938         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14939         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
14940         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
14941         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
14942         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
14943         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
14944         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
14945         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
14946         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
14947         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
14948         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
14949         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
14950         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14951         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
14952         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
14953         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
14954         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
14955         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
14956         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
14957         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
14958         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
14960 2016-09-13  Florian Weimer  <fweimer@redhat.com>
14962         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
14964 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
14966         * malloc/Makefile (tests): Remove individual static test names
14967         and just add all of tests-static.
14969         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
14971 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
14973         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
14974         file.
14976         * sysdeps/sparc/fpu/fegetmode.c: New file.
14977         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
14979         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
14980         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
14982         * sysdeps/s390/fpu/fegetmode.c: New file.
14983         * sysdeps/s390/fpu/fesetmode.c: Likewise.
14985         * sysdeps/powerpc/fpu/fegetmode.c: New file.
14986         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
14987         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
14988         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
14989         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
14990         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
14992         * sysdeps/mips/fpu/fegetmode.c: New file.
14993         * sysdeps/mips/fpu/fesetmode.c: Likewise.
14995         * sysdeps/m68k/fpu/fegetmode.c: New file.
14996         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
14998         * sysdeps/ia64/fpu/fegetmode.c: New file.
14999         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
15001         * sysdeps/hppa/fpu/fegetmode.c: New file.
15002         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
15004         * sysdeps/arm/fegetmode.c: New file.
15005         * sysdeps/arm/fesetmode.c: Likewise.
15007         * sysdeps/alpha/fpu/fegetmode.c: New file.
15008         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
15010         * sysdeps/aarch64/fpu/fegetmode.c: New file.
15011         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
15013         * math/fegetmode.c: New file.
15014         * math/fesetmode.c: Likewise.
15015         * sysdeps/i386/fpu/fegetmode.c: Likewise.
15016         * sysdeps/i386/fpu/fesetmode.c: Likewise.
15017         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
15018         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
15019         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
15020         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
15021         declaration.
15022         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
15023         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
15024         typedef.
15025         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15026         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15027         (femode_t): New typedef.
15028         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15029         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15030         (femode_t): New typedef.
15031         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15032         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15033         (femode_t): New typedef.
15034         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15035         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15036         (femode_t): New typedef.
15037         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15038         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15039         (femode_t): New typedef.
15040         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15041         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15042         (femode_t): New typedef.
15043         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15044         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15045         (femode_t): New typedef.
15046         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15047         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15048         (femode_t): New typedef.
15049         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15050         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15051         (femode_t): New typedef.
15052         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15053         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15054         (femode_t): New typedef.
15055         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
15056         declaration.
15057         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15058         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15059         (femode_t): New typedef.
15060         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15061         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15062         (femode_t): New typedef.
15063         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15064         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15065         (femode_t): New typedef.
15066         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15067         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15068         (femode_t): New typedef.
15069         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15070         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15071         (femode_t): New typedef.
15072         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15073         * manual/arith.texi (FE_DFL_MODE): Document macro.
15074         (fegetmode): Document function.
15075         (fesetmode): Likewise.
15076         * math/Versions (fegetmode): New libm symbol at version
15077         GLIBC_2.25.
15078         (fesetmode): Likewise.
15079         * math/Makefile (libm-support): Add fegetmode and fesetmode.
15080         (tests): Add test-femode and test-femode-traps.
15081         * math/test-femode-traps.c: New file.
15082         * math/test-femode.c: Likewise.
15083         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
15084         alias for __fe_dfl_env.
15085         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
15086         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
15087         (__fe_dfl_mode): Likewise.
15088         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
15089         version GLIBC_2.25.
15090         * sysdeps/nacl/libm.abilist: Update.
15091         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15092         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15093         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15094         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15095         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15096         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15097         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15098         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15099         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15100         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15101         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15102         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15104         Likewise.
15105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15106         Likewise.
15107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15108         Likewise.
15109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15110         Likewise.
15111         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15112         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15113         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15114         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15115         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15116         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15117         Likewise.
15118         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15119         Likewise.
15120         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15121         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15122         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15124 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
15126         [BZ #20495]
15127         [BZ #20508]
15128         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
15129         processors, set Use_dl_runtime_resolve_slow and set
15130         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
15131         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
15132         New.
15133         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
15134         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
15135         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
15136         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
15137         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
15138         if Use_dl_runtime_resolve_opt is set.  Use
15139         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
15140         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
15141         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
15142         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
15143         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
15144         New.
15145         (_dl_runtime_resolve_opt): Likewise.
15146         (_dl_runtime_profile): Define only if _dl_runtime_profile is
15147         defined.
15149 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
15151         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
15152         __libc_memalign with "+ RELA R_390_GLOB_DAT".
15154 2016-09-06  Florian Weimer  <fweimer@redhat.com>
15156         Convert malloc to __libc_lock.  Automated part, using this Perl
15157         s/// command:
15158           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
15159             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
15160         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
15161         conversion.
15163 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
15165         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
15166         (linknamespace-symlists-tests): Likewise.
15167         (linknamespace-header-tests): Likewise.
15169 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
15171         [BZ #19810]
15172         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
15173         * elf/tst-noload.c: New test case.
15174         * elf/Makefile (tests): Add tst-noload.
15176 2016-09-02  Roland McGrath  <roland@hack.frob.com>
15178         * sysdeps/nacl/dup.c: Add libc_hidden_def.
15180         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
15181         not any more.
15183         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
15185 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
15187         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
15188         (do_cos_slow): Likewise.
15189         (do_sin): Likewise.
15190         (do_sin_slow): Likewise.
15191         (slow): Likewise.
15192         (slow1): Likewise.
15193         (slow2): Likewise.
15194         (sloww): Likewise.
15195         (sloww1): Likewise.
15196         (sloww2): Likewise.
15197         (bsloww): Likewise.
15198         (bsloww1): Likewise.
15199         (bsloww2): Likewise.
15200         (cslow2): Likewise.
15202         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
15204         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
15205         arguments.  Consolidate input partitioning from callers here.
15206         (do_cos_slow): Likewise.
15207         (do_sin): Likewise.
15208         (do_sin_slow): Likewise.
15209         (do_sincos_1): Remove the no longer necessary input partitioning.
15210         (do_sincos_2): Likewise.
15211         (__sin): Likewise.
15212         (__cos): Likewise.
15213         (slow1): Likewise.
15214         (slow2): Likewise.
15215         (sloww1): Likewise.
15216         (sloww2): Likewise.
15217         (bsloww1): Likewise.
15218         (bsloww2): Likewise.
15219         (cslow2): Likewise.
15221 2016-09-02  Florian Weimer  <fweimer@redhat.com>
15223         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
15224         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
15225         outside of allocated array.
15227 2016-09-02  Florian Weimer  <fweimer@redhat.com>
15229         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
15230         instead of MB_CUR_MAX to avoid variable-length array.
15232 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15234         * math/Makefile (libm-calls): Remove k_rem_pio2F.
15235         (type-double-routines): Add k_rem_pio2.
15236         (type-float-routines): Add k_rem_pio2f.
15238         * sysdeps/generic/math_private.h:
15239         (__kernel_rem_pio2l): Removed.
15241         * math/k_rem_pio2l.c: Removed.
15242         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
15243         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
15244         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
15245         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
15247 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15249         * math/Makefile (gen-libm-calls): Add s_fmin
15250         (libm-calls): Remove above.
15252         * math/s_fmin.c: Refactor into ...
15253         * math/s_fmin_template.c: New file.
15255         * math/s_fminf.c: Removed.
15256         * math/s_fminl.c: Removed.
15257         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
15258         (LDOUBLE_fmin_libm_version): New macro.
15260         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
15261         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
15263 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15265         * math/Makefile: (gen-libm-calls): Add s_fmax.
15266         (libm-calls): Remove above.
15268         * math/s_fmax.c: Refactor into ...
15269         * math/s_fmax_template.c: New file.
15270         * math/s_fmaxf.c: Removed.
15271         * math/s_fmaxl.c: Removed.
15273         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
15274         (LDOUBLE_fmaxl_libm_version): New macro.
15276         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
15277         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
15279         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
15280         s_fmin.c to pick the aarch64 version of the file.
15281         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
15282         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
15284 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15286         * math/Makefile: (gen-libm-calls): Add s_nextdown.
15287         (libm-calls): Remove above.
15289         * math/s_nextdown.c: Refactor into ...
15290         * math/s_nextdown_template.c: New file.
15291         * math/s_nextdownf.c: Removed.
15292         * math/s_nextdownl.c: Removed.
15294         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
15296 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15298         * math/Makefile (gen-libm-calls): Add s_fdim.
15299         (libm-calls): Move to above.
15301         * math/s_fdim.c: Renamed and refactored into to ...
15302         * math/s_fdim_template.c: New file.
15303         * math/s_fdiml.c: Removed.
15304         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
15305         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
15307         * sysdeps/generic/math-type-macros-double.h:
15308         (declare_mgen_alias): Don't declare if already declared.
15309         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
15310         Likewise.
15312         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
15313         (declare_mgen_alias): Don't declare if already declared.
15314         (M_LIBM_NEED_COMPAT): Likewise.
15315         (declare_mgen_libm_compat): Likewise.
15316         (LDOUBLE_fdiml_libm_version): New macro.
15318         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
15319         Include math/s_fdim.c now that ldbl-opt version is not needed.
15320         (declare_mgen_alias): New macro to disable aliasing.
15322         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
15323         (declare_mgen_alias): Likewise.
15324         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
15325         (declare_mgen_alias): Likewise.
15326         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
15327         (declare_mgen_alias): Likewise.
15328         (M_LIBM_NEED_COMPAT): Likewise.
15330 2016-09-01  Florian Weimer  <fweimer@redhat.com>
15332         [BZ #20525]
15333         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
15334         Include <linux/quota.h>.
15335         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
15336         and btodb.
15337         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
15338         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
15339         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
15340         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
15341         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
15342         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
15343         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
15344         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
15345         types.
15346         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
15347         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
15349 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15351         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
15352         (gammal_positive): Fix spacing.
15353         (__ieee754_gammal_r): Likewise.
15355 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15357         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
15358         (_Float128): Define as long double, always.
15359         (L): Apply long double type suffix, always.
15361         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
15362         _Float128, excepting comments.
15364         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
15365         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
15366         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
15367         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
15368         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
15369         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15370         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
15371         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
15372         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
15373         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
15374         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
15375         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
15376         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15377         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
15378         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
15379         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
15380         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
15381         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
15382         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
15383         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
15384         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
15385         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
15386         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
15387         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
15388         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
15389         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15390         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
15391         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
15392         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
15393         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
15394         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
15395         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
15396         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
15397         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
15398         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15399         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
15400         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
15401         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
15402         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
15403         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
15404         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
15405         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
15406         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
15407         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
15408         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
15409         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
15410         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
15411         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
15412         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
15413         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
15414         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
15415         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
15416         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
15417         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
15418         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
15419         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
15420         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
15421         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
15422         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15423         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15424         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
15425         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
15426         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
15427         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15428         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
15429         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
15430         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
15431         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15433         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
15434         _Float128, and include math_private.h.
15435         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
15437         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
15438         long double semantics.
15439         (_Float128): Likewise.
15440         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
15441         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
15442         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
15443         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
15445 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
15447         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
15448         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
15449         * sysdeps/s390/configure: Regenerated.
15450         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
15451         instruction for raising over-/underflow if z196 zarch is supported
15452         by default.
15453         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
15455 2016-08-30  Svante Signell  <svante.signell@gmail.com>
15457         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
15458         it point to a dumb buffer for RPC to fill it.
15460 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
15462         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
15463         instead of if/else.
15464         (do_sin_slow): Likewise.
15465         (do_sincos_1): Use fabs instead of if/else.
15466         (do_sincos_2): Likewise.
15467         (__sin): Likewise.
15468         (__cos): Likewise.
15469         (slow2): Likewise.
15470         (sloww): Likewise.
15471         (sloww1): Likewise.  Drop argument M.
15472         (sloww2): Use fabs instead of if/else.
15473         (bsloww): Likewise.
15474         (bsloww1): Likewise.
15475         (bsloww2): Likewise.
15477         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
15478         fall through comment.
15479         (do_sincos_1): Likewise.
15481         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
15482         Consolidate switch cases 0 and 2.
15484 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15486         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
15487         (libm-calls): Remove the above.
15489         * math/s_cexp_template.c: Update using type-generic macros.
15490         * math/s_clog10_template.c: Likewise.
15491         * math/s_cpow_template.c: Likewise.
15492         * math/s_clog_template.c: Likewise.
15493         * math/s_cproj_template.c: Likewise.
15494         * math/s_csqrt_template.c: Likewise.
15496         * math/s_cexp.c: Removed.
15497         * math/s_cexpf.c: Removed.
15498         * math/s_cexpl.c: Removed.
15499         * math/s_clog10.c: Removed.
15500         * math/s_clog10f.c: Removed.
15501         * math/s_clog10l.c: Removed.
15502         * math/s_cpow.c: Removed.
15503         * math/s_cpowf.c: Removed.
15504         * math/s_cpowl.c: Removed.
15505         * math/s_clog.c: Removed.
15506         * math/s_clogf.c: Removed.
15507         * math/s_clogl.c: Removed.
15508         * math/s_cproj.c: Removed.
15509         * math/s_cprojf.c: Removed.
15510         * math/s_cprojl.c: Removed.
15511         * math/s_csqrt.c: Removed.
15512         * math/s_csqrtf.c: Removed.
15513         * math/s_csqrtl.c: Removed.
15515         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
15516         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
15517         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
15518         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
15519         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
15520         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
15522         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
15523         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
15524         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
15525         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
15526         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
15527         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
15528         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
15529         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
15530         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
15531         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
15532         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
15534         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
15535         version.
15537         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
15538         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
15539         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
15540         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
15542 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15544         * s_cexp_template.c: Copy of s_cexp.c.
15545         * s_clog_template.c: Copy of s_clog.c.
15546         * s_clog10_template.c: Copy of s_clog10.c.
15547         * s_cpow_template.c: Copy of s_cpow.c.
15548         * s_cproj_template.c: Copy of s_cproj.c.
15549         * s_csqrt_template.c: Copy of s_csqrt.c.
15551 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15553         [BZ #20517]
15554         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
15555         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
15556         exported.
15558 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
15560         * math/fetestexceptflag.c: New file.
15561         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
15562         Stefan Liebler.
15563         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15564         (fetestexceptflag): New function declaration.
15565         * manual/arith.texi (fetestexceptflag): Document function.
15566         * math/Versions (fetestexceptflag): New libm symbol at version
15567         GLIBC_2.25.
15568         * math/Makefile (libm-support): Add fetestexceptflag.
15569         (tests): Add test-fetestexceptflag.
15570         * math/test-fetestexceptflag.c: New file.
15571         * sysdeps/nacl/libm.abilist: Update.
15572         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15573         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15574         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15575         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15576         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15577         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15578         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15579         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15580         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15581         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15582         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15583         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15584         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15585         Likewise.
15586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15587         Likewise.
15588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15589         Likewise.
15590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15591         Likewise.
15592         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15593         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15594         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15595         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15596         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15597         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15598         Likewise.
15599         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15600         Likewise.
15601         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15602         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15603         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15605 2016-08-26  Florian Weimer  <fweimer@redhat.com>
15607         [BZ #20432]
15608         Avoid strong references to malloc-internal symbols when linking
15609         statically, to support statically interposed mallocs.
15610         * include/libc-symbols.h (call_function_static_weak): New macro.
15611         * malloc/Makefile (tests): Add tst-interpose-nothread,
15612         tst-interpose-thread, tst-interpose-static-nothread,
15613         tst-interpose-static-thread.
15614         (tests-static): Add tst-interpose-static-nothread,
15615         tst-interpose-static-thread.
15616         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
15617         tst-interpose-aux-thread.o.
15618         (test-extras): Add tst-interpose-aux-nothread,
15619         tst-interpose-aux-thread.
15620         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
15621         tst-interpose-aux-nothread.o.
15622         (tst-interpose-thread, tst-interpose-static-thread): Link with
15623         tst-interpose-aux-thread.o and libthread.
15624         * malloc/tst-interpose-aux-nothread.c: New file.
15625         * malloc/tst-interpose-aux-thread.c: Likewise.
15626         * malloc/tst-interpose-aux.c: Likewise.
15627         * malloc/tst-interpose-aux.h: Likewise.
15628         * malloc/tst-interpose-nothread.c: Likewise.
15629         * malloc/tst-interpose-skeleton.c: Likewise.
15630         * malloc/tst-interpose-static-nothread.c: Likewise.
15631         * malloc/tst-interpose-static-thread.c: Likewise.
15632         * malloc/tst-interpose-thread.c: Likewise.
15633         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
15634         * sysdeps/mach/hurd/fork.c (__fork): Only call
15635         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
15636         __malloc_fork_unlock_child if defined.
15637         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
15639 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15641         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
15642         timespec C99 designated initialization.
15644 2016-08-26  Florian Weimer  <fweimer@redhat.com>
15646         [BZ #19946]
15647         Avoid expected SIGALRM signals.
15648         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
15649         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
15650         (xpthread_create, xpthread_detach, xpthread_join)
15651         (delayed_exit_thread, delayed_exit): New functions.
15652         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
15653         (tf): Use xpthread_cond_wait.
15654         (do_test): Likewise.  Replace alarm with delayed_exit.
15655         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
15656         (do_test): Call delayed_exit.  Report failure.
15657         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
15658         (do_test): Call delayed_exit.
15659         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
15660         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
15661         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
15662         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
15663         error.
15664         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
15665         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
15666         error.
15667         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
15668         (do_test): Call delayed_exit.
15669         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
15670         (do_test): Call delayed_exit.
15671         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
15672         (do_test): Call delayed_exit instead of alarm.  Use
15673         xpthread_mutex_lock.
15674         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
15675         (do_test): Call delayed_exit instead of alarm.  Use
15676         xpthread_mutex_lock.
15677         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
15678         (do_test): Call delayed_exit instead of alarm.
15679         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
15680         (do_test): Call delayed_exit instead of alarm.  Use
15681         xpthread_spin_lock.
15682         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
15683         (do_test): Call delayed_exit instead of alarm.  Use
15684         xpthread_join.
15686 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
15688         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
15689         adjust CFA when allocating register save area on re-aligned
15690         stack.
15692 2016-08-26  Florian Weimer  <fweimer@redhat.com>
15694         * string/tst-cmp.c: New test.
15695         * string/Makefile (tests): Add it.
15697 2016-08-25  Mark Wielaard  <mark@klomp.org>
15699         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
15700         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
15701         (check_tree_recurse): Use newly defined accessors.
15702         (check_tree): Likewise.
15703         (maybe_split_for_insert): Likewise.
15704         (__tfind): Likewise.
15705         (__tdelete): Likewise.
15706         (trecurse): Likewise.
15707         (tdestroy_recurse): Likewise.
15708         (__tsearch): Likewise. And add asserts for malloc alignment.
15709         (__twalk): Cast root to node in case CHECK_TREE is defined.
15711 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15713         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
15715 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15717         * math/Makefile (libm-gen-calls): Add
15718         catan, catanh, ctan, ctanh.
15719         (libm-calls): Remove the above.
15721         * math/s_catan_template.c: Update using type-generic macros.
15722         * math/s_catanh_template.c: Likewise.
15723         * math/s_ctan_template.c: Likewise.
15724         * math/s_ctanh_template.c: Likewise.
15726         * math/s_catanf.c: Removed.
15727         * math/s_catan.c: Removed.
15728         * math/s_catanl.c: Removed.
15729         * math/s_catanhf.c: Removed.
15730         * math/s_catanh.c: Removed.
15731         * math/s_catanhl.c: Removed.
15732         * math/s_ctanf.c: Removed.
15733         * math/s_ctan.c: Removed.
15734         * math/s_ctanl.c: Removed.
15735         * math/s_ctanhf.c: Removed.
15736         * math/s_ctanh.c: Removed.
15737         * math/s_ctanhl.c: Removed.
15739         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
15740         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
15741         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
15742         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
15743         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
15744         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
15746         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
15747         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
15748         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
15749         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
15751 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15753         * s_catan_template.c: Copy of s_catan.c.
15754         * s_catanh_template.c: Copy of s_catanh.c.
15755         * s_ctan_template.c: Copy of s_ctan.c.
15756         * s_ctanh_template.c: Copy of s_ctanh.c.
15758 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15760         * math/Makefile (gen-libm-calls): Move
15761         casin, casinh, csin, csinh here.
15762         (libm-calls): Remove the above.
15764         * math/s_casin_template.c: Update using type-generic macros.
15765         * math/s_casinh_template.c: Likewise.
15766         * math/s_csin_template.c: Likewise.
15767         * math/s_csinh_template.c: Likewise.
15768         * math/k_casinh_template.c: Likewise.
15770         * math/s_casinf.c: Removed.
15771         * math/s_casin.c: Removed.
15772         * math/s_casinl.c: Removed.
15773         * math/s_casinh.c: Removed.
15774         * math/s_casinhf.c: Removed.
15775         * math/s_casinhl.c: Removed.
15776         * math/s_csin.c: Removed.
15777         * math/s_csinf.c: Removed.
15778         * math/s_csinl.c: Removed.
15779         * math/s_csinh.c: Removed.
15780         * math/s_csinhf.c: Removed.
15781         * math/s_csinhl.c: Removed.
15782         * math/k_casinh.c: Removed.
15783         * math/k_casinhf.c: Removed.
15784         * math/k_casinhl.c: Removed.
15786         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
15787         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
15788         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
15789         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
15791         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
15792         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
15793         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
15794         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
15795         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
15796         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
15797         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
15798         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
15800         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
15801         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
15802         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
15803         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
15805         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
15806         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
15807         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
15808         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
15810 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15812         * s_casin_template.c: Copy of s_casin.c.
15813         * s_casinh_template.c: Copy of s_casinh.c.
15814         * s_csin_template.c: Copy of s_csin.c.
15815         * s_csinh_template.c: Copy of s_csinh.c.
15816         * k_casinh_template.c: Copy of k_casinh.c.
15818 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
15820         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
15822 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15824         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
15825         (mul_split) Remove, rename as mul_splitl, remove
15826         redundant float.h include, and include via mul_splitl.h
15828         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
15829         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
15830         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
15831         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
15832         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
15834         * math/mul_splitl.h: New file.
15836         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
15837         Move into mul_split.h, and remove redundant float.h include.
15839         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
15840         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
15841         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
15842         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
15844         * math/mul_split.h: New file.
15846 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15848         * math/Makefile (libm-gen-calls): Move
15849         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
15850         (libm-calls): Remove above.
15852         * math/s_cacos_template.c: Update using type-generic macros.
15853         * math/s_cacosh_template.c: Likewise.
15854         * math/s_ccos_template.c: Likewise.
15855         * math/s_ccosh_template.c: Likewise.
15857         * math/s_cacosf.c: Removed.
15858         * math/s_cacos.c: Removed.
15859         * math/s_cacosl.c: Removed.
15860         * math/s_cacoshf.c: Removed.
15861         * math/s_cacosh.c: Removed.
15862         * math/s_cacoshl.c: Removed.
15863         * math/s_ccosf.c: Removed.
15864         * math/s_ccos.c: Removed.
15865         * math/s_ccosl.c: Removed.
15866         * math/s_ccoshf.c: Removed.
15867         * math/s_ccosh.c: Removed.
15868         * math/s_ccoshl.c: Removed.
15870         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
15871         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
15872         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
15873         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
15874         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
15875         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
15877         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
15878         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
15879         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
15880         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
15882         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
15883         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
15884         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
15885         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
15887 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15889         * s_cacos_template.c: Copy of s_cacos.c.
15890         * s_cacosh_template.c: Copy of s_cacosh.c.
15891         * s_ccos_template.c: Copy of s_ccos.c.
15892         * s_ccosh_template.c: Copy of s_ccosh.c.
15894 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15896         * stdlib/tst-strtod-round-skeleton.c:
15897         Refactored from tst-strtod-round.c.
15899         (L_): New macro to apply literal modifier.
15900         (FNPFX): New macro to select str or wcs prefix.
15901         (CHAR): New macro to choose wchar_t or char.
15902         (STRM): New macro to choose printf for tested character type.
15904         (STRTO): New macro to choose appropriate string -> real function.
15905         (FNPFXS): Stringitized version of FNPFX.
15906         (STR): Support for above macro.
15907         (STRX): Likewise.
15909         (TEST): Update with above macros.
15910         (test): Likewise.
15911         (GEN_ONE_TEST): Likewise.
15912         (test_in_one_mode): Likewise.
15914         * stdlib/tst-strtod-round.c: New file.
15915         * wcsmbs/tst-wcstod-round.c: New file.
15917         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
15918         (tst-wcstod-round): Add libm depencency for fesetround.
15920 2016-08-19  Zack Weinberg  <zackw@panix.com>
15922         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
15924 2016-08-18  Torvald Riegel  <triegel@redhat.com>
15926         [BZ #20477]
15927         * resolv/res_hconf.c (do_init): Use atomic access.
15928         * resolv/res_hconf.h: Add comments.
15929         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
15930         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
15931         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15933 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
15935         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
15936         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
15937         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
15938         Likewise.
15940 2016-08-18  Florian Weimer  <fweimer@redhat.com>
15942         [BZ #16907]
15943         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
15944         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
15945         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
15946         (__attribute__): Remove definition.
15948 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15950         * sysdeps/ieee754/ldbl-128/e_asinl.c:
15951         Remove unused sqrtl declaration.
15953 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15955         * math/Makefile: (gen-libm-templates.stmp): New rule.
15956         (libm-calls): Move carg conj cimag and cabs into ...
15957         (gen-libm-calls): New variable.
15958         (generated): Inform Make objects from gen-libm-calls
15959         may be generated.
15961         * sysdeps/generic/math-type-macros.h: New file.
15962         * sysdeps/generic/math-type-macros-float.h: Likewise.
15963         * sysdeps/generic/math-type-macros-double.h: Likewise.
15964         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
15965         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
15966         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
15968         * math/cabs.c: Refactor into
15969         * math/cabs_template.c: new file.
15970         * math/cabsf.c: Removed.
15971         * math/cabsl.c: Removed.
15972         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
15973         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
15975         * math/carg.c: Refactor into
15976         * math/carg_template.c: new file.
15977         * math/cargf.c: Removed.
15978         * math/cargl.c: Removed.
15979         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
15980         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
15982         * math/conj.c: Refactor into
15983         * math/conj_template.c: new file.
15984         * math/conjf.c: Removed.
15985         * math/conjl.c: Removed.
15986         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
15987         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
15989         * math/cimag.c: Refactor into
15990         * math/cimag_template.c: new file.
15991         * math/cimagf.c: Removed.
15992         * math/cimagl.c: Removed.
15993         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
15994         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
15996         * math/cimag.c: Refactor into
15997         * math/cimag_template.c: new file.
15998         * math/cimagf.c: Removed.
15999         * math/cimagl.c: Removed.
16000         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
16001         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
16003 2016-08-17  Florian Weimer  <fweimer@redhat.com>
16005         Reduce time to expected nptl/tst-once5 failure.
16006         * nptl/tst-once5.cc (TIMEOUT): Define.
16008 2016-08-17  Florian Weimer  <fweimer@redhat.com>
16010         [BZ #20452]
16011         Avoid additional copies of objects in libc.a in static libraries.
16012         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
16013         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
16014         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
16015         rt-sysdep.
16016         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
16017         Add nptl-sysdep.
16018         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
16019         Add ptw-sysdep.
16020         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
16021         rt-sysdep.
16022         * sysdeps/unix/sysv/linux/alpha/Makefile
16023         (libpthread-shared-only-routines): Add ptw-sysdep,
16024         ptw-sigprocmask, ptw-rt_sigaction.
16025         * sysdeps/unix/sysv/linux/ia64/Makefile
16026         (librt-shared-only-routines): Add rt-sysdep.
16027         * sysdeps/unix/sysv/linux/i386/Makefile
16028         (libpthread-shared-only-routines): Add libc-do-syscall.
16029         * sysdeps/unix/sysv/linux/microblaze/Makefile
16030         (libpthread-shared-only-routines): Add sysdep.
16031         * sysdeps/unix/sysv/linux/powerpc/Makefile
16032         (librt-shared-only-routines): Add rt-sysdep.
16033         (libpthread-shared-only-routines): Add sysdep.
16034         * sysdeps/unix/sysv/linux/s390/Makefile
16035         (librt-shared-only-routines): Add rt-sysdep.
16036         * sysdeps/unix/sysv/linux/sparc/Makefile
16037         (librt-shared-only-routines): Add rt-sysdep.
16038         (libpthread-shared-only-routines): Add sysdep.
16039         * sysdeps/unix/sysv/linux/tile/Makefile
16040         (libpthread-shared-only-routines): Likewise.
16042 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
16044         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
16045         Mask implicit bit out of unpacked value.
16046         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
16047         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
16048         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
16050         * sysdeps/sparc/fpu/fesetexcept.c: New file.
16052         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
16054         * sysdeps/s390/fpu/fesetexcept.c: New file.
16056         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
16057         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
16058         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
16060         * sysdeps/mips/fpu/fesetexcept.c: New file.
16062         * sysdeps/m68k/fpu/fesetexcept.c: New file.
16064         * sysdeps/ia64/fpu/fesetexcept.c: New file.
16066         * sysdeps/hppa/fpu/fesetexcept.c: New file.
16068         * sysdeps/arm/fesetexcept.c: New file.
16070         * sysdeps/alpha/fpu/fesetexcept.c: New file.
16072         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
16074         * math/fesetexcept.c: New file.
16075         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
16076         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
16077         * math/fenv.h: Define
16078         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
16079         <bits/libc-header-start.h> instead of including <features.h>.
16080         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
16081         declaration.
16082         * manual/arith.texi (fesetexcept): Document function.
16083         * math/Versions (fesetexcept): New libm symbol at version
16084         GLIBC_2.25.
16085         * math/Makefile (libm-support): Add fesetexcept.
16086         (tests): Add test-fesetexcept and test-fesetexcept-traps.
16087         * math/test-fesetexcept.c: New file.
16088         * math/test-fesetexcept-traps.c: Likewise.
16089         * sysdeps/nacl/libm.abilist: Update.
16090         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16091         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16092         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16093         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16094         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16095         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16096         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16097         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16098         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16099         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16100         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16101         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
16103         Likewise.
16104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
16105         Likewise.
16106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
16107         Likewise.
16108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
16109         Likewise.
16110         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16111         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16112         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16113         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16114         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16115         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
16116         Likewise.
16117         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
16118         Likewise.
16119         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
16120         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16121         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16123 2016-08-16  Florian Weimer  <fweimer@redhat.com>
16125         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
16126         New.
16127         (do_test): Apply default_stack_size_in_mb if not set.
16128         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
16130 2016-08-15  Andreas Schwab  <schwab@suse.de>
16132         [BZ #20435]
16133         CVE-2016-6323
16134         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
16135         as .cantunwind.
16137 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
16139         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
16140         comment from fraiseexcpt.c.
16142         * math/test-fexcept.c (feraiseexcept_exact): New function.
16143         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
16144         (test_except): Likewise.
16146 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
16148         [BZ #20455]
16149         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
16150         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
16151         to be restored.
16153         * math/test-fexcept-traps.c: New file.
16154         * math/test-fexcept.c: Likewise.
16155         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
16156         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
16157         macro.
16158         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
16159         (EXCEPTION_SET_FORCES_TRAP): Likewise.
16161 2016-08-09  Torvald Riegel  <triegel@redhat.com>
16163         * include/atomic.h (atomic_fetch_and_relaxed,
16164         atomic_fetch_and_release, atomic_fetch_or_release,
16165         atomic_fetch_xor_release): New.
16167 2016-08-06  Christian Seiler  <christian@iwakd.de>
16169         [BZ #20444]
16170         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
16171         MACH_PORT_NULL.
16173 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
16175         * math/s_fdim.c: Avoid alias renamed.
16176         * math/s_fdimf.c: Likewise.
16177         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
16178         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
16179         Add s_fdimf-vis3, s_fdim-vis3.
16180         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
16181         (CFLAGS-s_fdim-vis3.c): Likewise.
16182         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
16183         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
16185 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
16187         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
16188         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
16189         Remove s_fdimf-vis3, s_fdim-vis3.
16190         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
16191         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
16192         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
16193         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
16194         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
16195         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
16196         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
16197         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
16198         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
16199         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
16201 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
16203         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
16204         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
16205         -Wa,-Av9a -mvis.
16207 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16209         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
16210         LIT() to individual constants in simple expressions
16211         after splitting on spaces.
16212         (_apply_lit): Rename replaced version, and use it to
16213         apply to what appears to be a token.
16215         * math/libm-test.inc: Fix many, many issues with
16216         spacing.
16218 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
16220         * math/math.h: Move comment about <bits/mathdef.h> definitions
16221         above inclusion of <bits/mathdef.h>.  Do not mention
16222         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
16224 2016-08-05  Torvald Riegel  <triegel@redhat.com>
16226         * include/atomic.h (atomic_exchange_relaxed): New.
16228 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
16230         * math/e_scalb.c: Do not include <fenv.h>.
16231         (invalid_fn): Do calculation resulting in NaN instead of raising
16232         FE_INVALID and returning a NaN explicitly.
16233         * math/e_scalbf.c: Do not include <fenv.h>.
16234         (invalid_fn): Do calculation resulting in NaN instead of raising
16235         FE_INVALID and returning a NaN explicitly.
16236         * math/e_scalbl.c: Do not include <fenv.h>.
16237         (invalid_fn): Do calculation resulting in NaN instead of raising
16238         FE_INVALID and returning a NaN explicitly.
16240 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
16242         * po/de.po: Updated from Translation Project.
16243         * po/fi.po: Likewise.
16244         * po/sv.po: Likewise.
16246 2016-08-04  Florian Weimer  <fweimer@redhat.com>
16248         [BZ #20452]
16249         Use sysdep.o from libc.a in static libraries.
16250         * sysdeps/unix/sysv/linux/i386/Makefile
16251         (libpthread-shared-only-routines): Add sysdep.
16252         (librt-shared-only-routines): Likewise.
16254 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
16256         * math/tgmath.h (nextdown): Define if
16257         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
16258         (nextup): Likewise.
16260         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
16261         macro.
16262         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
16263         Document.
16264         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
16265         Document macro.
16266         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
16267         (exp10f): Likewise.
16268         (exp10l): Likewise.
16269         * math/bits/mathcalls.h (exp10): Declare if
16270         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
16272         * manual/arith.texi (nextup): Fix typo in last change.
16274 2016-08-03  Zack Weinberg  <zackw@panix.com>
16276         [BZ #19239]
16277         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
16278         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
16279         define major, minor, and makedev to issue deprecation warnings on use.
16280         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
16281         previously-activated deprecation warnings for these macros and prevent
16282         subsequent inclusions of this header from having any effect.
16283         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
16284         including <sys/sysmacros.h>, and undefine it again afterward.
16286 2016-08-03  Zack Weinberg  <zackw@panix.com>
16288         * sysdeps/generic/sys/sysmacros.h: Delete file.
16289         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
16290         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
16291         * bits/sysmacros.h: ... here; this encoding is now the generic
16292         encoding.  Now defines only the following macros:
16293         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
16294         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
16295         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
16297         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
16298         bits/sysmacros.h and the above new macros to generate the
16299         public implementations of major, minor, and makedev.
16300         * misc/tst-makedev.c: New test.
16301         * include/sys/sysmacros.h: New wrapper.
16303         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
16304         (routines): Add makedev.
16305         (tests): Add tst-makedev.
16306         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
16307         gnu_dev_makedev.
16308         * posix/Makefile (headers): Remove sys/sysmacros.h.
16309         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
16311         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
16312         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
16313         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
16314         * sysdeps/unix/sysv/linux/alpha/libc.abilist
16315         * sysdeps/unix/sysv/linux/arm/libc.abilist
16316         * sysdeps/unix/sysv/linux/hppa/libc.abilist
16317         * sysdeps/unix/sysv/linux/i386/libc.abilist
16318         * sysdeps/unix/sysv/linux/ia64/libc.abilist
16319         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
16320         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
16321         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
16322         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
16323         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
16324         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
16325         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
16326         * sysdeps/unix/sysv/linux/nios2/libc.abilist
16327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
16328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
16329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
16330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
16331         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
16332         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
16333         * sysdeps/unix/sysv/linux/sh/libc.abilist
16334         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
16335         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
16336         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
16337         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
16338         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
16339         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
16340         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
16341         Add GLIBC_2.25.
16343         * include/features.h (__glibc_clang_prereq): New macro.
16344         * misc/sys/cdefs.h (__glibc_clang_has_extension)
16345         (__attribute_deprecated_msg__): New macros.
16347 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
16349         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
16350         macro.
16351         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
16352         * manual/arith.texi (issignaling): Document as ISO from TS
16353         18661-1:2014.
16354         (nextup): Likewise.
16355         (nextupf): Likewise.
16356         (nextupl): Likewise.
16357         (nextdown): Likewise.
16358         (nextdownf): Likewise.
16359         (nextdownl): Likewise.
16360         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
16361         macro.
16362         * math/math.h: Define
16363         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
16364         <bits/libc-header-start.h> instead of including <features.h>.
16365         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
16366         [__USE_GNU].
16367         * math/bits/mathcalls.h (nextdown): Declare if
16368         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
16369         (nextup): Likewise.
16370         (__issignaling): Likewise.
16372 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16374         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
16375         check, and remove __glibc_likely hint
16376         from FP_INFINITE check.
16377         * s_csinhf.c (__csinhf): Likewise.
16379         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
16380         hint from FP_INFINITE check.
16381         * s_csinhl.c (__csinhl): Likewise.
16383 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16385         * math/Makefile (libm-calls): Insert F placeholder into
16386         object names.  Move w_lgamma_compat* routines into
16387         (libm-compat-calls): New variable.
16388         (libm-compat-calls-ldouble-yes): New variable.
16389         (calls): Insert F placeholder.
16390         (generated): Redefine using new type-foreach macro call.
16391         (routines): Likewise.
16393         (types): New variable to hold a list of symbolic names
16394         for each type supported by the target machine.
16395         (libm-routines): Redefine using new types variable.
16396         (type-foreach): macro to replace fooF with the
16397         appropriately suffixed foo for each types.
16399         (type-ldouble-suffix): New variable.
16400         (type-ldouble-routines): Likewise.
16401         (type-ldouble-yes): Likewise.
16402         (type-double-suffix): Likewise.
16403         (type-double-routines): Likewise.
16404         (type-float-suffix): Likewise.
16405         (type-float-routines): Likewise.
16407         (dbl-only-routines): Remove.
16408         (long-c-yes): Likewise.
16409         (long-m-routines): Likewise.
16410         (long-m-support): Likewise.
16411         (long-m-yes): Likewise.
16412         (test-longdouble-yes): Likewise.
16414         (test-float.o): Simplify by increasing the scope of the
16415         recipe which adds libm-test.stmp to the vector types.
16416         (test-ifloat.o): Likewise.
16417         (test-float-finite.o): Likewise.
16418         (test-double.o): Likewise
16419         (test-idouble.o): Likewise.
16420         (test-double-finite.o): Likewise.
16421         (test-ldouble.o): Likewise
16422         (test-ildoubl.o): Likewise.
16423         (test-ldouble-finite.o): Likewise.
16425         (libm-tests): Redefine type tests using foreach and the
16426         list of types in types.
16428         (CPPFLAGS-test-ildoubl.c): Rename to
16429         (CPPFLAGS-test-ildouble.c): New variable
16431         * math/test-ildoubl.c: Rename to
16432         * math/test-ildouble.c: New file.
16434 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16436         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
16437         Use fabsl instead of fabs.
16438         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
16439         Likewise.
16440         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
16441         Add long double suffix to constant to ensure proper
16442         promotion to long double.
16444 2016-08-03  Tom Tromey  <tom@tromey.com>
16446         [BZ #20311]
16447         * nptl_db/Makefile (headers): Add proc_service.h.
16448         * nptl_db/proc_service.h: Add include guard.  Use
16449         __BEGIN/__END_DECLS.
16450         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
16451         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
16452         arguments.
16455 2016-08-03  Florian Weimer  <fweimer@redhat.com>
16457         [BZ #17730]
16458         Avoid using memalign for TCB allocations.
16459         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
16460         (_dl_allocate_tls_storage): Use malloc and manual alignment.
16461         Avoid alignment gap in the TLS_DTV_AT_TP case.
16462         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
16463         determine the pointer to free.
16464         * nptl/tst-tls3-malloc.c: New test.
16465         * nptl/Makefile (tests): Add it.
16466         (tst-tls3-malloc): Link with libdl, libpthread.
16467         (LDFLAGS-tst-tls3-malloc): Set.
16468         (tst-tls3-malloc.out): Depend on DSO used in test.
16470 2016-08-03  Florian Weimer  <fweimer@redhat.com>
16472         [BZ #17730]
16473         Avoid using memalign for TLS allocations.
16474         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
16475         is_static member with to_free member.
16476         (union dtv): Use struct dtv_pointer.
16477         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
16478         dtv_pointer instead of is_static.
16479         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
16480         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
16481         instead of val.
16482         (allocate_dtv_entry): New function.
16483         (allocate_and_init): Return struct dtv_pointer.  Call
16484         allocate_dtv_entry instead of __libc_memalign.
16485         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
16486         instead of val.
16487         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
16488         instead of is_static.  Adjust call to allocate_and_init.
16489         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
16490         struct dtv_pointer instead of val.
16492 2016-08-03  Florian Weimer  <fweimer@redhat.com>
16494         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
16495         (MALLOC_ALIGN_MASK): Move ...
16496         * malloc/malloc-internal.h: ... to here.
16497         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
16499 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
16501         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
16502         (UDP_ENCAP_GTP1U): Likewise.
16504         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
16505         (PF_MAX): Update value.
16506         (AF_QIPCRTR): New macro.
16508 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
16510         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
16511         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
16512         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
16513         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
16514         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
16515         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
16516         s_truncf-vis3, s_trunc-vis3.
16517         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
16518         (CFLAGS-s_ceil-vis3.c): Likewise.
16519         (CFLAGS-s_floorf-vis3.c): Likewise.
16520         (CFLAGS-s_floor-vis3.c): Likewise.
16521         (CFLAGS-s_truncf-vis3.c): Likewise.
16522         (CFLAGS-s_trunc-vis3.c): Likewise.
16523         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
16524         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
16525         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
16526         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
16527         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
16528         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
16529         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
16530         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
16531         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
16532         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
16533         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
16534         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
16536 2016-08-02  David S. Miller  <davem@davemloft.net>
16538         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
16539         (__nearbyint_vis3): Don't check for sNaN before float register is
16540         loaded with the incoming argument.
16541         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
16542         (__nearbyintf_vis3): Likewise.
16543         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
16544         Likewise.
16545         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
16546         Likewise.
16548         * string/test-strncmp.c (do_test_limit): Make sure the test data
16549         stream is aligned as required for the type "CHAR".
16550         (do_test): Likewise.
16552 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
16554         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
16555         by beq instructions jumping to the end of the function.
16556         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
16557         clobber list. Use "i" constraint instead of "X".
16558         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
16559         of "X".
16561 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
16563         * bits/libc-header-start.h: New file.
16564         * Makefile (headers): Add bits/libc-header-start.h.
16565         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
16566         (__GLIBC_USE): New macro.
16567         * libio/stdio.h: Define
16568         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
16569         <bits/libc-header-start.h> instead of including <features.h>.
16570         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
16571         (open_memstream): Likewise.
16572         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
16573         (__asprintf): Likewise.
16574         (asprintf): Likewise.
16575         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
16576         (getdelim): Likewise.
16577         (getline): Likewise.
16578         * string/string.h: Define
16579         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
16580         <bits/libc-header-start.h> instead of including <features.h>.
16581         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
16582         (strndup): Likewise.
16583         * wcsmbs/wchar.h: Define
16584         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
16585         <bits/libc-header-start.h> instead of including <features.h>.
16586         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
16587         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
16589 2016-08-02  Florian Weimer  <fweimer@redhat.com>
16591         Support linking against compatibility symbols, for use in tests.
16592         * include/libc-symbols.h (symbol_version_reference): New macro.
16593         (symbol_version): Use it.
16594         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
16595         (compat_symbol): Use compat_symbol_reference.
16596         (compat_symbol_1, compat_symbol_2): Remove.
16597         (compat_symbol_reference, compat_symbol_reference_1)
16598         (compat_symbol_reference_2): New macro.  Use
16599         symbol_version_reference.
16601 2016-08-02  Florian Weimer  <fweimer@redhat.com>
16603         [BZ #19469]
16604         * malloc/Makefile (CPPFLAGS): Compile tests with
16605         -DTEST_NO_MALLOPT.
16606         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
16608 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
16610         [BZ #20033]
16611         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
16612         finite version.
16613         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
16614         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
16615         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
16616         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
16617         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
16618         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
16619         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
16620         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
16621         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
16622         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
16623         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
16624         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
16625         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
16626         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
16627         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
16628         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
16629         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
16630         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
16631         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
16632         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
16633         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
16634         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
16635         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
16636         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
16637         in zero power.
16639 2016-08-02  Florian Weimer  <fweimer@redhat.com>
16641         [BZ #20370]
16642         * malloc/arena.c (get_free_list): Update comment.  Assert that
16643         arenas on the free list have no attached threads.
16644         (remove_from_free_list): New function.
16645         (reused_arena): Call it.
16647 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
16649         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
16650         when it is a NaN.
16651         [_IEEE_FP_INEXACT] Remove.
16652         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
16653         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
16654         when it is a NaN.
16655         [_IEEE_FP_INEXACT] Remove.
16656         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
16657         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
16658         when it is a NaN.
16659         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
16660         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
16661         when its absolute value is greater than 0x1.0p52.
16662         [_IEEE_FP_INEXACT] Remove.
16663         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
16664         when its absolute value is greater than 0x1.0p23.
16665         [_IEEE_FP_INEXACT] Remove.
16667 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
16669         * version.h (RELEASE): Set to "development"
16670         (VERSION): Set to 2.24.90.
16671         * NEWS: Add 2.25 section.
16673         * version.h (RELEASE): Set to "stable"
16674         (VERSION): Set to 2.24.
16675         * include/features.h (__GLIBC_MINOR__): Set to 24.
16677         * NEWS: Add 2.24 fixed bugs.
16678         * po/libc.pot: Regenerate.
16680 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
16682         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
16683         [$(subdir) = math] (libm-sysdep_routines): Remove.
16684         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
16685         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
16686         s_truncf-vis3, s_trunc-vis3.
16687         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
16688         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
16689         file.
16690         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
16691         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
16692         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
16693         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
16694         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
16695         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
16696         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
16697         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
16698         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
16699         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
16700         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
16701         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
16702         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
16703         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
16704         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
16705         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
16706         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
16707         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
16708         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
16709         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
16710         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
16711         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
16712         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
16713         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
16714         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
16715         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
16716         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
16717         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
16718         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
16719         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
16720         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
16721         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
16722         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
16723         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
16724         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
16725         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
16726         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
16727         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
16728         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
16729         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
16730         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
16731         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
16732         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
16734 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
16736         [BZ #20384]
16737         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
16738         test-double-libmvec-sincos-avx-main.o,
16739         test-double-libmvec-sincos-avx2-main.o,
16740         test-double-libmvec-sincos-main.o,
16741         test-float-libmvec-sincosf-avx-main.o,
16742         test-float-libmvec-sincosf-avx2-main.o and
16743         test-float-libmvec-sincosf-main.o.
16744         test-float-libmvec-sincosf-avx512-main.o.
16745         ($(objpfx)test-double-libmvec-sincos): Also link with
16746         $(objpfx)test-double-libmvec-sincos-main.o.
16747         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
16748         $(objpfx)test-double-libmvec-sincos-avx-main.o.
16749         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
16750         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
16751         ($(objpfx)test-float-libmvec-sincosf): Also link with
16752         $(objpfx)test-float-libmvec-sincosf-main.o.
16753         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
16754         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
16755         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
16756         test-double-libmvec-sincos-avx512-main.o and
16757         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
16758         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
16759         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
16760         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
16761         (CFLAGS-test-double-libmvec-sincos.c): Removed.
16762         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
16763         (CFLAGS-test-double-libmvec-sincos-main.c): New.
16764         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
16765         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
16766         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
16767         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
16768         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
16769         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
16770         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
16771         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
16772         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
16773         -DREQUIRE_AVX2.
16774         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
16775         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
16776         -DREQUIRE_AVX512F.
16777         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
16778         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
16779         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
16780         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
16781         file.
16782         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
16783         Likewise.
16784         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
16785         Likewise.
16786         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
16787         Likewise.
16788         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
16789         Likewise.
16790         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
16791         Likewise.
16792         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
16793         Likewise.
16794         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
16795         Likewise.
16797 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
16799         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
16801 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
16803         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
16804         and typo in a comment about AT_HWCAP entry.
16806 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16808         * sysdeps/aarch64/libm-test-ulps: Updated.
16810 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
16812         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
16813         of r13 as it is not restored in mvcle case.
16815 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
16817         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
16818         Rename "ret" to "__ret".
16819         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
16820         inline_syscall5, inline_syscall6): Likewise.
16822 2016-07-19   Will Newton  <will.newton@gmail.com>
16824         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
16825         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
16826         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
16827         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
16828         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
16830 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
16832         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
16833         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
16834         -mfpmath=387 with $(rtld-CFLAGS).
16835         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
16836         $(rtld-CFLAGS).
16838 2016-07-18   Ross Burton  <ross.burton@intel.com>
16839              Khem Raj  <raj.khem@gmail.com>
16841         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
16842         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
16843         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
16844         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
16845         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
16846         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
16847         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
16848         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
16849         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
16850         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
16851         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
16852         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
16853         R_METAG_TLS_DTPOFF): New.
16855 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
16856             Matt Clay  <mclay@lycos.com>
16858         [BZ #20357]
16859         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
16860         to call __mpsin/__mpcos and to negate values.
16861         * math/auto-libm-test-in: Add test.
16862         * math/auto-libm-test-out: Regenerate.
16864 2016-07-18  Zack Weinberg  <zackw@panix.com>
16866         * grp/Makefile: Don't install the internal header grp-merge.h.
16868 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16870         * sysdeps/aarch64/libm-test-ulps: Regenerated.
16872 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16874         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
16876 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16878         [BZ #15368]
16879         * sysdeps/unix/sysv/linux/nptl-signals.h
16880         (__nptl_clear_internal_signals): New function.
16881         (__libc_signal_block_all): Likewise.
16882         (__libc_signal_block_app): Likewise.
16883         (__libc_signal_restore_set): Likewise.
16884         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
16885         implementation.
16886         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
16887         the cached pid/tid value in pthread structure.
16889 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
16891         [BZ #20347]
16892         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
16894 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
16896         [BZ #20348]
16897         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
16898         preadv64, pwrite64 and pwritev64.
16900 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
16902         [BZ #20350]
16903         * posix/tst-preadwrite.c: Renamed to ...
16904         * posix/tst-preadwrite-common.c: This.
16905         (PREAD): Removed.
16906         (PWRITE): Likewise.
16907         (STRINGIFY): Likewise.
16908         (STRINGIFY2): Likewise.
16909         (do_prepare): Make it static and remove function arguments.
16910         (do_test): Likewise.
16911         (PREPARE): Updated.
16912         (TEST_FUNCTION): New.
16913         (name): Make it static.
16914         (fd): Likewise.
16915         (do_prepare): Use create_temp_file.
16916         (do_test): Renamed to ...
16917         (do_test_with_offset): This.  Make it static and accept offset.
16918         Properly check return value of PWRITE and PREAD.  Return bytes
16919         read.  Don't close fd nor unlink name.
16920         * posix/tst-preadwrite.c: Rewrite.
16921         * posix/tst-preadwrite64.c: Likewise.
16923 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
16925         [BZ #20309]
16926         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
16927         -mtls-dialect=gnu2 works.
16928         * configure: Regenerated.
16929         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
16930         (tests): Add tst-gnu2-tls1.
16931         (modules-names): Add tst-gnu2-tls1mod.
16932         ($(objpfx)tst-gnu2-tls1): New.
16933         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
16934         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
16935         * elf/tst-gnu2-tls1.c: New file.
16936         * elf/tst-gnu2-tls1mod.c: Likewise.
16937         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
16938         bytes for push in the PLT entry to align the stack.
16940 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
16942         [BZ #20349]
16943         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
16945 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16947         [BZ #18707]
16948         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
16949         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
16951 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16953         * sysdeps/unix/sysv/linux/sysdep.h
16954         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
16955         guards.
16956         * misc/tst-preadvwritev-common.c: New file.
16957         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
16958         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
16959         a check for files larger than 2GB.
16961         * sysdeps/unix/sysv/linux/mips/kernel-features.h
16962         (__ASSUME_OFF_DIFF_OFF64): Remove define.
16963         * sysdeps/unix/sysv/linux/pread.c
16964         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
16965         __OFF_T_MATCHES_OFF64_T.
16966         * sysdeps/unix/sysv/linux/pread64.c
16967         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
16968         * sysdeps/unix/sysv/linux/preadv.c
16969         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
16970         * sysdeps/unix/sysv/linux/preadv64.c
16971         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
16972         * sysdeps/unix/sysv/linux/pwrite.c
16973         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
16974         * sysdeps/unix/sysv/linux/pwrite64.c
16975         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
16976         * sysdeps/unix/sysv/linux/pwritev.c
16977         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
16978         * sysdeps/unix/sysv/linux/pwritev64.c
16979         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
16981 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
16983         * sysdeps/unix/sysv/linux/tile/kernel-features.h
16984         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
16986 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
16988         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
16990 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
16992         [BZ #20240]
16993         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
16994         (CFLAGS-s_modf-ppc32.c): New variable.
16995         (CFLAGS-s_modff-ppc32.c): Likewise.
16996         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
16997         (CFLAGS-s_modf-ppc64.c): Likewise.
16998         (CFLAGS-s_modff-ppc64.c): Likewise.
17000 2016-07-07  Andreas Schwab  <schwab@suse.de>
17002         [BZ #20263]
17003         * nptl/tst-robust10.c: New test.
17004         * nptl/Makefile (tests): Add tst-robust10.
17006 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
17008         [BZ #20263]
17009         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
17011 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
17013         * sysdeps/s390/linkmap.h (struct link_map_machine):
17014         Remove member gotplt and add member jmprel.
17015         * sysdeps/s390/s390-32/dl-machine.h
17016         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
17017         instead of gotplt with &got[3].
17018         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
17019         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
17021 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
17023         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
17025 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17027         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
17028         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
17029         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
17030         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
17031         * libio/vtables.c (_IO_vtable_check)
17032         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
17033         * libio/libioP.h (IO_set_accept_foreign_vtables)
17034         [!PTR_MANGLE]: Do not call PTR_MANGLE.
17036 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
17038         [BZ #20314]
17039         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
17040         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
17041         $(common-objpfx)cmath.
17042         ($(common-objpfx)cstdlib): New target.
17043         ($(common-objpfx)cmath): Likewise.
17045 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
17047         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
17049 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17051         [BZ #20327]
17052         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
17053         are not part of the string.
17055 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17057         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
17058         * nptl/tst-cancel4-common.h (fifoname): New variable.
17059         (fifofd): Likewise.
17060         (cl_fifo): New function.
17061         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
17062         SIGINT.
17063         (tf_open): Add early cancel test.
17065 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
17067         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
17069 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
17071         * sysdeps/generic/ldsodefs.h
17072         (dl_symbol_visibility_binds_local_p): New inline function.
17073         * elf/dl-addr.c (determine_info): Treat hidden and internal
17074         symbols as local.
17075         * elf/dl-lookup.c (do_lookup_x): Likewise.
17076         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
17078 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
17080         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
17081         invalid exception for a sNaN input.
17082         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
17083         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
17084         (__nearbyint_vis3): Likewise
17085         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
17086         (__nearbyintf_vis3): Likewise
17087         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
17088         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
17089         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
17090         Likewise.
17091         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
17092         Likewise.
17094 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
17096         [BZ #20139]
17097         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
17098         (HAVE_AVX512DQ_ASM_SUPPORT): This.
17099         * sysdeps/x86_64/configure.ac: Require assembler from binutils
17100         2.24 or above.
17101         (HAVE_AVX512_ASM_SUPPORT): Removed.
17102         (HAVE_AVX512DQ_ASM_SUPPORT): New.
17103         * sysdeps/x86_64/configure: Regenerated.
17104         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
17105         check unconditional.
17106         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
17107         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
17108         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
17109         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
17110         Likewise.
17111         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
17112         Likewise.
17113         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
17114         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
17115         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
17116         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
17117         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
17118         Likewise.
17119         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
17120         Likewise.
17121         * sysdeps/x86_64/multiarch/memset.S: Likewise.
17122         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17123         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
17124         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
17125         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
17126         Likewise.
17127         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
17128         Likewise.
17129         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
17130         Likewise.
17131         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
17132         Likewise.
17133         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
17134         Likewise.
17135         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
17136         Likewise.
17137         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
17138         Likewise.
17139         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
17140         Likewise.
17141         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
17142         Likewise.
17143         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
17144         Likewise.
17145         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
17146         Likewise.
17148 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
17150         [BZ #20024]
17151         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
17152         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
17153         of this implementation of vector function.
17154         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
17155         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
17156         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
17157         Likewise.
17158         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
17159         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
17160         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
17161         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
17162         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
17163         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
17164         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
17165         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
17166         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
17167         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
17168         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
17169         for testing vector sincos with fixed ABI.
17170         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
17171         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
17172         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
17173         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
17174         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
17175         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
17176         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
17177         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
17178         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
17179         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
17180         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
17181         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
17182         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
17183         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
17184         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
17185         * sysdeps/x86_64/fpu/Makefile: Added new tests.
17187 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
17189         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
17191 2016-06-30  Anton Blanchard  <anton@samba.org>
17193         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
17194         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
17195         s_sinf-ppc64.
17196         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
17197         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
17198         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
17199         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
17201 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17203         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17204         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
17205         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
17206         e_expf-ppc64.
17207         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
17208         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
17209         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
17210         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
17212 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
17214         [BZ #20277]
17215         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
17216         when SHARED is defined.
17218 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
17220         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
17221         (index_arch_Prefer_ERMS): Likewise.
17222         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
17223         __memcpy_erms for Prefer_ERMS.
17224         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
17225         (__memmove_erms): Enabled for libc.a.
17226         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
17227         __memmove_erms or Prefer_ERMS.
17228         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
17229         __mempcpy_erms for Prefer_ERMS.
17230         * sysdeps/x86_64/multiarch/memset.S (memset): Return
17231         __memset_erms for Prefer_ERMS.
17233 2016-06-30  Andreas Schwab  <schwab@suse.de>
17235         [BZ #20262]
17236         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
17237         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
17238         of memory.
17240 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
17242         [BZ #18645]
17243         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
17244         (test-extras): Add tst-cleanupx4aux.
17245         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
17246         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
17247         tst-cleanupx4aux.o.
17248         * nptl/tst-cleanupx4aux.c: New file.
17250 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
17252         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
17254 2016-06-29  Andreas Schwab  <schwab@suse.de>
17256         [BZ #20260]
17257         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
17258         address before the beginning of the string as an integer to avoid
17259         array-bounds warning.
17261 2016-06-28  Richard Henderson  <rth@redhat.com>
17263         * elf/elf.h (EM_BPF): New.
17264         (EM_NUM): Update.
17265         (R_BPF_NONE, R_BPF_MAP_FD): New.
17267         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
17268         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
17269         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
17270         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
17271         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
17272         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
17273         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
17274         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
17275         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
17276         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
17277         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
17278         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
17279         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
17280         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
17281         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
17282         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
17283         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
17284         (EM_NUM): Update.
17286 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
17288         [BZ #18960]
17289         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
17290         Set _nl_current_LC_CATEGORY_used to two instead of one.
17292 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
17294         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
17295         (do_test): ... this.
17296         (TEST_FUNCTION): New macro.
17297          Include test-skeleton.c.
17298         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
17299         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
17301 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
17303         [BZ #15479]
17304         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
17305         floating-point environment rather than just control word.
17306         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
17307         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
17308         floating-point environment, with "invalid" exceptions merged in,
17309         rather than just control word.
17310         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
17311         * math/libm-test.inc (trunc_test_data): Do not allow spurious
17312         "inexact" exceptions.
17314         [BZ #15479]
17315         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
17316         floating-point environment rather than just control word.
17317         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
17318         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
17319         floating-point environment, with "invalid" exceptions merged in,
17320         rather than just control word.
17321         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
17322         * math/libm-test.inc (floor_test_data): Do not allow spurious
17323         "inexact" exceptions.
17325         [BZ #15479]
17326         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
17327         floating-point environment rather than just control word.
17328         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
17329         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
17330         floating-point environment, with "invalid" exceptions merged in,
17331         rather than just control word.
17332         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
17333         * math/libm-test.inc (ceil_test_data): Do not allow spurious
17334         "inexact" exceptions.
17336 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
17338         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
17339         __libc_vfork.
17340         (__vfork) [IS_IN (libc)]: Remove alias.
17341         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
17342         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
17343         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
17345 2016-06-24  Torvald Riegel  <triegel@redhat.com>
17347         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
17348         of atomic_compare_and_exchange_bool_rel.
17349         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
17350         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
17351         catomic_compare_and_exchange_bool_rel): Remove.
17352         * sysdeps/aarch64/atomic-machine.h
17353         (atomic_compare_and_exchange_bool_rel): Likewise.
17354         * sysdeps/alpha/atomic-machine.h
17355         (atomic_compare_and_exchange_bool_rel): Likewise.
17356         * sysdeps/arm/atomic-machine.h
17357         (atomic_compare_and_exchange_bool_rel): Likewise.
17358         * sysdeps/mips/atomic-machine.h
17359         (atomic_compare_and_exchange_bool_rel): Likewise.
17360         * sysdeps/microblaze/atomic-machine.h
17361         ( __arch_compare_and_exchange_bool_8_rel,
17362         __arch_compare_and_exchange_bool_16_rel): Likewise.
17363         * sysdeps/powerpc/atomic-machine.h
17364         ( __arch_compare_and_exchange_bool_8_rel,
17365         __arch_compare_and_exchange_bool_16_rel): Likewise.
17366         * sysdeps/powerpc/powerpc32/atomic-machine.h
17367         ( __arch_compare_and_exchange_bool_32_rel,
17368         __arch_compare_and_exchange_bool_64_rel): Likewise.
17369         * sysdeps/powerpc/powerpc64/atomic-machine.h
17370         ( __arch_compare_and_exchange_bool_32_rel,
17371         __arch_compare_and_exchange_bool_64_rel): Likewise.
17372         * sysdeps/tile/atomic-machine.h
17373         (atomic_compare_and_exchange_bool_rel): Likewise.
17375 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
17377         [BZ #20296]
17378         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
17379         when either argument is a NaN.
17380         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
17381         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
17383         * math/libm-test.inc (snan_value_ld): New macro.
17384         (isgreater_test_data): Add sNaN tests.
17385         (isgreaterequal_test_data): Likewise.
17386         (isless_test_data): Likewise.
17387         (islessequal_test_data): Likewise.
17388         (islessgreater_test_data): Likewise.
17389         (isunordered_test_data): Likewise.
17390         (nextafter_test_data): Likewise.
17391         (nexttoward_test_data): Likewise.
17392         (remainder_test_data): Likewise.
17393         (remquo_test_data): Likewise.
17394         (significand_test_data): Likewise.
17395         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
17397 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
17399         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
17400         environment macros are defined.
17401         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
17403 2016-06-23  Florian Weimer  <fweimer@redhat.com>
17405         [BZ #20191]
17406         Implement vtable verification in libio.
17407         * Makerules (shlib.lds): Place __libc_IO_vtables section.
17408         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
17409         * debug/vdprintf_chk.c (__vdprintf_chk): Call
17410         _IO_new_file_init_internal instead of _IO_file_init.
17411         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
17412         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
17413         * libio/Makefile (routines): Add vtables.
17414         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
17415         (_IO_init): Remove, not for internal use.
17416         (_IO_init_internal): Declare, internal replacement for _IO_init.
17417         (_IO_file_init): Remove, not for internal use.
17418         (_IO_new_file_init): Remove, not for internal use.
17419         (_IO_new_file_init_internal): Declare, internal replacement for
17420         _IO_new_file_init.
17421         (_IO_old_file_init): Remove, not for internal use.
17422         (_IO_old_file_init_internal): Declare, internal replacement for
17423         _IO_old_file_init.
17424         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
17425         internal use.
17426         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
17427         Declare.
17428         (libio_vtable): New macro.
17429         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
17430         functions.
17431         * libio/fileops.c (_IO_new_file_init_internal): Rename from
17432         _IO_new_file_init.
17433         (_IO_new_file_init): New externally visible wrapper which disables
17434         vtable verification.
17435         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
17436         Define as vtables.
17437         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
17438         (_IO_init): New externally visible wrapper which disables
17439         vtable verification.
17440         * libio/iofdopen.c (_IO_new_fdopen): Call
17441         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
17442         comment.
17443         * libio/iofopen.c (__fopen_internal): Call
17444         _IO_new_file_init_internal instead of _IO_file_init.
17445         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
17446         Define as vtables.
17447         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
17448         _IO_new_file_init_internal instead of _IO_file_init.
17449         * libio/iopopen.c (_IO_new_popen): Likewise.
17450         (_IO_proc_jumps): Define as vtable.
17451         * libio/iovdprintf.c (_IO_vdprintf): Call
17452         _IO_new_file_init_internal instead of _IO_file_init.
17453         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
17454         (__open_memstream): Call _IO_init_internal instead of _IO_init.
17455         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
17456         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
17457         _IO_old_file_init.
17458         (_IO_old_file_init): New externally visible wrapper which disables
17459         vtable verification.
17460         (_IO_old_file_jumps): Define as vtable.
17461         * libio/oldiofdopen.c (_IO_old_fdopen): Call
17462         _IO_old_file_init_internal instead of _IO_old_file_init.
17463         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
17464         * libio/oldiopopen.c (_IO_old_popen): Likewise.
17465         (_IO_old_proc_jumps): Define as vtable.
17466         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
17467         Define as vtables.
17468         * libio/vtables.c: New file.
17469         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
17470         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
17471         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
17472         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
17473         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
17474         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
17475         instead of _IO_init.
17477 2016-06-23  Florian Weimer  <fweimer@redhat.com>
17479         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
17481 2016-06-23  Florian Weimer  <fweimer@redhat.com>
17483         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
17484         potentially unused.
17486 2016-06-22  Florian Weimer  <fweimer@redhat.com>
17488         * test-skeleton.c (write_message): New function.
17489         * malloc/tst-mallocfork2.c (write_message): Remove.
17490         * debug/tst-longjmp_chk2.c (write_indented): New function.
17491         (write_message): Remove.
17492         (stackoverflow_handler): Call write_indented.
17494 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
17496         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
17497         "inexact" exceptions after fnstenv.
17498         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
17499         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
17500         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
17502 2015-06-22  Zack Weinberg  <zackw@panix.com>
17504         * sysdeps/generic/bits/hwcap.h: Moved to ...
17505         * bits/hwcap.h: Here.
17507 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
17509         * sysdeps/aarch64/memcpy.S (memcpy):
17510         Further tuning for performance.
17512 2016-06-21  Florian Weimer  <fweimer@redhat.com>
17514         [BZ #20284]
17515         * malloc/arena.c (reused_arena): Do not return NULL if we start
17516         out with a non-corrupted arena.
17518 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17520         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
17521         * misc/tst-preadvwritev.c: New file.
17522         * misc/tst-preadvwritev64.c: Likewise.
17523         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
17524         usage.
17525         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
17526         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
17527         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
17528         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
17530 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
17532         [BZ #19654]
17533         * sysdeps/x86_64/fpu/Makefile: Added new tests.
17534         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
17535         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
17536         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
17537         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
17538         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
17539         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
17540         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
17541         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
17542         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
17543         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
17544         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
17545         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
17546         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
17547         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
17548         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
17549         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
17550         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
17551         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
17552         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
17553         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
17554         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
17555         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
17556         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
17557         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
17558         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
17560 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
17562         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
17563         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
17565 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
17567         * sysdeps/aarch64/memcpy.S (memcpy):
17568         Rewrite of optimized memcpy and memmove.
17569         * sysdeps/aarch64/memmove.S (memmove): Remove
17570         memmove code (merged into memcpy.S).
17572 2016-06-20  Florian Weimer  <fweimer@redhat.com>
17574         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
17575         * sysdeps/generic/dl-dtv.h: New file.
17576         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
17577         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
17578         (dtv_t): Remove.
17579         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
17580         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
17581         (dtv_t): Remove.
17582         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
17583         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
17584         (dtv_t): Remove.
17585         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
17586         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
17587         (dtv_t): Remove.
17588         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
17589         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
17590         (dtv_t): Remove.
17591         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
17592         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
17593         (dtv_t): Remove.
17594         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
17595         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
17596         (dtv_t): Remove.
17597         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
17598         (dtv_t): Remove.
17599         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
17600         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
17601         (dtv_t): Remove.
17602         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
17603         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
17604         (dtv_t): Remove.
17605         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
17606         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
17607         (dtv_t): Remove.
17608         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
17609         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
17610         (dtv_t): Remove.
17611         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
17612         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
17613         (dtv_t): Remove.
17614         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
17615         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
17616         (dtv_t): Remove.
17617         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
17618         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
17619         (dtv_t): Remove.
17620         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
17621         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
17622         (dtv_t): Remove.
17624 2016-06-20  Florian Weimer  <fweimer@redhat.com>
17626         Revert symbol poisoning of  __malloc_initialize_hook.
17627         * include/stdc-predef.h (__malloc_initialize_hook): Remove
17628         poisoning.
17629         * malloc/Makefile: Remove un-poisoning.
17630         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
17631         instead of old__malloc_initialize_hook.
17632         * malloc/malloc-hooks.h: Likewise.
17633         * malloc/malloc.c: Likewise.
17634         * malloc/mcheck-init.c: Likewise.
17636 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
17638         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
17640 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
17642         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
17643         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
17644         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
17645         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
17647 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17649         * NEWS: Mention addition of nextup and nextdown.
17650         * manual/arith.texi: Document nextup and nextdown.
17651         * manual/libm-err-tab.pl: Add nextup and nextdown.
17652         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
17653         * math/Versions (libm): Add GLIBC_2.24.
17654         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
17655         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
17656         Add new test.
17657         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
17658         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
17659         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
17660         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
17661         (nextup_test_data): Likewise.
17662         (nextdown_test_data): Likewise.
17663         * math/s_nextdown.c: New file.
17664         * math/s_nextdownf.c: Likewise.
17665         * math/s_nextdownl.c: Likewise.
17666         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
17667         F(nextup): New function.
17668         F(nextdown): Likewise.
17669         * math/tgmath.h: Add nextup and nextdown.
17670         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
17671         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
17672         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
17673         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
17674         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
17675         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
17676         Add nextup and nextdown.
17677         (CFLAGS-nldbl-nextup.c): New variable.
17678         (CFLAGS-nldbl-nextdown.c): Likewise.
17679         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
17680         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
17681         * sysdeps/nacl/libm.abilist: Update.
17682         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17683         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17684         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17685         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17686         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17687         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17688         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17689         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17690         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17691         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17692         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17693         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17694         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
17695         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
17696         Likewise.
17697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
17698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
17699         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17700         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17701         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17702         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17703         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17704         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
17705         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
17706         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
17707         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17708         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
17709         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17711 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
17713         * manual/pattern.texi: Fix typos & grammar errors.
17715 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
17717         * manual/search.texi: Fix typos & grammar errors.
17719 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
17721         * manual/message.texi: Fix typos & grammar errors.
17723 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
17725         * manual/contrib.texi: Fix spelling typos.
17726         * manual/crypt.texi: Likewise.
17727         * manual/filesys.texi: Likewise.
17728         * manual/locale.texi: Likewise.
17729         * manual/message.texi: Likewise.
17730         * manual/nss.texi: Likewise.
17731         * manual/string.texi: Likewise.
17733 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
17735         * manual/locale.texi: Fix typos & grammar errors.
17737 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
17739         * manual/charset.texi: Fix typos & grammar errors.
17741 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
17743         * manual/string.texi: Fix typos.
17745 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
17747         * manual/ctype.texi: Fix typos.
17749 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
17751         * manual/memory.texi: Fix various typos & grammar errors.
17753 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
17755         [BZ #20255]
17756         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
17757         * math/libm-test.inc (fdim_test_data): Add another test.
17759         [BZ #6796]
17760         [BZ #20255]
17761         [BZ #20256]
17762         * math/s_fdim.c: Include <math_private.h>.
17763         (__fdim): Use math_narrow_eval on result.
17764         * math/s_fdimf.c: Include <math_private.h>.
17765         (__fdimf): Use math_narrow_eval on result.
17766         * sysdeps/i386/fpu/s_fdim.S: Remove file.
17767         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
17768         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
17769         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
17770         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
17771         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
17772         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
17773         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
17774         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
17775         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
17776         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
17777         * math/libm-test.inc (fdim_test_data): Expect errno setting on
17778         overflow.  Add sNaN tests.
17780         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
17781         fpclassify.
17782         * math/s_fdimf.c (__fdimf): Likewise.
17783         * math/s_fdiml.c (__fdiml): Likewise.
17785 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17787         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
17788         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
17789         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17790         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
17791         ifunc'ed strcasecmp/strncasecmp.
17792         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
17793         [EALIGN]: Removed.
17794         [END]: Likewise.
17795         [__strcasecmp]: Define instead of the above to control symbol name.
17796         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
17797         for __strcasecmp_power8.
17798         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
17799         for __strncasecmp_power8.
17800         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
17801         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
17802         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
17803         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
17804         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
17805         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
17807 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
17809         [BZ #20252]
17810         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
17811         arguments when second argument is a NaN.
17812         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
17813         qNaN tests.
17815         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
17816         (conj_test_data): Likewise.
17817         (copysign_test_data): Likewise.
17818         (creal_test_data): Likewise.
17819         (fma_test_data): Likewise.
17820         (fmod_test_data): Likewise.
17822         [BZ #20250]
17823         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
17824         itself.
17825         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
17826         zero input to itself.
17827         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
17828         Likewise.
17829         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
17830         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
17831         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
17832         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
17833         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
17835 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17837         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
17838         * nptl/tst-cancel4-common.c: New file.
17839         * nptl/tst-cancel4-common.h: Likewise.
17840         * nptl/tst-cancel4.c: Move common definitions to
17841         tst-cancel4-common.{c,h} file.
17842         * nptl/tst-cancel4_1.c: New test.
17843         * nptl/tst-cancel4_2.c: New test.
17845 2016-06-13  Florian Weimer  <fweimer@redhat.com>
17847         [BZ #20248]
17848         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
17849         (write_message): New function.
17850         (stackoverflow_handler): Call it instead of printf, to avoid
17851         excessive stack usage by printf.
17852         (do_test): Restore SIGSEGV, SIGBUS default handlers.
17854 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17856         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
17857         (prio_inherit_missing): Remove define.
17858         * sysdeps/unix/sysv/linux/arm/kernel-features.h
17859         (__ASSUME_FUTEX_LOCK_PI): Likewise.
17860         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
17861         Likewise.
17862         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17863         (__ASSUME_FUTEX_LOCK_PI): Likewise.
17864         * sysdeps/unix/sysv/linux/mips/kernel-features.h
17865         (__ASSUME_FUTEX_LOCK_PI): Likewise.
17866         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
17867         (__ASSUME_FUTEX_LOCK_PI): Likewise.
17869 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
17871         [BZ #19670]
17872         [BZ #19672]
17874         * io/test-lfs.c (do_prepare): Use xmalloc.
17875         * io/tst-fcntl.c (do_prepare): Likewise.
17876         * libio/tst-fopenloc.c (do_bz17916): Likewise.
17877         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
17878         * login/tst-utmp.c (do_prepare): Likewise.
17879         * posix/tst-exec.c (do_prepare): Likewise.
17880         * posix/tst-pathconf.c (prepare): Likewise.
17881         * posix/tst-spawn.c (do_prepare): Likewise.
17882         * posix/tst-truncate.c (do_prepare): Likewise.
17883         * rt/tst-aio.c (do_prepare): Likewise.
17884         * rt/tst-aio64.c (do_prepare): Likewise.
17886 2016-06-11  Florian Weimer  <fweimer@redhat.com>
17888         [BZ #20237]
17889         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
17890         (get*ent): Set entidx to NULL during initialization.  If entidx is
17891         NULL, start iteration from the beginning.
17893 2016-06-11  Florian Weimer  <fweimer@redhat.com>
17895         * malloc/malloc.c (musable): Return correct size for dumped fake
17896         mmapped chunk.
17898 2016-06-11  Florian Weimer  <fweimer@redhat.com>
17900         [BZ #20222]
17901         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
17902         (_IO_cookie_write): Likewise.
17903         (_IO_cookie_seek): Likewise.
17904         (_IO_cookie_close): Likewise.
17905         (_IO_old_cookie_seek): Likewise.
17906         (set_callbacks): New function.
17907         (_IO_cookie_init): Call set_callbacks to copy callbacks.
17909 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
17911         * locale/programs/localedef.c (oldstyle_tables): Remove.
17912         * locale/programs/localedef.h (oldstyle_tables): Likewise.
17914 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
17916         [BZ #20240]
17917         * math/Makefile (CFLAGS-s_modf.c): New variable.
17918         (CFLAGS-s_modff.c): Likewise.
17919         (CFLAGS-s_modfl.c): Likewise.
17920         * math/libm-test.inc (modf_test_data): Add sNaN tests.
17922 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
17924         [BZ #20215]
17925         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
17926         [!__GNUC_PREREQ (3,2)]: Likewise.
17928 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
17930         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
17931         (msghdr.msg_controllen): Likewise.
17932         (cmsghdr.cmsg_len): Likewise.
17933         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
17934         ptw-oldsendmsg.
17935         (CFLAGS-oldrecvmsg.c): Remove rule.
17936         (CFLAGS-oldsendmsg.c): Likewise.
17937         (CFLAGS-recvmsg.c): Add rule.
17938         (CFLAGS-sendmsg.c): Likewise.
17939         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
17940         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
17941         (CFLAGS-recvmsg.c): Remove rule.
17942         (CFLAGS-sendmsg.c): Likewise.
17943         (CFLAGS-oldrecvmsg.c): Likewise.
17944         (CFLAGS-oldsendmsg.c): Likewise.
17945         (CFLAGS-recvmmsg.c): Likewise.
17946         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
17947         to kernel defined interfaces.
17948         (msghdr.msg_controllen): Likewise.
17949         (cmsghdr.cmsg_len): Likewise.
17950         (msghdr.__glibc_reserved1): Remove member.
17951         (msghdr.__glibc_reserved2): Likewise.
17952         (cmsghdr.__glibc_reserved1): Likewise.
17953         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
17954         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
17955         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
17956         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
17957         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
17958         version.
17959         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
17960         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
17961         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
17962         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
17963         Remove recvmsg and sendmsg.
17964         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
17965         Likewise.
17966         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
17967         Likewise.
17968         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
17969         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
17970         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
17971         Likewise.
17972         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
17973         Likewise.
17974         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
17975         [libc] (GLIBC_2.24): Likewise.
17976         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
17977         Likewise.
17978         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
17979         Likewise.
17980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
17981         [libc] (GLIBC_2.24): Likewise.
17982         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
17983         Likewise.
17984         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
17985         Likewise.
17986         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
17987         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
17988         Likewise.
17989         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
17990         Likewise.
17991         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
17992         Likewise.
17993         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
17994         Likewise.
17995         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
17996         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
17997         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
17998         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
17999         version for {recv,send,recm,sendm}msg.
18000         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
18001         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
18002         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
18003         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
18004         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
18005         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
18006         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
18007         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
18008         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
18009         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
18010         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
18011         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
18012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
18013         Likewise.
18014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
18015         Likewise.
18016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
18017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
18018         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
18019         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
18020         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
18021         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
18022         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
18023         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
18024         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
18025         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
18026         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
18027         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
18028         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
18030 2016-06-10  Florian Weimer  <fweimer@redhat.com>
18032         [BZ #19564]
18033         Remove __malloc_initialize_hook from the API.
18034         * malloc/malloc.h (__malloc_initialize_hook): Remove.
18035         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
18036         #pragma GCC poison.
18037         * malloc/malloc-hooks.h: New file.
18038         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
18039         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
18040         (old__malloc_initialize_hook): Rename from
18041         __malloc_initialize_hook to evade poisoning.  Turn into compat
18042         symbol.
18043         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
18044         __malloc_initialize_hook.
18045         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
18046         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
18047         * manual/memory.texi (Hooks for Malloc): Remove
18048         __malloc_initialize_hook.  Adjust hook example.
18050 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
18052         [BZ #20235]
18053         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
18054         itself.
18055         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
18056         * math/libm-test.inc (log2_test_data): Add sNaN tests.
18058         [BZ #20234]
18059         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
18060         infinity or NaN input to itself.
18062         [BZ #20233]
18063         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
18064         to itself.
18066         [BZ #20232]
18067         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
18068         itself.
18070 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
18072         * sysdeps/x86_64/start.S (_start): Always indirect branch to
18073         __libc_start_main via GOT.
18075 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
18077         * sysdeps/x86_64/memcopy.h: New file.
18078         * sysdeps/x86_64/wordcopy.c: Likewise.
18080 2016-06-09  Florian Weimer  <fweimer@redhat.com>
18082         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
18083         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
18084         <cstdlib>.
18085         (optimization_barrier): New.
18086         (do_test): Use it.  Call quick_exit in the global namespace.
18087         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
18088         instead of <cstdlib>, <thread>.
18089         (optimization_barrier): New.
18090         (non_main_thread): Adjust declaration.  Call optimization_barrier.
18091         Call quick_exit in the global namespace.
18092         (do_test): Call optimization_barrier.  Use pthread_create,
18093         pthread_join instead of std::thread.
18095 2016-06-09  Andreas Schwab  <schwab@suse.de>
18097         [BZ #19755]
18098         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
18099         new entries in auto-propagate mode.
18100         * nscd/grpcache.c (cache_addgr): Likewise.
18102 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
18104         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
18105         New functions.
18106         (add_temp_file): Use them.
18108 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
18110         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
18112 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
18114         [BZ #20229]
18115         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
18116         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
18117         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
18119         [BZ #20228]
18120         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
18121         itself.
18122         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
18123         * math/libm-test.inc (log10_test_data): Add sNaN tests.
18125         [BZ #20227]
18126         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
18127         itself.
18128         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
18129         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
18130         * math/libm-test.inc (log_test_data): Add sNaN tests.
18132         [BZ #20226]
18133         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
18134         itself.
18135         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
18136         * math/libm-test.inc (exp_test_data): Add sNaN tests.
18137         (exp10_test_data): Likewise.
18138         (expm1_test_data): Likewise.
18140         [BZ #20225]
18141         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
18142         itself.
18143         * math/s_ldexpf.c (__ldexpf): Likewise.
18144         * math/s_ldexpl.c (__ldexpl): Likewise.
18145         * math/w_scalbln.c (__w_scalbln): Likewise.
18146         * math/w_scalblnf.c (__w_scalblnf): Likewise.
18147         * math/w_scalblnl.c (__w_scalblnl): Likewise.
18148         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
18149         (scalbln_test_data): Likewise.
18151         [BZ #20224]
18152         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
18153         argument to itself.
18154         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
18156 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
18158         [BZ #19776]
18159         * sysdeps/x86_64/memcpy.S: Make it dummy.
18160         * sysdeps/x86_64/mempcpy.S: Likewise.
18161         * sysdeps/x86_64/memmove.S: New file.
18162         * sysdeps/x86_64/memmove_chk.S: Likewise.
18163         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
18164         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
18165         * sysdeps/x86_64/memmove.c: Removed.
18166         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
18167         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
18168         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
18169         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
18170         Likewise.
18171         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
18172         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18173         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
18174         memcpy-sse2-unaligned, memmove-avx-unaligned,
18175         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
18176         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
18177         (__libc_ifunc_impl_list): Replace
18178         __memmove_chk_avx512_unaligned_2 with
18179         __memmove_chk_avx512_unaligned.  Remove
18180         __memmove_chk_avx_unaligned_2.  Replace
18181         __memmove_chk_sse2_unaligned_2 with
18182         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
18183         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
18184         with __memmove_avx512_unaligned.  Replace
18185         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
18186         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
18187         with __memcpy_chk_avx512_unaligned.  Remove
18188         __memcpy_chk_avx_unaligned_2.  Replace
18189         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
18190         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
18191         Replace __memcpy_avx512_unaligned_2 with
18192         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
18193         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
18194         with __mempcpy_chk_avx512_unaligned.  Remove
18195         __mempcpy_chk_avx_unaligned_2.  Replace
18196         __mempcpy_chk_sse2_unaligned_2 with
18197         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
18198         Replace __mempcpy_avx512_unaligned_2 with
18199         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
18200         Replace __mempcpy_sse2_unaligned_2 with
18201         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
18202         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
18203         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
18204         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
18205         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
18206         (ENTRY): Removed.
18207         (END): Likewise.
18208         (ENTRY_CHK): Likewise.
18209         (libc_hidden_builtin_def): Likewise.
18210         Don't include ../memcpy.S.
18211         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
18212         __memcpy_chk_avx512_unaligned_erms and
18213         __memcpy_chk_avx512_unaligned.  Use
18214         __memcpy_chk_avx_unaligned_erms and
18215         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
18216         Default to __memcpy_chk_sse2_unaligned.
18217         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
18218         Change function suffix from unaligned_2 to unaligned.
18219         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
18220         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
18221         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
18222         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
18223         (ENTRY): Removed.
18224         (END): Likewise.
18225         (ENTRY_CHK): Likewise.
18226         (libc_hidden_builtin_def): Likewise.
18227         Don't include ../mempcpy.S.
18228         (mempcpy): New.  Add a weak alias.
18229         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
18230         __mempcpy_chk_avx512_unaligned_erms and
18231         __mempcpy_chk_avx512_unaligned.  Use
18232         __mempcpy_chk_avx_unaligned_erms and
18233         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
18234         Default to __mempcpy_chk_sse2_unaligned.
18236 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
18238         [BZ #19881]
18239         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
18240         into ...
18241         * sysdeps/x86_64/memset.S: This.
18242         (__bzero): Removed.
18243         (__memset_tail): Likewise.
18244         (__memset_chk): Likewise.
18245         (memset): Likewise.
18246         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
18247         defined.
18248         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
18249         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
18250         (__memset_zero_constant_len_parameter): Check SHARED instead of
18251         PIC.
18252         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
18253         memset-avx2 and memset-sse2-unaligned-erms.
18254         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
18255         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
18256         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
18257         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
18258         (__bzero): Enabled.
18259         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
18260         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
18261         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
18262         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
18263         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
18264         (memset): Removed.
18265         (__memset_chk): Likewise.
18266         (MEMSET_SYMBOL): New.
18267         (libc_hidden_builtin_def): Replace __memset_sse2 with
18268         __memset_sse2_unaligned.
18269         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
18270         __memset_chk_sse2 and __memset_chk_avx2 with
18271         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
18272         Use __memset_chk_sse2_unaligned_erms or
18273         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
18274         __memset_chk_avx512_unaligned_erms and
18275         __memset_chk_avx512_unaligned.
18277 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18279         * math/gen-auto-libm-test.c (fp_format_desc): remove
18280         suffix member.
18281         (output_generic_value): Remove usage of suffix member,
18282         and the resulting unuse of the fp_format argument.
18283         (output_for_one_input_case): Remove unused fp_format
18284         parameter.
18286         * math/auto-libm-test-out: Regenerate.
18288         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
18289         usage with TEST_COND_ibm128.
18290         (TEST_COND_flt_32): Remove.
18291         (TEST_COND_dbl_64): Remove.
18292         (TEST_COND_ldbl_96_intel): Remove.
18293         (TEST_COND_ldbl_96_m68k): Remove.
18294         (TEST_COND_ldbl_128): Remove.
18296 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18298         * auto-libm-test-in:
18299         Replace flt-32 usage with binary32.
18300         Replace dbl-64 usage with binary64.
18301         Replace ldbl-intel-96 usage with intel96.
18302         Replace ldbl-m68k-96 usage with m68k96.
18303         Replace ldbl-128ibm usage with ibm128.
18304         Replace ldbl-128 usage with binary128.
18306         * auto-libm-test-out: Regenerate.
18308 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18310         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
18311         (parse_ulps): Dynamically generate type name matching
18312         string from all_floats.
18313         (get_ulps): Generate the ulps as an array instead.
18314         (output_ulps): Dynamically compose the type based
18315         on the number of supported formats, and print
18316         the indices as type specific helper macros.
18318         * math/libm-test.inc: Remove comment about CHOOSE.
18319         (ulp_data): Generate the type in libm-test-ulps.h.
18320         (ULP_IDX): New macro.
18321         (find_ulps): Update usage of max_ulp.
18323         * math/test-double-vlen2.h (CHOOSE): Remove.
18324         * math/test-double-vlen4.h (CHOOSE): Likewise.
18325         * math/test-double-vlen8.h (CHOOSE): Likewise.
18326         * math/test-float.c (CHOOSE): Likewise.
18327         * math/test-float-finite.c (CHOOSE): Likewise.
18328         * math/test-double.c (CHOOSE): Likewise.
18329         * math/test-double-finite.c (CHOOSE): Likewise.
18330         * math/test-idouble.c (CHOOSE): Likewise.
18331         * math/test-ifloat.c (CHOOSE): Likewise.
18332         * math/test-ildoubl.c (CHOOSE): Likewise.
18333         * math/test-ldouble-finite.c (CHOOSE): Likewise.
18334         * math/test-ldouble.c (CHOOSE): Likewise.
18336         * math/test-float.h (TEST_FLOAT): Remove.
18337         * math/test-double.h (TEST_DOUBLE): Likewise.
18338         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
18340 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18342         * math/gen-libm-test.pl: (apply_lit): New subroutine.
18343         (parse_args): Strip C suffix from floating point literals
18344         typed with 'f' and wrap them with LIT().
18346         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
18347         (test_ff_f_data_nexttoward): Rename to
18348         (test_fj_f_data): New struct.
18349         (nexttoward_test_data): Relabel tests as
18350         TEST_fj_f instead of TEST_ff_f.
18352 2016-06-08  Florian Weimer  <fweimer@redhat.com>
18354         Emacs bug 23726.
18355         * malloc/malloc.c (dumped_main_arena_start): Update comment.
18356         (__libc_realloc): Correct size computation for dumped fake mmapped
18357         chunks.
18359 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
18361         [BZ #20219]
18362         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
18363         to itself.
18364         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
18366         [BZ #20218]
18367         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
18368         to itself.
18369         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
18371 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
18373         [BZ #20195]
18374         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
18375         check to ...
18376         (init_cpu_features): Here.
18378 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
18380         [BZ #20214]
18381         * sysdeps/unix/sysv/linux/bits/in.h
18382         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
18383          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
18384         Define to 1.
18385         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
18386          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
18387         Define to 0.
18388         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
18389         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
18391 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
18393         [BZ #20198]
18394         * stdlib/Makefile (tests): Add tst-quick_exit, and
18395         tst-thread-quick_exit.
18396         [ifeq ($(have-cxx-thread_local),yes)]
18397         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
18398         (CFLAGS-tst-thread-quick_exit.o): Likewise.
18399         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
18400         (LDLIBS-tst-thread-quick_exit): Likewise.
18401         [ifneq ($(have-cxx-thread_local),yes)]
18402         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
18403         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
18404         If run_dtors is true call __call_tls_dtors.
18405         (exit): Call __run_exit_handlers with run_dtors set to true.
18406         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
18407         definition.
18408         * stdlib/quick_exit.c (quick_exit): Remove function.
18409         (__new_quick_exit): New function.
18410         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
18411         function.
18412         * stdlib/tst-quick_exit.cc: New file.
18413         * stdlib/tst-thread-quick_exit.cc: New file.
18414         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
18415         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
18416         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
18417         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
18418         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
18419         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
18420         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
18421         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
18422         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
18423         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
18424         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
18425         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
18426         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
18427         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
18428         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
18429         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
18430         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
18431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
18432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
18433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
18434         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
18435         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
18436         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
18437         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
18438         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
18439         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
18440         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
18441         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
18442         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
18443         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
18445 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
18447         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
18448         a typo in comments.
18450 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
18452         [BZ #20213]
18453         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
18454         argument to itself.
18455         * math/libm-test.inc (asin_test_data): Add sNaN tests.
18457 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18459         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
18460         required flags.
18461         (CFLAGS-pwritev64.c): Likewise.
18462         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
18463         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
18464         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
18465         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
18466         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
18467         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
18468         syscall from auto-generation.
18469         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
18470         [WORDSIZE == 64] (pwritev64): Remove macro.
18471         [!PWRITEV] (PWRITEV): Likewise.
18472         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
18473         [!PWRITEV] (PWRITE): Likewise.
18474         [!PWRITEV] (OFF_T): Likewise.
18475         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
18476         (LO_HI_LONG): Remove macro.
18477         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
18478         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
18479         (PWRITEV): Remove macro.
18480         (PWRITEV_REPLACEMENTE): Likewise.
18481         (PWRITE): Likewise.
18482         (OFF_T): Likewise.
18483         (pwritev64): New function.
18484         * nptl/tst-cancel4.c (tf_writev): Add test.
18486         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
18487         required flags.
18488         (CFLAGS-preadv64.c): Likewise.
18489         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
18490         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
18491         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
18492         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
18493         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
18494         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
18495         syscall from auto-generation.
18496         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
18497         [WORDSIZE == 64] (preadv64): Remove macro.
18498         [!PREADV] (PREADV): Likewise.
18499         [!PREADV] (PREADV_REPLACEMENT): Likewise.
18500         [!PREADV] (PREAD): Likewise.
18501         [!PREADV] (OFF_T): Likewise.
18502         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
18503         (LO_HI_LONG): Remove macro.
18504         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
18505         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
18506         (PREADV): Remove macro.
18507         (PREADV_REPLACEMENTE): Likewise.
18508         (PREAD): Likewise.
18509         (OFF_T): Likewise.
18510         (preadv64): New function.
18511         * nptl/tst-cancel4.c (tf_preadv): Add test.
18513 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
18515         [BZ #20212]
18516         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
18517         argument to itself.
18518         * math/libm-test.inc (acos_test_data): Add sNaN tests.
18520 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18522         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
18523         New symbol defined as libc_hidden_def.
18524         (strcasestr): Became a weak alias to __strcasestr.
18525         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
18526         according to multi-arch support.  Move __stpncpy hidden
18527         definition from here to...
18528         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
18529         symbol stpncpy.
18530         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
18531         libc_hidden_builtin_def.
18532         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
18533         memset symbol to use when multi-arch support is available.
18535 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
18537         * dlfcn/tst-rec-dlopen.c: Include string.h.
18539 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
18541         * manual/install.texi: Remove mention of --without-tls
18542         * INSTALL: Regenerate.
18544 2016-06-05  Florian Weimer  <fweimer@redhat.com>
18546         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
18547         Remove.
18548         (call_function, interposed_malloc_called): New variables.
18549         (malloc): New function.
18550         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
18551         and clear call_function as needed.
18553 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
18555         * include/wchar.h (__wmemset): Use __typeof.
18557 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
18559         * include/wchar.h (__wmemset): Declare function without typeof.
18561 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
18563         [BZ #20205]
18564         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
18565         exponent when incrementing negative subnormal with low mantissa
18566         word zero.
18567         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
18568         Add another test.
18570 2016-06-03  Florian Weimer  <fweimer@redhat.com>
18572         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
18573         __wmemset instead of wmemset.
18575 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
18577         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
18578         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
18579         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
18580         __USE_KERNEL_IPV6_DEFS to 0.
18581         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
18582         Update comment.
18584 2016-06-01  Florian Weimer  <fweimer@redhat.com>
18586         [BZ #19861]
18587         Do not use IFUNC resolver with potentially unrelocated symbol.
18588         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
18589         (DEFINE_FORK): Remove macro and inline definition.
18590         (fork_alias): Renamed from fork_ifunc.
18591         (__fork_alias): Renamed from __fork_ifunc.
18593 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
18595         [BZ 19653]
18596         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
18597         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
18599 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18601         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
18602         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
18603         i386-linux-gnu).
18604         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
18605         Set to no.
18606         * sysdeps/mach/hurd/configure: Refresh.
18608 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18610         [BZ #20178]
18611         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
18612         on failure instead of exit.
18614 2016-05-30  Roland McGrath  <roland@hack.frob.com>
18616         [BZ #3629]
18617         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
18618         of POSIX.1-2008.
18620 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18622         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
18623           Use PLT entry for calling _hurd_self_sigstate.
18625 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
18627         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
18628         available logical processors with SMT level type sharing L2
18629         cache for Intel processors.
18631 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
18633         [BZ #20160]
18634         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
18635         argument to itself before returning the result.
18636         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
18637         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
18638         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
18639         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
18640         Likewise.
18641         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
18642         Likewise.
18643         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
18644         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
18645         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
18646         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
18647         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
18648         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
18650         [BZ #20160]
18651         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
18652         argument to itself before returning the result.
18653         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
18654         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
18655         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
18656         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
18657         Likewise.
18658         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
18659         Likewise.
18660         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
18661         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
18662         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
18663         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
18664         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
18665         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
18667 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18669         * libm-test.inc: Replace usage of M_El with
18670         (lit_e): New macro.
18672 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18674         * libm-test.inc: Replace usage of M_PI_4l with
18675         (lit_pi_4_d): New macro.
18677 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18679         * libm-test.inc: Replace usage of M_PIl with
18680         (lit_pi): New macro.
18682 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18684         * libm-test.inc: Replace usage of M_PI2l with
18685         (lit_pi_2_d): New macro.
18687         * math/test-double.h (LITM): New macro.
18688         * math/test-float.h (LITM): Likewise.
18689         * math/test-ldouble.h (LITM): Likewise.
18691 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18693         * libm-test.inc (M_PI_34l): Rename to
18694         (lit_pi_3_m_4_d): New Macro.
18695         (M_PI_34_LOG10El): Rename to
18696         (lit_pi_3_m_4_ln10_m_d): New Macro.
18697         (M_PI2_LOG10El): Rename to
18698         (lit_pi_2_ln10_m_d):  New Macro.
18699         (M_PI4_LOG10El): Rename to
18700         (lit_pi_4_ln10_m_d):  New Macro.
18701         (M_PI_LOG10El): Rename to
18702         (lit_pi_ln10_d):  New Macro.
18704 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
18706         [BZ #20157]
18707         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
18708         determine whether to negate low half if [_ARCH_PPCGR], and integer
18709         comparison otherwise.
18710         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
18711         determine whether to negate low half.
18713         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
18714         (NO_TEST_INLINE_DOUBLE): Likewise.
18715         (TEST_COND_x86_64): Likewise.
18716         (TEST_COND_x86): Likewise.
18717         (M_PI_6l): Likewise.
18719 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18721         * math/libm-test.inc:
18722         (TEST_FLOAT): Change usage to TEST_COND_binary32.
18723         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
18724         (TEST_LDOUBLE): Update usage to evaluate as true if
18725         the guarded tests match the property being tested.
18726         (LDBL_MAX_EXP): Change to MAX_EXP.
18727         (LDBL_MIN_EXP): Change to MIN_EXP.
18728         (LDBL_MANT_DIG): Change to MANT_DIG, except for
18729         nexttoward tests.
18731 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18733         * math/libm-test.inc:
18734         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
18735         (TYPE_MIN): Likewise.
18736         (TYPE_TRUE_MIN): Likewise.
18737         (TYPE_MAX): Likewise.
18738         (MIN_EXP): Likewise.
18739         (MAX_EXP): Likewise.
18740         (MANT_DIG): Likewise.
18742         (FSTR_MAX): New macro.
18743         (__CONCATX): Likewise.
18744         (QTYPE_STR): Likewise.
18745         (TEST_COND_binary32): Likewise.
18746         (TEST_COND_binary64): Likewise.
18747         (TEST_COND_binary128): Likewise.
18748         (TEST_COND_ibm128): Likewise.
18749         (TEST_COND_intel96): Likewise.
18750         (TEST_COND_m68k96): Likewise.
18752         (TEST_COND_flt_32): Redefine as equivalent format test macro.
18753         (TEST_COND_dbl_64): Likewise.
18754         (TEST_COND_ldbl_96_intel): Likewise.
18755         (TEST_COND_ldbl_96_m68k): Likewise.
18756         (TEST_COND_ldbl_128): Likewise.
18757         (TEST_COND_ldbl_128ibm): Likewise.
18759         (plus_zero): Redefine using LIT macro.
18760         (minus_zero): Likewise.
18761         (plus_infty): Redefine as (INF).
18762         (minux_infty): Redefine as (-INF).
18763         (max_value): Redefine as TYPE_MAX.
18764         (min_value): Redefine as TYPE_MIN.
18765         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
18767         (print_float): Refactor to use snprintf to convert FLOAT values
18768         to string. This brings it closer to dropin replacement of strtof
18769         for the TS 18661 defined types.
18770         (update_stats): Likewise.
18771         (print_complex_function_ulps): Likewise.
18772         (print_max_error): Likewise.
18773         (print_complex_max_error): Likewise.
18774         (check_float_internal): Likewise.
18776         * math/test-float.h (PREFIX): New macro.
18777         (LIT): Likewise.
18778         (TYPE_STR): Likewise.
18779         (FTOSTR): Likewise.
18781         * math/test-double.h (PREFIX): New macro.
18782         (LIT): Likewise.
18783         (TYPE_STR): Likewise.
18784         (FTOSTR): Likewise.
18786         * math/test-ldouble.h (PREFIX): New macro.
18787         (LIT): Likewise.
18788         (TYPE_STR): Likewise.
18789         (FTOSTR): Likewise.
18791 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
18793         [BZ #20156]
18794         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
18795         to itself when zero or not finite.
18796         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
18797         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
18798         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
18799         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
18801 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
18803         [BZ #20153]
18804         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
18805         x * x + x for infinities and NaNs.
18807         [BZ #20151]
18808         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
18809         argument to itself before returning result.
18810         (__ieee754_y0l): Likewise.
18811         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
18812         (__ieee754_y1l).
18814         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
18815         (atan_test_data): Likewise.
18816         (ceil_test_data): Likewise.
18817         (cos_test_data): Likewise.
18818         (cosh_test_data): Likewise.
18819         (erf_test_data): Likewise.
18820         (exp2_test_data): Likewise.
18821         (fabs_test_data): Likewise.
18822         (floor_test_data): Likewise.
18823         (ilogb_test_data): Likewise.
18824         (j0_test_data): Likewise.
18825         (j1_test_data): Likewise.
18826         (jn_test_data): Likewise.
18827         (lgamma_test_data): Likewise.
18828         (lrint_test_data): Likewise.
18829         (llrint_test_data): Likewise.
18830         (logb_test_data): Likewise.
18831         (lround_test_data): Likewise.
18832         (llround_test_data): Likewise.
18833         (nearbyint_test_data): Likewise.
18834         (rint_test_data): Likewise.
18835         (round_test_data): Likewise.
18836         (sin_test_data): Likewise.
18837         (sincos_test_data): Likewise.
18838         (sinh_test_data): Likewise.
18839         (sqrt_test_data): Likewise.
18840         (tan_test_data): Likewise.
18841         (tanh_test_data): Likewise.
18842         (tgamma_test_data): Likewise.
18843         (trunc_test_data): Likewise.
18844         (y0_test_data): Likewise.
18845         (y1_test_data): Likewise.
18846         (yn_test_data): Likewise.
18848         * math/libm-test.inc: Update comment about NaN testing.
18849         (TEST_SNAN): New macro.
18850         (snan_value): Likewise.
18851         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
18852         (fpclassify_test_data): Add sNaN tests.
18853         (isfinite_test_data): Likewise.
18854         (isinf_test_data): Likewise.
18855         (isnan_test_data): Likewise.
18856         (isnormal_test_data): Likewise.
18857         (issignaling_test_data): Likewise.
18858         (signbit_test_data): Likewise.
18859         * math/gen-libm-test.pl (%beautify): Add snan_value.
18860         (show_exceptions): Add argument $test_snan.
18861         (parse_args): Handle snan_value as non-finite.  Update call to
18862         show_exceptions.
18863         * math/Makefile (libm-test-no-inline-cflags): Add
18864         -fsignaling-nans.
18866 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18868         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
18869         (CFLAGS-oldsendmsg.c): Add rule.
18870         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
18871         Correct recvmsg symbol name.
18872         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
18873         Likewise.
18875 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18877         * sysdeps/unix/sysv/linux/Makefile
18878         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
18879         oldsendmmsg.
18880         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
18881         sendmmsg.
18882         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
18883         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
18884         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
18885         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
18886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
18887         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
18888         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
18889         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
18890         Likewise.
18891         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
18892         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
18893         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
18894         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
18895         iovlen and controllen fields to adjust to POSIX specification.
18896         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
18898         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
18899         and change to correct expected type.
18900         (msghdr.msg_controllen): Likewise.
18901         (cmsghdr.cmsg_len): Likewise.
18902         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
18903         expected POSIX assumption about the size.
18904         (msghdr.msg_controllen): Likewise.
18905         (msghdr.__glibc_reserved1): Likewise.
18906         (msghdr.__glibc_reserved2): Likewise.
18907         (cmsghdr.cmsg_len): Likewise.
18908         (cmsghdr.__glibc_reserved1): Likewise.
18909         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
18910         Add ptw-oldrecvmsg and ptw-oldsendmsg.
18911         (CFLAGS-sendmsg.c): Remove rule.
18912         (CFLAGS-recvmsg.c): Likewise.
18913         (CFLAGS-oldsendmsg.c): Add rule.
18914         (CFLAGS-oldrecvmsg.c): Likewise.
18915         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
18916         recvmsg and sendmsg.
18917         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
18918         Likewise.
18919         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
18920         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
18921         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
18922         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
18923         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
18924         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
18925         Likewise.
18926         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
18927         Likewise.
18928         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
18929         Likewise.
18930         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
18931         Likewise.
18932         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
18933         Likewise.
18934         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
18935         Likewise.
18936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
18937         (GLIBC_2.24): Likewise.
18938         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
18939         Likewise.
18940         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
18941         Likewise.
18942         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
18943         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
18944         Likewise.
18945         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
18946         Likewise.
18947         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
18948         Likewise.
18949         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
18950         (GLIBC_2.24): Likewise.
18951         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
18952         Likewise.
18953         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
18954         Likewise.
18955         * sysdeps/unix/sysv/linux/Makefile
18956         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
18957         (CFLAGS-sendmsg.c): Add rule.
18958         (CFLAGS-recvmsg.c): Likewise.
18959         (CFLAGS-oldsendmsg.c): Likewise.
18960         (CFLAGS-oldrecvmsg.c): Likewise.
18961         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
18962         initialization.
18963         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
18964         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
18965         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
18966         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
18967         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
18968         iovlen and controllen fields to adjust to POSIX specification.
18969         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
18970         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
18971         added recvmsg and sendmsg.
18972         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
18973         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
18974         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
18975         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
18976         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
18977         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
18978         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
18979         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
18980         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
18981         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
18982         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
18983         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
18984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
18985         Likewise.
18986         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
18987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
18988         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
18989         Likewise.
18990         Likewise.
18991         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
18992         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
18993         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
18994         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
18995         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
18996         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
18997         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
18998         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
18999         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
19000         Likewise.
19001         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
19002         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
19004         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
19005         from auto-generation.
19006         (sendmsg): Likewise.
19007         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
19008         (sendmsg): Likewise.
19009         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
19010         (sendmsg): Likewise.
19011         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
19012         (sendmsg): Likewise.
19013         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
19014         (sendmsg): Likewise.
19015         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
19016         (sendmsg): Likewise.
19017         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
19018         Likewise.
19019         (sendmsg): Likewise.
19020         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
19021         (sendmsg): Likewise.
19022         * sysdeps/unix/sysv/linux/i386/kernel-features.h
19023         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
19024         Remove.
19025         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
19026         Likewise.
19027         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
19028         Undefine.
19029         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
19030         Likewise.
19031         * sysdeps/unix/sysv/linux/kernel-features.h
19032         (__ASSUME_SENDMSG_SYSCALL): Define.
19033         (__ASSUME_RECVMSG_SYSCALL): Likewise.
19034         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19035         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
19036         Remove.
19037         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
19038         Likewise.
19039         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
19040         Undefine.
19041         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
19042         Likewise.
19043         * sysdeps/unix/sysv/linux/s390/kernel-features.h
19044         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
19045         Remove.
19046         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
19047         Likewise.
19048         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
19049         Undefine.
19050         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
19051         Likewise.
19052         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19053         (__ASSUME_SENDMSG_SYSCALL): Undefine.
19054         (__ASSUME_RECVMSG_SYSCALL): Likewise.
19055         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
19056         (__ASSUME_SENDMSG_SYSCALL): Likewise.
19057         (__ASSUME_RECVMSG_SYSCALL): Likewise.
19058         * sysdeps/unix/sysv/linux/sh/kernel-features.h
19059         (__ASSUME_SENDMSG_SYSCALL): Likewise.
19060         (__ASSUME_RECVMSG_SYSCALL): Likewise.
19062 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19064         * stdlib/gen-tst-strtod-round.c: Add backslash to
19065         compile command in comment.
19066         (printfp): Remove the literal suffix, and define an infinite
19067         value as INF to avoid expansion clash with INFINITY.
19068         (round_str): Remove the literal suffix.
19069         (round_for_all): Likewise, remove the now duplicate ldbl-64
19070         entry, and remove some magic constants.
19072         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
19073         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
19074         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
19075         (_CONCAT): New macro.
19076         (CONCAT): Likewise.
19077         (CHOOSE_ld): Likewise.
19078         (CHOOSE_f): Likewise.
19079         (CHOOSE_d): Likewise.
19080         (FTYPE_MEMBER): Likewise.
19081         (BOOL_MEMBER): Likewise.
19082         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
19083         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
19084         (_XNTRY): Likewise.
19085         (XNTRY): Likewise.
19086         (_ENTRY): Likewise.
19087         (ENTRY): Likewise.
19088         (test_exactness): Generate members via macro.
19089         (test_results): Likewise.
19090         (test): Update members.
19091         (TEST): Redefine using new macros.
19092         (INF): New macro.
19093         (fetestmodes): New structure.
19094         (do_test): Refactor to be type generic.
19095         (test_in_one_mode): Refactor duplicate code into
19096         (GEN_ONE_TEST): New macro.
19098         * stdlib/tst-strtod-round-data.h: Regenerate.
19100         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
19101         Extend to pass additional arbitrary parameters to
19102         generators.
19104 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
19106         [BZ #15479]
19107         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
19108         floating-point state after first floating-point operation on
19109         input.  Restore full floating-point state instead of just rounding
19110         mode.
19111         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
19112         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
19113         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
19114         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
19115         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
19117         [BZ #15479]
19118         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
19119         floating-point state after first floating-point operation on
19120         input.  Restore full floating-point state instead of just rounding
19121         mode.
19122         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
19123         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
19124         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
19125         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
19126         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
19128 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
19130         [BZ #19727]
19131         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
19132         valid high surrogate.
19133         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
19134         of an utf16 surrogate.
19135         * iconv/gconv_simple.c (BODY): Likewise.
19136         * iconvdata/bug-iconv12.c: New file.
19137         * iconvdata/Makefile (tests): Add bug-iconv12.
19139 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
19141         [BZ #19726]
19142         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
19143         outptrp in case of an illegal input.
19144         * iconv/tst-iconv6.c: New file.
19145         * iconv/Makefile (tests): Add tst-iconv6.
19147 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
19149         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
19150         an error in case of a value in range of an utf16 low surrogate.
19152 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
19154         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
19155         an error in case of a value in range of an utf16 low surrogate.
19157 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
19159         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
19160         Move to ...
19161         * sysdeps/s390/Makefile: ... here.
19162         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
19163         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
19164         (BRANCH_ON_COUNT): New define.
19165         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
19166         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
19167         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
19168         run on s390-32, too.
19169         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
19170         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
19171         run on s390-32, too.
19172         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
19173         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
19174         run on s390-32, too.
19176 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
19178         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
19179         etf3eh or new vector loop-variant.
19181 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
19183         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
19184         etf3eh or new vector loop-variant.
19186 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
19188         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
19189         or new vector loop-variant.
19191 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
19193         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
19194         Rename to TR_LOOP and usage of tr instead of troo instruction.
19196 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
19198         * sysdeps/s390/multiarch/gconv_simple.c: New File.
19199         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
19201 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
19203         * sysdeps/s390/multiarch/8bit-generic.c: New File.
19204         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
19205         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
19206         New override define.
19207         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
19209 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
19211         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
19212         * sysdeps/s390/configure.ac: Add test for S390 vector register
19213         support in gcc.
19214         * sysdeps/s390/configure: Regenerated.
19216 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
19218         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
19219         Install file from $(objpfx)gconv-modules.
19220         ($(objpfx)gconv-modules): Concatenate architecture specific file
19221         in variable sysdeps-gconv-modules and gconv-modules in src dir.
19222         * sysdeps/s390/gconv-modules: New file.
19223         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
19224         Deleted.
19225         ($(objpfx)gconv-modules-s390): Deleted.
19226         (sysdeps-gconv-modules): New variable.
19228 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
19230         [BZ #15479]
19231         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
19232         of immediate operand to rounding instruction.
19233         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
19234         Likewise.
19235         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
19236         Likewise.
19237         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
19238         Likewise.
19240 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19242         * math/libm-test.inc (MIN_EXP): Directly define as
19243         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
19245 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19247         * math/libm-test.inc (MANT_DIG): Directly define as
19248         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
19250 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19252         * stdlib/gen-tst-strtod-round.c (main):
19253           Change usage to more closely match the generated
19254           output.  Add usage and compilation instructions.
19255           (string_to_fp): Add and use FILE* parameter as
19256           output target.
19257           (print_fp): Likewise.
19258           (round_str): Likewise.
19259           (round_for_all): Likewise.
19260         * stdlib/tst-strtod-round.c (tests): Move into
19261         * stdlib/tst-strtod-round-data.h: New file.
19263 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
19265         [BZ #15479]
19266         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
19267         (__round): Do not force "inexact" exception.
19268         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
19269         variable.
19270         (__round): Do not force "inexact" exception.
19271         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
19272         (__roundf): Do not force "inexact" exception.
19273         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
19274         (__roundl): Do not force "inexact" exception.
19275         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
19276         (__roundl): Do not force "inexact" exception.
19277         * math/libm-test.inc (round_test_data): Do not allow spurious
19278         "inexact" exceptions.
19280         [BZ #15479]
19281         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
19282         exception in comment.
19283         (huge): Remove variable.
19284         (__floor): Do not force "inexact" exception.
19285         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
19286         "inexact" exception in comment.
19287         (huge): Remove variable.
19288         (__floor): Do not force "inexact" exception.
19289         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
19290         exception in comment.
19291         (huge): Remove variable.
19292         (__floorf): Do not force "inexact" exception.
19293         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
19294         exception in comment.
19295         (huge): Remove variable.
19296         (__floorl): Do not force "inexact" exception.
19298         [BZ #15479]
19299         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
19300         exception in comment.
19301         (huge): Remove variable.
19302         (__ceil): Do not force "inexact" exception.
19303         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
19304         "inexact" exception in comment.
19305         (huge): Remove variable.
19306         (__ceil): Do not force "inexact" exception.
19307         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
19308         (__ceilf): Do not force "inexact" exception.
19309         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
19310         exception in comment.
19311         (huge): Remove variable.
19312         (__ceill): Do not force "inexact" exception.
19314 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
19316         * config.h.in (BIND_NOW): New.
19317         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
19318         * configure: Regenerated.
19319         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
19320         indirect branch via the GOT slot.
19322 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
19324         [BZ #19765]
19325         * sysdeps/s390/mempcpy.S: New File.
19326         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
19327         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
19328         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19329         Add mempcpy variants.
19330         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
19331         (memcpy): Adjust to be usable from mempcpy entry point.
19332         (__memcpy_mvcle): Likewise.
19333         * sysdeps/s390/s390-64/memcpy.S: Likewise.
19334         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
19335         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
19336         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
19337         (__memcpy_z10): Likewise.
19338         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
19340 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
19342         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
19343         Remove __GI_ symbol.
19344         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
19345         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
19346         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
19347         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
19348         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
19349         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
19351 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
19353         * sysdeps/s390/s390-64/memcpy.S (memcpy):
19354         Use cghi instead of chi to compare 64bit value.
19356 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
19358         * sysdeps/s390/s390-32/memcpy.S (memcpy):
19359         Jump to 1MB check before executing mvc-loop.
19361 2016-05-24  Florian Weimer  <fweimer@redhat.com>
19363         [BZ #6527]
19364         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
19365         unconditionally.
19366         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
19368 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19370         * stdlib/tst-strtod6.c (do_test): Use new type generic
19371         invocation of the test function.
19372         (test): Refactor into ...
19373         (TEST_STRTOD): New macro base function.
19375 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19377         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
19378         (TEST_STRTOD): New macro.
19379         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
19381 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19383         * stdlib/tst-strtod6.c (do_test): Use new type generic
19384         invocation of the test function.
19385         (test): Refactor into ...
19386         (TEST_STRTOD): New macro base function.
19388 2016-05-23  Florian Weimer  <fweimer@redhat.com>
19390         CVE-2016-4429
19391         [BZ #20112]
19392         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
19393         payload.
19395 2016-05-23  Florian Weimer  <fweimer@redhat.com>
19397         [BZ #20111]
19398         * bits/sockaddr.h (_SS_SIZE): Define.
19399         * bits/socket.h (_SS_SIZE): Remove.
19400         (_SS_PADSIZE): Adjust to account for all padding.
19401         (struct sockaddr_storage): Update comment.  Avoid implicit
19402         padding.
19403         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
19404         (_SS_PADSIZE): Adjust to account for all padding.
19405         (struct sockaddr_storage): Update comment.  Avoid implicit
19406         padding.
19407         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
19408         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
19409         (_SS_PADSIZE): Adjust to account for all padding.
19410         (struct sockaddr_storage): Update comment.  Avoid implicit
19411         padding.
19412         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
19413         __SS_SIZE is 126 in this version.
19414         * inet/tst-sockaddr.c: New file.
19415         * inet/Makefile (tests): Add tst-sockaddr.c
19416         (tst-sockaddr.c): Compile with non-strict aliasing.
19418 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
19420         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
19421         [XPG3 || XPG4].
19422         (NL_ARGMAX): Also expect for [XPG3].
19423         (NL_LANGMAX): Likewise.
19424         (NL_MSGMAX): Likewise.
19425         (NL_NMAX): Likewise.
19426         (NL_SETMAX): Likewise.
19427         (NL_TEXTMAX): Likewise.
19428         (NZERO): Likewise.
19429         (TMP_MAX): Likewise.
19430         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
19431         variable.
19433         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
19434         (PF_MAX): Update value.
19435         (AF_KCM): New macro.
19436         (SOL_NETBEUI): Likewise.
19437         (SOL_LLC): Likewise.
19438         (SOL_DCCP): Likewise.
19439         (SOL_NETLINK): Likewise.
19440         (SOL_TIPC): Likewise.
19441         (SOL_RXRPC): Likewise.
19442         (SOL_PPPOL2TP): Likewise.
19443         (SOL_BLUETOOTH): Likewise.
19444         (SOL_PNPIPE): Likewise.
19445         (SOL_RDS): Likewise.
19446         (SOL_IUCV): Likewise.
19447         (SOL_CAIF): Likewise.
19448         (SOL_ALG): Likewise.
19449         (SOL_NFC): Likewise.
19450         (SOL_KCM): Likewise.
19451         (MSG_BATCH): New enum value and macro.
19453 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
19455         [BZ #18185]
19456         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
19457         sharing L2 cache to 2 for Knights Landing.
19459 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
19461         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
19462         (FTW_DP): Do not expect for [XPG3 || XPG4].
19463         (FTW_SL): Do not expect for [XPG3].
19464         (FTW_SLN): Likewise.
19465         (FTW_PHYS): Likewise.
19466         (FTW_MOUNT): Likewise.
19467         (FTW_DEPTH): Likewise.
19468         (FTW_CHDIR): Likewise.
19469         (nftw): Likewise.
19470         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
19471         variable.
19473 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
19475         * manual/errno.texi: Fix various typos & grammar errors.
19477 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
19479         * manual/intro.texi: Fix duplicated typo.
19481 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
19483         [BZ #13304]
19484         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
19485         <float.h>, <math_private.h> and <stdlib.h>.
19486         (add_split): New function.
19487         (mul_split): Likewise.
19488         (ext_val): New typedef.
19489         (store_ext_val): New function.
19490         (mul_ext_val): New function.
19491         (compare): New function.
19492         (add_split_ext): New function.
19493         (__fmal): After checking for Inf, NaN and zero, compute result as
19494         an exact sum of scaled double values in round-to-nearest before
19495         adding those up and adjusting for other rounding modes.
19496         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
19497         tests of fma.
19498         * math/auto-libm-test-out: Regenerated.
19500 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
19502         [BZ #20119]
19503         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
19504         processor level type mask for CPUID with EAX == 11.
19506 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
19508         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
19509         logical threads if the HTT bit is 0.
19510         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
19511         (index_cpu_HTT): Likewise.
19512         (reg_HTT): Likewise.
19514 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
19516         [BZ #20115]
19517         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
19518         Remove alignments on jump targets.
19520 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
19522         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
19523         (getpwent): Likewise.
19524         (setpwent): Likewise.
19525         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
19526         variable.
19528         * conform/data/search.h-data (insque): Do not expect for [XPG3].
19529         (remque): Likewise.
19530         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
19531         variable.
19533 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
19535         * math/libm-test.inc: Update comment not to refer to signs of NaNs
19536         not being tested.
19538 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
19540         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
19541         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
19542         call.
19543         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
19544         (__condvar_cleanup1): Likewise.
19546 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
19548         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
19549         New
19550         (__pthread_unwind): Renamed to ...
19551         (PTHREAD_UNWIND): This.
19552         (__pthread_enable_asynccancel): Replace
19553         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
19555 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
19557         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
19558         (CLONE_NEWCGROUP): New macro.
19560         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
19561         (Q_GETNEXTQUOTA): New macro.
19563 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
19565         [BZ #19907]
19566         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
19567         buffer updated by the previous run.
19568         * string/test-memcpy.c (do_one_test): Likewise.
19569         * benchtests/bench-memmove.c (do_one_test): Add a comment.
19570         * string/test-memmove.c (do_one_test): Likewise.
19572 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
19574         [BZ #20094]
19575         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
19576         not [__USE_XOPEN].
19577         (unlockpt): Likewise.
19578         (ptsname): Likewise.
19579         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
19580         variable.
19582         [BZ #20076]
19583         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
19584         instead of [__USE_UNIX98].
19585         (S_ISSOCK): Likewise.
19586         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
19587         variable.
19589         [BZ #20074]
19590         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
19591         [__USE_POSIX].
19592         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
19593         variable.
19595         [BZ #20051]
19596         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
19597         (ttyslot): Do not declare.
19598         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
19599         (ttyslot): New prototype.
19600         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
19601         variable.
19602         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
19604 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
19606         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
19608 2016-05-13  Florian Weimer  <fweimer@redhat.com>
19610         Fix race condition in tst-mallocfork2, use fewer resources.
19611         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
19612         to current process group.
19613         (signal_sender): Yield in the non-sleeping case.
19615 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
19617         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
19618         (ecvt): Likewise.
19619         (fcvt): Likewise.
19620         (gcvt): Likewise.
19621         (getsubopt): Likewise.
19622         (grantpt): Likewise.
19623         (initstate): Likewise.
19624         (l64a): Likewise.
19625         (mktemp): Likewise.
19626         (mkstemp): Likewise.
19627         (ptsname): Likewise.
19628         (random): Likewise.
19629         (realpath): Likewise.
19630         (setstate): Likewise.
19631         (srandom): Likewise.
19632         (ttyslot): Likewise.
19633         (unlockpt): Likewise.
19634         (valloc): Likewise.
19636         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
19637         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
19638         variable.
19640 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
19642         [BZ #20072]
19643         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
19644         init_cpu_features only if SHARED is defined.
19645         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
19647 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
19649         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
19650         non-inclusive caches on Intel processors.
19652 2016-05-13  Florian Weimer  <fweimer@redhat.com>
19654         * malloc/malloc.c (dumped_main_arena_start)
19655         (dumped_main_arena_end): New variables.
19656         (DUMPED_MAIN_ARENA_CHUNK): New macro.
19657         (do_check_chunk): Skip dumped fake mmapped chunks.
19658         (munmap_chunk): Likewise.
19659         (__libc_free): Do not adjust statistics for fake mmapped chunks.
19660         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
19661         mmapped chunks.
19662         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
19663         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
19664         and dumped_main_arena_end to cover the dumped heap.
19666 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
19668         * conform/data/time.h-data (getdate_err): Do not expect for
19669         [XPG3].
19670         (getdate): Likewise.
19671         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
19672         variable.
19674         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
19675         (F_ULOCK): Likewise.
19676         (F_TEST): Likewise.
19677         (F_TLOCK): Likewise.
19678         (useconds_t): Likewise.
19679         (intptr_t): Do not expect for [XPG3] or [XPG4].
19680         (brk): Do not expect for [XPG3]
19681         (fchown): Likewise.
19682         (fchdir): Likewise.
19683         (ftruncate): Likewise.
19684         (getdtablesize): Likewise.
19685         (gethostid): Likewise.
19686         (getpagesize): Likewise.
19687         (getpgid): Likewise.
19688         (getsid): Likewise.
19689         (getwd): Likewise.
19690         (lchown): Likewise.
19691         (lockf): Likewise.
19692         (readlink): Likewise.
19693         (sbrk): Likewise.
19694         (setpgrp): Likewise.
19695         (setregid): Likewise.
19696         (setreuid): Likewise.
19697         (symlink): Likewise.
19698         (sync): Likewise.
19699         (truncate): Likewise.
19700         (ualarm): Likewise.
19701         (usleep): Likewise.
19702         (vfork): Likewise.
19703         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
19704         variable.
19706         [BZ #20054]
19707         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
19708         not [__USE_UNIX98].
19709         * conform/data/unistd.h-data (gethostname): Do not expect for
19710         [XPG3].
19712         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
19713         [!POSIX] (S_IFBLK): Likewise.
19714         [!POSIX] (S_IFCHR): Likewise.
19715         [!POSIX] (S_IFIFO): Likewise.
19716         [!POSIX] (S_IFREG): Likewise.
19717         [!POSIX] (S_IFDIR): Likewise.
19718         [!POSIX] (S_IFLNK): Likewise.
19719         [!POSIX] (S_IFSOCK): Likewise.
19720         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
19721         variable.
19722         (test-xfail-XPG4/fcntl.h/conform): Likewise.
19724 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
19726         * sysdeps/aarch64/memset.S (__memset):
19727         Rewrite of optimized memset.
19729 2016-05-12  Florian Weimer  <fweimer@redhat.com>
19731         [BZ #19703]
19732         Partially async-signal-safe fork for single-threaded processes.
19733         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
19734         variable.  Do not acquire and reset/release malloc and libio locks
19735         in single-threaded processes.
19736         * malloc/tst-mallocfork2.c: New file.
19737         * malloc/Makefile (tests): Add it.
19739 2016-05-12  Florian Weimer  <fweimer@redhat.com>
19741         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
19742         argument.  Use scratch buffer instead of extend_alloca.
19743         (gethosts): Use scratch buffer instead of extend_alloca.
19744         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
19745         extend_alloca.
19746         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
19748 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
19750         [BZ #20055]
19751         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
19752         instead of [__USE_UNIX98].
19753         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
19754         [__USE_UNIX98].
19755         * conform/data/termios.h-data (tcgetsid): Do not expect for
19756         [XPG3].
19757         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
19758         variable.
19759         (test-xfail-XPG4/termios.h/conform): Likewise.
19761 2016-05-11  Florian Weimer  <fweimer@redhat.com>
19763         Do not use mcheck in localedef.
19764         * locale/programs/localedef.c (turn_on_mcheck)
19765         (__malloc_initialize_hook): Remove.
19767 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
19769         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
19770         * sysdeps/s390/s390-64/Makefile: Likewise.
19772 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
19774         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
19775         Remove ifunc-defines.sym.
19776         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
19777         Likewise.
19778         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
19779         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
19780         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
19781         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
19782         rtld-global-offsets.sym.
19783         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
19784         * sysdeps/x86/cpu-features-offsets.sym: This.
19785         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
19786         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
19788 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
19790         [BZ #20073]
19791         * io/sys/stat.h (fchmod): Declare for
19792         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
19793         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
19794         variable.
19796         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
19797         [XPG3] (S_IFSOCK): Likewise.
19798         [XPG3] (S_ISVTX): Likewise.
19799         [XPG3] (S_ISLNK): Likewise.
19800         [XPG3] (S_ISSOCK): Likewise.
19801         [XPG3] (fchmod): Likewise.
19802         [XPG3] (lstat): Likewise.
19803         [XPG3] (mknod): Likewise.
19805         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
19806         [XPG3].  Expect type long and XFAIL for [XPG4].
19807         (st_blocks): Likewise.
19809         [BZ #20044]
19810         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
19811         (pthread_atfork): New prototype.
19812         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
19813         variable.
19815         [BZ #20043]
19816         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
19817         prototype.
19819 2016-05-10  Florian Weimer  <fweimer@redhat.com>
19821         [BZ #20017]
19822         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
19823         gmtime.
19825 2016-05-10  Florian Weimer  <fweimer@redhat.com>
19827         [BZ #19994]
19828         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
19829         flag in _res.options.
19831 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
19833         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
19834         [XPG3 || XPG4].
19835         (blksize_t): Likewise.
19836         (clockid_t): Likewise.
19837         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
19838         variable.
19839         (test-xfail-XPG4/sys/types.h/conform): Likewise.
19841 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
19843         * sysdeps/unix/sysv/linux/s390/init-first.c:
19844         Add VDSO_SYMBOL(getcpu).
19845         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
19846         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
19847         Add VDSO_SYMBOL(getcpu).
19848         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
19849         New define HAVE_GETCPU_VSYSCALL.
19850         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19852 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
19854         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
19855         instead of <sysdeps/x86_64/cacheinfo.c>.
19856         * sysdeps/x86_64/cacheinfo.c: Moved to ...
19857         * sysdeps/x86/cacheinfo.c: Here.
19859 2016-05-04  Florian Weimer  <fweimer@redhat.com>
19861         * malloc/malloc-internal.h: Adjust header file guard.
19863 2016-05-04  Florian Weimer  <fweimer@redhat.com>
19865         [BZ #19787]
19866         * inet/getnameinfo.c (check_sprintf_result): New function.
19867         (CHECKED_SNPRINTF): New macro.
19868         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
19869         to the host buffer.
19870         (gni_host_local): Use checked_copy to copy the host name.
19871         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
19872         (gni_serv_local): Use checked_copy to copy the service name.
19873         (getnameinfo): Remove unnecessary truncation of result buffers.
19875 2016-05-04  Florian Weimer  <fweimer@redhat.com>
19877         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
19878         in case of inet_ntop failure.
19880 2016-05-04  Florian Weimer  <fweimer@redhat.com>
19882         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
19883         avoid long lines.
19884         (gni_host_inet_numeric): Likewise.  Reduce scope of local
19885         variables.
19886         (gni_host_inet, gni_host_local): Add comment.
19887         (gni_host): Add comment.  Use temporary to avoid long lines.
19889 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
19891         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
19892         registers specifiers where general purpose registers specifiers should
19893         have been used.
19895 2016-05-04  Florian Weimer  <fweimer@redhat.com>
19897         [BZ #19779]
19898         CVE-2016-1234
19899         Avoid copying names of directory entries.
19900         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
19901         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
19902         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
19903         (struct readdir_result): New type.
19904         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
19905         (GL_READDIR): New macros.
19906         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
19907         (convert_dirent, convert_dirent64): New functions.
19908         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
19909         convert_dirent64.  Adjust references to the readdir result.
19910         * sysdeps/unix/sysv/linux/i386/glob64.c:
19911         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
19912         * posix/bug-glob2.c (LONG_NAME): Define.
19913         (filesystem): Add LONG_NAME.
19914         (my_DIR): Increase the size of room_for_dirent.
19916 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
19918         [BZ #20041]
19919         * misc/sys/select.h (__need_timespec): Only define if
19920         [__USE_XOPEN2K].
19921         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
19922         variable.
19923         (test-xfail-XPG4/utmpx.h/conform): Likewise.
19924         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
19925         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
19927 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19928             Segher Boessenkool  <segher@gcc.gnu.org>
19930         [BZ #20004]
19931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
19932         (__novec_swapcontext): Add missing load.
19934 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
19936         [BZ #20023]
19937         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
19938         <time.h>.
19939         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
19940         variable.
19941         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
19943 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
19946         flags CLONE_VM compare.
19948 2016-05-02  Florian Weimer  <fweimer@redhat.com>
19950         [BZ #20031]
19951         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
19952         completely empty.
19954 2016-05-02  Florian Weimer  <fweimer@redhat.com>
19956         [BZ #19573]
19957         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
19958         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
19959         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
19960         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
19961         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
19962         (hesiod_free_list): Mark as hidden.
19963         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
19964         res_set, res_get.
19965         * hesiod/hesiod.c: Remove unnecessary forward declarations.
19966         (init, __hesiod_res_get, __hesiod_res_set): Remove.
19967         (hesiod_init): Remove obsolete res_ninit call.
19968         (hesiod_end): Do not free resolver state.  Do not invoke callback.
19969         (hesiod_bind): Do not call init.
19970         (get_txt_records): Use res_mkquery, res_send instead of
19971         res_nmkquery, res_nsend.
19972         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
19973         instead of _nss_hesiod_init.
19974         (_nss_hesiod_initgroups_dyn): Likewise.
19975         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
19976         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
19977         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
19979 2016-05-02  Florian Weimer  <fweimer@redhat.com>
19981         * hesiod/hesiod_p.h (DEF_RHS): Remove.
19982         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
19984 2016-05-02  Florian Weimer  <fweimer@redhat.com>
19986         * hesiod/hesiod.h: Remove RCS keyword.
19987         * hesiod/hesiod_p.h: Likewise.
19989         * hesiod/hesiod.c: Likewise.
19991 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
19993         [BZ #12450]
19994         * locale/iso-639.def: Add Samogitian/sgs.
19996 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
19998         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
20000         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
20002 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
20003             Carlos O'Donell  <carlos@redhat.com>
20005         [BZ #19072]
20006         * grp/Makefile (headers): Add grp-merge.h
20007         (routines): Add grp-merge.
20008         * grp/getgrgid_r.c: Include grp-merge.h.
20009         (DEEPCOPY_FN): Define.
20010         (MERGE_FN): Define.
20011         * grp/getgrname_r.c: Include grp-merge.h.
20012         (DEEPCOPY_FN): Define.
20013         (MERGE_FN): Define.
20014         * grp/grp-merge.c: New file.
20015         * grp/grp-merge.h: New file.
20016         * include/grp-merge.h: New file.
20017         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
20018         __copy_grp@GLIBC_PRIVATE.
20019         * manual/nss.texi (Actions in the NSS configuration): Describe
20020         return, continue, and merge.
20021         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
20022         (DEEPCOPY_FN): Define.
20023         (MERGE_FN): Define.
20024         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
20025         (DEEPCOPY_FN): Define.
20026         (MERGE_FN): Define.
20027         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
20028         [!MERGE_FN]: Define __merge_einval.
20029         (CHECK_MERGE): Define.
20030         (REENTRANT_NAME): Process merge if do_merge is true.
20031         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
20032         (__nss_getent_r): Likewise.
20033         * nss/nsswitch.c (nss_parse_service_list): Likewise.
20034         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
20036 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20038         [BZ #20012]
20039         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
20040         length to calculate the buffer to read.
20041         (fmemopen_write): Set the buffer position based on bytes written.
20042         (fmemopen_seek): Return EINVAL for invalid whence modes.
20044         [BZ #19957]
20045         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
20046         tst-getpid2.
20047         (test): Add tst-clone2.
20048         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
20049         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
20050         pid/tid fields for CLONE_VM.
20051         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
20052         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
20053         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
20054         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
20055         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
20056         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
20057         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
20058         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
20059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
20060         Likewise.
20061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
20062         Likewise.
20063         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
20064         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
20065         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
20066         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
20067         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
20068         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
20069         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
20070         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
20072 2016-04-29  Florian Weimer  <fweimer@redhat.com>
20074         [BZ #19642]
20075         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
20076         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
20077         (gni_serv_local, gni_serv): New functions extracted from
20078         getnameinfo.
20079         (getnameinfo): Call gni_host and gni_serv to perform the
20080         processing.  Always free scratch buffer.
20082 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
20084         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
20085         remaining bytes in the dest string, with zeros.
20087 2016-04-29  Florian Weimer  <fweimer@redhat.com>
20089         [BZ #20010]
20090         CVE-2016-3706
20091         * sysdeps/posix/getaddrinfo.c
20092         (convert_hostent_to_gaih_addrtuple): New function.
20093         (gethosts): Call convert_hostent_to_gaih_addrtuple.
20094         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
20095         AF_INET data.
20097 2016-04-29  Florian Weimer  <fweimer@redhat.com>
20099         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
20100         callback function gl_readdir.
20101         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
20102         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
20103         (glob_in_dir): Remove len.  Use strdup instead of malloc and
20104         memcpy to copy the name.
20105         * manual/pattern.texi (Calling Glob): Document requirements for
20106         implementations of the gl_readdir callback function.
20107         * manual/examples/mkdirent.c: New example.
20108         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
20109         per the manual guidance.
20110         * posix/tst-gnuglob.c (my_readdir): Likewise.
20112 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
20114         [BZ #20014]
20115         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
20116         not [__USE_POSIX].
20117         (getchar_unlocked): Likewise.
20118         (putc_unlocked): Likewise.
20119         (putchar_unlocked): Likewise.
20120         (flockfile): Likewise.
20121         (ftrylockfile): Likewise.
20122         (funlockfile): Likewise.
20123         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
20124         variable.
20125         (test-xfail-XPG4/stdio.h/conform): Likewise.
20127         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
20128         Expect constant.
20129         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
20130         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
20131         variable.
20132         (test-xfail-XPG4/langinfo.h/conform): Likewise.
20133         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
20135         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
20136         [__USE_LARGEFILE64] (off64_t): Likewise.
20137         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
20138         variable.
20140 2016-04-28  Florian Weimer  <fweimer@redhat.com>
20142         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
20144 2016-04-28  Florian Weimer  <fweimer@redhat.com>
20146         * resolv/inet_addr.c: Reindent preprocessor conditionals.
20147         * resolv/res_init.c: Likewise.
20148         * resolv/res_mkquery.c: Likewise.
20150 2016-04-28  Florian Weimer  <fweimer@redhat.com>
20152         * resolv/res_init.c (isascii): Do not define.  Use definition in
20153         <ctype.h>.
20154         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
20155         (LOG_AUTH): Remove.
20156         (SPRINTF): Remove, adjust caller.
20157         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
20159 2016-04-28  Florian Weimer  <fweimer@redhat.com>
20161         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
20162         SUNSECURITY conditional.
20163         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
20165 2016-04-28  Florian Weimer  <fweimer@redhat.com>
20167         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
20168         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
20169         Remove BSD-related preprocessor conditionals.
20170         * conf/portability.h: Remove.
20172 2016-04-28  Florian Weimer  <fweimer@redhat.com>
20174         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
20175         * resolv/res_data.c: Likewise.
20177 2016-04-28  Florian Weimer  <fweimer@redhat.com>
20179         * resolv/res_comp.c: Remove code conditional on __ultrix__.
20180         * resolv/res_data.c: Remove code conditional on ultrix.
20182 2016-04-28  Florian Weimer  <fweimer@redhat.com>
20184         * resolv/res_init.c (RFC1535): Do not define.  Remove
20185         RFC1535 preprocessor conditionals.
20186         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
20187         because there configuration options which make the resolver
20188         behavior different.
20190 2016-04-28  Florian Weimer  <fweimer@redhat.com>
20192         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
20193         RESOLVSORT preprocessor conditionals.
20194         * resolv/nss_dns/dns-host.c: Likewise.
20195         * resolv/res_init.c: Likewise.
20197 2016-04-28  Florian Weimer  <fweimer@redhat.com>
20199         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
20200         is never defined.
20202 2016-04-28  Florian Weimer  <fweimer@redhat.com>
20204         * inet/inet_lnaof.c: Remove SCSS keyword.
20205         * inet/inet_mkadr.c: Likewise.
20206         * inet/inet_net.c: Likewise.
20207         * inet/inet_netof.c: Likewise.
20208         * inet/rcmd.c: Likewise.
20209         * inet/rexec.c: Likewise.
20210         * inet/ruserpass.c: Likewise.
20212 2016-04-28  Florian Weimer  <fweimer@redhat.com>
20214         * resolv/inet_addr.c: Remove _LIBC conditionals.
20215         * resolv/res_data.c: Likewise.
20216         * resolv/res_init.c: Likewise.
20217         * resolv/res_mkquery.c: Likewise.
20218         * resolv/res_libc.c: Update comment.
20219         * resolv/README: Update.
20221 2016-04-28  Florian Weimer  <fweimer@redhat.com>
20223         * resolv/gethnamaddr.c: Remove SCSS keyword.
20224         * resolv/herror.c: Likewise.
20225         * resolv/inet_addr.c: Likewise.
20226         * resolv/inet_net_ntop.c: Likewise.
20227         * resolv/inet_net_pton.c: Likewise.
20228         * resolv/inet_neta.c: Likewise.
20229         * resolv/inet_ntop.c: Likewise.
20230         * resolv/inet_pton.c: Likewise.
20231         * resolv/ns_date.c: Remove RCS keyword.
20232         * resolv/ns_name.c: Likewise.
20233         * resolv/ns_netint.c: Likewise.
20234         * resolv/ns_parse.c: Likewise.
20235         * resolv/ns_print.c: Likewise.
20236         * resolv/ns_samedomain.c: Likewise.
20237         * resolv/ns_ttl.c: Likewise.
20238         * resolv/nsap_addr.c: Likewise.
20239         * resolv/res_comp.c: Remove SCSS and RCS keyword.
20240         * resolv/res_data.c: Remove RCS keyword.
20241         * resolv/res_debug.c: Remove SCSS and RCS keyword.
20242         * resolv/res_init.c: Likewise.
20243         * resolv/res_mkquery.c: Likewise.
20244         * resolv/res_query.c: Likewise.
20245         * resolv/res_send.c: Likewise.
20247 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
20249         * conform/data/stdio.h-data (fdopen): Expect also for
20250         [XPG3 || XPG4].
20252         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
20253         (fseeko): Likewise.
20254         (ftello): Likewise.
20255         (ftrylockfile): Likewise.
20256         (funlockfile): Likewise.
20257         (getc_unlocked): Likewise.
20258         (getchar_unlocked): Likewise.
20259         (putc_unlocked): Likewise.
20260         (putchar_unlocked): Likewise.
20262 2016-04-27  Florian Weimer  <fweimer@redhat.com>
20264         [BZ #19868]
20265         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
20266         DNS packet syntax checks (which were not needed before).  Skip
20267         over non-PTR records.
20269 2016-04-27  Florian Weimer  <fweimer@redhat.com>
20271         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
20272         definition.  Include <stddef.h> instead.
20274 2016-04-27  Florian Weimer  <fweimer@redhat.com>
20276         [BZ #19831]
20277         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
20278         function.
20279         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
20280         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
20282 2016-04-27  Florian Weimer  <fweimer@redhat.com>
20284         [BZ #19862]
20285         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
20286         (getanswer_r): Do not call syslog.
20287         (gaih_getanswer_slice): Likewise.
20288         * resolv/gethnamaddr.c (AskedForGot): Remove.
20289         (getanswer): Do not call syslog.
20290         (gethostbyaddr): Likewise.
20292 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
20294         * conform/data/signal.h-data (union sigval): Expect also if
20295         [XOPEN2K].
20296         (struct sigevent): Likewise.
20297         (SIGEV_NONE): Likewise.
20298         (SIGEV_SIGNAL): Likewise.
20299         (SIGEV_THREAD): Likewise.
20300         (SIGRTMIN): Likewise.
20301         (SIGRTMAX): Likewise.
20302         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
20303         variable.
20304         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
20306 2016-04-27  Florian Weimer  <fweimer@redhat.com>
20308         [BZ #19830]
20309         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
20310         (gaih_getanswer_slice): Likewise.
20311         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
20312         Also check for availability of RR metadata.
20314 2016-04-27  Florian Weimer  <fweimer@redhat.com>
20316         [BZ #19825]
20317         * resolv/res_send.c (send_vc): Remove early *resplen2
20318         initialization.  Set *resplen2 on socket error.  Call
20319         close_and_return_error for other errors.
20321 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
20323         * sysdeps/unix/sysv/linux/netiucv/iucv.h
20324         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
20325         (SCM_IUCV_TRGCLS): New define.
20327 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20329         [BZ #20005]
20330         * libio/fmemopen.c (fmemopen_write): Update internal position after
20331         write.
20332         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
20333         * stdio-common/tst-fmemopen4.c: New file..
20335 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
20337         [BZ #19996]
20338         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
20339         not [__USE_XOPEN2K].
20340         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
20341         variable.
20343         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
20344         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
20345         variable.
20347         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
20348         [__USE_XOPEN2K8].
20349         [__USE_LARGEFILE64] (off64_t): Likewise.
20350         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
20351         variable.
20353 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
20355         [BZ #19989]
20356         * libio/stdio.h (cuserid): Do not declare if
20357         [__USE_XOPEN2K && !__USE_GNU].
20358         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
20359         variable.
20361 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20363         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
20364         (sysdep_routines): Add P8 and PPC64 strcspn targets.
20365         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20366         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
20367         ifunc'ed strcspn.
20368         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
20369         [EALIGN]: Removed.
20370         [END]: Likewise
20371         [STRSPN]: Define instead of the above to control symbol name.
20372         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
20373         New file.
20374         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
20375         Likewise.
20376         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
20377         Likewise.
20378         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
20379         Likewise.
20380         * sysdeps/powerpc/powerpc64/power8/strspn.S:
20381         [INITIAL_MASK]: New macro.
20382         [STRCSPN]: Likewise.
20383         [UPDATE_MASK]: Likewise.
20384         [USE_AS_STRCSPN]: Likewise.
20386 2016-04-25  Florian Weimer  <fweimer@redhat.com>
20388         [BZ #19931]
20389         * stdio-common/tst-vfprintf-width-prec.c: New file.
20390         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
20391         (tests-special): Add tst-vfprintf-width-prec-mem.out.
20392         (generated): Add mtrace-related files.
20393         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
20394         (tst-%-mem.out): New pattern rule, replaces
20395         tst-printf-bz18872-mem.out.
20396         * stdio-common/vfprintf.c (vfprintf): When handling a precision
20397         specifier, deallocate any previously allocated work buffer.
20399 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
20401         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
20402         Add nop before __startcontext, add explaining comments.
20404 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
20406         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
20407         any more. Notably since IPV6_PKTINFO has been reintroduced with a
20408         completely different API.
20410         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
20411         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
20412         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
20413         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
20414         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
20415         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
20416         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
20417         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
20418         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
20419         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
20421 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
20423         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
20425 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
20427         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
20428         when it is the default of 0.
20430 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
20432         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
20433         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
20434         (sysdep_routines): Add new strcasestr targets.
20435         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20436         (__libc_ifunc_impl_list): Likewise.
20437         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
20438         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
20439         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
20440         * sysdeps/powerpc/powerpc64/power8/Makefile:
20441         New file to add strcasestr-ppc64 to sysdep_routines.
20442         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
20443         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
20445 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
20447         * benchtests/Makefile (wcsmbs-benchset): Include only for
20448         native builds and runs.
20449         (LOCALES): Likewise.
20450         (bench-build): Build timing-type here instead of the bench
20451         target.  Generate locale only for native builds.
20452         * benchtests/README: Add note for cross-building.
20454         * benchtests/Makefile (bench-clean): Clean up extra-objs.
20456         * benchtests/README: Update README to include instructions on
20457         using bench-build.
20459         * Makefile.in (bench-build): New target.
20460         * Rules (PHONY): Add bench-build target.
20461         * benchtests/Makefile (bench): Depend on bench-build.
20462         (bench-build): New target.
20464 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20466         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
20467         profil_reply_port.
20468         (profile_waiter): Do not initialize profil_reply_port.
20469         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
20470         frequency instead of tick length in us.
20472 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
20474         [BZ #18712]
20475         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
20476         (__old_mempcpy_small): Likewise.
20477         (__old_strcpy_small): Likewise.
20478         (__old_stpcpy_small): Likewise.
20479         (__old_strpbrk_c2): Fix compat symbol name.
20480         (__old_strpbrk_c3): Likewise.
20481         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
20482         (__mempcpy_small): Remove.
20483         (__strcpy_small): Remove.
20484         (__stpcpy_small): Remove.
20486 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
20488         [BZ #19400]
20489         * locale/iso-639.def: Add the Talossan/tzl language.
20491 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
20493         [BZ #16983]
20494         * locale/programs/ld-address.c (address_finish): Update postal_fmt
20495         comment.  Add "ln" to strchr check on postal_fmt.
20497 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
20499         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
20500         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
20501         tel_dom_fmt.
20503 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
20505         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
20506         (sysdep_routines): Added __strlen_power8.
20507         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
20508         __strlen_power8 entry.
20509         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
20510         Implementation for POWER8.
20511         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
20512         for __strlen_power8.
20513         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
20514         Implementation for POWER8.
20516 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
20518         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
20520 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
20522         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
20523         Goldmont and Airmont processors.
20525 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
20527         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
20528         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
20529         (__STRING2_SMALL_GET32): Remove.
20530         (memset): Remove.
20531         (__memset_1): Remove.
20532         (__memset_gc): Remove.
20533         (__mempcpy): Remove.
20534         (mempcpy): Remove.
20535         (__mempcpy_args): Remove.
20536         (strchr): Remove.
20537         (strcpy): Remove.
20538         (strcpy_args): Remove.
20539         (__stpcpy_args): Remove.
20540         (__strcmp_cc): Remove.
20541         (__strcmp_gc): Remove.
20542         (strstr): Remove.
20544 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
20546         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
20547         * nis/nis_call.c (nis_server_cache_add): Likewise.
20549 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20551         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
20553 2016-04-14  Florian Weimer  <fweimer@redhat.com>
20555         * malloc/arena.c (__malloc_fork_lock_parent)
20556         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
20557         internal_function attribute.
20559 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
20561         * stdio-common/printf_fp.c (__printf_fp_l):
20562         Rename ___printf_fp_l to __printf_fp_l and
20563         remove strong alias. Use libc_hidden_def instead
20564         of ldbl_hidden_def macro.
20566 2016-04-14  Florian Weimer  <fweimer@redhat.com>
20568         Remove malloc hooks from fork handler.  They are no longer needed
20569         because malloc runs right before fork, and no malloc calls from
20570         other fork handlers are not possible anymore.
20571         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
20572         declarations.
20573         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
20574         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
20575         (atfork_recursive_cntr): Remove.
20576         (__malloc_fork_lock_parent): Do not override malloc hooks and
20577         thread_arena.
20578         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
20579         thread_arena.
20580         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
20581         thread_arena instead of save_arena.
20583 2016-04-14  Florian Weimer  <fweimer@redhat.com>
20585         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
20586         (thread_atfork, thread_atfork_static): Remove.
20587         * sysdeps/mach/hurd/malloc-machine.h:
20588         (thread_atfork, thread_atfork_static): Remove.
20590 2016-04-14  Florian Weimer  <fweimer@redhat.com>
20592         [BZ #19431]
20593         Run the malloc fork handler as late as possible to avoid deadlocks.
20594         * malloc/malloc-internal.h: New file.
20595         * malloc/malloc.c: Include it.
20596         * malloc/arena.c (ATFORK_MEM): Remove.
20597         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
20598         Update comment.
20599         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
20600         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
20601         Remove outdated comment.
20602         (ptmalloc_init): Do not call thread_atfork.  Remove
20603         thread_atfork_static.
20604         * malloc/tst-malloc-fork-deadlock.c: New file.
20605         * Makefile (tests): Add tst-malloc-fork-deadlock.
20606         (tst-malloc-fork-deadlock): Link against libpthread.
20607         * manual/memory.texi (Aligned Memory Blocks): Update safety
20608         annotation comments.
20609         * sysdeps/nptl/fork.c (__libc_fork): Call
20610         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
20611         __malloc_fork_unlock_child.
20612         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
20614 2016-04-14  Florian Weimer  <fweimer@redhat.com>
20616         [BZ #19613]
20617         Remove union wait.
20618         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
20619         (w_stopsig, w_stopval): Remove.
20620         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
20621         stat_loc argument.
20622         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
20623         (__WAIT_STATUS_DEFN): Remove.
20624         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
20625         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
20626         (wait, wait3, wait4): Use int * for the stat_loc argument.
20627         * posix/wait.c (__wait): Likewise.
20628         * posix/wait3.c (__wait3): Likewise.
20629         * posix/wait4.c (__wait4): Likewise.
20630         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
20631         (__WAIT_STATUS_DEFN): Remove.
20632         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
20633         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
20634         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
20635         argument.
20636         * sysdeps/posix/wait.c (__libc_wait): Likewise.
20637         * sysdeps/posix/wait3.c (__wait3): Likewise.
20638         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
20639         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
20640         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
20641         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
20642         stat_loc argument.
20643         * manual/process.texi (BSD Wait Functions): Remove union wait.
20645 2016-04-13  Andreas Schwab  <schwab@suse.de>
20647         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
20648         (test-extras): Add tst-tlsalign-vars.
20649         * math/Makefile: Wrap long lines.
20650         (libm-vec-test-wrappers): Define.
20651         (test-extras): Add $(libm-vec-test-wrappers).
20652         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
20653         * nss/Makefile (extra-test-objs): Add nss_test1.os.
20654         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
20655         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
20656         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
20657         (extra-test-objs): Add corresponding objects.
20659 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
20661         [BZ #19928]
20662         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
20663         New.
20664         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
20665         times of shared cache size.
20666         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
20667         (VMOVNT): New.
20668         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
20669         (VMOVNT): Likewise.
20670         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
20671         (VMOVNT): Likewise.
20672         (VMOVU): Changed to movups for smaller code sizes.
20673         (VMOVA): Changed to movaps for smaller code sizes.
20674         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
20675         comments.
20676         (PREFETCH): New.
20677         (PREFETCH_SIZE): Likewise.
20678         (PREFETCHED_LOAD_SIZE): Likewise.
20679         (PREFETCH_ONE_SET): Likewise.
20680         Rewrite to use forward and backward loops, which move 4 vector
20681         registers at a time, to support overlapping addresses and use
20682         non temporal store if size is above the threshold and there is
20683         no overlap between destination and source.
20685 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
20687         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
20688         Include dl-vdso.
20689         * sysdeps/unix/sysv/linux/mips/Versions: Add
20690         __vdso_clock_gettime.
20691         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
20692         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
20693         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
20694         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
20695         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
20696         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
20697         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
20698         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
20699         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
20701 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20703         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
20704         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
20705         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
20706         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
20707         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
20708         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
20709         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
20710         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
20711         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
20712         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
20713         syscalls generation.
20714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20715         [__NR_pwrite64] (__NR_write): Remove define.
20716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
20717         [__NR_pwrite64] (__NR_write): Remove define.
20718         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
20719         Remove define.
20720         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
20721         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
20722         Remove define.
20723         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
20724         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
20725         Linux implementation as base.
20726         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
20728         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
20729         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
20730         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
20731         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
20732         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
20733         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
20734         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
20735         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
20736         syscall generation.
20737         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20738         [__NR_pread64] (__NR_pread): Remove define.
20739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
20740         [__NR_pread64] (__NR_pread): Likewise.
20741         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
20742         define.
20743         (__libc_pread): Use SYSCALL_LL macro on offset argument.
20744         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
20745         Remove define.
20746         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
20747         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
20748         Linux implementation as base.
20749         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
20750         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
20751         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
20753         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
20754         definition.
20755         (__ALIGNMENT_COUNT): Likewise.
20756         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
20757         (__ALIGNMENT_COUNT): Likewise.
20758         (SYSCALL_LL): New define.
20759         (SYSCALL_LL64): Likewise.
20760         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
20761         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
20762         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
20763         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
20765         * sysdeps/unix/sysv/linux/arm/kernel-features.h
20766         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
20767         * sysdeps/unix/sysv/linux/mips/kernel-features.h
20768         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
20769         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
20770         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
20772 2016-04-11  Florian Weimer  <fweimer@redhat.com>
20774         [BZ #19865]
20775         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
20776         original buffer before retry.
20778 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20780         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
20781         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
20782         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
20783         GLRO(dl_auxv) list.
20784         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
20785         including <ldsodefs.h>.
20786         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
20788 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
20790         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
20791         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
20792         $(CPPFLAGS).
20794 2016-04-09  Khem Raj  <raj.khem@gmail.com>
20796         [BZ #17950]
20797         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
20798         Add -mfpmath=387.
20800 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
20802         * sysdeps/i386/configure.ac: Change == to = when calling test.
20803         * sysdeps/x86_64/configure.ac: Likewise.
20804         * sysdeps/i386/configure: Regenerated.
20805         * sysdeps/x86_64/configure: Likewise.
20807 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
20809         [BZ #16137]
20810         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
20811         * benchtests/bench-strcoll.c (input_files): Likewise.
20812         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
20813         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
20814         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
20816 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
20818         [BZ #19929]
20819         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
20820         [__USE_XOPEN2K8 && !__USE_GNU].
20821         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
20822         variable.
20824         [BZ #19925]
20825         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
20826         define if [!__USE_MISC && __USE_XOPEN2K].
20827         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
20828         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
20829         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
20830         Likewise.
20831         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
20832         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
20833         variable.
20834         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
20836 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20838         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
20839         (sysdep_routines): Add new strspn targets.
20840         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20841         (__libc_ifunc_impl_list): Add strspn.
20842         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
20843         New file.
20844         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
20845         Likewise.
20846         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
20847         Likewise.
20848         * sysdeps/powerpc/powerpc64/power8/strspn.S:
20849         Likewise.
20851 2016-04-07  Florian Weimer  <fweimer@redhat.com>
20853         * misc/hsearch_r.c: Include <limits.h>.
20855 2016-04-07  Florian Weimer  <fweimer@redhat.com>
20857         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
20859 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
20861         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
20862         (MEMCPY_SYMBOL): New.
20863         (MEMPCPY_SYMBOL): Likewise.
20864         (MEMMOVE_CHK_SYMBOL): Likewise.
20865         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
20866         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
20867         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
20868         Provide alias for memcpy in libc.a and ld.so.
20870 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
20872         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
20873         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
20874         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
20875         Disabled fro now.
20876         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
20877         symbols.  Properly check USE_MULTIARCH on __memset symbols.
20879 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
20881         * benchtests/Makefile (string-benchset): Add memcpy-large,
20882         memmove-large and memset-large.
20883         * benchtests/bench-memcpy-large.c: New file.
20884         * benchtests/bench-memmove-large.c: Likewise.
20885         * benchtests/bench-memmove-large.c: Likewise.
20886         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
20888 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
20890         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
20891         32-bit displacement to avoid long nop between instructions.
20893 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
20895         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
20896         a comment on VMOVU and VMOVA.
20898 2016-04-04  Florian Weimer  <fweimer@redhat.com>
20900         [BZ #19633]
20901         Use specified locale for number formatting in strfmon_l.
20902         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
20903         (__nl_lookup_word): New inline functions.
20904         * include/printf.h (__print_fp_l): Declare.
20905         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
20906         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
20907         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
20908         (___printf_fp): New function.
20909         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
20910         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
20911         * stdlib/tst-strfmon_l.c (do_test): New test.
20912         * stdlib/Makefile (tests): Add kt.
20913         (LOCALES): Build additional locales.
20914         (tst-strfmon_l.out): Require locales.
20916 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
20918         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
20919         if not in libc.
20920         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
20921         Likewise.
20922         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
20923         Likewise.
20924         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
20925         Likewise.
20927 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
20929         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
20930         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
20931         with unaligned_erms.
20932         (__memmove_erms): Skip if source == destination.
20933         (__memmove_unaligned_erms): Don't check source == destination
20934         first.
20936 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
20938         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
20939         bit_arch_Fast_Copy_Backward for Intel Core proessors.
20941 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20943         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
20944         * string/strspn.c (strspn): Likewise.
20946 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
20948         * benchtests/bench-memset.c (do_test): Support 64-byte
20949         alignment.
20950         (test_main): Test 64-byte alignment.
20952 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
20954         * benchtests/bench-memmove.c (test_main): Test 64-byte
20955         alignment.
20957 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
20959         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
20961 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20963         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
20964         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
20965         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
20967         * string/strpbrk.c (strpbrk): Rewrite function.
20968         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
20969         (__strpbrk_c2): Likewise.
20970         (__strpbrk_c3): Likewise.
20971         * string/string-inlines.c
20972         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
20973         Likewise.
20974         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
20975         Likewise.
20977         * string/strspn.c (strcspn): Rewrite function.
20978         * string/bits/string2.h (strspn): Use __builtin_strcspn.
20979         (__strspn_c1): Remove inline function.
20980         (__strspn_c2): Likewise.
20981         (__strspn_c3): Likewise.
20982         * string/string-inlines.c
20983         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
20984         compatibility symbol.
20985         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
20986         Likewise.
20987         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
20988         Likewise.
20989         * string/string-inlines.c: Include generic version.
20991 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
20992             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20994         * string/Version (libc): Add GLIBC_2.24.
20995         * string/strcspn.c (strcspn): Rewrite function.
20996         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
20997         (__strcspn_c1): Remove inline function.
20998         (__strcspn_c2): Likewise.
20999         (__strcspn_c3): Likewise.
21000         * string/string-inline.c
21001         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
21002         compatibility symbol.
21003         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
21004         Likewise.
21005         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
21006         Likewise.
21007         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
21009 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
21011         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
21012         Use ahi instead of aghi to adjust stack pointer.
21014 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21016         [BZ #19853]
21017         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
21018         TEST to take significant digits as second parameter.
21019         [TEST]: Redefine in terms of TEST_N taking 30
21020         significant digits.
21021         (do_test): Add test case to demonstrate precision
21022         failure in the ldbl-128ibm printf.
21023         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
21024         (__mpn_extract_long_double): Carry 7 extra intermediate
21025         bits of precision to aide computing difference when
21026         signs differ.
21028 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
21030         [BZ #19881]
21031         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21032         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
21033         memset-avx512-unaligned-erms.
21034         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
21035         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
21036         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
21037         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
21038         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
21039         __memset_sse2_unaligned_erms, __memset_erms,
21040         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
21041         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
21042         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
21043         file.
21044         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
21045         Likewise.
21046         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
21047         Likewise.
21048         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
21049         Likewise.
21051 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
21053         [BZ #19776]
21054         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21055         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
21056         memmove-avx512-unaligned-erms.
21057         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
21058         (__libc_ifunc_impl_list): Test
21059         __memmove_chk_avx512_unaligned_2,
21060         __memmove_chk_avx512_unaligned_erms,
21061         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
21062         __memmove_chk_sse2_unaligned_2,
21063         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
21064         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
21065         __memmove_avx512_unaligned_erms, __memmove_erms,
21066         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
21067         __memcpy_chk_avx512_unaligned_2,
21068         __memcpy_chk_avx512_unaligned_erms,
21069         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
21070         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
21071         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
21072         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
21073         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
21074         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
21075         __mempcpy_chk_avx512_unaligned_erms,
21076         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
21077         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
21078         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
21079         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
21080         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
21081         __mempcpy_erms.
21082         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
21083         file.
21084         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
21085         Likewise.
21086         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
21087         Likewise.
21088         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
21089         Likewise.
21091 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
21093         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
21094         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
21095         (La_s390_64_regs): Likewise.
21096         (La_s390_32_retval): Append vector register lrv_v24.
21097         (La_s390_64_retval): Likeweise.
21098         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
21099         Handle extended structs La_s390_32_regs and La_s390_32_retval.
21100         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
21101         Handle extended structs La_s390_64_regs and La_s390_64_retval.
21103 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
21105         [BZ #19916]
21106         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
21107         to create a non-vector/vector version for _dl_runtime_resolve and
21108         _dl_runtime_profile. Move implementation to ...
21109         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
21110         (_dl_runtime_resolve) Save and restore fpr/vrs.
21111         (_dl_runtime_profile) Save and restore vrs and fix some issues
21112         if _dl_call_pltexit is called.
21113         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
21114         Choose the correct resolver function if running on a machine with vx.
21115         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
21116         to create a non-vector/vector version for _dl_runtime_resolve and
21117         _dl_runtime_profile. Move implementation to ...
21118         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
21119         (_dl_runtime_resolve) Save and restore fpr/vrs.
21120         (_dl_runtime_profile) Save and restore vrs and fix some issues
21121         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
21122         Choose the correct resolver function if running on a machine with vx.
21124 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21126         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
21128 2016-03-31  Florian Weimer  <fweimer@redhat.com>
21130         [BZ #19509]
21131         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
21132         skip_map != NULL.
21133         * elf/tst-dlsym-error.c: New file.
21134         * elf/Makefile (tests): Add tst-dlsym-error.
21135         (tst-dlsym-error): Link against libdl.
21137 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
21139         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21140         (__ASSUME_FUTIMESAT): Remove macro.
21141         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
21143 2016-03-29  Florian Weimer  <fweimer@redhat.com>
21145         [BZ #19879]
21146         CVE-2016-3075
21147         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
21148         copy name.
21150 2016-03-29  Florian Weimer  <fweimer@redhat.com>
21152         [BZ #19837]
21153         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
21154         error if parse_line fails.
21156 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
21158         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
21159         (index_cpu_ERMS): Likewise.
21160         (reg_ERMS): Likewise.
21162 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
21164         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
21165         PER_LINUX_FDPIC): Add.
21167 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
21169         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
21170         memcpy-avx512-no-vzeroupper.
21171         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
21172         to ...
21173         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
21174         (MEMCPY): Don't define.
21175         (MEMCPY_CHK): Likewise.
21176         (MEMPCPY): Likewise.
21177         (MEMPCPY_CHK): Likewise.
21178         (MEMPCPY_CHK): Renamed to ...
21179         (__mempcpy_chk_avx512_no_vzeroupper): This.
21180         (MEMPCPY_CHK): Renamed to ...
21181         (__mempcpy_chk_avx512_no_vzeroupper): This.
21182         (MEMCPY_CHK): Renamed to ...
21183         (__memmove_chk_avx512_no_vzeroupper): This.
21184         (MEMCPY): Renamed to ...
21185         (__memmove_avx512_no_vzeroupper): This.
21186         (__memcpy_avx512_no_vzeroupper): New alias.
21187         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
21189 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
21191         [BZ #18858]
21192         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
21193         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
21194         and mempcpy-avx512-no-vzeroupper.
21195         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
21196         New.
21197         (MEMPCPY): Likewise.
21198         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
21199         (MEMPCPY_CHK): New.
21200         (MEMPCPY): Likewise.
21201         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
21202         (MEMPCPY): Likewise.
21203         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
21204         (MEMPCPY): Likewise.
21205         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
21206         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
21207         Likewise.
21208         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
21209         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
21211 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
21212              Amit Pawar  <Amit.Pawar@amd.com>
21214         [BZ #19583]
21215         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
21216         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
21217         processors.  Set Fast_Copy_Backward for AMD Excavator
21218         processors.
21219         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
21220         New.
21221         (index_arch_Fast_Unaligned_Copy): Likewise.
21222         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
21223         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
21225 2016-03-25  Florian Weimer  <fweimer@redhat.com>
21227         [BZ #19791]
21228         * resolv/res_send.c (close_and_return_error): New function.
21229         (send_dg): Initialize *resplen2 after reopen failure.  Call
21230         close_and_return_error for error returns.  On error paths without
21231         __res_iclose, initialze *resplen2 explicitly.  Update comment for
21232         successful return.
21234 2016-03-25  Florian Weimer  <fweimer@redhat.com>
21236         [BZ #19860]
21237         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
21238         zero if the compiler does not provide the AVX512F bit.
21240 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
21242         [BZ #19848]
21243         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
21244         from 8 to 4.
21245         (__ieee754_powl): Compare integer exponent against 4 not 8.
21246         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
21247         from 8 to 4.
21248         (__ieee754_powl): Compare integer exponent against 4 not 8.
21249         * math/auto-libm-test-in: Add more tests of pow.
21250         * math/auto-libm-test-out: Regenerated.
21251         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
21252         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21254 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
21256         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
21257         Make code unconditional.
21258         [!__NR_utimensat]: Remove conditional code.
21259         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
21260         Make code unconditional.
21261         [!__NR_utimensat]: Remove conditional code.
21262         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
21263         Make code unconditional.
21264         [!__NR_utimensat]: Remove conditional code.
21266 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
21268         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
21269         Make code unconditional.
21271 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
21273         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
21274         call-clobbered %eax on retry path.
21275         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
21277 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
21279         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
21280         Don't set %rcx twice before "rep movsb".
21282 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
21284         [BZ #19583]
21285         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
21286         inline.  Check family before setting family, model and
21287         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
21288         bits here.
21289         (init_cpu_features): Replace HAS_CPU_FEATURE and
21290         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
21291         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
21292         for Intel processors with usable AVX2.  Call get_common_indeces
21293         for other processors with family == NULL.
21294         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
21295         (CPU_FEATURES_ARCH_P): Likewise.
21296         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
21297         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
21299 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21301         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
21302         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
21303         $(shared-thread-library) instead of hardcoding the path to libpthread.
21305 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
21307         * sysdeps/unix/sysv/linux/kernel-features.h
21308         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
21309         * sysdeps/unix/sysv/linux/getdents.c
21310         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
21311         [!have_no_getdents64_defined]: Likewise.
21312         (__GETDENTS): Remove __have_no_getdents64 conditional.
21314 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
21316         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
21317         Remove macro.
21318         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
21319         <kernel-features.h>.
21320         (signalfd) [__NR_signalfd4]: Make code unconditional.
21321         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
21323 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21325         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
21326         style.
21328 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
21330         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
21331         (__pthread_enable_asynccancel): Use JUMPTARGET to call
21332         __pthread_unwind.
21333         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
21334         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
21335         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
21336         (__condvar_cleanup1): Likewise.
21338 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
21340         [BZ #19822]
21341         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
21342         move it to the final $@ location.
21344 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21346         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
21347         access where posix_spawn success and pid argument is null.
21348         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
21349         success case.
21351 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
21353         * sysdeps/mach/hurd/i386/c++-types.data: New file.
21355         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
21357         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
21358         and __fcntl.
21359         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
21360         __fcntl only.
21361         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
21362         adding attribute_hidden to __open and __fcntl.
21364         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
21365         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
21366         depend on libc-modules.h,
21367         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
21369 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
21371         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
21372         Remove macro.
21373         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
21374         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
21375         entry.
21377         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
21378         Remove macro.
21379         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
21380         include <kernel-features.h>.
21381         [!__ASSUME_FALLOCATE]: Remove conditional code.
21382         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
21384 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
21386         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
21387         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
21388         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
21389         (_ZGVdN4v_cos_avx2): Likewise.
21390         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
21391         (_ZGVdN4v_cos): Likewise.
21392         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
21393         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
21394         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
21395         (_ZGVdN4v_exp_avx2): Likewise.
21396         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
21397         (_ZGVdN4v_exp): Likewise.
21398         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
21399         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
21400         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
21401         (_ZGVdN4v_log_avx2): Likewise.
21402         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
21403         (_ZGVdN4v_log): Likewise.
21404         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
21405         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
21406         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
21407         (_ZGVdN4vv_pow_avx2): Likewise.
21408         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
21409         (_ZGVdN4vv_pow): Likewise.
21410         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
21411         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
21412         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
21413         (_ZGVdN4v_sin_avx2): Likewise.
21414         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
21415         (_ZGVdN4v_sin): Likewise.
21416         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
21417         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
21418         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
21419         (_ZGVdN4vvv_sincos_avx2): Likewise.
21420         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
21421         (_ZGVdN4vvv_sincos): Likewise.
21422         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
21423         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
21424         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
21425         (_ZGVbN4v_cosf_sse4): Likewise.
21426         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
21427         (_ZGVdN8v_cosf_avx2): Likewise.
21428         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
21429         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
21430         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
21431         (_ZGVbN4v_expf_sse4): Likewise.
21432         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
21433         (_ZGVdN8v_expf_avx2): Likewise.
21434         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
21435         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
21436         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
21437         (_ZGVbN4v_logf_sse4): Likewise.
21438         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
21439         (_ZGVdN8v_logf_avx2): Likewise.
21440         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
21441         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
21442         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
21443         (_ZGVbN4vv_powf_sse4): Likewise.
21444         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
21445         (_ZGVdN8vv_powf_avx2): Likewise.
21446         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
21447         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
21448         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
21449         (_ZGVbN4vvv_sincosf_sse4): Likewise.
21450         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
21451         (_ZGVdN8vvv_sincosf_avx2): Likewise.
21452         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
21453         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
21454         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
21455         (_ZGVbN4v_sinf_sse4): Likewise.
21456         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
21457         (_ZGVdN8v_sinf_avx2): Likewise.
21458         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
21459         Use JUMPTARGET to call callee.
21460         (WRAPPER_IMPL_SSE2_ff): Likewise.
21461         (WRAPPER_IMPL_SSE2_fFF): Likewise.
21462         (WRAPPER_IMPL_AVX): Likewise.
21463         (WRAPPER_IMPL_AVX_ff): Likewise.
21464         (WRAPPER_IMPL_AVX_fFF): Likewise.
21465         (WRAPPER_IMPL_AVX512): Likewise.
21466         (WRAPPER_IMPL_AVX512_ff): Likewise.
21467         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
21468         Likewise.
21469         (WRAPPER_IMPL_SSE2_ff): Likewise.
21470         (WRAPPER_IMPL_SSE2_fFF): Likewise.
21471         (WRAPPER_IMPL_AVX): Likewise.
21472         (WRAPPER_IMPL_AVX_ff): Likewise.
21473         (WRAPPER_IMPL_AVX_fFF): Likewise.
21474         (WRAPPER_IMPL_AVX512): Likewise.
21475         (WRAPPER_IMPL_AVX512_ff): Likewise.
21476         (WRAPPER_IMPL_AVX512_fFF): Likewise.
21478 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21480         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
21481         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
21482         qualifier.
21483         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
21484         internal_function qualifiers.
21486 2016-03-15  Carlos O'Donell <carlos@redhat.com>
21488         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
21489         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
21490         * math/atest-exp.c (exp_mpn): Mark chk unused.
21491         * math/atest-exp2.c (exp_mpn): Likewise.
21492         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
21493         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
21495 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
21497         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
21498         Remove macro.
21499         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
21500         <kernel-features.h>.
21501         [__NR_ppoll]: Make code unconditional.
21502         [!__ASSUME_PPOLL]: Remove conditional code.
21504         * sysdeps/unix/sysv/linux/kernel-features.h
21505         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
21506         (__ASSUME_ACCEPT4): Likewise.
21507         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21508         Define.
21509         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
21510         Likewise.
21511         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
21512         Likewise.
21513         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
21514         Likewise.
21515         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
21516         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
21517         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21518         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
21519         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
21520         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21521         * sysdeps/unix/sysv/linux/arm/kernel-features.h
21522         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21523         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
21524         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21525         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
21526         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
21527         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21528         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21529         * sysdeps/unix/sysv/linux/i386/kernel-features.h
21530         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21531         Likewise.
21532         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
21533         Likewise.
21534         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
21535         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
21536         0x040300].
21537         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21538         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
21539         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21540         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
21541         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
21542         0x030300].
21543         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
21544         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21545         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
21546         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
21547         0x040300].
21548         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21549         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21550         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21551         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
21552         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21553         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
21554         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
21555         0x030300].
21556         * sysdeps/unix/sysv/linux/mips/kernel-features.h
21557         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
21558         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21559         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21560         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
21561         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
21562         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21563         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21564         * sysdeps/unix/sysv/linux/s390/kernel-features.h
21565         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
21566         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
21567         0x040300].
21568         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21569         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21570         * sysdeps/unix/sysv/linux/sh/kernel-features.h
21571         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
21572         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21573         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21574         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
21575         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
21576         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21577         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21578         * sysdeps/unix/sysv/linux/tile/kernel-features.h
21579         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
21580         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21581         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21582         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
21583         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
21584         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21585         Likewise.
21586         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
21587         Likewise.
21589 2016-03-15  Andreas Schwab  <schwab@suse.de>
21591         [BZ #19257]
21592         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
21593         statp->_u._ext.nscount as loop count.
21595 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
21597         * math/test-signgam-finite-c99.c: Also #undef
21598         __LIBC_INTERNAL_MATH_INLINES.
21599         * math/test-signgam-main.c: Likewise.
21601 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
21603         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
21604         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
21605         (MADV_FREE): Likewise.
21606         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
21607         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
21608         EPOLLEXCLUSIVE.
21610 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
21612         * timezone/README: Remove mention of checktab.awk. Mention wiki
21613         SharedSourceFiles.
21615 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
21617         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
21618         WUNTRACED.
21620 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
21622         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
21623         order to match the type of p when calling atomic_exchange_acq().
21625 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
21627         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
21628         cfi_offset calls.
21629         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
21630         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
21631         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
21632         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
21633         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
21635 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
21637         * timezone/checktab.awk: Removed.
21639 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
21641         * manual/math.texi (Errors in Math Functions): Document relaxed
21642         accuracy goals for IBM long double.
21643         * math/libm-test.inc (test_exceptions): Always allow spurious
21644         "underflow" and "inexact" exceptions for IBM long double.
21646 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
21648         [BZ #19762]
21649         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
21650         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
21651         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
21652         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
21653         (bit_arch_*): This for feature array.
21654         (bit_*): Renamed to ...
21655         (bit_cpu_*): This for cpu array.
21656         (index_*): Renamed to ...
21657         (index_arch_*): This for feature array.
21658         (index_*): Renamed to ...
21659         (index_cpu_*): This for cpu array.
21660         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
21661         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
21662         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
21663         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
21664         bit_##name with index_cpu_##name and bit_cpu_##name.
21665         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
21666         bit_##name with index_arch_##name and bit_arch_##name.
21668 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
21670         [BZ #19792]
21671         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
21672         Terminate FDE before return label.
21674 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
21676         [BZ #19790]
21677         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
21678         (rintl): Define as macro.
21679         [USE_AS_NEARBYINTL] (__rintl): Likewise.
21680         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
21681         of fesetround.  Ensure results are evaluated before end of scope.
21682         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
21683         USE_AS_NEARBYINTL and include s_rintl.c.
21684         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
21685         Disable exception traps in new environment.
21686         (libc_feholdsetround_ppc_ctx): Likewise.
21688 2016-03-08  Roland McGrath  <roland@hack.frob.com>
21690         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
21691         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
21692         (tst_audit10_aux) [__AVX512F__]: ... here.
21694 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
21696         * include/sys/auxv.h: New file.
21698 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
21700         [BZ #19759]
21701         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
21703 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
21705         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
21706         operand modifier.
21707         (feclearexcept): Likewise.
21709 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
21711         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
21712         to reflect the entire 32-bit HWCAP.
21713         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
21714         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
21716 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
21718         [BZ #19783]
21719         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
21720         $(test-via-rtld-prefix).
21721         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
21723 2016-03-08  Florian Weimer  <fweimer@redhat.com>
21725         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
21726         union wait.  Report any non-zero exit status as error.
21728 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21730         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
21731         configured with --enable-hardcoded-path-in-tests.
21733 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
21735         [BZ #19677]
21736         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
21737         (__ieee754_remainderl): Put zero low parts in canonical form.
21738         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
21739         file.  Based on
21740         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
21741         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
21742         with wrapper round test-fmodrem-ldbl-128ibm.c.
21743         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
21744         file.
21745         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
21746         Likewise.
21747         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
21748         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
21750 2016-03-07  Florian Weimer  <fweimer@redhat.com>
21752         [BZ #19610]
21753         * elf/ldconfig.c (opt_link): Update comment.
21754         (options): Update help string for option -X.
21755         (search_dir): Unlink stale symbolic link only if updating symbolic
21756         links.
21757         * elf/tst-ldconfig-X.sh: New file.
21758         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
21759         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
21761 2016-03-07  Andreas Schwab  <schwab@suse.de>
21763         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
21764         needed arguments.
21766 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
21768         [BZ #15333]
21769         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
21770         to lstat64.
21772 2016-03-07  Florian Weimer  <fweimer@redhat.com>
21774         * libio/filedoalloc.c (isatty): Remove.
21775         (local_isatty): Add comment.  Call __isatty directly.
21776         (_IO_file_doallocate): Update comment.  Assume _LIBC.
21777         * libio/wfiledoalloc.c (isatty): Remove.
21778         (_IO_wfile_doallocate): Update comment.
21780 2016-03-07  Florian Weimer  <fweimer@redhat.com>
21782         [BZ #19269]
21783         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
21784         tst-audit4-aux.o.
21785         (tst-audit10): Depend on tst-audit10-aux.o.
21786         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
21787         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
21788         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
21789         instead of inline AVX code.
21790         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
21791         instead of inline AVX512 code.
21792         * sysdeps/x86_64/tst-audit4-aux.c: New file
21793         * sysdeps/x86_64/tst-audit10-aux.c: New file
21795         [BZ #19648]
21796         * test-skeleton.c (main): Do not set RLIMIT_DATA.
21798 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21800         [BZ #14750]
21801         [BZ #10354]
21802         [BZ #18433]
21803         * include/sched.h (__clone): Add hidden prototype.
21804         (__clone2): Likewise.
21805         * include/unistd.h (__dup): Likewise.
21806         * posix/Makefile (tests): Add tst-spawn2.
21807         * posix/tst-spawn2.c: New file.
21808         * sysdeps/posix/dup.c (__dup): Add hidden definition.
21809         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
21810         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
21811         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
21812         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
21813         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
21814         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
21815         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
21816         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
21817         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
21818         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
21819         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
21820         Likewise.
21821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
21822         Likewise.
21823         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
21824         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
21825         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
21826         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
21827         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
21828         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
21829         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
21830         * sysdeps/unix/sysv/linux/nptl-signals.h
21831         (____nptl_is_internal_signal): New function.
21832         * sysdeps/unix/sysv/linux/spawni.c: New file.
21834         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
21835         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
21836         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
21837         * posix/tst-execvp2.c (do_test): Likewise.
21838         * posix/tst-execvp3.c (do_test): Likewise.
21839         * posix/tst-execvp4.c (do_test): Likewise.
21840         * posix/tst-execvpe1.c: New file.
21841         * posix/tst-execvpe2.c: Likewise.
21842         * posix/tst-execvpe3.c: Likewise.
21843         * posix/tst-execvpe4.c: Likewise.
21844         * posix/tst-execvpe5.c: Likewise.
21845         * posix/tst-execvpe6.c: Likewise.
21847         [BZ #19534]
21848         * posix/execl.c (execl): Remove dynamic memory allocation.
21849         * posix/execle.c (execle): Likewise.
21850         * posix/execlp.c (execlp): Likewise.
21852 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
21854         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
21855         Replace .text with .text.avx512.
21856         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
21857         Likewise.
21859 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
21861         * sysdeps/generic/libnsl.abilist: New file.
21862         * sysdeps/generic/libutil.abilist: New file.
21864 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
21866         [BZ #19762]
21867         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
21868         HAS_ARCH_FEATURE with Fast_Rep_String.
21869         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
21870         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
21871         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
21872         Likewise.
21873         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
21874         Likewise.
21875         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
21876         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
21877         Likewise.
21878         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
21879         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
21880         Likewise.
21882 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
21884         [BZ #19745]
21885         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
21886         with *%rax in call.
21888 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
21890         [BZ #19745]
21891         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
21892         with *__libc_start_main@GOTPCREL(%rip) in call.
21894 2016-03-04  Roland McGrath  <roland@hack.frob.com>
21896         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
21897         inside conditional for nonempty $(CXX).
21899         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
21900         nonempty.
21902         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
21903         to test for empty $(CXX) rather than $(CXX) of "no".
21905 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
21907         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
21909 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
21910             H.J. Lu  <hongjiu.lu@intel.com>
21912         [BZ #18880]
21913         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
21914         instead of Slow_BSF, and also check for Fast_Copy_Backward to
21915         enable __memcpy_ssse3_back.
21917 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
21919         [BZ #19758]
21920         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
21921         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
21923 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
21925         [BZ #19490]
21926         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
21927         (__fentry__): Likewise.
21929 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
21931         * gmon/Makefile (noprof): Add $(sysdep_noprof).
21932         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
21934 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
21936         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
21937         __mcount_internal directly.
21938         (C_LABEL(__fentry__)): Likewise.
21939         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
21940         directly.
21942 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
21944         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
21945         (__start_context): Call __setcontext directly.
21947 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
21949         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21950         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
21951         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
21952         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
21953         * sysdeps/unix/sysv/linux/arm/kernel-features.h
21954         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
21955         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
21956         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
21957         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
21958         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
21959         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
21960         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
21961         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21962         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
21963         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
21964         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21965         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
21966         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21967         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
21968         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
21969         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
21970         * sysdeps/unix/sysv/linux/mips/kernel-features.h
21971         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
21972         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
21973         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
21974         Remove conditional code.
21975         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
21976         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
21977         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
21978         * sysdeps/unix/sysv/linux/sh/kernel-features.h
21979         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
21980         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
21981         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
21982         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
21983         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
21984         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
21985         * sysdeps/unix/sysv/linux/tile/kernel-features.h
21986         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
21988 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
21990         * NEWS (2.23): Fix typo in bug 19048 text.
21992 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
21994         [BZ #14259]
21995         * Makeconfig: Rename msgcatdir to localedir.
21996         Rename inst_msgcatdir to inst_localedir.
21997         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
21998         * config.make.in: Add localedir.
21999         * elf/Makefile ($(objpfx)sotruss): Use localedir.
22000         (ldd-rewrite): Likewise.
22001         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
22002         (install-others): Use inst_localedir.
22003         (CPPFLAGS): Use localedir.
22004         * locale/Makefile (locale-CPPFLAGS): Likewise.
22005         * po/Makefile (mo-installed): Use inst_localedir.
22007         [BZ #19575]
22008         * localedata/charmaps/GB18030: Update comments regarding PAU to
22009         non-PUA mappings.
22011 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
22013         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
22014         test for header.
22015         * sysdeps/unix/sysv/linux/configure: Regenerated.
22016         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
22017         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
22018         Remove conditional code.
22019         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
22021         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
22022         Define to 3.2.0.
22023         (arch_minimum_kernel): Likewise.
22024         * sysdeps/unix/sysv/linux/configure: Regenerated.
22025         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
22026         Define to 2.6.32.
22027         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
22028         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
22029         (arch_minimum_kernel): Define to 2.6.32.
22030         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
22031         * README: Document Linux 3.2 requirement.
22032         * manual/install.texi (Linux): Document Linux 3.2 headers
22033         requirement.
22034         * INSTALL: Regenerated.
22036 2016-02-24  Andreas Schwab  <schwab@suse.de>
22038         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
22039         if !NO_LONG_DOUBLE.
22041 2016-02-22  Roland McGrath  <roland@hack.frob.com>
22043         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
22044         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
22046 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
22048         [BZ #19512]
22049         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
22051 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
22053         * posix/tst-dir.c: Include libc-internal.h.
22055 2016-02-20  Florian Weimer  <fweimer@redhat.com>
22057         [BZ #19056]
22058         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
22059         * manual/filesys.texi (Reading/Closing Directory): Mention
22060         deprecaion.
22061         * posix/tst-dir.c (main): Disable deprecation warning in test.
22063 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
22065         [BZ #19679]
22066         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
22067         Renamed to ...
22068         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
22069         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
22070         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
22071         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
22072         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
22073         * sysdeps/x86_64/dl-trampoline.h
22074         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
22075         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
22077 2016-02-19  Mark Wielaard  <mjw@redhat.com>
22079         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
22081 2016-02-19  Mark Wielaard  <mjw@redhat.com>
22083         * elf/elf.h (R_386_GOT32X): New.
22084         (R_386_NUM): Update.
22085         (R_X86_64_GOTPCRELX: New.
22086         (R_X86_64_REX_GOTPCRELX): New.
22087         (R_X86_64_NUM): Update.
22089 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
22091         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
22093 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
22095         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
22096         assign attr->stackaddr to it, and adjust it down when
22097         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
22098         [_STACK_GROWS_UP]: Delete assert.
22099         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
22100         Implement stack grows up logic.
22101         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
22102         stack grows up logic.
22104 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22106         * NEWS: Update with 2.24 template.
22108 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
22110         [BZ #19678]
22111         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
22112         Ensure +0.0 is returned when taking the next value below the least
22113         positive value.
22115 2016-02-19  Florian Weimer  <fweimer@redhat.com>
22117         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
22118         available.  Do not define NO_THREADS.
22119         * malloc/malloc.c: Do not check NO_THREADS.
22120         * malloc/arena.c: Likewise.
22122 2016-02-19  Florian Weimer  <fweimer@redhat.com>
22124         * malloc/malloc.c (__libc_mallinfo): Update comment.
22125         (struct malloc_par): Remove max_total_mem member, it was always 0.
22126         (int_mallinfo): Store 0 into usmblks (no functional change).
22127         * malloc/hooks.c (struct malloc_state): Document that
22128         max_total_mem is always 0.
22129         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
22130         always 0.
22131         * manual/memory.texi (Statistics of Malloc): Likewise.
22133 2016-02-19  Florian Weimer  <fweimer@redhat.com>
22135         * malloc/malloc.c (sysmalloc): Do not update arena_max.
22136         * malloc/arena.c (arena_max): Remove.
22137         (heap_trim, _int_new_arena): Do not update arena_max.
22139 2016-02-19  Florian Weimer  <fweimer@redhat.com>
22141         * resolv/res_init.c (res_ninit): Update comment.
22143 2016-02-19  Florian Weimer  <fweimer@redhat.com>
22145         [BZ #19505]
22146         * posix/spawn_int.h: Add headers and include guard.
22147         (__spawn_valid_fd): New function.
22148         * posix/spawn_faction_addopen.c
22149         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
22150         * posix/spawn_faction_addclose.c
22151         (posix_spawn_file_actions_addclose): Likewise.
22152         * posix/spawn_faction_adddup2.c
22153         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
22154         second file descriptor.
22155         * posix/spawn_valid_fd.c: New file.
22156         * posix/tst-posix_spawn-fd.c: New file.
22157         * posix/Makefile (routines): Add spawn_valid_fd.
22158         (tests): Add tst-posix_spawn-fd.
22160 2016-02-19  Florian Weimer  <fweimer@redhat.com>
22162         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
22163         (do_test): Limit the number of arenas, so that we can use fewer
22164         outer threads.  Limit timeout to 3 seconds, in preparation for a
22165         larger TIMEOUT value.
22167 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
22169         [BZ #19674]
22170         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
22171         sign in overflowing and underflowing results when overflow or
22172         underflow is detected early.  Include sign in result before rather
22173         than after scaling.
22175         [BZ #19603]
22176         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
22177         (__ieee754_remainderl): Adjust sign of integer version of low part
22178         when taking absolute value of high part.
22179         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
22180         * math/libm-test.inc (remainder_test_data): Add another test.
22181         (remquo_test_data): Likewise.
22183 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
22185         [BZ #19602]
22186         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
22187         equal high parts and both low parts zero specially.
22188         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
22189         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
22190         Add test-fmodl-ldbl-128ibm.
22192         [BZ #19595]
22193         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
22194         common logic for all cases of shifting subnormal results.  Do not
22195         insert sign bit in shifted mantissa.  Always pass -1023 as biased
22196         exponent to ldbl_insert_mantissa in subnormal case.
22198         [BZ #19594]
22199         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
22200         on high and low parts then adjust result and use
22201         ldbl_canonicalize_int if needed.
22203         [BZ #19593]
22204         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
22205         on high part and __floor or __ceil on low part then use
22206         ldbl_canonicalize_int if needed.
22208         [BZ #19592]
22209         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
22210         high and low parts then use ldbl_canonicalize_int if needed.
22212         [BZ #17899]
22213         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
22214         New function.
22215         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
22216         on high and low parts then use ldbl_canonicalize_int if needed.
22218 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22220         * configure: Regenerated.
22222         * po/libc.pot: Regenerated.
22224         * po/be.po: Updated translation.
22225         * po/bg.po: Likewise.
22226         * po/ca.po: Likewise.
22227         * po/cs.po: Likewise.
22228         * po/da.po: Likewise.
22229         * po/el.po: Likewise.
22230         * po/eo.po: Likewise.
22231         * po/es.po: Likewise.
22232         * po/fi.po: Likewise.
22233         * po/fr.po: Likewise.
22234         * po/gl.po: Likewise.
22235         * po/hr.po: Likewise.
22236         * po/hu.po: Likewise.
22237         * po/ia.po: Likewise.
22238         * po/id.po: Likewise.
22239         * po/it.po: Likewise.
22240         * po/ja.po: Likewise.
22241         * po/lt.po: Likewise.
22242         * po/nb.po: Likewise.
22243         * po/nl.po: Likewise.
22244         * po/pt_BR.po: Likewise.
22245         * po/rw.po: Likewise.
22246         * po/sk.po: Likewise.
22247         * po/sl.po: Likewise.
22248         * po/sv.po: Likewise.
22249         * po/tr.po: Likewise.
22250         * po/zh_CN.po: Likewise.
22251         * po/zh_TW.po: Likewise.
22253         * version.h (RELEAES): Set to "development".
22254         (VERSION): Set to 2.23.90.
22256         * version.h (RELEASE): Set to "stable".
22257         (VERSION): Set to 2.23.
22258         * include/feature.h (__GLIBC_MINOR__): Set to 23.
22260         * NEWS: Updated fixed bugs.
22262 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
22263             Wilco Dijkstra  <wdijkstr@arm.com>
22265         [BZ #19462]
22266         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
22267         (_STRING_INLINE_unaligned): This.
22268         * include/string.h: Include <string_private.h>.
22269         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
22270         _STRING_INLINE_unaligned.
22271         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
22272         (_STRING_INLINE_unaligned): New.
22273         * sysdeps/aarch64/string_private.h: New file.
22274         * sysdeps/generic/string_private.h: Likewise.
22275         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
22276         * sysdeps/s390/string_private.h: Likewise.
22277         * sysdeps/x86/string_private.h: Likewise.
22278         * sysdeps/m68k/m680x0/m68020/bits/string.h
22279         (_STRING_ARCH_unaligned): Renamed to ...
22280         (_STRING_INLINE_unaligned): This.
22281         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
22282         to ...
22283         (_STRING_INLINE_unaligned): This.
22284         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
22285         to ...
22286         (_STRING_INLINE_unaligned): This.
22287         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
22288         to ...
22289         (_STRING_INLINE_unaligned): This.
22291 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
22292             H.J. Lu  <hongjiu.lu@intel.com>
22294         [BZ #19590]
22295         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
22296         relocation.
22298 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
22300         [BZ #18665]
22301         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
22302         *herrno_p.
22303         (gaih_getanswer): Document functional behviour. Return tryagain
22304         if any result is tryagain.
22305         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
22306         when freed.
22307         * resolv/res_send.c: Add copyright text.
22308         (__libc_res_nsend): Document that MAXPACKET is expected.
22309         (send_vc): Document. Remove buffer reuse.
22310         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
22311         size of the buffer. Add Dprint for truncated UDP buffer.
22313 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
22315         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
22316         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
22317         * INSTALL: Regenerate.
22319 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
22320             Jonathan Wakely  <jwakely@redhat.com>
22321             Carlos O'Donell  <carlos@redhat.com>
22323         [BZ 19439]
22324         * math/Makefile (tests): Add test-math-isinff.
22325         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
22326         * math/bits/mathcalls.h [__USE_MISC]: Use
22327         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
22328         functions not in C++11 and which don't conflict e.g. isinff,
22329         isinfl etc.
22330         * math/test-math-isinff.cc: New file.
22332 2016-02-12  Florian Weimer  <fweimer@redhat.com>
22334         * misc/bug18240.c (do_test): Set RLIMIT_AS.
22336 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22338         [BZ #19529]
22339         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
22341 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22343         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
22345 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
22347         [BZ #19550]
22348         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
22349         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
22350         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
22351         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
22352         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
22353         New syscall entry.
22354         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
22355         New syscall entry.
22356         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
22357         syscall entry.
22359 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
22361         [BZ #18240]
22362         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
22363         unsigned int wraparound.
22365 2016-01-27  Florian Weimer  <fweimer@redhat.com>
22367         [BZ #18240]
22368         * misc/bug18240.c: New test.
22369         * misc/Makefile (tests): Add it.
22371 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
22372             Joseph Myers  <joseph@codesourcery.com>
22374         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
22375         load in branch delay slot when less than a word of input left.
22377 2016-01-27  Andreas Schwab  <schwab@suse.de>
22379         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
22380         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
22381         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
22382         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
22384 2016-01-26  David S. Miller  <davem@davemloft.net>
22386         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
22388 2016-01-25  David S. Miller  <davem@davemloft.net>
22390         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
22391         __sqrtl_finite.
22392         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
22393         instead using versioned_symbol.
22394         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
22395         of entries.
22397         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
22398         __sqrtl_finite to GLIBC_2.23
22400 2016-01-25  Ricchard Henderson  <rth@redhat.com>
22402         * sysdeps/alpha/fpu/libm-test-ulps: Update.
22404 2016-01-25  Andreas Schwab  <schwab@suse.de>
22406         [BZ #17514]
22407         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
22408         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
22409         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
22410         * nptl/tst-mutex-errorcheck.c: New file.
22412 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
22414         [BZ #18560]
22415         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
22416         (IPCOP_semop): Likewise.
22417         (IPCOP_semget): Likewise.
22418         (IPCOP_semctl): Likewise.
22419         (IPCOP_msgsnd): Likewise.
22420         (IPCOP_msgrcv): Likewise.
22421         (IPCOP_msgget): Likewise.
22422         (IPCOP_msgctl): Likewise.
22423         (IPCOP_shmat): Likewise.
22424         (IPCOP_shmdt): Likewise.
22425         (IPCOP_shmget): Likewise.
22426         (IPCOP_shmctl): Likewise.
22428 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
22430         * string/tst-endian.c: Include <libc-internal.h>.
22431         (do_test): Ignore tautological-compare warnings around
22432         "htobeXX (beXXtoh (i)) != i" and
22433         "htoleXX (leXXtoh (i)) != i" if-statements.
22435 2016-01-24  David S. Miller  <davem@davemloft.net>
22437         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
22438         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
22439         alias.
22440         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
22441         __sqrtl_finite.
22443         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22445 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
22447         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
22448         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
22449         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
22451 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
22453         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
22454         (thread_func): Use new function to simplify barrier check.
22455         (do_test): Use new function to simplify checking barrier exit
22456         code, and actually join the child thread.
22458 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
22460         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
22461         semicolon.
22462         (__libc_tend): Likewise.
22463         (__libc_tabort): Likewise.
22465 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
22467         * sysdeps/nios2/libm-test-ulps: Update.
22468         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
22469         (__gtsf2): Likewise.
22470         (__unorddf2): Likewise.
22471         (__unordsf2): Likewise.
22472         (__ledf2): Likewise.
22474 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
22476         * nis/nis_table.c (__follow_path): Disable diagnostic for
22477         uninitialized variable that is a false positive for gcc 4.7.
22478         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
22480 2016-01-20  Roland McGrath  <roland@hack.frob.com>
22482         * sysdeps/nacl/lowlevellock-futex.h
22483         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
22484         Always evaluate PRIVATE argument.
22486 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
22488         [BZ #19490]
22489         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
22490         (pthread_cond_broadcast): Use ENTRY/END
22491         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
22492         (pthread_cond_signal): Likewise.
22493         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
22494         Likewise.
22495         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
22496         Likewise.
22497         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
22498         Likewise.
22500 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
22502         * sysdeps/ieee754/dbl-64/s_finite.c
22503         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
22504         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
22505         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
22506         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
22507         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
22509         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
22510         (__gtsf2): Add as optional for libc.so.
22511         (__unordsf2): Likewise.
22512         (__signbit): Remove for libc.so.
22513         (__signbitl): Likewise.
22515 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
22517         * iconvdata/bug-iconv11.c (test_ibm93x):
22518         Use %zu printf format specifier for size_t argument.
22520 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
22522         * math/gen-libm-test.pl (parse_ulps): Do not reduce
22523         already-recorded ulps.
22524         * sysdeps/arm/libm-test-ulps: Regenerated.
22525         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
22526         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
22527         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
22529 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
22530             Paul Pluzhnikov  <ppluzhnikov@google.com>
22532         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
22533         assembler not supporting AVX-512.
22535 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
22537         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
22539 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
22541         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
22542         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
22544         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
22546         * sysdeps/arm/libm-test-ulps: Regenerated.
22548 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
22550         [BZ #19451]
22551         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
22553 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
22555         [BZ #19486]
22556         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
22557         * sysdeps/generic/fix-fp-int-convert-overflow.h
22558         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
22559         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
22560         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
22561         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
22562         Likewise.
22563         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
22564         Avoid conversions to long int where inexact exceptions
22565         could be raised.
22566         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
22567         Likewise.
22568         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
22569         Avoid conversions to long long int where inexact exceptions
22570         could be raised.
22571         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
22572         Likewise.
22574 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
22576         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
22577         * configure: Regenerated.
22579 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
22581         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
22583 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
22585         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
22586         outside of comment.
22588 2016-01-15  Torvald Riegel  <triegel@redhat.com>
22590         * nptl/tst-barrier1.c: Add description on first line.
22591         * nptl/tst-barrier2.c: Likewise.
22592         * nptl/tst-barrier3.c: Likewise.
22593         * nptl/tst-barrier4.c: Likewise.
22594         * nptl/tst-barrier5.c: Likewise.
22596 2016-01-15  Torvald Riegel  <triegel@redhat.com>
22598         [BZ #18868]
22599         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
22601 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
22603         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
22604         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
22605         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
22606         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
22607         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
22608         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
22609         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
22610         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
22611         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
22612         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
22613         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
22615 2016-01-15  Torvald Riegel  <triegel@redhat.com>
22617         [BZ #13065]
22618         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
22619         new implementation.
22620         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
22621         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
22622         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
22623         (BARRIER_IN_THRESHOLD): New macro.
22624         * nptl/pthread_barrierattr_setpshared.c
22625         (pthread_barrierattr_setpshared): Clean up.
22626         * nptl/tst-barrier4.c: Correct comment.
22627         * nptl/tst-barrier5.c: New file.
22628         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
22629         (gen-as-const-headers): Remove lowlevelbarrier.sym.
22630         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
22631         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
22632         * nptl/lowlevelbarrier.sym: Remove.
22633         * nptl/DESIGN-barrier.txt: Remove.
22634         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
22635         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
22636         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
22637         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
22638         error.
22639         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
22640         implementation.
22642 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
22644         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
22645         (do_child): Mask SIGRTMIN while thr is running.
22647 2016-01-15  Martin Sebor  <msebor@redhat.com>
22649         [BZ #19432]
22650         * iconvdata/Makefile: Add bug-iconv11.
22651         * iconvdata/bug-iconv11.c: New test.
22652         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
22653         * iconvdata/ibm933.c: Same.
22654         * iconvdata/ibm935.c: Same.
22655         * iconvdata/ibm937.c: Same.
22656         * iconvdata/ibm939.c: Same.
22658 2016-01-15  Martin Sebor  <msebor@redhat.com>
22660         [BZ #19443]
22661         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
22662         [DEBUG] (_ufc_set_bits): Declare used.
22663         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
22664         [DEBUG] (print_all): Declare used.
22665         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
22666         operands of the ternary ?: expression to target type.
22667         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
22668         calling the undeclared abort.
22669         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
22671 2016-01-15  Martin Sebor  <msebor@redhat.com>
22673         [BZ #18755]
22674         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
22675         warnings.
22676         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
22677         (__gai_create_helper_thread): Same.
22678         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
22679         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
22680         to suppress -Wmaybe-uninitialized warnings.
22682 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
22684         [BZ #19465]
22685         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
22686         inside if.
22687         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22688         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22689         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22691 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
22693         [BZ #19466]
22694         * time/tst-mktime2.c (time_t_max): Removed.
22695         (time_t_min): Likewise.
22696         (TYPE_SIGNED): New.
22697         (TYPE_MINIMUM): Likewise.
22698         (TYPE_MAXIMUM): Likewise.
22699         (TIME_T_MIN): Likewise.
22700         (TIME_T_MAX): Likewise.
22701         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
22702         and TIME_T_MIN.
22703         (do_test): Likewise.
22705 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
22707         [BZ #19467]
22708         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
22709         index_Fast_Unaligned_Load flag for Excavator family CPUs.
22711 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
22713         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
22715 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
22717         * benchtests/Makefile (PYTHON): Define.
22718         (bench-func): Use $(PYTHON) to run python scripts.
22719         ($(objpfx)bench-%.c): Likewise.
22721 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
22723         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
22724         leading slash when `file_name' is "/".
22726 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
22728         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
22729         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
22730         Likewise.
22731         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
22732         Likewise.
22733         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
22734         Likewise.
22735         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
22736         enum constant and macro.
22737         (PTRACE_SETSIGMASK): Likewise.
22738         (PTRACE_SECCOMP_GET_FILTER): Likewise.
22739         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
22740         (PTRACE_GETSIGMASK): Likewise.
22741         (PTRACE_SETSIGMASK): Likewise.
22742         (PTRACE_SECCOMP_GET_FILTER): Likewise.
22743         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
22744         Likewise.
22745         (PTRACE_SETSIGMASK): Likewise.
22746         (PTRACE_SECCOMP_GET_FILTER): Likewise.
22747         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
22748         (PTRACE_GETSIGMASK): Likewise.
22749         (PTRACE_SETSIGMASK): Likewise.
22750         (PTRACE_SECCOMP_GET_FILTER): Likewise.
22751         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
22752         Likewise.
22753         (PTRACE_SETSIGMASK): Likewise.
22754         (PTRACE_SECCOMP_GET_FILTER): Likewise.
22755         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
22756         Likewise.
22757         (PTRACE_SETSIGMASK): Likewise.
22758         (PTRACE_SECCOMP_GET_FILTER): Likewise.
22759         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
22760         Likewise.
22761         (PTRACE_SETSIGMASK): Likewise.
22762         (PTRACE_SECCOMP_GET_FILTER): Likewise.
22764 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
22765             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22767         [BZ #19439]
22768         * math/bits/mathcalls.h
22769         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
22770         prototype.
22771         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
22773 2016-01-11  Andreas Schwab  <schwab@suse.de>
22775         [BZ #19253]
22776         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
22777         cache when TZDEFRULES was used.
22778         * time/tst-tzname.c: New file.
22779         * time/Makefile (test): Add tst-tzname.
22780         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
22781         * timezone/Makefile (test-zones): Add $(posixrules-file).
22782         ($(testdata)/$(posixrules-file)): New rule.
22784 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
22786         Fix doc quoting problems with Texinfo 5
22787         Without this change, in the info file output, Texinfo 5 quotes code
22788         in text with undirected single quotes 'like this' and generates
22789         code examples that with many PDF readers cannot be cut out of PDFs
22790         and pasted into code.
22791         * manual/libc.texinfo: Configure the libc manual like the GNU
22792         Emacs manual, by using @documentencoding and setting
22793         txicodequoteundirected and txicodequotebacktick.  This way,
22794         Texinfo 5 quotes code in text with directed single quotes ‘like
22795         this’ and produces examples that can be cut out of PDFs.  This
22796         change causes Texinfo 5 to generate info files that contain UTF-8
22797         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
22798         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
22800 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
22802         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
22803         __libc_tabort, __libc_tend): New wrappers that enforce compiler
22804         barriers to their respective compiler built-ins.
22805         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
22806         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
22807         * sysdeps/powerpc/sysdep.h: Likewise.
22808         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
22809         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
22810         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
22812 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
22814         * scripts/config.guess: Revert previous shebang change.
22815         * scripts/config.sub: Likewise.
22816         * scripts/mkinstalldirs: Likewise.
22818 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
22820         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
22821         PPC_FEATURE2_HAS_IEEE128.
22822         * sysdeps/powerpc/dl-procinfo.c:
22823         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
22825 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
22827         [BZ #19415]
22828         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
22829         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
22830         (_dl_lookup_address): Rewrite using function resolver trampoline.
22831         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
22832         two bits in address.
22834 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
22836         * longlong.h: Change !__SHMEDIA__ to
22837         (!defined (__SHMEDIA__) || !__SHMEDIA__).
22838         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
22840 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
22841             Joseph Myers  <joseph@codesourcery.com>
22842             Mark Shinwell  <shinwell@codesourcery.com>
22843             Andrew Stubbs  <ams@codesourcery.com>
22844             Rich Felker <dalias@libc.org>
22846         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
22848 2016-01-07  Richard Henderson  <rth@redhat.com>
22850         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
22852 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
22854         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
22855         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
22856         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
22857         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
22858         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
22860 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
22861             Joseph Myers  <joseph@codesourcery.com>
22863         * timezone/private.h: Update from tzcode 2015g.
22864         * timezone/tzfile.h: Likewise.
22865         * timezone/tzselect.ksh: Likewise.
22866         * timezone/zdump.c: Likewise.
22867         * timezone/zic.c: Likewise.
22868         * timezone/ialloc.c: Remove file.
22869         * timezone/scheck.c: Likewise.
22870         * timezone/Makefile (extra-objs): Remove variable.
22871         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
22872         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
22873         -Wno-maybe-uninitialized.
22874         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
22875         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
22876         (CFLAGS-ialloc.c): Remove variable.
22877         (CFLAGS-scheck.c): Likewise.
22878         * timezone/README: Update list of files from tzcode.
22880 2016-01-07  Khem Raj  <raj.khem@gmail.com>
22882         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
22883         instead of __fxprintf when _LIBC is undefined.
22885 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
22887         * catgets/test-gencat.sh: Remove space after shebang.
22888         * conform/GlibcConform.pm: Likewise.
22889         * conform/check-header-lists.sh: Likewise.
22890         * conform/conformtest.pl: Likewise.
22891         * conform/linknamespace.pl: Likewise.
22892         * conform/list-header-symbols.pl: Likewise.
22893         * debug/catchsegv.sh: Likewise.
22894         * elf/genrtldtbl.awk: Likewise.
22895         * elf/tst-pathopt.sh: Likewise.
22896         * elf/tst-rtld-load-self.sh: Likewise.
22897         * grp/tst_fgetgrent.sh: Likewise.
22898         * iconvdata/gen-8bit-gap-1.sh: Likewise.
22899         * iconvdata/gen-8bit-gap.sh: Likewise.
22900         * iconvdata/gen-8bit.sh: Likewise.
22901         * iconvdata/run-iconv-test.sh: Likewise.
22902         * intl/tst-gettext.sh: Likewise.
22903         * intl/tst-gettext2.sh: Likewise.
22904         * intl/tst-gettext4.sh: Likewise.
22905         * intl/tst-gettext6.sh: Likewise.
22906         * intl/tst-translit.sh: Likewise.
22907         * io/ftwtest-sh: Likewise.
22908         * libio/test-freopen.sh: Likewise.
22909         * locale/gen-translit.pl: Likewise.
22910         * malloc/tst-mtrace.sh: Likewise.
22911         * manual/check-safety.sh: Likewise.
22912         * manual/libc-texinfo.sh: Likewise.
22913         * manual/tsort.awk: Likewise.
22914         * manual/xtract-typefun.awk: Likewise.
22915         * nptl/tst-cancel-wrappers.sh: Likewise.
22916         * nptl/tst-tls6.sh: Likewise.
22917         * posix/globtest.sh: Likewise.
22918         * posix/tst-getconf.sh: Likewise.
22919         * posix/wordexp-tst.sh: Likewise.
22920         * scripts/check-c++-types.sh: Likewise.
22921         * scripts/check-local-headers.sh: Likewise.
22922         * scripts/config.guess: Likewise.
22923         * scripts/config.sub: Likewise.
22924         * scripts/cpp: Likewise.
22925         * scripts/cross-test-ssh.sh: Likewise.
22926         * scripts/documented.sh: Likewise.
22927         * scripts/evaluate-test.sh: Likewise.
22928         * scripts/gen-libc-abis: Likewise.
22929         * scripts/gen-sorted.awk: Likewise.
22930         * scripts/list-fixed-bugs.py: Likewise.
22931         * scripts/merge-test-results.sh: Likewise.
22932         * scripts/mkinstalldirs: Likewise.
22933         * scripts/rellns-sh: Likewise.
22934         * scripts/test-installation.pl: Likewise.
22935         * scripts/update-copyrights: Likewise.
22936         * stdio-common/tst-printf.sh: Likewise.
22937         * stdio-common/tst-unbputc.sh: Likewise.
22938         * stdlib/tst-fmtmsg.sh: Likewise.
22939         * stdlib/tst-setcontext3.sh: Likewise.
22940         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
22941         * sysdeps/unix/make-syscalls.sh: Likewise.
22943 2016-01-06  John David Anglin  <dave.anglin@bell.net>
22945         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
22946         asm stw with atomic_exchange_rel.  Add explanatory comment.
22947         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
22948         Likewise.
22950 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
22952         [BZ #19122]
22953         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
22954         * sysdeps/generic/dl-unistd.h: New file.
22955         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
22957 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
22959          [BZ #19122]
22960          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
22961          * sysdeps/generic/dl-mman.h: New file.
22962          * sysdeps/mach/hurd/dl-mman.h: Likewise.
22964 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
22966         * manual/texinfo.tex: Update to version 2016-01-04.21 with
22967         trailing whitespace removed.
22968         * scripts/config.guess: Update to version 2016-01-01.
22969         * scripts/config.sub: Update to version 2016-01-01.
22970         * scripts/move-if-change: Update from gnulib.
22972 2016-01-04  Anton Blanchard  <anton@samba.org>
22974         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
22975         for array indices.
22976         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
22978 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
22980         * NEWS: Update copyright dates.
22981         * catgets/gencat.c (print_version): Likewise.
22982         * csu/version.c (banner): Likewise.
22983         * debug/catchsegv.sh: Likewise.
22984         * debug/pcprofiledump.c (print_version): Likewise.
22985         * debug/xtrace.sh (do_version): Likewise.
22986         * elf/ldconfig.c (print_version): Likewise.
22987         * elf/ldd.bash.in: Likewise.
22988         * elf/pldd.c (print_version): Likewise.
22989         * elf/sotruss.sh: Likewise.
22990         * elf/sprof.c (print_version): Likewise.
22991         * iconv/iconv_prog.c (print_version): Likewise.
22992         * iconv/iconvconfig.c (print_version): Likewise.
22993         * locale/programs/locale.c (print_version): Likewise.
22994         * locale/programs/localedef.c (print_version): Likewise.
22995         * login/programs/pt_chown.c (print_version): Likewise.
22996         * malloc/memusage.sh (do_version): Likewise.
22997         * malloc/memusagestat.c (print_version): Likewise.
22998         * malloc/mtrace.pl: Likewise.
22999         * manual/libc.texinfo: Likewise.
23000         * nptl/version.c (banner): Likewise.
23001         * nscd/nscd.c (print_version): Likewise.
23002         * nss/getent.c (print_version): Likewise.
23003         * nss/makedb.c (print_version): Likewise.
23004         * posix/getconf.c (main): Likewise.
23005         * scripts/test-installation.pl: Likewise.
23006         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
23008         * All files with FSF copyright notices: Update copyright dates
23009         using scripts/update-copyrights.
23010         * intl/plural.c: Regenerated.
23011         * locale/programs/charmap-kw.h: Likewise.
23012         * locale/programs/locfile-kw.h: Likewise.
23014 2016-01-02  Helge Deller  <deller@gmx.de>
23016         [BZ #19285]
23017         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
23018         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
23019         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
23020         (MADV_xxK_PAGES): Remove.
23022 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
23024         [BZ #15421]
23025         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
23026         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
23027         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
23028         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
23030 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
23032         [BZ #19408]
23033         * sysdeps/unix/sysv/linux/personality.c: New file.
23034         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
23035         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
23036         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
23037         (sysdep_routines): Add personality.
23038         (tests): Add tst-personality.
23039         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
23040         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
23041         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
23042         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
23043         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
23044         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
23045         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
23046         Likewise.
23047         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
23048         Likewise.
23049         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
23050         Likewise.
23051         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
23052         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
23053         Likewise.
23055 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
23057         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
23058         (PATH_ARM_SYSTYPE): Remove.
23059         (PATH_CPUINFO): Likewise.
23060         (IO_BASE_FOOTBRIDGE): Likewise.
23061         (IO_SHIFT_FOOTBRIDGE): Likewise.
23062         (struct platform): Likewise.
23063         (init_iosys): Remove compatibility code for 2.4 kernels.
23064         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
23066 2015-12-29  Florian Weimer  <fweimer@redhat.com>
23068         * malloc/tst-malloc-thread-fail.c: New file.
23069         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
23070         (tst-malloc-thread-fail): Link against libpthread.
23072 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
23074         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
23075         (get_parser): New function.
23076         (main): New function.
23078 2015-12-29  Rob Wu  <rob@robwu.nl>
23080         [BZ #19369]
23081         * resolv/res_init.c (__res_vinit): Reset defdname before use.
23083 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
23085         [BZ #19270]
23086         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
23088 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
23090         [BZ #15421]
23091         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
23093 2015-12-23  Torvald Riegel  <triegel@redhat.com>
23095         [BZ #13690]
23096         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
23097         after releasing it.
23098         (__lll_robust_unlock): Likewise.
23099         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
23100         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
23101         (lll_robust_unlock): Likewise.
23102         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
23103         Prevent warnings in callers.
23105 2015-12-23  Florian Weimer  <fweimer@redhat.com>
23107         * malloc/arena.c (list_lock): Update comment.
23109 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
23111         * sysdeps/powerpc/hwcapinfo.c: Export symbol
23112         __parse_hwcap_and_convert_at_platform to libc.a.
23114 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
23116         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
23117         platform and feature support for POWER9.
23118         * sysdeps/powerpc/dl-procinfo.h: Likewise.
23119         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
23120         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
23121         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
23122         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
23123         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
23124         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
23125         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
23127 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23129         Harmonize generic stdio-lock support with nptl
23131         This fixes build when _IO_funlockfile is a macro, fixes build where
23132         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
23133         stack unwind.
23135         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
23136         _IO_release_lock ): Use cleanup attribute on new
23137         _IO_acquire_lock_file variable instead of assuming that
23138         _IO_release_lock will be called.
23139         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
23140         _IO_acquire_lock_needs_exceptions_enabled.
23141         (_IO_acquire_lock_clear_flags2): New macro.
23143 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23145         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
23147 2015-12-21  Florian Weimer  <fweimer@redhat.com>
23149         [BZ #19182]
23150         * malloc/arena.c (list_lock): Document lock ordering requirements.
23151         (free_list_lock): New lock.
23152         (ptmalloc_lock_all): Comment on free_list_lock.
23153         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
23154         (detach_arena): Update comment.  free_list_lock is now needed.
23155         (_int_new_arena): Use free_list_lock around detach_arena call.
23156         Acquire arena lock after list_lock.  Add comment, including FIXME
23157         about incorrect synchronization.
23158         (get_free_list): Switch to free_list_lock.
23159         (reused_arena): Acquire free_list_lock around detach_arena call
23160         and attached threads counter update.  Add two FIXMEs about
23161         incorrect synchronization.
23162         (arena_thread_freeres): Switch to free_list_lock.
23163         * malloc/malloc.c (struct malloc_state): Update comments to
23164         mention free_list_lock.
23166 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
23168         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
23169         Remove functions.
23170         (sloww, sloww1): Accept argument to offset quadrant.
23171         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
23172         quadrant.
23173         (__sin, __cos): Consolidate common code into new functions.
23174         (reduce_sincos_1, do_sincos_1): New functions.
23175         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
23177         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
23178         code to new functions.
23179         (reduce_sincos_2, do_sincos_2): New functions.
23180         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
23182         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
23183         common code for sincos.
23184         (__cos) [!IN_SINCOS]: Likewise.
23185         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
23186         New function.
23187         (__sincos): Use it.
23189 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
23191         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
23192         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
23193         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
23195 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
23197         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
23198         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
23199         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
23200         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
23201         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23202         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
23203         index_Prefer_No_VZEROUPPER): New feature.
23204         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
23205         Prefer_No_VZEROUPPER for Knights Landing.
23207 015-12-18  Torvald Riegel  <triegel@redhat.com>
23209         * math/atest-exp2.c (mp_exp_m1): Remove.
23211 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23213         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
23214         syscalls.
23215         (__SYSCALL0): New macro.
23216         (__SYSCALL1): Likewise.
23217         (__SYSCALL2): Likewise.
23218         (__SYSCALL3): Likewise.
23219         (__SYSCALL4): Likewise.
23220         (__SYSCALL5): Likewise.
23221         (__SYSCALL6): Likewise.
23222         (__SYSCALL_CONCAT_X): Likewise.
23223         (__SYSCALL_CONCAT): Likewise.
23224         (__SYSCALL_DIST): Likewise.
23225         (__SYSCALL_CALL): Likewise.
23227 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
23229         [BZ #19363]
23230         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
23232 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23234         [BZ #19375]
23235         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
23236         negative subnormals.
23238 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
23240         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
23241         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
23242         (INTERNAL_SYSCALL_NCS): Use it.
23243         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
23245 2015-12-16  Florian Weimer  <fweimer@redhat.com>
23247         [BZ #19243]
23248         * malloc/arena.c (get_free_list): Remove assert and adjust
23249         reference count handling.  Add comment about reused_arena
23250         interaction.
23251         (reused_arena): Add comments abount get_free_list interaction.
23252         * malloc/tst-malloc-thread-exit.c: New file.
23253         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
23254         (tst-malloc-thread-exit): Link against libpthread.
23256 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
23258         [BZ #19367]
23259         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
23260         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
23261         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
23262         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
23263         (index_Prefer_MAP_32BIT_EXEC): Likewise.
23265 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
23267         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
23268         Silvermont optimizations for Knights Landing.
23270 2015-12-15  Andreas Schwab  <schwab@suse.de>
23272         [BZ #17197]
23273         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
23274         immediately after emitting SI.
23275         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
23276         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
23277         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
23278         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
23279         * iconvdata/bug-iconv10.c: New file.
23280         * iconvdata/Makefile (tests): Add bug-iconv10.
23281         ($(objpfx)bug-iconv10.out): New rule.
23283 2015-12-15  Florian Weimer  <fweimer@redhat.com>
23285         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
23286         aliasing violation.
23288 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
23290         [BZ #18472]
23291         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
23292         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
23293         conditionals for them.
23294         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
23295         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
23296         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
23297         sys/kdaemon.h.
23298         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
23299         compat-only syscall, obsoleted in glibc 2.23.
23300         (create_module): Likewise.
23301         (get_kernel_syms): Likewise.
23302         (query_module): Likewise.
23303         (uselib): Likewise.
23304         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
23306 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
23308         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
23309         <linux/version.h>.
23310         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
23311         conditional code.
23312         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
23313         and ioshift_name initialization.
23315 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
23317         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
23318         Fix indentation.
23320 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
23322         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
23324 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
23326         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
23328 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
23329             Jakub Wilk  <jwilk@debian.org>
23331         [BZ #19347]
23332         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
23333         to change the group of the device to the tty group.
23335 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
23337         Split large string section; add truncation advice
23338         * manual/examples/strncat.c: Remove.
23339         This example was misleading, as the code would have undefined
23340         behavior if "hello" was longer than SIZE.  Anyway, the manual
23341         shouldn't encourage strncpy+strncat for this sort of thing.
23342         * manual/string.texi (Copying Strings and Arrays): Split into
23343         three sections Copying Strings and Arrays, Concatenating Strings,
23344         and Truncating Strings, as this section was way too long.  All
23345         cross-referenced changed.  Add advice about string-truncation
23346         functions.  Remove misleading strncat example.
23348 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
23350         * manual/nss.texi (NSS Modules Interface): Document
23351         NSS_STATUS_NOTFOUND and SUCCESS.
23353 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
23355         [BZ 18568]
23356         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
23357         201505L, for Unicode 8.
23359 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
23361         * locale/C-translit.h: Regenerate.
23363 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
23365         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
23366         and U+0153.
23368 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
23370         [BZ #19351]
23371         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
23372         expanding log(1+z), compare z rather than its square with epsilon
23373         to determine when to avoid evaluating the expansion.
23375         [BZ #19350]
23376         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
23377         Increase overflow threshold.
23379         [BZ #19349]
23380         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
23381         when small.
23383         * sysdeps/unix/sysv/linux/i386/kernel-features.h
23384         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
23385         New macro.
23386         [__LINUX_KERNEL_VERSION >= 0x040300]
23387         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
23388         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
23389         Likewise.
23390         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
23391         Likewise.
23392         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
23393         Likewise.
23394         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
23395         Likewise.
23396         [__LINUX_KERNEL_VERSION >= 0x040300]
23397         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
23398         [__LINUX_KERNEL_VERSION >= 0x040300]
23399         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
23400         [__LINUX_KERNEL_VERSION >= 0x040300]
23401         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
23402         [__LINUX_KERNEL_VERSION >= 0x040300]
23403         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
23404         [__LINUX_KERNEL_VERSION >= 0x040300]
23405         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
23406         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
23407         Likewise.
23408         [__LINUX_KERNEL_VERSION >= 0x040300]
23409         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
23410         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
23411         Likewise.
23412         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
23413         Likewise.
23414         [__LINUX_KERNEL_VERSION >= 0x040300]
23415         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
23416         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
23417         Likewise.
23418         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
23419         Likewise.
23420         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
23421         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
23422         Likewise.
23423         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
23424         Likewise.
23425         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
23426         Likewise.
23427         [__LINUX_KERNEL_VERSION >= 0x040300]
23428         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
23429         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
23430         Likewise.
23431         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
23432         Likewise.
23433         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
23434         Likewise.
23435         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
23436         Likewise.
23437         [__LINUX_KERNEL_VERSION >= 0x040300]
23438         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
23439         [__LINUX_KERNEL_VERSION >= 0x040300]
23440         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
23441         [__LINUX_KERNEL_VERSION >= 0x040300]
23442         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
23443         [__LINUX_KERNEL_VERSION >= 0x040300]
23444         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
23445         [__LINUX_KERNEL_VERSION >= 0x040300]
23446         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
23447         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
23448         Likewise.
23449         [__LINUX_KERNEL_VERSION >= 0x040300]
23450         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
23451         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
23452         Likewise.
23453         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
23454         Likewise.
23455         [__LINUX_KERNEL_VERSION >= 0x040300]
23456         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
23457         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
23458         Likewise.
23459         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
23460         Likewise.
23461         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23462         (__ASSUME_SOCKET_SYSCALL): Likewise.
23463         (__ASSUME_BIND_SYSCALL): Likewise.
23464         (__ASSUME_CONNECT_SYSCALL): Likewise.
23465         (__ASSUME_LISTEN_SYSCALL): Likewise.
23466         (__ASSUME_ACCEPT_SYSCALL): Likewise.
23467         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
23468         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
23469         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
23470         (__ASSUME_SEND_SYSCALL): Likewise.
23471         (__ASSUME_SENDTO_SYSCALL): Likewise.
23472         (__ASSUME_RECV_SYSCALL): Likewise.
23473         (__ASSUME_RECVFROM_SYSCALL): Likewise.
23474         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
23475         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
23476         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
23477         (__ASSUME_SENDMSG_SYSCALL): Likewise.
23478         (__ASSUME_RECVMSG_SYSCALL): Likewise.
23479         * sysdeps/unix/sysv/linux/sh/kernel-features.h
23480         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
23481         Likewise.
23482         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
23483         Likewise.
23484         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
23485         Likewise.
23486         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
23487         Likewise.
23488         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
23489         Likewise.
23490         [__LINUX_KERNEL_VERSION >= 0x020625]
23491         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
23492         [__LINUX_KERNEL_VERSION >= 0x020625]
23493         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
23494         [__LINUX_KERNEL_VERSION >= 0x020625]
23495         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
23496         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
23497         Likewise.
23498         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
23499         Likewise.
23500         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
23501         Likewise.
23502         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
23503         Likewise.
23504         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
23505         Likewise.
23506         [__LINUX_KERNEL_VERSION >= 0x020625]
23507         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
23508         [__LINUX_KERNEL_VERSION >= 0x020625]
23509         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
23510         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
23511         Likewise.
23512         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
23513         Likewise.
23515 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
23517         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
23518         record the current if the current ABI and CPU support the FP64
23519         extension.
23520         (has-modd-spreg): Define to record the current if the current ABI and
23521         CPU support 32-bit floating point values in odd FPU registers.
23522         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
23523         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
23524         $(has-modd-spreg) equals yes.
23525         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
23526         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
23527         $(has-modd-spreg) equal yes.
23529 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
23531         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
23532         basename.
23534 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
23536         * benchtests/Makefile (bench-math): Move ffs and ffsll...
23537         (bench-string): ... here.
23538         (bench): Add bench-string.
23539         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
23540         to *-benchset to reflect what they are.
23541         (benchset): Adjust.
23543         * benchtests/sincos-inputs: Add inputs from sin-inputs and
23544         cos-inputs.
23546 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
23548         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
23549         __attribute__ ((__simd__)) for vector math function declarations.
23551 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
23553         Fix typo in strncat, wcsncat manual entries
23554         * manual/string.texi (Copying and Concatenation): Fix typos in
23555         sample implementations of strncat and wcsncat, by having them use
23556         the old value of the destination length, not the new one.
23558 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
23560         [BZ #16961]
23561         [BZ #16962]
23562         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
23563         string on the stack for strtod.
23564         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
23565         a string on the stack for strtof.
23566         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
23567         constructing a string on the stack for strtold.
23568         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
23569         __strtold_nan to GLIBC_PRIVATE.
23570         * math/test-nan-overflow.c: New file.
23571         * math/test-nan-payload.c: Likewise.
23572         * math/Makefile (tests): Add test-nan-overflow and
23573         test-nan-payload.
23575 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
23577         Consistency about byte vs character in string.texi
23578         * manual/string.texi (String and Array Utilities):
23579         Distinguish more carefully among bytes, multibyte characters,
23580         and wide characters.  Use "byte" when talking about C 'char',
23581         to distinguish it more clearly from multibyte characters.
23582         Say "wide character" or "multibyte character" instead of
23583         "character", when a wide or multibyte character is intended.
23584         Similarly for "multibyte string" versus "string".
23585         Define these terms more carefully.
23587 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
23589         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
23590         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
23591         Likewise.
23592         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
23593         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
23594         * sysdeps/sh/math_private.h: New file.
23595         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
23596         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
23597         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
23598         long double function name.
23599         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
23600         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
23601         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
23602         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
23603         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
23604         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
23605         Remove __finitel, __isinfl, and __isnanl.
23606         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
23607         Likewise.
23608         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
23609         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
23610         Remove __finitel.
23611         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
23612         Likewise.
23613         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
23615 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
23617         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
23618         installed libmvec_nonshared.a.
23620 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
23622         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
23623         (sysdep_routines): Likewise.
23624         (sysdep-rtld-routines): Likewise.
23625         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
23626         [$(subdir) = nptl](tests-static): test-get_hwcap-static
23627         * sysdeps/powerpc/Versions: Added new
23628         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
23629         * sysdeps/powerpc/hwcapinfo.c: New file.
23630         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
23631         and parse hwcap, hwcap2 and platform number information.
23632         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
23633         to store HWCAP+HWCAP2 and platform number.
23634         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
23635         for HWCAP+HWCAP2 and platform number in the TCB.
23636         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
23637         the HWCAP, HWCAP2 and platform number in the TCB.
23638         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
23639         (TLS_INIT_TP): Included calls to add the hwcap and
23640         at_platform values in the TCB in TP initialization.
23641         (TLS_DEFINE_INIT_TP): Likewise.
23642         (THREAD_GET_HWCAP): New macro.
23643         (THREAD_SET_HWCAP): Likewise.
23644         (THREAD_GET_AT_PLATFORM): Likewise.
23645         (THREAD_SET_AT_PLATFORM): Likewise.
23646         * sysdeps/powerpc/powerpc32/dl-machine.h:
23647         (dl_platform_init): New function that calls
23648         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
23649         powerpc32.
23650         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
23651         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
23652         this functionality, static linking case.
23653         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
23654         linking case.
23655         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
23656         __parse_hwcap_and_convert_at_platform for the static linking case.
23657         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
23658         Included the new __parse_hwcap_and_convert_at_platform symbol in the
23659         ABI list for GLIBC 2.23.
23660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
23661         Likewise.
23662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
23663         Likewise.
23665 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
23667         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
23668         * configure: Regenerate.
23669         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
23670         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
23672 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
23674         * iconvdata/ibm930.c: Add comment explaining encoding uses.
23675         * iconvdata/ibm933.c: Likewise.
23676         * iconvdata/ibm935.c: Likewise.
23677         * iconvdata/ibm937.c: Likewise.
23678         * iconvdata/ibm939.c: Likewise.
23680 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23682         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
23683         pthread_join.
23684         * nptl/tst-cancel21.c (tf): Likewise.
23686 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
23688         [BZ #19313]
23689         * bits/typesizes.h (__CPU_MASK_TYPE): New.
23690         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
23691         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
23692         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
23693         Likewise.
23694         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
23695         Likewise.
23696         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
23697         Likewise.
23698         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
23699         Likewise.
23700         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
23701         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
23702         unsigned long int with __CPU_MASK_TYPE.
23704 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
23706         * sysdeps/aarch64/libm-test-ulps: Regenerated.
23708 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
23710         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
23711         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
23712         t512.x.
23713         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
23715 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
23717         [BZ #19214]
23718         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
23719         argument to return extended model.  Update family and model
23720         with extended family and model when family == 0x0f.
23721         (init_cpu_features): Updated.
23723 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23725         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
23726         signed off_t, so 32bit bigger than 2GiB values are fine actually.
23728         * sysdeps/mach/hurd/mmap64.c: New file.
23730 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
23732         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
23733         rights for its main user thread in NEWTASK.
23735 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
23737         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
23738         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
23740 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
23742         [BZ #14259]
23743         * Makeconfig: Rename localedir to complocaledir.
23744         Rename inst_localedir to inst_complocaledir.
23745         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
23746         * config.make.in: Use complocaledir and libc_cv_complocaledir.
23747         * configure.ac: Use libc_cv_complocaledir.
23748         * configure: Regenerate.
23749         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
23750         -DCOMPLOCALEDIR.
23751         * locale/findlocale.c: Use COMPLOCALEDIR.
23752         * locale/loadarchive.c: Likewise.
23753         * locale/programs/locale.c: Likewise.
23754         * locale/programs/localedef.c: Likewise.
23755         * locale/programs/locarchive.c: Likewise.
23756         * localedata/Makefile: Use inst_complocaledir.
23757         * sysdeps/gnu/configure: Regenerate.
23758         * sysdeps/hppa/configure: Regenerate.
23759         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
23760         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
23761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
23762         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
23763         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
23764         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
23765         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
23767 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
23769         [BZ #19058]
23770         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
23771         AS_NEEDED.
23772         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
23773         workaround.
23774         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
23775         libmvec-static-only-routines): Added new file.
23776         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
23778 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23780         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
23781         of interrupted RPC instead of restoring it.
23783         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
23784         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
23785         libc_hidden_def.
23786         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
23787         into initialized data instead of common. Define rtld_hidden_data_def.
23788         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
23789         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
23790         libc_hidden_def.
23791         (if_freenameindex): Add libc_hidden_weak.
23792         (if_nameindex): Add libc_hidden_weak.
23793         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
23794         __open64.
23795         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
23796         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
23797         * sysdeps/mach/nanosleep.c: Include <time.h>
23798         (__nanosleep): Rename to __libc_nanosleep.
23799         (__nanosleep): Add weak_alias.
23800         (nanosleep): Update alias.
23802 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
23804         * stdlib/strtod_nan.c: New file.
23805         * stdlib/strtod_nan_double.h: Likewise.
23806         * stdlib/strtod_nan_float.h: Likewise.
23807         * stdlib/strtod_nan_main.c: Likewise.
23808         * stdlib/strtod_nan_narrow.h: Likewise.
23809         * stdlib/strtod_nan_wide.h: Likewise.
23810         * stdlib/strtof_nan.c: Likewise.
23811         * stdlib/strtold_nan.c: Likewise.
23812         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
23813         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
23814         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
23815         * wcsmbs/wcstod_nan.c: Likewise.
23816         * wcsmbs/wcstof_nan.c: Likewise.
23817         * wcsmbs/wcstold_nan.c: Likewise.
23818         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
23819         strtold_nan.
23820         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
23821         wcstof_nan.
23822         * include/stdlib.h (__strtof_nan): Declare and use
23823         libc_hidden_proto.
23824         (__strtod_nan): Likewise.
23825         (__strtold_nan): Likewise.
23826         (__wcstof_nan): Likewise.
23827         (__wcstod_nan): Likewise.
23828         (__wcstold_nan): Likewise.
23829         * include/wchar.h (____wcstoull_l_internal): Declare.
23830         * stdlib/strtod_l.c: Do not include <ieee754.h>.
23831         (____strtoull_l_internal): Remove declaration.
23832         (STRTOF_NAN): Define macro.
23833         (SET_MANTISSA): Remove macro.
23834         (STRTOULL): Likewise.
23835         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
23836         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
23837         (STRTOF_NAN): Define macro.
23838         (SET_MANTISSA): Remove macro.
23839         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
23840         (SET_MANTISSA): Remove macro.
23841         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
23842         macro.
23843         (SET_MANTISSA): Remove macro.
23844         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
23845         macro.
23846         (SET_MANTISSA): Remove macro.
23847         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
23848         (SET_MANTISSA): Remove macro.
23849         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
23850         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
23851         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
23853         [BZ #19266]
23854         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
23855         upper case and lower case letters inside NAN(), not using TOLOWER.
23856         * stdlib/tst-strtod-nan-locale-main.c: New file.
23857         * stdlib/tst-strtod-nan-locale.c: Likewise.
23858         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
23859         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
23860         Depend on $(gen-locales).
23861         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
23862         * wcsmbs/tst-wcstod-nan-locale.c: New file.
23863         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
23864         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
23865         Depend on $(gen-locales).
23866         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
23868 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
23870         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
23872         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
23873         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
23874         __finitel, __isinfl, and __isnanl.
23875         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
23876         Likewise.
23877         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
23878         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
23879         __finitel.
23880         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
23881         Likewise.
23882         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
23884 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
23886         * malloc/memusage.c (me): Remove redundant getenv call.
23888 2015-10-24  Florian Weimer  <fweimer@redhat.com>
23890         [BZ #19143]
23891         [BZ #19164]
23892         * nptl/check-cpuset.h: Remove.
23893         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
23894         Remove CPU set size check.
23895         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
23896         Likewise.
23897         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
23898         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
23899         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
23900         (__pthread_setaffinity_new): Remove CPU set size check.
23901         * sysdeps/unix/sysv/linux/sched_setaffinity.c
23902         (__kernel_cpumask_size): Remove.
23903         (__sched_setaffinity_new): Remove CPU set size check.
23904         * manual/threads.texi (Default Thread Attributes): Remove stale
23905         reference to check_cpuset_attr, determine_cpumask_size in comment.
23906         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
23907         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
23908         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
23909         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
23910         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
23911         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
23912         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
23913         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
23914         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
23915         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
23916         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
23917         skeleton test file.
23918         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
23919         tst-affinity-pid.
23921 2015-11-24  Florian Weimer  <fweimer@redhat.com>
23923         * scripts/update-abilist.sh: New file.
23924         * Makefile (+subdir_targets): Add subdir_update-all-abi.
23925         * Makerules (update-all-abi-%, update-all-abi)
23926         (subdir_update-all-abi): New targets.
23927         * elf/Makefile (update-all-abi): New target.
23929 2015-11-24  Florian Weimer  <fweimer@redhat.com>
23931         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
23932         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
23933         (__libc_lock_define_initialized): Use it.
23934         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
23935         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
23936         * malloc/malloc.c (main_arena): Likewise.
23937         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
23938         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
23940 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
23942         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
23943         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
23944         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
23945         (PTRACE_O_MASK): Update value.
23946         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
23947         New value in enum __ptrace_setoptions.
23948         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
23949         (PTRACE_O_MASK): Update value.
23950         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
23951         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
23952         (PTRACE_O_MASK): Update value.
23953         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
23954         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
23955         (PTRACE_O_MASK): Update value.
23956         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
23957         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
23958         (PTRACE_O_MASK): Update value.
23959         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
23960         New value in enum __ptrace_setoptions.
23961         (PTRACE_O_MASK): Update value.
23962         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
23963         New value in enum __ptrace_setoptions.
23964         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
23965         (PTRACE_O_MASK): Update value.
23967         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
23968         New macro.
23969         (PACKET_AUXDATA): Likewise.
23970         (PACKET_ORIGDEV): Likewise.
23971         (PACKET_VERSION): Likewise.
23972         (PACKET_HDRLEN): Likewise.
23973         (PACKET_RESERVE): Likewise.
23974         (PACKET_TX_RING): Likewise.
23975         (PACKET_LOSS): Likewise.
23976         (PACKET_VNET_HDR): Likewise.
23977         (PACKET_TX_TIMESTAMP): Likewise.
23978         (PACKET_TIMESTAMP): Likewise.
23979         (PACKET_FANOUT): Likewise.
23980         (PACKET_TX_HAS_OFF): Likewise.
23981         (PACKET_QDISC_BYPASS): Likewise.
23982         (PACKET_ROLLOVER_STATS): Likewise.
23983         (PACKET_FANOUT_DATA): Likewise.
23984         (PACKET_MR_UNICAST): Likewise.
23986         [BZ #19242]
23987         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
23988         (TOUPPER): Likewise.
23989         * stdlib/tst-strtol-locale-main.c: New file.
23990         * stdlib/tst-strtol-locale.c: Likewise.
23991         * stdlib/Makefile (tests): Add tst-strtol-locale.
23992         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
23993         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
23994         Depend on $(gen-locales).
23995         * wcsmbs/tst-wcstol-locale.c: New file.
23996         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
23997         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
23998         tr_TR.ISO-8859-9.
23999         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
24000         Depend on $(gen-locales).
24002 2015-11-20  Roland McGrath  <roland@hack.frob.com>
24004         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
24005         __glibc_likely instead of __builtin_expect.  After falling back to
24006         dyncode_create in a non-ET_DYN case, use the allocate_code_data
24007         system interface to register the code pages as occupied.
24009 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
24011         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
24012         [!ARM_MATH_PRIVATE_H].
24013         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
24014         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
24015         [!HPPA_MATH_PRIVATE_H].
24016         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
24017         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
24018         to [!I386_MATH_PRIVATE_H].
24019         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
24020         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
24021         Change guard to [!M68K_MATH_PRIVATE_H].
24022         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
24023         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
24024         guard to [!MICROBLAZE_MATH_PRIVATE_H].
24025         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
24026         macro.
24027         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
24028         [!MIPS_MATH_PRIVATE_H].
24029         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
24030         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
24031         [!NIO2_MATH_PRIVATE_H].
24032         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
24033         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
24034         [!TILE_MATH_PRIVATE_H].
24035         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
24037         [BZ #15421]
24038         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
24039         initialize with 0 and define as weak alias of __signgam.
24040         * include/math.h [!_ISOMAC] (__signgam): Declare.
24041         * math/Makefile (libm-calls): Add w_lgamma_compat.
24042         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
24043         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
24044         test-signgam-ullong-init.
24045         (tests-static): Add test-signgam-uchar-static,
24046         test-signgam-uchar-init-static, test-signgam-uint-static,
24047         test-signgam-uint-init-static, test-signgam-ullong-static and
24048         test-signgam-ullong-init-static.
24049         (CFLAGS-test-signgam-uchar.c): New variable.
24050         (CFLAGS-test-signgam-uchar-init.c): Likewise.
24051         (CFLAGS-test-signgam-uchar-static.c): Likewise.
24052         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
24053         (CFLAGS-test-signgam-uint.c): Likewise.
24054         (CFLAGS-test-signgam-uint-init.c): Likewise.
24055         (CFLAGS-test-signgam-uint-static.c): Likewise.
24056         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
24057         (CFLAGS-test-signgam-ullong.c): Likewise.
24058         (CFLAGS-test-signgam-ullong-init.c): Likewise.
24059         (CFLAGS-test-signgam-ullong-static.c): Likewise.
24060         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
24061         * math/Versions (libm): Add GLIBC_2.23.
24062         * math/lgamma-compat.h: New file.
24063         * math/test-signgam-main.c: Likewise.
24064         * math/test-signgam-uchar-init-static.c: Likewise.
24065         * math/test-signgam-uchar-init.c: Likewise.
24066         * math/test-signgam-uchar-static.c: Likewise.
24067         * math/test-signgam-uchar.c: Likewise.
24068         * math/test-signgam-uint-init-static.c: Likewise.
24069         * math/test-signgam-uint-init.c: Likewise.
24070         * math/test-signgam-uint-static.c: Likewise.
24071         * math/test-signgam-uint.c: Likewise.
24072         * math/test-signgam-ullong-init-static.c: Likewise.
24073         * math/test-signgam-ullong-init.c: Likewise.
24074         * math/test-signgam-ullong-static.c: Likewise.
24075         * math/test-signgam-ullong.c: Likewise.
24076         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
24077         wrapper of w_lgamma_main.c.
24078         * math/w_lgamma_compat.c: New file.
24079         * math/w_lgamma_compatf.c: Likewise.
24080         * math/w_lgamma_compatl.c: Likewise.
24081         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
24082         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
24083         defining compatibility symbols.
24084         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
24085         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
24086         wrapper of w_lgammaf_main.c.
24087         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
24088         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
24089         defining compatibility symbols.
24090         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
24091         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
24092         wrapper of w_lgammal_main.c.
24093         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
24094         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
24095         defining compatibility symbols.
24096         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
24097         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
24098         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
24099         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
24100         <lgamma-compat.h>.
24101         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
24102         (__ieee754_gamma): Define as alias.
24103         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
24104         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
24105         <lgamma-compat.h>.
24106         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
24107         (__ieee754_gammaf): Define as alias.
24108         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
24109         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
24110         <lgamma-compat.h>.
24111         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
24112         (__ieee754_gammal): Define as alias.
24113         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
24114         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
24115         <math/w_lgamma_compat.c>.
24116         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
24117         Define as alias of __lgamma_compat and use in defining lgammal.
24118         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
24119         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
24120         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
24121         (USE_AS_COMPAT): New macro.
24122         (LGAMMA_OLD_VER): Undefine and redefine.
24123         (lgammal): Do not define here.
24124         (gammal): Only define here if [GAMMA_ALIAS].
24125         * conform/linknamespace.pl (@whitelist): Remove signgam.
24126         * sysdeps/nacl/libm.abilist: Update.
24127         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
24128         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
24129         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
24130         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
24131         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
24132         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
24133         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
24134         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
24135         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
24136         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
24137         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
24138         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
24139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
24140         Likewise.
24141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
24142         Likewise.
24143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
24144         Likewise.
24145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
24146         Likewise.
24147         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
24148         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
24149         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
24150         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
24151         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
24152         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
24153         Likewise.
24154         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
24155         Likewise.
24156         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
24157         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
24158         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
24160 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24162         [BZ #16364]
24163         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
24164         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
24166 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
24168         * sysdeps/s390/fpu/bits/mathinline.h:
24169         Use __asm__ [__volatile__] instead of asm [volatile].
24170         * sysdeps/s390/abort-instr.h: Likewise.
24171         * sysdeps/s390/atomic-machine.h: Likewise.
24172         * sysdeps/s390/bits/string.h: Likewise.
24173         * sysdeps/s390/dl-tls.h: Likewise.
24174         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
24175         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
24176         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
24177         * sysdeps/s390/fpu/fesetround.c: Likewise.
24178         * sysdeps/s390/fpu/fpu_control.h: Likewise.
24179         * sysdeps/s390/fpu/s_fma.c: Likewise.
24180         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
24181         * sysdeps/s390/memusage.h: Likewise.
24182         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
24183         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
24184         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
24185         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
24186         * sysdeps/s390/nptl/tls.h: Likewise.
24187         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
24188         * sysdeps/s390/s390-32/backtrace.c: Likewise.
24189         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
24190         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
24191         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
24192         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
24193         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
24194         * sysdeps/s390/s390-64/backtrace.c: Likewise.
24195         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
24196         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
24197         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
24198         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
24199         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
24200         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
24201         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
24202         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
24203         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
24204         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
24205         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
24206         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24207         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
24208         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
24209         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
24211 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24212             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
24214         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
24215         Add lwarx hint, and use macro for acquire instruction.
24216         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
24217         Likewise.
24218         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
24219         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
24220         update to use new atomic macros.
24222 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
24224         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
24225         (__lll_trylock_elision): Fix setting of adapt_count.
24226         * sysdeps/unix/sysv/linux/powerpc/htm.h
24227         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
24228         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
24229         (_ABORT_SYSCALL): Renumber, and clarify definition.
24230         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
24232 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
24234         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
24235         after system headers to prevent MIN/MAX redefinition.  Define
24236         HAVE_ALLOCA to preserve builtin alloca usage.
24238 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
24240         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
24241         static and don't set or restore rounding.
24242         (__cos)[IN_SINCOS]: Likewise.
24243         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
24244         (__sincos): Set and restore rounding mode.  Remove check for infinite
24245         or NaN input.
24247         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
24249         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
24250         as used.
24252 2015-11-16  Florian Weimer  <fweimer@redhat.com>
24254         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
24256 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
24258         * config.make.in (have-glob-dat-reloc): New.
24259         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
24260         target supports GLOB_DAT relocaton. AC_SUBST.
24261         * configure: Regenerated.
24262         * elf/Makefile (tests): Add tst-prelink.
24263         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
24264         (tst-prelink-ENV): New.
24265         ($(objpfx)tst-prelink-conflict.out): Likewise.
24266         ($(objpfx)tst-prelink-cmp.out): Likewise.
24267         * sysdeps/x86/tst-prelink.c: Moved to ...
24268         * elf/tst-prelink.c: Here.
24269         * sysdeps/x86/tst-prelink.exp: Moved to ...
24270         * elf/tst-prelink.exp: Here.
24271         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
24272         (tst-prelink-ENV): Removed.
24273         ($(objpfx)tst-prelink-conflict.out): Likewise.
24274         ($(objpfx)tst-prelink-cmp.out): Likewise.
24275         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
24277 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
24279         [BZ #14551]
24280         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
24281         (__mpn_construct_long_double): If high part overflows to infinity,
24282         set errno and recompute overflowed result of the correct sign.
24283         * sysdeps/ieee754/ldbl-128ibm/Makefile
24284         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
24285         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
24286         $(libm).
24287         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
24289 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
24291         [BZ #15479]
24292         [BZ #19238]
24293         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
24294         floating-point state after first operation on input.  Restore full
24295         state rather than just rounding mode.
24296         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
24297         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
24298         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
24300         [BZ #19235]
24301         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
24302         add 0.5 to integer arguments.
24303         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
24304         Likewise.
24305         (.LC2): New object.
24307 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
24309         * scripts/pylintrc (reports): Set to no.
24311 2015-11-10  Roland McGrath  <roland@hack.frob.com>
24313         * elf/dl-load.c (open_verify): Take new argument FD.
24314         Skip __open call if passed FD is not -1.
24315         (_dl_map_object, open_path): Update callers.
24316         * elf/dl-sysdep-open.h: New file.
24317         * elf/dl-load.c: Include it.
24318         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
24319         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
24320         * sysdeps/nacl/dl-sysdep-open.h: New file.
24321         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
24322         from libc to rtld.
24324 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
24326         [BZ #19228]
24327         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
24328         and restore full floating-point state.
24329         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
24330         Likewise.
24331         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
24332         Likewise.
24333         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
24334         Likewise.
24335         * math/test-nearbyint-except-2.c: New file.
24336         * math/Makefile (tests): Add test-nearbyint-except-2.
24338 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
24340         [BZ #19178]
24341         * sysdeps/x86/Makefile (tests): Add tst-prelink.
24342         (tst-prelink-ENV): New.
24343         ($(objpfx)tst-prelink-conflict.out): Likewise.
24344         ($(objpfx)tst-prelink-cmp.out): Likewise.
24345         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
24346         * sysdeps/x86/tst-prelink.c: New file.
24347         * sysdeps/x86/tst-prelink.exp: Likewise.
24349 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
24351         * math/auto-libm-test-in: Add another test of pow.
24352         * math/auto-libm-test-out: Regenerated.
24353         * math/libm-test.inc (pow_test_data): Add another test.
24355 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24357         [BZ #19219]
24358         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
24359         weak_alias to nearbyintl.
24361 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
24363         * sysdeps/aarch64/bits/string.h: New file.
24364         (_STRING_ARCH_unaligned): Define.
24366 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
24368         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
24369         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
24370         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
24371         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
24372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
24374 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
24376         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
24377         for original name of the DSO.  Add it to the name list of the DSO
24378         if it is actually given.
24379         (_dl_map_object): Keep track of whether an audit module rewrote
24380         the file name.  If yes, pass the original name to
24381         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
24382         debugging is enabled, log the change of the file name.
24383         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
24384         _dl_map_object_from_fd.
24385         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
24386         * elf/tst-audit11.c: New file
24387         * elf/tst-auditmod11.c: New file.
24388         * elf/tst-audit11mod1.c: New file.
24389         * elf/tst-audit11mod2.c: New file.
24390         * elf/tst-audit11mod2.map: New file.
24391         * elf/tst-audit12.c: New file
24392         * elf/tst-auditmod12.c: New file.
24393         * elf/tst-audit12mod1.c: New file.
24394         * elf/tst-audit12mod2.c: New file.
24395         * elf/tst-audit12mod2.map: New file.
24396         * elf/tst-audit12mod3.c: New file.
24398 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
24400         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
24401         Don't create weak aliases,
24402         because versioned symbols are created later.
24403         * sysdeps/s390/s390-32/setjmp.S
24404         (setjmp, _setjmp): Remove weak and rename to an unique name
24405         in SHARED case due to existing versioned symbols.
24406         * sysdeps/s390/s390-64/setjmp.S: Likewise.
24407         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
24408         (getcontext): Create weak alias only in non SHARED case.
24409         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
24411 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
24413         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
24414         (__ASSUME_*_SYSCALL) Define new macros.
24415         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
24416         Remove socketcall syscalls.
24417         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
24418         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
24419         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
24420         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
24421         * sysdeps/unix/sysv/linux/send.c (__libc_send):
24422         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
24424 2015-11-09  Florian Weimer  <fweimer@redhat.com>
24426         [BZ #12926]
24427         Terminate process on invalid netlink response.
24428         * sysdeps/unix/sysv/linux/netlinkaccess.h
24429         (__netlink_assert_response): Declare.
24430         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
24431         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
24432         (sysdep_routines): Add netlink_assert_response.
24433         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
24434         __netlink_assert_response.
24435         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
24436         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
24437         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
24438         __netlink_assert_response.
24440 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
24442         [BZ #19178]
24443         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
24444         (RTYPE_CLASS_PLT): Likewise.
24445         (RTYPE_CLASS_COPY): Likewise.
24446         (RTYPE_CLASS_TLS): Likewise.
24447         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
24448         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
24449         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
24450         DL_DEBUG_PRELINK.
24452 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
24454         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
24455         calls with argument -0.5.
24456         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
24458         * configure.ac (libc_cv_z_nodelete): Remove configure test.
24459         (libc_cv_z_nodlopen): Likewise.
24460         (libc_cv_z_initfirst): Likewise.
24461         * configure: Regenerated.
24463 2015-11-06  Florian Weimer  <fweimer@redhat.com>
24465         Simplify abilist format to be line-based.
24466         * scripts/abilist.awk: Collect descriptors in the descs variable.
24467         (emit): Write descs variable and sort it
24468         externally, with sort.
24469         * sysdeps/**/*.abilist: Convert to new format.
24471 2015-11-06  Mark Wielaard  <mjw@redhat.com>
24473         [BZ #11460]
24474         * io/Makefile (routines): Add fts64.
24475         (tests): Add tst-fts and tst-fts-lfs.
24476         (CFLAGS-fts64.c): New.
24477         * io/Versions (GLIBC_2.23): New.
24478         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
24479         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
24480         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
24481         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
24482         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
24483         (FTSENT64): Likewise.
24484         (fts64_children): Likewise.
24485         (fts64_close): Likewise.
24486         (fts64_open): Likewise.
24487         (fts64_read): Likewise.
24488         (fts64_set): Likewise.
24489         * io/fts64.c: New file.
24490         * io/tst-fts.c: New test.
24491         * io/tst-fts-lfs.c: Likewise.
24492         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
24493         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
24494         fts64_set.
24495         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
24496         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
24497         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
24498         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
24499         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
24500         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
24501         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
24502         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
24503         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
24504         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
24505         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
24506         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
24507         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
24508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
24509         Likewise.
24510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
24511         Likewise.
24512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
24513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
24514         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
24515         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
24516         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
24517         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
24518         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
24519         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
24520         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
24521         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
24522         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
24523         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
24524         * sysdeps/wordsize-64/fts.c: New file.
24525         * sysdeps/wordsize-64/fts64.c: Likewise.
24526         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
24527         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
24528         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
24529         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
24531 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
24533         * math/libm-test.inc (NON_FINITE): New macro.
24534         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
24535         * math/gen-libm-test.pl (show_exceptions): Add argument
24536         $non_finite.
24537         (parse_args): Update call to show_exceptions.
24538         * math/test-math-finite.h: New file.
24539         * math/test-math-no-finite.h: Likewise.
24540         * math/test-double-finite.c: Likewise.
24541         * math/test-float-finite.c: Likewise.
24542         * math/test-ldouble-finite.c: Likewise.
24543         * math/test-double.c: Include "test-math-no-finite.h".
24544         * math/test-float.c: Include "test-math-no-finite.h".
24545         * math/test-ldouble.c: Include "test-math-no-finite.h".
24546         * math/test-math-inline.h (TEST_FINITE): New macro.
24547         * math/test-math-vector.h (TEST_FINITE): Likewise.
24548         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
24549         (libm-tests): Add test-float-finite and test-double-finite.
24550         ($(objpfx)test-float-finite.o): New dependency on
24551         $(objpfx)libm-test.stmp.
24552         ($(objpfx)test-double-finite.o): Likewise.
24553         ($(objpfx)test-ldouble-finite.o): Likewise.
24554         (libm-test-no-inline-cflags): New variable.
24555         (libm-test-finite-cflags): Likewise.
24556         (CFLAGS-test-float-finite.c): Likewise.
24557         (CFLAGS-test-double-finite.c): Likewise.
24558         (CFLAGS-test-ldouble-finite.c): Likewise.
24559         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
24560         (CFLAGS-test-double.c): Likewise.
24561         (CFLAGS-test-ldouble.c): Likewise.
24563 2015-11-05  Roland McGrath  <roland@hack.frob.com>
24565         * io/fcntl.c (__fcntl): Add ... to prototype.
24566         * misc/ioctl.c (__ioctl): Likewise.
24567         * misc/syscall.c (syscall): Likewise.
24569 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
24571         * scripts/list-fixed-bugs.py: New file.
24573         [BZ #19213]
24574         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
24575         returned for argument 1.
24576         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
24577         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
24578         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
24579         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
24580         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
24581         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
24583         [BZ #19211]
24584         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
24585         __USE_XOPEN], not if [!__USE_ISOC99].
24586         (lgammaf): Likewise.
24587         (lgammal): Likewise.
24588         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
24589         (gammaf): Likewise.
24590         (gammal): Likewise.
24591         * math/test-signgam-finite-c11.c: New file.
24592         * math/test-signgam-finite-c99.c: Likewise.
24593         * math/test-signgam-finite.c: Likewise.
24594         * math/Makefile (tests): Add test-signgam-finite,
24595         test-signgam-finite-c99 and test-signgam-finite-c11.
24596         (CFLAGS-test-signgam-finite.c): New variable.
24597         (CFLAGS-test-signgam-finite-c99.c): Likewise.
24598         (CFLAGS-test-signgam-finite-c11.c): Likewise.
24600         [BZ #19212]
24601         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
24602         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
24603         500].
24604         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
24605         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
24606         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
24607         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
24608         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
24609         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
24610         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
24611         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
24612         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
24613         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
24615         [BZ #19209]
24616         * math/bits/math-finite.h (ldexp): Remove declaration.
24617         (ldexpf): Likewise.
24618         (ldexpl): Likewise.
24620         [BZ #19205]
24621         * math/bits/math-finite.h (acosf): Condition declaration on
24622         [__USE_ISOC99].
24623         (acosl): Likewise.
24624         (acoshf): Likewise.
24625         (acoshl): Likewise.
24626         (asinf): Likewise.
24627         (asinl): Likewise.
24628         (atan2f): Likewise.
24629         (atan2l): Likewise.
24630         (atanhf): Likewise.
24631         (atanhl): Likewise.
24632         (coshf): Likewise.
24633         (coshl): Likewise.
24634         (expf): Likewise.
24635         (expl): Likewise.
24636         (fmodf): Likewise.
24637         (fmodl): Likewise.
24638         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
24639         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
24640         (j0l): Likewise.
24641         (y0f): Likewise.
24642         (y0l): Likewise.
24643         (j1f): Likewise.
24644         (j1l): Likewise.
24645         (y1f): Likewise.
24646         (y1l): Likewise.
24647         (jnf): Likewise.
24648         (jnl): Likewise.
24649         (ynf): Likewise.
24650         (ynl): Likewise.
24651         (lgammaf_r): Condition declaration on [__USE_ISOC99].
24652         (lgammal_r): Likewise.
24653         (__lgamma_r_finite): New declaration.
24654         (__lgammaf_r_finite): Likewise.
24655         (__lgammal_r_finite): Likewise.
24656         (lgamma): Use __lgamma_r_finite.
24657         (lgammaf): Condition definition on [__USE_ISOC99].  Use
24658         __lgammaf_r_finite.
24659         (lgammal): Condition definition on [__USE_ISOC99].  Use
24660         __lgammal_r_finite.
24661         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
24662         __lgamma_r_finite.
24663         (gammaf): Condition definition on [__USE_ISOC99].  Use
24664         __lgammaf_r_finite.
24665         (gammal): Condition definition on [__USE_ISOC99].  Use
24666         __lgammal_r_finite.
24667         (logf): Condition declaration on [__USE_ISOC99].
24668         (logl): Likewise.
24669         (log10f): Likewise.
24670         (log10l): Likewise.
24671         (ldexpf): Likewise.
24672         (ldexpl): Likewise.
24673         (powf): Likewise.
24674         (powl): Likewise.
24675         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
24676         __USE_ISOC99].
24677         (remainderf): Condition declaration on [__USE_ISOC99].
24678         (remainderl): Likewise.
24679         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
24680         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
24681         (scalbl): Likewise.
24682         (sinhf): Condition declaration on [__USE_ISOC99].
24683         (sinhl): Likewise.
24684         (sqrtf): Likewise.
24685         (sqrtl): Likewise.
24687 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
24689         * sysdeps/arm/atomic-machine.h
24690         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
24691         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
24692         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
24693         Remove conditional code.
24694         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
24695         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
24696         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
24697         Change conditional to [__ASSEMBLER__].
24698         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
24699         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
24700         [!__ASSEMBLER__].
24701         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
24702         code.
24703         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
24704         conditional macro definitions.
24705         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
24706         (__arch_compare_and_exchange_val_16_acq): Likewise.
24707         (__arch_compare_and_exchange_val_32_acq): Likewise.
24708         (atomic_exchange_and_add): Likewise.
24709         (atomic_add): Likewise.
24710         (atomic_add_negative): Likewise.
24711         (atomic_add_zero): Likewise.
24712         (atomic_bit_set): Likewise.
24713         (atomic_bit_test_set): Likewise.
24714         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
24715         code unconditional.
24716         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
24718         * math/test-math-errno.h: New file.
24719         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
24720         empty.
24721         (TEST_ERRNO): New macro.
24722         (TEST_EXCEPTIONS): Likewise.
24723         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
24724         (TEST_EXCEPTIONS): Likewise.
24725         * math/test-math-vector.h (TEST_ERRNO): Likewise.
24726         * math/test-double.c: Include "test-math-errno.h".
24727         * math/test-float.c: Likewise.
24728         * math/test-ldouble.c: Likewise.
24729         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
24730         code unconditional.
24731         (test_exceptions): Only run code if TEST_EXCEPTIONS.
24732         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
24733         unconditional.
24734         (test_errno): Only run code if TEST_ERRNO.
24735         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
24737 2015-11-04  Florian Weimer  <fweimer@redhat.com>
24739         * nptl/tst-once5.cc: Remove attribution.
24741 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
24743         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
24744         sqrt, tan, tanh, y0, y1 and yn.
24745         * math/auto-libm-test-out: Regenerated.
24746         * math/libm-test.inc (scalb_test_data): Add more tests.
24747         (scalbn_test_data): Likewise.
24748         (scalbln_test_data): Likewise.
24749         (signbit_test_data): Likewise.
24750         (sin_test_data): Likewise.
24751         (sincos_test_data): Likewise.
24752         (sinh_test_data): Likewise.
24753         (sqrt_test_data): Likewise.
24754         (tan_test_data): Likewise.
24755         (tanh_test_data): Likewise.
24756         (tgamma_test_data): Likewise.
24757         (y0_test_data): Likewise.
24758         (y1_test_data): Likewise.
24759         (yn_test_data): Likewise.
24760         (significand_test_data): Likewise.
24761         * sysdeps/i386/fpu/libm-test-ulps: Update.
24763 2015-11-03  David Kastrup  <dak@gnu.org>
24765         [BZ #18604]
24766         * assert/assert.h (assert): Don't macro-expand failed assertion
24767         expression in error message.
24768         * malloc/malloc.c (assert): Likewise.
24770 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
24772         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
24773         test.
24774         * configure: Regenerated.
24776 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
24778         * math/libm-test.inc (modf_test_data): Add more tests.
24779         (nearbyint_test_data): Likewise.
24780         (nextafter_test_data): Likewise.
24781         (nexttoward_test_data): Likewise.
24782         (pow_test_data): Likewise.
24783         (remainder_test_data): Likewise.
24784         (remquo_test_data): Likewise.
24785         (rint_test_data): Likewise.
24787         [BZ #19201]
24788         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
24789         Check for zero remainder in case of large exponents and ensure
24790         correct sign of result in that case.
24791         * math/libm-test.inc (remainder_test_data): Add more tests.
24793         [BZ #6799]
24794         * math/s_nextafter.c: Include <errno.h>.
24795         (__nextafter): Set errno on overflow and underflow.
24796         * math/s_nexttowardf.c: Include <errno.h>.
24797         (__nexttowardf): Set errno on overflow and underflow.
24798         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
24799         (__nextafterl): Set errno on overflow and underflow.
24800         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
24801         (__nexttoward): Set errno on overflow and underflow.
24802         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
24803         (__nexttowardf): Set errno on overflow and underflow.
24804         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
24805         (__nextafterf): Set errno on overflow and underflow.
24806         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
24807         (__nextafterl): Set errno on overflow and underflow.
24808         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
24809         (__nexttoward): Set errno on overflow and underflow.
24810         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
24811         (__nexttowardf): Set errno on overflow and underflow.
24812         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
24813         (__nextafterl): Set errno on overflow and underflow.
24814         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
24815         (__nexttoward): Set errno on overflow and underflow.
24816         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
24817         (__nexttowardf): Set errno on overflow and underflow.
24818         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
24819         (__nexttoward): Set errno on overflow and underflow.
24820         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
24821         (__nexttowardf): Set errno on overflow and underflow.
24822         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
24823         (__nldbl_nexttowardf): Set errno on overflow and underflow.
24824         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
24825         (__nextafterl): Set errno on overflow and underflow.
24826         * math/libm-test.inc (nextafter_test_data): Do not allow errno
24827         setting to be missing on overflow.  Add more tests.
24828         (nexttoward_test_data): Likewise.
24830         * configure.ac (libc_cv_initfini_array): Remove configure test.
24831         * configure: Regenerated.
24833 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
24835         [BZ #19189]
24836         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
24837         non-finite argument handle arguments with negative sign.
24839         * math/libm-test.inc (j0_test_data): Do not test sign of zero
24840         result from infinite argument.
24841         (j1_test_data): Likewise.
24842         (jn_test_data): Likewise.
24843         (y0_test_data): Likewise.
24844         (y1_test_data): Likewise.
24845         (yn_test_data): Likewise.
24847         [BZ #16171]
24848         * math/w_remainder.c (drem): Define as weak alias of __remainder.
24849         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
24850         * math/w_remainderf.c (dremf): Define as weak alias of
24851         __remainderf.
24852         * math/w_remainderl.c (dreml): Define as weak alias of
24853         __remainderl.
24854         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
24855         __remainder.
24856         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
24857         __remainderf.
24858         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
24859         __remainderl.
24860         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
24861         weak alias of remainderl.
24862         * sysdeps/ieee754/ldbl-opt/w_remainder.c
24863         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
24864         alias of __remainder.
24865         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
24866         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
24867         strong alias of __remainderl.
24868         (dreml): Use long_double_symbol.
24869         * math/Makefile (libm-calls): Remove w_drem.
24870         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
24871         (CFLAGS-nldbl-drem.c): Remove variable.
24872         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
24873         * math/w_drem.c: Remove file.
24874         * math/w_dremf.c: Likewise.
24875         * math/w_dreml.c: Likewise.
24876         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
24877         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
24878         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
24880         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
24881         * sysdeps/i386/configure: Regenerated.
24882         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
24883         * sysdeps/x86_64/configure: Regenerated.
24885         * configure.ac (libc_cv_asm_protected_directive): Remove configure
24886         test.
24887         (libc_cv_visibility_attribute): Likewise.
24888         (libc_cv_protected_data): Test unconditionally.
24889         (libc_cv_broken_visibility_attribute): Remove configure test.
24890         (libc_cv_have_sdata_section): Test unconditionally.
24891         * configure: Regenerated.
24893         * include/libc-internal.h (libc_max_align_t): Remove typedef.
24894         * include/scratch_buffer.h: Include <stddef.h> instead of
24895         <libc-internal.h>.
24896         (struct scratch_buffer): Use max_align_t instead of
24897         libc_max_align_t.
24899 2015-10-29  Florian Weimer  <fweimer@redhat.com>
24901         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
24902         instead of extend_alloca.  Change control flow to avoid a goto.
24903         Remove assert which is trivially always true.
24905 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
24907         [BZ #16068]
24908         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
24909         (FE_ALL_EXCEPT_X86): New macro.
24910         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
24911         FE_ALL_EXCEPT.  Ensure precision control is included in
24912         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
24913         handle "denormal operand exception" and clear FZ and DAZ bits.
24914         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
24915         (FE_ALL_EXCEPT_X86): New macro.
24916         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
24917         FE_ALL_EXCEPT.  Ensure precision control is included in
24918         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
24919         handle "denormal operand exception" and clear FZ and DAZ bits.
24920         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
24921         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
24922         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
24923         test-fenv-x87 and test-fenv-sse-2.
24924         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
24926         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
24927         * math/test-double.h (BUILD_COMPLEX): New macro.
24928         * math/test-float.h (BUILD_COMPLEX): Likewise.
24929         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
24931         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
24932         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
24933         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
24934         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
24935         instead of DBL_DENORM_MIN in comment.
24936         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
24937         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
24938         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
24939         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
24940         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
24941         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
24943 2015-10-28  Florian Weimer  <fweimer@redhat.com>
24945         [BZ #19048]
24946         * malloc/malloc.c (struct malloc_state): Update comment.  Add
24947         attached_threads member.
24948         (main_arena): Initialize attached_threads.
24949         * malloc/arena.c (list_lock): Update comment.
24950         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
24951         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
24952         (deattach_arena): New function.
24953         (_int_new_arena): Initialize arena reference count and deattach
24954         replaced arena.
24955         (get_free_list, reused_arena): Update reference count and deattach
24956         replaced arena.
24957         (arena_thread_freeres): Update arena reference count and only put
24958         unreferenced arenas on the free list.
24960 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
24962         [BZ #19181]
24963         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
24964         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
24965         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
24966         * math/test-fenv-clear-main.c: New file.
24967         * math/test-fenv-clear.c: Likewise.
24968         * math/Makefile (tests): Add test-fenv-clear.
24969         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
24970         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
24971         test-fenv-clear-sse.
24972         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
24974         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
24975         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
24976         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
24978 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
24980         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
24981         static libc.
24983 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
24985         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
24986         test.
24987         * sysdeps/i386/configure: Regenerated.
24988         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
24989         test.
24990         * sysdeps/x86_64/configure: Regenerated.
24991         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
24992         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24993         memset-avx2 unconditionally instead of conditionally on
24994         [$(config-cflags-avx2) = yes].
24995         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
24996         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
24997         unconditional.
24998         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
24999         * sysdeps/x86_64/multiarch/memset_chk.S
25000         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
25001         to [IS_IN (libc) && SHARED].
25003 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
25005         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
25006         configure test.
25007         * sysdeps/arm/configure: Regenerated.
25008         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
25009         Define variable if not already defined.
25011         [BZ #17404]
25012         * sysdeps/mips/atomic-machine.h
25013         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
25014         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
25015         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
25017         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
25018         unconditional.
25019         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
25020         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
25021         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
25022         unconditional.
25023         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
25024         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
25025         unconditional.
25026         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
25027         * stdlib/setenv.c
25028         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
25029         code unconditional.
25030         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
25031         Remove conditional code.
25032         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
25033         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
25034         unconditional.
25035         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
25036         code.
25037         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
25038         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
25039         unconditional.
25040         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
25041         code.
25042         * sysdeps/ieee754/ldbl-128/k_tanl.c
25043         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
25044         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
25045         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
25046         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
25047         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
25048         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
25049         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
25050         unconditional.
25051         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
25052         code.
25053         * sysdeps/ieee754/ldbl-96/k_tanl.c
25054         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
25055         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
25057         * nptl/tst-initializers1-c11.c: New file.
25058         * nptl/tst-initializers1-gnu11.c: Likewise.
25059         * nptl/Makefile (tests): Add these new tests.
25060         (CFLAGS-tst-initializers1-c11.c): New variable.
25061         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
25063         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
25064         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
25065         instead of -std=gnu99.
25066         * configure.ac (systemtap): Test with -std=gnu11 instead of
25067         -std=gnu99.
25068         * configure: Regenerated.
25069         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
25070         in compilation command in comment.
25072         * sysdeps/nptl/configure.ac: Remove file.
25073         * sysdeps/nptl/configure: Remove generated file.
25074         * configure.ac (libc_cv_forced_unwind): Do not substitute.
25075         * configure: Regenerated.
25076         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
25077         * config.make.in (have-forced-unwind): Remove variable.
25078         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
25079         unconditional.
25080         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
25081         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
25082         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
25083         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
25084         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
25085         unconditional.
25087 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
25089         [BZ #19174]
25090         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
25091         .skip_lock_out_of_tbegin_retries.
25092         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
25093         (__lll_lock_elision): Likewise, and respect a value of
25094         try_tbegin <= 0.
25096 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
25098         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
25099         statement.
25101 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
25103         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
25104         variable.
25105         (test-xfail-ISO11/stdalign.h/conform): Likewise.
25106         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
25108         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
25109         of -std=c1x -D_ISOC11_SOURCE.
25111         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
25112         * configure: Regenerated.
25113         * manual/install.texi (Tools for Compilation): Document
25114         requirement for GCC 4.7 or later.
25115         * INSTALL: Regenerated.
25117 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
25119         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
25120         on CNT to a conditional jump to 'puntdata'.
25122 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
25124         * configure.ac (libc_cv_gcc___thread): Remove configure test.
25125         (libc_cv_gcc_tls_model_attr): Likewise.
25126         * configure: Regenerated.
25128         * configure.ac (libc_cv_need_minus_P): Remove configure test.
25129         * configure: Regenerated.
25130         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
25132 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
25134         * configure.ac (old_glibc_headers): Remove configure test.
25135         * configure: Regenerated.
25136         * config.make.in (old-glibc-headers): Remove variable.
25137         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
25138         (install): Remove dependency on remove-old-headers.
25139         (headers2_0): Remove variable.
25140         (remove-old-headers): Remove rule.
25142         * configure.ac (libc_cv_dot_text): Remove configure test.
25143         (libc_cv_asm_set_directive): Use .text instead of
25144         ${libc_cv_dot_text} in configure test.
25145         * configure: Regenerated.
25147 2015-10-26  Florian Weimer  <fweimer@redhat.com>
25149         [BZ #19168]
25150         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25152 2015-10-26  Florian Weimer  <fweimer@redhat.com>
25154         * configure.ac (CXX): Clear the variable if the C++ toolchain does
25155         not support static linking.
25156         * configure: Regenerate.
25158 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
25160         * math/libm-test.inc (check_float_internal): Do not special-case
25161         errors up to 0.5 ulp.
25163         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
25164         log2.
25165         * math/auto-libm-test-out: Regenerated.
25166         * math/libm-test.inc (MAX_EXP): New macro.
25167         (ilogb_test_data): Add more tests.
25168         (isfinite_test_data): Likewise.
25169         (isgreater_test_data): Likewise.
25170         (isgreaterequal_test_data): Likewise.
25171         (isinf_test_data): Likewise.
25172         (isless_test_data): Likewise.
25173         (islessequal_test_data): Likewise.
25174         (islessgreater_test_data): Likewise.
25175         (isnan_test_data): Likewise.
25176         (isnormal_test_data): Likewise.
25177         (issignaling_test_data): Likewise.
25178         (isunordered_test_data): Likewise.
25179         (j0_test_data): Likewise.
25180         (j1_test_data): Likewise.
25181         (jn_test_data): Likewise.
25182         (lgamma_test_data): Likewise.
25183         (log_test_data): Likewise.
25184         (log10_test_data): Likewise.
25185         (log1p_test_data): Likewise.
25186         (log2_test_data): Likewise.
25187         (logb_test_data): Likewise.
25188         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25190         [BZ #18611]
25191         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
25192         avoid excess range and precision on underflow.
25193         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
25194         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
25195         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
25196         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
25197         underflow.
25198         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
25199         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
25200         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
25201         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
25202         * math/auto-libm-test-in: Do not allow missing errno setting for
25203         tests of j1 and jn.
25204         * math/auto-libm-test-out: Regenerated.
25206 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
25208         [BZ #15491]
25209         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
25210         floating-point environment instead of clearing all exceptions.
25211         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
25212         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
25213         merging in "invalid" exceptions from frndint.
25214         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
25215         * math/test-nearbyint-except.c: New file.
25216         * math/Makefile (tests): Add test-nearbyint-except.
25218 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
25220         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
25222         * sysdeps/tile/libm-test-ulps: Regenerated.
25224 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
25227         (__NR_sync_file_range2): Assume it is always defined.
25228         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
25229         (__NR_sync_file_range): Assume it is always defined.
25231 2015-10-22  Andreas Schwab  <schwab@suse.de>
25233         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
25234         INTERNAL_SYSCALL_ERRNO.
25235         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
25236         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
25237         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
25238         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
25239         Likewise.
25240         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
25242 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
25244         * io/tst-fcntl.c (fd): New static variable.
25245         (do_prepare): Open temporary file here....
25246         (do_test): ...not here.
25248         * io/ftwtest-sh: Also trap on exit to remove temporary files.
25250 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
25252         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
25253         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
25254         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
25255         Moved before "#ifdef __ASSEMBLER__".
25257 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
25259         [BZ #19156]
25260         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
25261         arguments very close to 0.
25263 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
25265         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
25266         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
25268 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
25270         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
25271         New.  Defined for GCC 5 and above when not compiling for
25272         profiling.
25273         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
25275         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
25276         Renamed to ...
25277         (CFLAGS-epoll_pwait.o): This.
25278         (CFLAGS-mmap.c): Renamed to ...
25279         (CFLAGS-mmap.o): This.
25280         (CFLAGS-mmap64.c): Renamed to ...
25281         (CFLAGS-mmap64.o): This.
25282         (CFLAGS-epoll_pwait.os): New.
25283         (CFLAGS-mmap.os): Likewise.
25284         (CFLAGS-mmap64.os): Likewise.
25285         (CFLAGS-semtimedop.os): Likewise.
25286         (CFLAGS-semtimedop.c): Renamed to ...
25287         (CFLAGS-semtimedop.o): This.
25289 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
25291         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
25292         warning message.
25294 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
25296         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
25297         * Makefile ($(objpfx)c++-types-check.out): Filter out
25298         $(+gccwarn-c) instead of -Wstrict-prototypes.
25300         * io/fts.c (fts_open): Convert to prototype-style function
25301         definition.
25302         * malloc/mcheck.c (mcheck): Likewise.
25303         (mcheck_pedantic): Likewise.
25304         * posix/regexec.c (re_search_2_stub): Likewise.  Use
25305         internal_function.
25306         (re_search_internal): Likewise.
25307         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
25308         prototype-style function definition.
25309         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
25310         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
25311         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
25312         (xdr_utmpptr): Likewise.
25313         (xdr_utmparr): Likewise.
25314         (xdr_utmpidle): Likewise.
25315         (xdr_utmpidleptr): Likewise.
25316         (xdr_utmpidlearr): Likewise.
25318         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
25319         log, log10 and log2.
25320         * math/auto-libm-test-out: Regenerated.
25321         * math/libm-test.inc (fmod_test_data): Add more tests.
25322         (fpclassify_test_data): Likewise.
25323         (frexp_test_data): Likewise.
25324         (hypot_test_data): Likewise.
25325         (ilogb_test_data): Likewise.
25327 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
25329         * debug/fortify_fail.c (__fortify_fail): Convert to
25330         prototype-style function definition.  Use internal_function.
25331         * libio/genops.c (save_for_backup): Convert to prototype-style
25332         function definition.
25333         * libio/wgenops.c (save_for_wbackup): Likewise.
25334         * login/grantpt.c (grantpt): Likewise.
25335         * login/ptsname.c (ptsname): Likewise.
25336         (__ptsname_r): Likewise.
25337         * login/unlockpt.c (unlockpt): Likewise.
25338         * mach/msgserver.c (__mach_msg_server): Likewise.
25339         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
25340         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
25341         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
25342         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
25343         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
25344         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
25345         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
25346         Likewise.
25347         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
25348         internal_function.
25349         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
25350         prototype-style function definition.
25351         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
25352         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
25353         (__pthread_create_2_0): Likewise.
25354         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
25355         * nptl/register-atfork.c (__register_atfork): Likewise.
25356         * posix/glob.c (glob): Likewise.
25357         * posix/regcomp.c (re_comp): Likewise.
25358         * posix/regexec.c (re_exec): Likewise.
25359         * stdlib/add_n.c [__STDC__]: Make code unconditional.
25360         [!__STDC__]: Remove conditional code.
25361         * stdlib/cmp.c [__STDC__]: Make code unconditional.
25362         [!__STDC__]: Remove conditional code.
25363         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
25364         [!__STDC__]: Remove conditional code.
25365         * stdlib/divrem.c [__STDC__]: Make code unconditional.
25366         [!__STDC__]: Remove conditional code.
25367         * stdlib/lshift.c [__STDC__]: Make code unconditional.
25368         [!__STDC__]: Remove conditional code.
25369         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
25370         [!__STDC__]: Remove conditional code.
25371         * stdlib/mul.c [__STDC__]: Make code unconditional.
25372         [!__STDC__]: Remove conditional code.
25373         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
25374         [!__STDC__]: Remove conditional code.
25375         * stdlib/rshift.c [__STDC__]: Make code unconditional.
25376         [!__STDC__]: Remove conditional code.
25377         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
25378         function definition.
25379         (STRTOF): Likewise.
25380         * stdlib/strtod_l.c (__STRTOF): Likewise.
25381         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
25382         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
25383         (__strtol_l): Likewise.
25384         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
25385         [!__STDC__]: Remove conditional code.
25386         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
25387         definition.
25388         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
25389         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
25390         type.
25391         (__strcasecmp): Convert to prototype-style function definition.
25392         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
25393         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
25394         type.
25395         (__strncasecmp): Convert to prototype-style function definition.
25396         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
25397         * sunrpc/xdr.c (xdr_union): Likewise.
25398         * sunrpc/xdr_array.c (xdr_array): Likewise.
25399         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
25400         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
25401         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
25402         Likewise.
25403         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
25404         Likewise.
25405         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
25406         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
25407         Likewise.
25408         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
25409         (LOCALE_PARAM_PROTO): Likewise.
25410         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
25411         argument type.
25412         (ut_argument_spec): Remove macro.
25413         (ut_argument_spec_iso): Rename to ut_argument_spec.
25414         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
25415         prototype-style function definition.
25416         (memcpy_uppcase): Likewise.
25417         (__strftime_internal): Likewise.
25418         (my_strftime): Likewise.
25419         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
25420         (LOCALE_PARAM_DECL): Likewise.
25421         [_LIBC] (LOCALE_PARAM): Include argument type.
25422         (__strptime_internal): Convert to prototype-style function
25423         definition.
25424         (strptime): Likewise.
25425         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
25426         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
25427         type.
25428         (__wcscasecmp): Convert to prototype-style function definition.
25429         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
25430         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
25431         type.
25432         (__wcsncasecmp): Convert to prototype-style function definition.
25434         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
25435         function definition.
25436         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
25437         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
25438         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
25439         * elf/dl-minimal.c (_itoa): Likewise.
25440         * hurd/hurdmalloc.c (malloc): Likewise.
25441         (free): Likewise.
25442         (realloc): Likewise.
25443         * inet/inet6_option.c (inet6_option_space): Likewise.
25444         (inet6_option_init): Likewise.
25445         (inet6_option_append): Likewise.
25446         (inet6_option_alloc): Likewise.
25447         (inet6_option_next): Likewise.
25448         (inet6_option_find): Likewise.
25449         * io/ftw.c (FTW_NAME): Likewise.
25450         (NFTW_NAME): Likewise.
25451         (NFTW_NEW_NAME): Likewise.
25452         (NFTW_OLD_NAME): Likewise.
25453         * libio/iofwide.c (_IO_fwide): Likewise.
25454         * libio/strops.c (_IO_str_init_static_internal): Likewise.
25455         (_IO_str_init_static): Likewise.
25456         (_IO_str_init_readonly): Likewise.
25457         (_IO_str_overflow): Likewise.
25458         (_IO_str_underflow): Likewise.
25459         (_IO_str_count): Likewise.
25460         (_IO_str_seekoff): Likewise.
25461         (_IO_str_pbackfail): Likewise.
25462         (_IO_str_finish): Likewise.
25463         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
25464         (_IO_wstr_overflow): Likewise.
25465         (_IO_wstr_underflow): Likewise.
25466         (_IO_wstr_count): Likewise.
25467         (_IO_wstr_seekoff): Likewise.
25468         (_IO_wstr_pbackfail): Likewise.
25469         (_IO_wstr_finish): Likewise.
25470         * locale/programs/localedef.c (normalize_codeset): Likewise.
25471         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
25472         (add_locales_to_archive): Likewise.
25473         (delete_locales_from_archive): Likewise.
25474         * malloc/malloc.c (__libc_mallinfo): Likewise.
25475         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
25476         * misc/tsearch.c (__tfind): Likewise.
25477         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
25478         * nptl/pthread_attr_getdetachstate.c
25479         (__pthread_attr_getdetachstate): Likewise.
25480         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
25481         Likewise.
25482         * nptl/pthread_attr_getinheritsched.c
25483         (__pthread_attr_getinheritsched): Likewise.
25484         * nptl/pthread_attr_getschedparam.c
25485         (__pthread_attr_getschedparam): Likewise.
25486         * nptl/pthread_attr_getschedpolicy.c
25487         (__pthread_attr_getschedpolicy): Likewise.
25488         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
25489         Likewise.
25490         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
25491         Likewise.
25492         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
25493         Likewise.
25494         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
25495         Likewise.
25496         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
25497         (__pthread_attr_init_2_0): Likewise.
25498         * nptl/pthread_attr_setdetachstate.c
25499         (__pthread_attr_setdetachstate): Likewise.
25500         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
25501         Likewise.
25502         * nptl/pthread_attr_setinheritsched.c
25503         (__pthread_attr_setinheritsched): Likewise.
25504         * nptl/pthread_attr_setschedparam.c
25505         (__pthread_attr_setschedparam): Likewise.
25506         * nptl/pthread_attr_setschedpolicy.c
25507         (__pthread_attr_setschedpolicy): Likewise.
25508         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
25509         Likewise.
25510         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
25511         Likewise.
25512         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
25513         Likewise.
25514         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
25515         Likewise.
25516         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
25517         Likewise.
25518         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
25519         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
25520         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
25521         use internal_function.
25522         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
25523         prototype-style function definition.
25524         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
25525         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
25526         internal_function.
25527         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
25528         Convert to prototype-style function definition.
25529         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
25530         Likewise.
25531         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
25532         Likewise.
25533         (__pthread_mutex_unlock): Likewise.
25534         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
25535         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
25536         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
25537         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
25538         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
25539         * nss/makedb.c (process_input): Likewise.
25540         * posix/fnmatch.c (__strchrnul): Likewise.
25541         (__wcschrnul): Likewise.
25542         (fnmatch): Likewise.
25543         * posix/fnmatch_loop.c (FCT): Likewise.
25544         * posix/glob.c (globfree): Likewise.
25545         (__glob_pattern_type): Likewise.
25546         (__glob_pattern_p): Likewise.
25547         * posix/regcomp.c (re_compile_pattern): Likewise.
25548         (re_set_syntax): Likewise.
25549         (re_compile_fastmap): Likewise.
25550         (regcomp): Likewise.
25551         (regerror): Likewise.
25552         (regfree): Likewise.
25553         * posix/regexec.c (regexec): Likewise.
25554         (re_match): Likewise.
25555         (re_search): Likewise.
25556         (re_match_2): Likewise.
25557         (re_search_2): Likewise.
25558         (re_search_stub): Likewise.  Use internal_function
25559         (re_copy_regs): Likewise.
25560         (re_set_registers): Convert to prototype-style function
25561         definition.
25562         (prune_impossible_nodes): Likewise.  Use internal_function.
25563         * resolv/inet_net_pton.c (inet_net_pton): Convert to
25564         prototype-style function definition.
25565         (inet_net_pton_ipv4): Likewise.
25566         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
25567         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
25568         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
25569         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
25570         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
25571         Make variadic.
25572         * time/strptime_l.c (localtime_r): Convert to prototype-style
25573         function definition.
25574         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
25575         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
25576         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
25577         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
25579         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
25580         definition.
25581         (_ufc_doit_r): Likewise.
25582         * crypt/crypt_util.c (_ufc_copymem): Likewise.
25583         (_ufc_output_conversion_r): Likewise.
25584         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
25585         * inet/rcmd.c (rcmd_af): Likewise.
25586         (rcmd): Likewise.
25587         (ruserok_af): Likewise.
25588         (ruserok): Likewise.
25589         (ruserok2_sa): Likewise.
25590         (ruserok_sa): Likewise.
25591         (iruserok_af): Likewise.
25592         (iruserok): Likewise.
25593         (__ivaliduser): Likewise.
25594         (__validuser2_sa): Likewise.
25595         * inet/rexec.c (rexec_af): Likewise.
25596         (rexec): Likewise.
25597         * inet/ruserpass.c (ruserpass): Likewise.
25598         * locale/programs/xmalloc.c (xcalloc): Likewise.
25599         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
25600         * math/w_drem.c (__drem): Likewise.
25601         * math/w_dremf.c (__dremf): Likewise.
25602         * math/w_dreml.c (__dreml): Likewise.
25603         * misc/daemon.c (daemon): Likewise.
25604         * resolv/res_debug.c (p_fqnname): Likewise.
25605         * stdlib/div.c (div): Likewise.
25606         * string/memcmp.c (memcmp_bytes): Likewise.
25607         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
25608         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
25610         * crypt/cert.c (main): Convert to prototype-style function
25611         definition.
25612         * io/pipe.c (__pipe): Likewise.
25613         * io/pipe2.c (__pipe2): Likewise.
25614         * misc/futimesat.c (futimesat): Likewise.
25615         * misc/utimes.c (__utimes): Likewise.
25616         * posix/execve.c (__execve): Likewise.
25617         * posix/execvp.c (execvp): Likewise.
25618         * posix/execvpe.c (__execvpe): Likewise.
25619         * posix/fexecve.c (fexecve): Likewise.
25620         * socket/socketpair.c (socketpair): Likewise.
25621         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
25622         * stdlib/erand48.c (erand48): Likewise.
25623         * stdlib/erand48_r.c (__erand48_r): Likewise.
25624         * stdlib/jrand48.c (jrand48): Likewise.
25625         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
25626         * stdlib/lcong48.c (lcong48): Likewise.
25627         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
25628         * stdlib/nrand48.c (nrand48): Likewise.
25629         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
25630         * stdlib/seed48.c (seed48): Likewise.
25631         * stdlib/seed48_r.c (__seed48_r): Likewise.
25632         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
25633         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
25634         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
25636 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
25638         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
25639         * configure: Regenerated.
25640         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
25641         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
25642         unconditional.
25643         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
25644         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
25645         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
25646         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
25647         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
25648         unconditional.
25649         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
25651         * posix/Makefile (CFLAGS-regex.c): Remove variable.
25652         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
25654         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
25655         function definition.
25656         * crypt/crypt_util.c (__encrypt_r): Likewise.
25657         * libio/genops.c (_IO_no_init): Likewise.
25658         * libio/iofopncook.c (_IO_fopencookie): Likewise.
25659         (_IO_old_fopencookie): Likewise.
25660         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
25661         * libio/iogetline.c (_IO_getline): Likewise.
25662         (_IO_getline_info): Likewise.
25663         * libio/iogetwline.c (_IO_getwline): Likewise.
25664         (_IO_getwline_info): Likewise.
25665         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
25666         * libio/vswprintf.c (_IO_vswprintf): Likewise.
25667         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
25668         (find_entry): Likewise.
25669         (iterate_table): Likewise.
25670         (lookup): Likewise.
25671         * login/forkpty.c (forkpty): Likewise.
25672         * misc/hsearch_r.c (__hsearch_r): Likewise.
25673         * misc/select.c (__select): Likewise.
25674         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
25675         Likewise.
25676         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
25677         Likewise.
25678         * nptl/old_pthread_cond_timedwait.c
25679         (__pthread_cond_timedwait_2_0): Likewise.
25680         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
25681         * nptl/pthread_barrierattr_getpshared.c
25682         (pthread_barrierattr_getpshared): Likewise.
25683         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
25684         Likewise.
25685         * nptl/pthread_mutex_setprioceiling.c
25686         (pthread_mutex_setprioceiling): Likewise.
25687         * nptl/pthread_mutexattr_getprioceiling.c
25688         (pthread_mutexattr_getprioceiling): Likewise.
25689         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
25690         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
25691         Likewise.
25692         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
25693         Likewise.
25694         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
25695         Likewise.
25696         * socket/recvfrom.c (__recvfrom): Likewise.
25697         * socket/sendto.c (__sendto): Likewise.
25698         * socket/setsockopt.c (__setsockopt): Likewise.
25699         * stdio-common/_itoa.c (_itoa): Likewise.
25700         * stdio-common/_itowa.c (_itowa): Likewise.
25701         * stdio-common/reg-printf.c (__register_printf_specifier):
25702         Likewise.
25703         (__register_printf_function): Likewise.
25704         * stdio-common/tempname.c (__path_search): Likewise.
25705         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
25706         * stdlib/mul_1.c (mpn_mul_1): Likewise.
25707         * stdlib/random_r.c (__initstate_r): Likewise.
25708         * stdlib/setenv.c (__add_to_environ): Likewise.
25709         * stdlib/submul_1.c (mpn_submul_1): Likewise.
25710         * streams/getpmsg.c (getpmsg): Likewise.
25711         * streams/putmsg.c (putmsg): Likewise.
25712         * streams/putpmsg.c (putpmsg): Likewise.
25713         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
25714         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
25715         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
25716         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
25717         * sunrpc/pm_getport.c (pmap_getport): Likewise.
25718         * sunrpc/svc_udp.c (cache_get): Likewise.
25719         * sunrpc/xdr_array.c (xdr_vector): Likewise.
25720         * sysdeps/mach/hurd/getcwd.c
25721         (__canonicalize_directory_name_internal): Likewise.
25722         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
25723         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
25724         * sysdeps/mach/hurd/select.c (__select): Likewise.
25725         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
25726         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
25727         * sysdeps/sparc/nptl/pthread_barrier_init.c
25728         (__pthread_barrier_init): Likewise.
25729         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
25730         (__pthread_cond_timedwait): Likewise.
25731         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
25732         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
25733         Likewise.
25734         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
25735         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
25736         Likewise.
25737         * sysvipc/semtimedop.c (semtimedop): Likewise.
25738         * time/setitimer.c (__setitimer): Likewise.
25739         * time/strftime_l.c (emacs_strftime): Likewise.
25741 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
25743         * config.make.in (have-ssp): Delete.
25744         (stack-protector): New variable.
25745         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
25746         cache test for -fstack-protector-strong.  Export stack_protector to
25747         the best ssp flag.
25748         * configure: Regenerated.
25749         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
25750         * nscd/Makefile (CFLAGS-nscd): Likewise.
25751         * resolv/Makefile (CFLAGS-libresolv): Likewise.
25753 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
25755         [BZ #19122]
25756         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
25757         attribute_hidden.
25759 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
25761         [BZ #18743]
25762         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
25763         code to...
25764         (ELIDE_LOCK): ...here.
25765         (__get_new_count): New function with part of the code from
25766         __elide_lock that updates the value of adapt_count after a
25767         transaction abort.
25768         (__elided_trylock): Moved this code to...
25769         (ELIDE_TRYLOCK): ...here.
25771 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
25773         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
25774         * configure: Regenerate.
25775         * INSTALL: Regenerate.
25776         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
25777         and tweak grammar.
25779 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
25781         * login/programs/pt_chown.c: Include signal.h
25782         (main): Clear any signal mask from the parent process.
25784 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
25786         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
25787         * configure: Regenerated.
25788         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
25789         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
25790         $(gnu89-inline-CFLAGS).
25792         * configure.ac (libc_cv_asm_weak_directive): Remove configure
25793         test.
25794         (libc_cv_asm_weakext_directive): Likewise.
25795         * configure: Regenerated.
25796         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
25797         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
25798         * include/libc-symbols.h
25799         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
25800         #error.
25801         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
25802         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
25804         * sysdeps/arm/backtrace.c (__backtrace): Convert to
25805         prototype-style function definition.
25806         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
25807         * sysdeps/i386/ffs.c (__ffs): Likewise.
25808         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
25809         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
25810         Likewise.
25811         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
25812         Likewise.
25813         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
25814         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
25815         Likewise.
25816         * sysdeps/m68k/ffs.c (__ffs): Likewise.
25817         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
25818         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
25819         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
25820         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
25821         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
25822         * sysdeps/mach/hurd/access.c (__access): Likewise.
25823         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
25824         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
25825         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
25826         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
25827         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
25828         (cthread_getspecific): Likewise.
25829         (cthread_setspecific): Likewise.
25830         (__libc_getspecific): Likewise.
25831         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
25832         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
25833         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
25834         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
25835         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
25836         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
25837         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
25838         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
25839         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
25840         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
25841         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
25842         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
25843         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
25844         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
25845         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
25846         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
25847         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
25848         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
25849         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
25850         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
25851         * sysdeps/mach/hurd/link.c (__link): Likewise.
25852         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
25853         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
25854         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
25855         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
25856         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
25857         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
25858         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
25859         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
25860         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
25861         * sysdeps/mach/hurd/rename.c (rename): Likewise.
25862         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
25863         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
25864         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
25865         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
25866         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
25867         * sysdeps/mach/hurd/send.c (__send): Likewise.
25868         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
25869         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
25870         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
25871         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
25872         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
25873         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
25874         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
25875         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
25876         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
25877         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
25878         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
25879         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
25880         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
25881         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
25882         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
25883         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
25884         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
25885         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
25886         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
25887         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
25888         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
25889         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
25890         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
25891         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
25892         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
25893         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
25894         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
25895         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
25896         * sysdeps/posix/alarm.c (alarm): Likewise.
25897         * sysdeps/posix/cuserid.c (cuserid): Likewise.
25898         * sysdeps/posix/dirfd.c (dirfd): Likewise.
25899         * sysdeps/posix/dup.c (__dup): Likewise.
25900         * sysdeps/posix/dup2.c (__dup2): Likewise.
25901         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
25902         (main): Likewise.
25903         * sysdeps/posix/flock.c (__flock): Likewise.
25904         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
25905         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
25906         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
25907         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
25908         * sysdeps/posix/isatty.c (__isatty): Likewise.
25909         * sysdeps/posix/killpg.c (killpg): Likewise.
25910         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
25911         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
25912         * sysdeps/posix/raise.c (raise): Likewise.
25913         * sysdeps/posix/remove.c (remove): Likewise.
25914         * sysdeps/posix/rename.c (rename): Likewise.
25915         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
25916         * sysdeps/posix/seekdir.c (seekdir): Likewise.
25917         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
25918         * sysdeps/posix/sigignore.c (sigignore): Likewise.
25919         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
25920         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
25921         * sysdeps/posix/sigset.c (sigset): Likewise.
25922         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
25923         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
25924         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
25925         * sysdeps/posix/time.c (time): Likewise.
25926         * sysdeps/posix/ttyname.c (getttyname): Likewise.
25927         (ttyname): Likewise.
25928         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
25929         * sysdeps/posix/utime.c (utime): Likewise.
25930         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
25931         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
25932         Likewise.
25933         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
25934         (pthread_spin_trylock): Likewise.
25935         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
25936         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
25937         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
25938         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
25939         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
25940         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
25941         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
25942         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
25943         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
25944         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
25945         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
25946         * sysdeps/s390/ffs.c (__ffs): Likewise.
25947         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
25948         Likewise.
25949         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
25950         Likewise.
25951         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
25952         Likewise.
25953         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
25954         (pthread_barrier_destroy): Likewise.
25955         * sysdeps/sparc/nptl/pthread_barrier_wait.c
25956         (__pthread_barrier_wait): Likewise.
25957         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
25958         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
25959         (__pthread_barrier_wait): Likewise.
25960         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
25961         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
25962         (memcmp_not_common_alignment): Likewise.
25963         (MEMCMP): Likewise.
25964         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
25965         (_wordcopy_fwd_dest_aligned): Likewise.
25966         (_wordcopy_bwd_aligned): Likewise.
25967         (_wordcopy_bwd_dest_aligned): Likewise.
25968         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
25969         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
25970         * sysdeps/unix/bsd/stty.c (stty): Likewise.
25971         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
25972         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
25973         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
25974         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
25975         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
25976         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
25977         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
25978         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
25979         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
25980         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
25981         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
25982         * sysdeps/unix/stime.c (stime): Likewise.
25983         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
25984         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
25985         Likewise.  Use internal_function.
25986         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
25987         Convert to prototype-style function definition.
25988         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
25989         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
25990         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
25991         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
25992         Likewise.  Use internal_function.
25993         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
25994         prototype-style function definition
25995         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
25996         Likewise.
25997         (__getlogin_r): Likewise.
25998         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
25999         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
26000         (__pthread_cond_broadcast): Likewise.
26001         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
26002         (__pthread_cond_destroy): Likewise.
26003         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
26004         (__pthread_cond_init): Likewise.
26005         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
26006         (__pthread_cond_signal): Likewise.
26007         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
26008         (__pthread_cond_wait): Likewise.
26009         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
26010         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
26011         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
26012         Likewise.
26013         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
26014         Likewise.
26015         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
26016         Likewise.
26017         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
26018         Likewise.
26019         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
26020         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
26021         (__ftruncate64): Likewise.
26022         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
26023         (truncate64): Likewise.
26024         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
26025         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
26026         (pthread_getcpuclockid): Likewise.
26027         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
26028         Likewise.
26029         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
26030         Likewise.
26031         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
26032         Likewise.
26033         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
26034         Likewise.
26035         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
26036         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
26037         (__libc_sigaction): Likewise.
26038         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
26039         Likewise.
26040         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
26041         (__sigprocmask): Likewise.
26042         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
26043         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
26044         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
26045         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
26046         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
26047         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
26048         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
26049         Likewise.
26050         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
26051         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
26052         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
26053         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
26054         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
26055         Likewise.
26056         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
26057         (__sigprocmask): Likewise.
26058         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
26059         (cfgetispeed): Likewise.
26060         (cfsetospeed): Likewise.
26061         (cfsetispeed): Likewise.
26062         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
26063         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
26064         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
26065         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
26066         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
26067         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
26068         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
26069         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
26070         Likewise.
26071         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
26072         Likewise.
26073         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
26074         Likewise.
26075         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
26076         Likewise.
26077         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
26079 2015-10-17  Florian Weimer  <fweimer@redhat.com>
26081         sunrpc: Rewrite with explicit TLS access using __thread.
26082         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
26083         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
26084         directly.
26085         (__rpc_thread_variables): Access thread_rpc_vars directly.
26086         Eliminate redundant assignment of the tvp variable.
26088 2015-10-17  Florian Weimer  <fweimer@redhat.com>
26090         malloc: Rewrite with explicit TLS access using __thread.
26091         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
26092         (tsd_setspecific, tsd_getspecific): Remove.
26093         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
26094         (tsd_setspecific, tsd_getspecific): Likewise.
26095         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
26096         (tsd_setspecific, tsd_getspecific): Likewise.
26097         * malloc/arena.c (thread_arena): New TLS variable.
26098         (arena_key): Remove variable.
26099         (arena_get): Use thread_arena.
26100         (arena_lookup): Remove macro.
26101         (malloc_atfork, free_atfork, ptmalloc_lock_all)
26102         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
26103         (_int_new_arena, get_free_list, reused_arena)
26104         (arena_thread_freeres): Use thread_arena.
26105         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
26106         tsd_getspecific, tsd_setspecific from safety annotations.
26107         (Allocating Cleared Space): Remove arena_lookup from safety
26108         annotations.
26110 2015-10-17  Florian Weimer  <fweimer@redhat.com>
26112         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
26113         struct scratch_buffer instead of extend_alloca.
26115 2015-10-17  Florian Weimer  <fweimer@redhat.com>
26117         * sysdeps/unix/sysv/linux/kernel-features.h
26118         (__ASSUME_SOCK_CLOEXEC): Remove.
26119         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
26120         (__have_paccept): Remove unused macro.
26121         * include/unistd.h (__have_sock_cloexec): Remove declaration.
26122         * misc/syslog.c (openlog_internal): Remove fallback code for
26123         !__ASSUME_SOCK_CLOEXEC.
26124         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
26125         missing SOCK_CLOEXEC.
26126         * nscd/connections.c (have_sock_cloexec): Remove definition.
26127         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
26128         * nscd/nscd_helper.c (open_socket): Remove fallback code for
26129         !__ASSUME_SOCK_CLOEXEC.
26130         * resolv/res_send.c (__have_o_nonblock): Remove definition.
26131         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
26132         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
26133         definition.
26134         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
26135         code for !__ASSUME_SOCK_CLOEXEC.
26137 2015-10-17  Florian Weimer  <fweimer@redhat.com>
26139         [BZ #18982]
26140         * manual/stdio.texi (Variable Arguments Output): Add portability
26141         note, explaining that vfprintf clobbers the va_list pointer.
26143 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
26145         * math/libm-test.inc (fabs_test_data): Add more tests.
26146         (fdim_test_data): Likewise.
26147         (fma_test_data): Likewise.
26148         (fmax_test_data): Likewise.
26149         (fmin_test_data): Likewise.
26150         (fmod_test_data): Likewise.
26152 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
26154         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
26155         data.
26157 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
26159         * math/libm-test.inc (ceil_test_data): Add more tests and more
26160         expectations for "inexact".
26161         (floor_test_data): Add more tests.
26162         (round_test_data): Likewise.
26163         (trunc_test_data): Likewise.
26165         * crypt/cert.c (good_bye): Convert to prototype-style function
26166         definition.
26167         (get8): Likewise.
26168         (put8): Likewise.
26169         * crypt/crypt-entry.c (crypt): Likewise.
26170         (__fcrypt): Likewise.
26171         * crypt/crypt_util.c (_ufc_prbits): Likewise.
26172         (_ufc_set_bits): Likewise.
26173         (_ufc_clearmem): Likewise.
26174         (__init_des_r): Likewise.
26175         (shuffle_sb): Likewise.
26176         (shuffle_sb): Likewise.
26177         (_ufc_setup_salt_r): Likewise.
26178         (_ufc_mk_keytab_r): Likewise.
26179         (_ufc_dofinalperm_r): Likewise.
26180         (encrypt): Likewise.
26181         (__setkey_r): Likewise.
26182         (setkey): Likewise.
26183         * crypt/md5.c (md5_init_ctx): Likewise.
26184         (md5_read_ctx): Likewise.
26185         (md5_finish_ctx): Likewise.
26186         (md5_stream): Likewise.
26187         (md5_buffer): Likewise.
26188         (md5_process_bytes): Likewise.
26189         * crypt/sha256.c (__sha256_init_ctx): Likewise.
26190         (__sha256_finish_ctx): Likewise.
26191         (__sha256_process_bytes): Likewise.
26192         * crypt/sha512.c (__sha512_init_ctx): Likewise.
26193         (__sha512_finish_ctx): Likewise.
26194         (__sha512_process_bytes): Likewise.
26195         * ctype/isctype.c (__isctype): Likewise.
26196         * debug/backtrace.c (__backtrace): Likewise.
26197         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
26198         * debug/fgets_chk.c (__fgets_chk): Likewise.
26199         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
26200         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
26201         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
26202         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
26203         * debug/memset_chk.c (__memset_chk): Likewise.
26204         * debug/strcat_chk.c (__strcat_chk): Likewise.
26205         * debug/strncat_chk.c (__strncat_chk): Likewise.
26206         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
26207         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
26208         * dirent/dirfd.c (dirfd): Likewise.
26209         * dirent/getdents.c (__getdirentries): Likewise.
26210         * dirent/getdents64.c (getdirentries64): Likewise.
26211         * dirent/rewinddir.c (__rewinddir): Likewise.
26212         * dirent/seekdir.c (seekdir): Likewise.
26213         * dirent/telldir.c (telldir): Likewise.
26214         * elf/sln.c (makesymlinks): Likewise.
26215         (makesymlink): Likewise.
26216         * gmon/gmon.c (__moncontrol): Likewise.
26217         (__monstartup): Likewise.
26218         (write_hist): Likewise.
26219         (write_call_graph): Likewise.
26220         (write_bb_counts): Likewise.
26221         * grp/setgroups.c (setgroups): Likewise.
26222         * inet/inet_lnaof.c (inet_lnaof): Likewise.
26223         * inet/inet_net.c (inet_network): Likewise.
26224         * inet/inet_netof.c (inet_netof): Likewise.
26225         * inet/rcmd.c (rresvport_af): Likewise.
26226         (rresvport): Likewise.
26227         * io/access.c (__access): Likewise.
26228         * io/chdir.c (__chdir): Likewise.
26229         * io/chmod.c (__chmod): Likewise.
26230         * io/chown.c (__chown): Likewise.
26231         * io/close.c (__close): Likewise.
26232         * io/creat.c (creat): Likewise.
26233         * io/creat64.c (creat64): Likewise.
26234         * io/dup.c (__dup): Likewise.
26235         * io/dup2.c (__dup2): Likewise.
26236         * io/dup3.c (__dup3): Likewise.
26237         * io/euidaccess.c (__euidaccess): Likewise.
26238         * io/faccessat.c (faccessat): Likewise.
26239         * io/fchmod.c (__fchmod): Likewise.
26240         * io/fchmodat.c (fchmodat): Likewise.
26241         * io/fchown.c (__fchown): Likewise.
26242         * io/fchownat.c (fchownat): Likewise.
26243         * io/fcntl.c (__fcntl): Likewise.
26244         * io/flock.c (__flock): Likewise.
26245         * io/fts.c (fts_load): Likewise.
26246         (fts_close): Likewise.
26247         (fts_read): Likewise.
26248         (fts_set): Likewise.
26249         (fts_children): Likewise.
26250         (fts_build): Likewise.
26251         (fts_stat): Likewise.
26252         (fts_sort): Likewise.
26253         (fts_alloc): Likewise.
26254         (fts_lfree): Likewise.
26255         (fts_palloc): Likewise.
26256         (fts_padjust): Likewise.
26257         (fts_maxarglen): Likewise.
26258         (fts_safe_changedir): Likewise.
26259         * io/getwd.c (getwd): Likewise.
26260         * io/isatty.c (__isatty): Likewise.
26261         * io/lchown.c (__lchown): Likewise.
26262         * io/link.c (__link): Likewise.
26263         * io/linkat.c (linkat): Likewise.
26264         * io/lseek.c (__libc_lseek): Likewise.
26265         * io/mkdir.c (__mkdir): Likewise.
26266         * io/mkdirat.c (mkdirat): Likewise.
26267         * io/mkfifo.c (mkfifo): Likewise.
26268         * io/mkfifoat.c (mkfifoat): Likewise.
26269         * io/open.c (__libc_open): Likewise.
26270         * io/open64.c (__libc_open64): Likewise.
26271         * io/readlink.c (__readlink): Likewise.
26272         * io/readlinkat.c (readlinkat): Likewise.
26273         * io/rmdir.c (__rmdir): Likewise.
26274         * io/symlink.c (__symlink): Likewise.
26275         * io/symlinkat.c (symlinkat): Likewise.
26276         * io/ttyname.c (ttyname): Likewise.
26277         * io/ttyname_r.c (__ttyname_r): Likewise.
26278         * io/umask.c (__umask): Likewise.
26279         * io/unlink.c (__unlink): Likewise.
26280         * io/unlinkat.c (unlinkat): Likewise.
26281         * io/utime.c (utime): Likewise.
26282         * libio/clearerr.c (clearerr): Likewise.
26283         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
26284         * libio/feof.c (_IO_feof): Likewise.
26285         * libio/feof_u.c (feof_unlocked): Likewise.
26286         * libio/ferror.c (_IO_ferror): Likewise.
26287         * libio/ferror_u.c (ferror_unlocked): Likewise.
26288         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
26289         * libio/fileno.c (__fileno): Likewise.
26290         * libio/fputc.c (fputc): Likewise.
26291         * libio/fputc_u.c (fputc_unlocked): Likewise.
26292         * libio/fputwc.c (fputwc): Likewise.
26293         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
26294         * libio/freopen.c (freopen): Likewise.
26295         * libio/freopen64.c (freopen64): Likewise.
26296         * libio/fseek.c (fseek): Likewise.
26297         * libio/fseeko.c (fseeko): Likewise.
26298         * libio/fseeko64.c (fseeko64): Likewise.
26299         * libio/ftello.c (__ftello): Likewise.
26300         * libio/ftello64.c (ftello64): Likewise.
26301         * libio/fwide.c (fwide): Likewise.
26302         * libio/genops.c (_IO_un_link): Likewise.
26303         (_IO_link_in): Likewise.
26304         (_IO_least_marker): Likewise.
26305         (_IO_switch_to_main_get_area): Likewise.
26306         (_IO_switch_to_backup_area): Likewise.
26307         (_IO_switch_to_get_mode): Likewise.
26308         (_IO_free_backup_area): Likewise.
26309         (_IO_switch_to_put_mode): Likewise.
26310         (__overflow): Likewise.
26311         (__underflow): Likewise.
26312         (__uflow): Likewise.
26313         (_IO_setb): Likewise.
26314         (_IO_doallocbuf): Likewise.
26315         (_IO_default_underflow): Likewise.
26316         (_IO_default_uflow): Likewise.
26317         (_IO_default_xsputn): Likewise.
26318         (_IO_sgetn): Likewise.
26319         (_IO_default_xsgetn): Likewise.
26320         (_IO_sync): Likewise.
26321         (_IO_default_setbuf): Likewise.
26322         (_IO_default_seekpos): Likewise.
26323         (_IO_default_doallocate): Likewise.
26324         (_IO_init): Likewise.
26325         (_IO_old_init): Likewise.
26326         (_IO_default_sync): Likewise.
26327         (_IO_default_finish): Likewise.
26328         (_IO_default_seekoff): Likewise.
26329         (_IO_sputbackc): Likewise.
26330         (_IO_sungetc): Likewise.
26331         (_IO_set_column): Likewise.
26332         (_IO_set_column): Likewise.
26333         (_IO_adjust_column): Likewise.
26334         (_IO_get_column): Likewise.
26335         (_IO_init_marker): Likewise.
26336         (_IO_remove_marker): Likewise.
26337         (_IO_marker_difference): Likewise.
26338         (_IO_marker_delta): Likewise.
26339         (_IO_seekmark): Likewise.
26340         (_IO_unsave_markers): Likewise.
26341         (_IO_nobackup_pbackfail): Likewise.
26342         (_IO_default_pbackfail): Likewise.
26343         (_IO_default_seek): Likewise.
26344         (_IO_default_stat): Likewise.
26345         (_IO_default_read): Likewise.
26346         (_IO_default_write): Likewise.
26347         (_IO_default_showmanyc): Likewise.
26348         (_IO_default_imbue): Likewise.
26349         (_IO_iter_next): Likewise.
26350         (_IO_iter_file): Likewise.
26351         * libio/getc.c (_IO_getc): Likewise.
26352         * libio/getwc.c (_IO_getwc): Likewise.
26353         * libio/iofclose.c (_IO_new_fclose): Likewise.
26354         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
26355         * libio/iofflush.c (_IO_fflush): Likewise.
26356         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
26357         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
26358         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
26359         * libio/iofgets.c (_IO_fgets): Likewise.
26360         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
26361         * libio/iofgetws.c (fgetws): Likewise.
26362         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
26363         * libio/iofopen64.c (_IO_fopen64): Likewise.
26364         * libio/iofopncook.c (_IO_cookie_read): Likewise.
26365         (_IO_cookie_write): Likewise.
26366         (_IO_cookie_seek): Likewise.
26367         (_IO_cookie_close): Likewise.
26368         (_IO_cookie_seekoff): Likewise.
26369         (_IO_old_cookie_seek): Likewise.
26370         * libio/iofputs.c (_IO_fputs): Likewise.
26371         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
26372         * libio/iofputws.c (fputws): Likewise.
26373         * libio/iofputws_u.c (fputws_unlocked): Likewise.
26374         * libio/iofread.c (_IO_fread): Likewise.
26375         * libio/iofread_u.c (__fread_unlocked): Likewise.
26376         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
26377         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
26378         * libio/ioftell.c (_IO_ftell): Likewise.
26379         * libio/iofwrite.c (_IO_fwrite): Likewise.
26380         * libio/iogetdelim.c (_IO_getdelim): Likewise.
26381         * libio/iogets.c (_IO_gets): Likewise.
26382         * libio/iopadn.c (_IO_padn): Likewise.
26383         * libio/iopopen.c (_IO_new_proc_open): Likewise.
26384         (_IO_new_popen): Likewise.
26385         (_IO_new_proc_close): Likewise.
26386         * libio/ioputs.c (_IO_puts): Likewise.
26387         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
26388         (_IO_seekoff): Likewise.
26389         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
26390         (_IO_seekpos): Likewise.
26391         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
26392         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
26393         * libio/ioungetc.c (_IO_ungetc): Likewise.
26394         * libio/ioungetwc.c (ungetwc): Likewise.
26395         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
26396         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
26397         * libio/iowpadn.c (_IO_wpadn): Likewise.
26398         * libio/libc_fatal.c (__libc_fatal): Likewise.
26399         * libio/memstream.c (__open_memstream): Likewise.
26400         (_IO_mem_sync): Likewise.
26401         (_IO_mem_finish): Likewise.
26402         * libio/oldfileops.c (_IO_old_file_init): Likewise.
26403         (_IO_old_file_close_it): Likewise.
26404         (_IO_old_file_finish): Likewise.
26405         (_IO_old_file_fopen): Likewise.
26406         (_IO_old_file_attach): Likewise.
26407         (_IO_old_file_setbuf): Likewise.
26408         (_IO_old_do_write): Likewise.
26409         (old_do_write): Likewise.
26410         (_IO_old_file_underflow): Likewise.
26411         (_IO_old_file_overflow): Likewise.
26412         (_IO_old_file_sync): Likewise.
26413         (_IO_old_file_seekoff): Likewise.
26414         (_IO_old_file_write): Likewise.
26415         (_IO_old_file_xsputn): Likewise.
26416         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
26417         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
26418         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
26419         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
26420         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
26421         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
26422         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
26423         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
26424         (_IO_old_popen): Likewise.
26425         (_IO_old_proc_close): Likewise.
26426         * libio/oldpclose.c (__old_pclose): Likewise.
26427         * libio/pclose.c (__new_pclose): Likewise.
26428         * libio/peekc.c (_IO_peekc_locked): Likewise.
26429         * libio/putc.c (_IO_putc): Likewise.
26430         * libio/putc_u.c (putc_unlocked): Likewise.
26431         * libio/putchar.c (putchar): Likewise.
26432         * libio/putchar_u.c (putchar_unlocked): Likewise.
26433         * libio/putwc.c (putwc): Likewise.
26434         * libio/putwc_u.c (putwc_unlocked): Likewise.
26435         * libio/putwchar.c (putwchar): Likewise.
26436         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
26437         * libio/rewind.c (rewind): Likewise.
26438         * libio/setbuf.c (setbuf): Likewise.
26439         * libio/setlinebuf.c (setlinebuf): Likewise.
26440         * libio/vasprintf.c (_IO_vasprintf): Likewise.
26441         * libio/vscanf.c (_IO_vscanf): Likewise.
26442         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
26443         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
26444         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
26445         * libio/wgenops.c (_IO_least_wmarker): Likewise.
26446         (_IO_switch_to_main_wget_area): Likewise.
26447         (_IO_switch_to_wbackup_area): Likewise.
26448         (_IO_wsetb): Likewise.
26449         (_IO_wdefault_pbackfail): Likewise.
26450         (_IO_wdefault_finish): Likewise.
26451         (_IO_wdefault_uflow): Likewise.
26452         (__woverflow): Likewise.
26453         (__wuflow): Likewise.
26454         (__wunderflow): Likewise.
26455         (_IO_wdefault_xsputn): Likewise.
26456         (_IO_wdefault_xsgetn): Likewise.
26457         (_IO_wdoallocbuf): Likewise.
26458         (_IO_wdefault_doallocate): Likewise.
26459         (_IO_switch_to_wget_mode): Likewise.
26460         (_IO_free_wbackup_area): Likewise.
26461         (_IO_switch_to_wput_mode): Likewise.
26462         (_IO_sputbackwc): Likewise.
26463         (_IO_sungetwc): Likewise.
26464         (_IO_adjust_wcolumn): Likewise.
26465         (_IO_init_wmarker): Likewise.
26466         (_IO_wmarker_delta): Likewise.
26467         (_IO_seekwmark): Likewise.
26468         (_IO_unsave_wmarkers): Likewise.
26469         * libio/wmemstream.c (open_wmemstream): Likewise.
26470         (_IO_wmem_sync): Likewise.
26471         (_IO_wmem_finish): Likewise.
26472         * locale/nl_langinfo.c (nl_langinfo): Likewise.
26473         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
26474         * locale/programs/simple-hash.c (init_hash): Likewise.
26475         (delete_hash): Likewise.
26476         (insert_entry): Likewise.
26477         (set_entry): Likewise.
26478         (next_prime): Likewise.
26479         (is_prime): Likewise.
26480         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
26481         (xmalloc): Likewise.
26482         (xrealloc): Likewise.
26483         * locale/programs/xstrdup.c (xstrdup): Likewise.
26484         * localedata/collate-test.c (xstrcoll): Likewise.
26485         * localedata/xfrm-test.c (xstrcmp): Likewise.
26486         * login/getlogin_r.c (__getlogin_r): Likewise.
26487         * login/getpt.c (__posix_openpt): Likewise.
26488         * login/login_tty.c (login_tty): Likewise.
26489         * login/setlogin.c (setlogin): Likewise.
26490         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
26491         (mach_msg_destroy_port): Likewise.
26492         (mach_msg_destroy_memory): Likewise.
26493         * malloc/mcheck.c (flood): Likewise.
26494         * misc/acct.c (acct): Likewise.
26495         * misc/brk.c (__brk): Likewise.
26496         * misc/chflags.c (chflags): Likewise.
26497         * misc/chroot.c (chroot): Likewise.
26498         * misc/fchflags.c (fchflags): Likewise.
26499         * misc/fstab.c (getfsspec): Likewise.
26500         (getfsfile): Likewise.
26501         * misc/fsync.c (fsync): Likewise.
26502         * misc/ftruncate.c (__ftruncate): Likewise.
26503         * misc/ftruncate64.c (__ftruncate64): Likewise.
26504         * misc/getdomain.c (getdomainname): Likewise.
26505         (getdomainname): Likewise.
26506         * misc/gethostname.c (__gethostname): Likewise.
26507         * misc/getpass.c (getpass): Likewise.
26508         * misc/getttyent.c (skip): Likewise.
26509         (value): Likewise.
26510         * misc/gtty.c (gtty): Likewise.
26511         * misc/hsearch.c (hsearch): Likewise.
26512         (hcreate): Likewise.
26513         * misc/hsearch_r.c (__hcreate_r): Likewise.
26514         (__hdestroy_r): Likewise.
26515         * misc/ioctl.c (__ioctl): Likewise.
26516         * misc/mkdtemp.c (mkdtemp): Likewise.
26517         * misc/mkostemp.c (mkostemp): Likewise.
26518         * misc/mkostemp64.c (mkostemp64): Likewise.
26519         * misc/mkostemps.c (mkostemps): Likewise.
26520         * misc/mkostemps64.c (mkostemps64): Likewise.
26521         * misc/mkstemp.c (mkstemp): Likewise.
26522         * misc/mkstemp64.c (mkstemp64): Likewise.
26523         * misc/mkstemps.c (mkstemps): Likewise.
26524         * misc/mkstemps64.c (mkstemps64): Likewise.
26525         * misc/mktemp.c (__mktemp): Likewise.
26526         * misc/preadv.c (preadv): Likewise.
26527         * misc/preadv64.c (preadv64): Likewise.
26528         * misc/pwritev.c (pwritev): Likewise.
26529         * misc/pwritev64.c (pwritev64): Likewise.
26530         * misc/readv.c (__readv): Likewise.
26531         * misc/revoke.c (revoke): Likewise.
26532         * misc/setdomain.c (setdomainname): Likewise.
26533         * misc/setegid.c (setegid): Likewise.
26534         * misc/seteuid.c (seteuid): Likewise.
26535         * misc/sethostid.c (sethostid): Likewise.
26536         * misc/sethostname.c (sethostname): Likewise.
26537         * misc/setregid.c (__setregid): Likewise.
26538         * misc/setreuid.c (__setreuid): Likewise.
26539         * misc/sstk.c (sstk): Likewise.
26540         * misc/stty.c (stty): Likewise.
26541         * misc/syscall.c (syscall): Likewise.
26542         * misc/syslog.c (setlogmask): Likewise.
26543         * misc/truncate.c (__truncate): Likewise.
26544         * misc/truncate64.c (truncate64): Likewise.
26545         * misc/ualarm.c (ualarm): Likewise.
26546         * misc/usleep.c (usleep): Likewise.
26547         * misc/ustat.c (ustat): Likewise.
26548         * misc/writev.c (__writev): Likewise.
26549         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
26550         * nptl/old_pthread_cond_broadcast.c
26551         (__pthread_cond_broadcast_2_0): Likewise.
26552         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
26553         Likewise.
26554         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
26555         Likewise.
26556         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
26557         Likewise.
26558         * nptl/pt-raise.c (raise): Likewise.
26559         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
26560         Likewise.
26561         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
26562         * nptl/pthread_barrierattr_destroy.c
26563         (pthread_barrierattr_destroy): Likewise.
26564         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
26565         Likewise.
26566         * nptl/pthread_barrierattr_setpshared.c
26567         (pthread_barrierattr_setpshared): Likewise.
26568         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
26569         Likewise.
26570         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
26571         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
26572         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
26573         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
26574         Likewise.
26575         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
26576         Likewise.
26577         * nptl/pthread_condattr_getpshared.c
26578         (pthread_condattr_getpshared): Likewise.
26579         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
26580         Likewise.
26581         * nptl/pthread_condattr_setpshared.c
26582         (pthread_condattr_setpshared): Likewise.
26583         * nptl/pthread_detach.c (pthread_detach): Likewise.
26584         * nptl/pthread_equal.c (__pthread_equal): Likewise.
26585         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
26586         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
26587         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
26588         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
26589         Likewise.
26590         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
26591         Likewise.
26592         * nptl/pthread_mutex_getprioceiling.c
26593         (pthread_mutex_getprioceiling): Likewise.
26594         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
26595         Likewise.
26596         * nptl/pthread_mutexattr_getprotocol.c
26597         (pthread_mutexattr_getprotocol): Likewise.
26598         * nptl/pthread_mutexattr_getpshared.c
26599         (pthread_mutexattr_getpshared): Likewise.
26600         * nptl/pthread_mutexattr_getrobust.c
26601         (pthread_mutexattr_getrobust): Likewise.
26602         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
26603         Likewise.
26604         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
26605         Likewise.
26606         * nptl/pthread_mutexattr_setprioceiling.c
26607         (pthread_mutexattr_setprioceiling): Likewise.
26608         * nptl/pthread_mutexattr_setprotocol.c
26609         (pthread_mutexattr_setprotocol): Likewise.
26610         * nptl/pthread_mutexattr_setpshared.c
26611         (pthread_mutexattr_setpshared): Likewise.
26612         * nptl/pthread_mutexattr_setrobust.c
26613         (pthread_mutexattr_setrobust): Likewise.
26614         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
26615         Likewise.
26616         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
26617         Likewise.
26618         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
26619         Likewise.
26620         * nptl/pthread_rwlockattr_getkind_np.c
26621         (pthread_rwlockattr_getkind_np): Likewise.
26622         * nptl/pthread_rwlockattr_getpshared.c
26623         (pthread_rwlockattr_getpshared): Likewise.
26624         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
26625         Likewise.
26626         * nptl/pthread_rwlockattr_setkind_np.c
26627         (pthread_rwlockattr_setkind_np): Likewise.
26628         * nptl/pthread_rwlockattr_setpshared.c
26629         (pthread_rwlockattr_setpshared): Likewise.
26630         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
26631         Likewise.
26632         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
26633         Likewise.
26634         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
26635         Likewise.
26636         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
26637         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
26638         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
26639         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
26640         * nptl/sem_close.c (sem_close): Likewise.
26641         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
26642         * nptl/sem_init.c (__old_sem_init): Likewise.
26643         * nptl/sigaction.c (__sigaction): Likewise.
26644         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
26645         * posix/_exit.c (_exit): Likewise.
26646         * posix/alarm.c (alarm): Likewise.
26647         * posix/confstr.c (confstr): Likewise.
26648         * posix/fpathconf.c (__fpathconf): Likewise.
26649         * posix/getgroups.c (__getgroups): Likewise.
26650         * posix/getpgid.c (__getpgid): Likewise.
26651         * posix/group_member.c (__group_member): Likewise.
26652         * posix/pathconf.c (__pathconf): Likewise.
26653         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
26654         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
26655         * posix/setgid.c (__setgid): Likewise.
26656         * posix/setpgid.c (__setpgid): Likewise.
26657         * posix/setuid.c (__setuid): Likewise.
26658         * posix/sleep.c (__sleep): Likewise.
26659         * posix/sysconf.c (__sysconf): Likewise.
26660         * posix/times.c (__times): Likewise.
26661         * posix/uname.c (__uname): Likewise.
26662         * posix/waitid.c (__waitid): Likewise.
26663         * pwd/getpw.c (__getpw): Likewise.
26664         * resolv/base64.c (b64_pton): Likewise.
26665         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
26666         * resolv/gethnamaddr.c (Dprintf): Likewise.
26667         (gethostbyname): Likewise.
26668         (gethostbyname2): Likewise.
26669         (gethostbyaddr): Likewise.
26670         (_sethtent): Likewise.
26671         (_gethtbyname): Likewise.
26672         (_gethtbyname2): Likewise.
26673         (_gethtbyaddr): Likewise.
26674         (map_v4v6_address): Likewise.
26675         (map_v4v6_hostent): Likewise.
26676         (addrsort): Likewise.
26677         (ht_sethostent): Likewise.
26678         (ht_gethostbyname): Likewise.
26679         (ht_gethostbyaddr): Likewise.
26680         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
26681         (inet_net_ntop_ipv4): Likewise.
26682         * resolv/inet_neta.c (inet_neta): Likewise.
26683         * resolv/inet_ntop.c (inet_ntop): Likewise.
26684         (inet_ntop4): Likewise.
26685         (inet_ntop6): Likewise.
26686         * resolv/inet_pton.c (__inet_pton): Likewise.
26687         (inet_pton4): Likewise.
26688         (inet_pton6): Likewise.
26689         * resolv/res_debug.c (loc_aton): Likewise.
26690         (loc_ntoa): Likewise.
26691         * resource/getpriority.c (__getpriority): Likewise.
26692         * resource/getrusage.c (__getrusage): Likewise.
26693         * resource/nice.c (nice): Likewise.
26694         * resource/setpriority.c (__setpriority): Likewise.
26695         * resource/setrlimit64.c (setrlimit64): Likewise.
26696         * resource/vlimit.c (vlimit): Likewise.
26697         * resource/vtimes.c (vtimes): Likewise.
26698         * rt/aio_error.c (aio_error): Likewise.
26699         * rt/aio_return.c (aio_return): Likewise.
26700         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
26701         * signal/kill.c (__kill): Likewise.
26702         * signal/killpg.c (killpg): Likewise.
26703         * signal/raise.c (raise): Likewise.
26704         * signal/sigaction.c (__sigaction): Likewise.
26705         * signal/sigaddset.c (sigaddset): Likewise.
26706         * signal/sigaltstack.c (sigaltstack): Likewise.
26707         * signal/sigandset.c (sigandset): Likewise.
26708         * signal/sigblock.c (__sigblock): Likewise.
26709         * signal/sigdelset.c (sigdelset): Likewise.
26710         * signal/sigempty.c (sigemptyset): Likewise.
26711         * signal/sigfillset.c (sigfillset): Likewise.
26712         * signal/sighold.c (sighold): Likewise.
26713         * signal/sigignore.c (sigignore): Likewise.
26714         * signal/sigintr.c (siginterrupt): Likewise.
26715         * signal/sigisempty.c (sigisemptyset): Likewise.
26716         * signal/sigismem.c (sigismember): Likewise.
26717         * signal/signal.c (signal): Likewise.
26718         * signal/sigorset.c (sigorset): Likewise.
26719         * signal/sigpause.c (__sigpause): Likewise.
26720         * signal/sigpending.c (sigpending): Likewise.
26721         * signal/sigprocmask.c (__sigprocmask): Likewise.
26722         * signal/sigrelse.c (sigrelse): Likewise.
26723         * signal/sigreturn.c (__sigreturn): Likewise.
26724         * signal/sigset.c (sigset): Likewise.
26725         * signal/sigsetmask.c (__sigsetmask): Likewise.
26726         * signal/sigstack.c (sigstack): Likewise.
26727         * signal/sigsuspend.c (__sigsuspend): Likewise.
26728         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
26729         * signal/sysv_signal.c (__sysv_signal): Likewise.
26730         * socket/accept.c (accept): Likewise.
26731         * socket/accept4.c (__libc_accept4): Likewise.
26732         * socket/bind.c (__bind): Likewise.
26733         * socket/connect.c (__connect): Likewise.
26734         * socket/getpeername.c (getpeername): Likewise.
26735         * socket/getsockname.c (__getsockname): Likewise.
26736         * socket/getsockopt.c (getsockopt): Likewise.
26737         * socket/listen.c (__listen): Likewise.
26738         * socket/recv.c (__recv): Likewise.
26739         * socket/recvmsg.c (__recvmsg): Likewise.
26740         * socket/send.c (__send): Likewise.
26741         * socket/sendmsg.c (__sendmsg): Likewise.
26742         * socket/shutdown.c (shutdown): Likewise.
26743         * socket/sockatmark.c (sockatmark): Likewise.
26744         * socket/socket.c (__socket): Likewise.
26745         * stdio-common/ctermid.c (ctermid): Likewise.
26746         * stdio-common/cuserid.c (cuserid): Likewise.
26747         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
26748         * stdio-common/remove.c (remove): Likewise.
26749         * stdio-common/rename.c (rename): Likewise.
26750         * stdio-common/renameat.c (renameat): Likewise.
26751         * stdio-common/tempname.c (__gen_tempname): Likewise.
26752         * stdio-common/xbug.c (InitBuffer): Likewise.
26753         (AppendToBuffer): Likewise.
26754         (ReadFile): Likewise.
26755         * stdlib/a64l.c (a64l): Likewise.
26756         * stdlib/drand48_r.c (drand48_r): Likewise.
26757         * stdlib/getcontext.c (getcontext): Likewise.
26758         * stdlib/getenv.c (getenv): Likewise.
26759         * stdlib/l64a.c (l64a): Likewise.
26760         * stdlib/llabs.c (llabs): Likewise.
26761         * stdlib/lldiv.c (lldiv): Likewise.
26762         * stdlib/lrand48_r.c (lrand48_r): Likewise.
26763         * stdlib/mrand48_r.c (mrand48_r): Likewise.
26764         * stdlib/putenv.c (putenv): Likewise.
26765         * stdlib/random.c (__srandom): Likewise.
26766         (__initstate): Likewise.
26767         (__setstate): Likewise.
26768         * stdlib/random_r.c (__srandom_r): Likewise.
26769         (__setstate_r): Likewise.
26770         (__random_r): Likewise.
26771         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
26772         * stdlib/setcontext.c (setcontext): Likewise.
26773         * stdlib/setenv.c (setenv): Likewise.
26774         (unsetenv): Likewise.
26775         * stdlib/srand48.c (srand48): Likewise.
26776         * stdlib/srand48_r.c (__srand48_r): Likewise.
26777         * stdlib/swapcontext.c (swapcontext): Likewise.
26778         * stdlib/system.c (__libc_system): Likewise.
26779         * stdlib/tst-strtod.c (expand): Likewise.
26780         * stdlib/tst-strtol.c (expand): Likewise.
26781         * stdlib/tst-strtoll.c (expand): Likewise.
26782         * streams/fattach.c (fattach): Likewise.
26783         * streams/fdetach.c (fdetach): Likewise.
26784         * streams/getmsg.c (getmsg): Likewise.
26785         * streams/isastream.c (isastream): Likewise.
26786         * string/ffs.c (__ffs): Likewise.
26787         * string/ffsll.c (ffsll): Likewise.
26788         * string/memcmp.c (memcmp_common_alignment): Likewise.
26789         (memcmp_not_common_alignment): Likewise.
26790         (MEMCMP): Likewise.
26791         * string/memcpy.c (memcpy): Likewise.
26792         * string/memmove.c (MEMMOVE): Likewise.
26793         * string/memset.c (memset): Likewise.
26794         * string/rawmemchr.c (RAWMEMCHR): Likewise.
26795         * string/strchrnul.c (STRCHRNUL): Likewise.
26796         * string/strerror.c (strerror): Likewise.
26797         * string/strndup.c (__strndup): Likewise.
26798         * string/strverscmp.c (__strverscmp): Likewise.
26799         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
26800         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
26801         (clnttcp_freeres): Likewise.
26802         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
26803         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
26804         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
26805         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
26806         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
26807         (xdr_callhdr): Likewise.
26808         * sunrpc/rpcinfo.c (udpping): Likewise.
26809         (tcpping): Likewise.
26810         (pstatus): Likewise.
26811         (pmapdump): Likewise.
26812         (brdcst): Likewise.
26813         (deletereg): Likewise.
26814         (getprognum): Likewise.
26815         (getvers): Likewise.
26816         (get_inet_address): Likewise.
26817         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
26818         * sunrpc/svc_udp.c (svcudp_create): Likewise.
26819         (svcudp_stat): Likewise.
26820         (svcudp_recv): Likewise.
26821         (svcudp_reply): Likewise.
26822         (svcudp_getargs): Likewise.
26823         (svcudp_freeargs): Likewise.
26824         (svcudp_destroy): Likewise.
26825         * sunrpc/xdr.c (xdr_bytes): Likewise.
26826         (xdr_netobj): Likewise.
26827         (xdr_string): Likewise.
26828         (xdr_wrapstring): Likewise.
26829         * sunrpc/xdr_float.c (xdr_float): Likewise.
26830         (xdr_double): Likewise.
26831         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
26832         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
26833         * sysvipc/ftok.c (ftok): Likewise.
26834         * sysvipc/msgctl.c (msgctl): Likewise.
26835         * sysvipc/msgget.c (msgget): Likewise.
26836         * sysvipc/msgrcv.c (msgrcv): Likewise.
26837         * sysvipc/msgsnd.c (msgsnd): Likewise.
26838         * sysvipc/semget.c (semget): Likewise.
26839         * sysvipc/semop.c (semop): Likewise.
26840         * sysvipc/shmat.c (shmat): Likewise.
26841         * sysvipc/shmctl.c (shmctl): Likewise.
26842         * sysvipc/shmdt.c (shmdt): Likewise.
26843         * sysvipc/shmget.c (shmget): Likewise.
26844         * termios/cfmakeraw.c (cfmakeraw): Likewise.
26845         * termios/speed.c (cfgetospeed): Likewise.
26846         (cfgetispeed): Likewise.
26847         (cfsetospeed): Likewise.
26848         (cfsetispeed): Likewise.
26849         * termios/tcflow.c (tcflow): Likewise.
26850         * termios/tcflush.c (tcflush): Likewise.
26851         * termios/tcgetattr.c (__tcgetattr): Likewise.
26852         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
26853         * termios/tcgetsid.c (tcgetsid): Likewise.
26854         * termios/tcsendbrk.c (tcsendbreak): Likewise.
26855         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
26856         * time/adjtime.c (__adjtime): Likewise.
26857         * time/dysize.c (dysize): Likewise.
26858         * time/ftime.c (ftime): Likewise.
26859         * time/getitimer.c (__getitimer): Likewise.
26860         * time/gettimeofday.c (__gettimeofday): Likewise.
26861         * time/gmtime.c (__gmtime_r): Likewise.
26862         (gmtime): Likewise.
26863         * time/localtime.c (__localtime_r): Likewise.
26864         (localtime): Likewise.
26865         * time/offtime.c (__offtime): Likewise.
26866         * time/settimeofday.c (__settimeofday): Likewise.
26867         * time/stime.c (stime): Likewise.
26868         * time/strftime_l.c (tm_diff): Likewise.
26869         (iso_week_days): Likewise.
26870         * time/strptime.c (strptime): Likewise.
26871         * time/time.c (time): Likewise.
26872         * time/timespec_get.c (timespec_get): Likewise.
26873         * time/tzset.c (tzset_internal): Likewise.
26874         (compute_change): Likewise.
26875         (__tz_compute): Likewise.
26876         * wcsmbs/btowc.c (__btowc): Likewise.
26877         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
26878         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
26879         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
26880         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
26881         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
26882         * wcsmbs/wcscat.c (__wcscat): Likewise.
26883         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
26884         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
26885         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
26886         * wcsmbs/wcscspn.c (wcscspn): Likewise.
26887         * wcsmbs/wcsdup.c (wcsdup): Likewise.
26888         * wcsmbs/wcslen.c (__wcslen): Likewise.
26889         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
26890         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
26891         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
26892         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
26893         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
26894         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
26895         * wcsmbs/wcsspn.c (wcsspn): Likewise.
26896         * wcsmbs/wcsstr.c (wcsstr): Likewise.
26897         * wcsmbs/wcstok.c (wcstok): Likewise.
26898         * wcsmbs/wctob.c (wctob): Likewise.
26899         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
26900         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
26901         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
26902         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
26903         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
26904         * wcsmbs/wmemset.c (__wmemset): Likewise.
26905         * wctype/wcfuncs.c (__towlower): Likewise.
26906         (__towupper): Likewise.
26908         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
26909         (lll_unlock_elision): Add adapt_count parameter.
26911 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
26913         * sysdeps/nptl/configure.ac: Do not give errors based on the
26914         results of top-level configure tests.
26915         * sysdeps/nptl/configure: Regenerated.
26917         * configure.ac (libc_cv_Bgroup): Remove configure test.
26918         * configure: Regenerated.
26919         * config.make.in (have-Bgroup): Remove variable.
26921         * configure.ac (sizeof_long_double): Remove configure test.
26922         * configure: Regenerated.
26923         * config.make.in (sizeof-long-double): Remove variable.
26925         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
26926         * configure: Regenerated.
26927         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
26928         variable.
26929         (exceptions): Likewise.
26930         * sysdeps/arm/configure: Regenerated.
26931         * config.make.in (exceptions): Remove variable.
26932         * Makeconfig (uses-callbacks): Use -fexceptions instead of
26933         $(exceptions).
26934         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
26935         (CFLAGS-vdprintf_chk.c): Likewise.
26936         (CFLAGS-printf_chk.c): Likewise.
26937         (CFLAGS-fprintf_chk.c): Likewise.
26938         (CFLAGS-vprintf_chk.c): Likewise.
26939         (CFLAGS-vfprintf_chk.c): Likewise.
26940         (CFLAGS-gets_chk.c): Likewise.
26941         (CFLAGS-fgets_chk.c): Likewise.
26942         (CFLAGS-fgets_u_chk.c): Likewise.
26943         (CFLAGS-fread_chk.c): Likewise.
26944         (CFLAGS-fread_u_chk.c): Likewise.
26945         (CFLAGS-wprintf_chk.c): Likewise.
26946         (CFLAGS-fwprintf_chk.c): Likewise.
26947         (CFLAGS-vwprintf_chk.c): Likewise.
26948         (CFLAGS-vfwprintf_chk.c): Likewise.
26949         (CFLAGS-fgetws_chk.c): Likewise.
26950         (CFLAGS-fgetws_u_chk.c): Likewise.
26951         * libio/Makefile (CFLAGS-fileops.c): Likewise.
26952         (CFLAGS-fputc.c): Likewise.
26953         (CFLAGS-fputwc.c): Likewise.
26954         (CFLAGS-freopen64.c): Likewise.
26955         (CFLAGS-freopen.c): Likewise.
26956         (CFLAGS-fseek.c): Likewise.
26957         (CFLAGS-fseeko64.c): Likewise.
26958         (CFLAGS-fseeko.c): Likewise.
26959         (CFLAGS-ftello64.c): Likewise.
26960         (CFLAGS-ftello.c): Likewise.
26961         (CFLAGS-fwide.c): Likewise.
26962         (CFLAGS-genops.c): Likewise.
26963         (CFLAGS-getc.c): Likewise.
26964         (CFLAGS-getchar.c): Likewise.
26965         (CFLAGS-getwc.c): Likewise.
26966         (CFLAGS-getwchar.c): Likewise.
26967         (CFLAGS-iofclose.c): Likewise.
26968         (CFLAGS-iofflush.c): Likewise.
26969         (CFLAGS-iofgetpos64.c): Likewise.
26970         (CFLAGS-iofgetpos.c): Likewise.
26971         (CFLAGS-iofgets.c): Likewise.
26972         (CFLAGS-iofgetws.c): Likewise.
26973         (CFLAGS-iofputs.c): Likewise.
26974         (CFLAGS-iofputws.c): Likewise.
26975         (CFLAGS-iofread.c): Likewise.
26976         (CFLAGS-iofsetpos64.c): Likewise.
26977         (CFLAGS-iofsetpos.c): Likewise.
26978         (CFLAGS-ioftell.c): Likewise.
26979         (CFLAGS-iofwrite.c): Likewise.
26980         (CFLAGS-iogetdelim.c): Likewise.
26981         (CFLAGS-iogetline.c): Likewise.
26982         (CFLAGS-iogets.c): Likewise.
26983         (CFLAGS-iogetwline.c): Likewise.
26984         (CFLAGS-ioputs.c): Likewise.
26985         (CFLAGS-ioseekoff.c): Likewise.
26986         (CFLAGS-ioseekpos.c): Likewise.
26987         (CFLAGS-iosetbuffer.c): Likewise.
26988         (CFLAGS-iosetvbuf.c): Likewise.
26989         (CFLAGS-ioungetc.c): Likewise.
26990         (CFLAGS-ioungetwc.c): Likewise.
26991         (CFLAGS-oldfileops.c): Likewise.
26992         (CFLAGS-oldiofclose.c): Likewise.
26993         (CFLAGS-oldiofgetpos64.c): Likewise.
26994         (CFLAGS-oldiofgetpos.c): Likewise.
26995         (CFLAGS-oldiofsetpos64.c): Likewise.
26996         (CFLAGS-oldiofsetpos.c): Likewise.
26997         (CFLAGS-peekc.c): Likewise.
26998         (CFLAGS-putc.c): Likewise.
26999         (CFLAGS-putchar.c): Likewise.
27000         (CFLAGS-putwc.c): Likewise.
27001         (CFLAGS-putwchar.c): Likewise.
27002         (CFLAGS-rewind.c): Likewise.
27003         (CFLAGS-wfileops.c): Likewise.
27004         (CFLAGS-wgenops.c): Likewise.
27005         (CFLAGS-oldiofopen.c): Likewise.
27006         (CFLAGS-iofopen.c): Likewise.
27007         (CFLAGS-iofopen64.c): Likewise.
27008         (CFLAGS-oldtmpfile.c): Likewise.
27009         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
27010         (CFLAGS-fprintf.c): Likewise.
27011         (CFLAGS-printf.c): Likewise.
27012         (CFLAGS-vfwprintf.c): Likewise.
27013         (CFLAGS-vfscanf.c): Likewise.
27014         (CFLAGS-vfwscanf.c): Likewise.
27015         (CFLAGS-fscanf.c): Likewise.
27016         (CFLAGS-scanf.c): Likewise.
27017         (CFLAGS-isoc99_vfscanf.c): Likewise.
27018         (CFLAGS-isoc99_vscanf.c): Likewise.
27019         (CFLAGS-isoc99_fscanf.c): Likewise.
27020         (CFLAGS-isoc99_scanf.c): Likewise.
27021         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
27022         (CFLAGS-isoc99_fwscanf.c): Likewise.
27023         (CFLAGS-isoc99_vwscanf.c): Likewise.
27024         (CFLAGS-isoc99_vfwscanf.c): Likewise.
27026         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
27027         after mkstemp64.
27028         * login/tst-utmp.c (do_prepare): Likewise.
27029         * rt/tst-aio.c (do_prepare): Likewise.
27030         * rt/tst-aio64.c (do_prepare): Likewise.
27032 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
27034         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
27035         (__lll_lock_elision): Remove adapt_count decrement...
27036         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
27037         (__lll_trylock_elision): Likewise.
27038         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
27039         (__lll_unlock_elision): ... to here. And utilize
27040         new adapt_count parameter.
27041         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
27042         (__lll_unlock_elision): Update to include adapt_count
27043         parameter.
27044         (lll_unlock_elision): Pass pointer to adapt_count
27045         variable.
27047 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
27049         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
27050         Add elision adapt_count parameter to list of arguments.
27051         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
27052         (lll_unlock_elision): Update with new parameter list
27053         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
27054         (lll_unlock_elision): Likewise.
27055         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
27056         (lll_unlock_elision): Likewise.
27058 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
27060         [BZ #19122]
27061         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
27062         attribute_hidden.
27064         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
27065         attribute_hidden.
27066         [IS_IN (rtld)] (__strdup): Likewise.
27067         [IS_IN (rtld)] (__strerror_r): Likewise.
27068         [IS_IN (rtld)] (__strsep_g): Likewise.
27069         [IS_IN (rtld)] (memchr): Likewise.
27070         [IS_IN (rtld)] (memcmp): Likewise.
27071         [IS_IN (rtld)] (memcpy): Likewise.
27072         [IS_IN (rtld)] (memmove): Likewise.
27073         [IS_IN (rtld)] (memset): Likewise.
27074         [IS_IN (rtld)] (rawmemchr): Likewise.
27075         [IS_IN (rtld)] (stpcpy): Likewise.
27076         [IS_IN (rtld)] (strchr): Likewise.
27077         [IS_IN (rtld)] (strcmp): Likewise.
27078         [IS_IN (rtld)] (strlen): Likewise.
27079         [IS_IN (rtld)] (strnlen): Likewise.
27080         [IS_IN (rtld)] (strsep): Likewise.
27082         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
27083         attribute_hidden.
27084         [IS_IN (rtld)] (__strtoul_internal): Likewise.
27086         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
27087         attribute_hidden.
27088         [IS_IN (rtld)] (__libc_sigaction): Likewise.
27090         * include/setjmp.h (__longjmp): Add attribute_hidden.
27091         [IS_IN (rtld)] (__sigsetjmp): Likewise.
27093         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
27094         Add attribute_hidden.
27096         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
27097         [IS_IN (rtld)] (__open): Likewise.
27098         [IS_IN (rtld)] (__fcntl): Likewise.
27100         * include/dirent.h (__opendirat): Add attribute_hidden.
27101         (__getdents): Likewise.
27102         (__getdents64): Likewise.
27103         (__alloc_dir): Likewise.
27104         [IS_IN (rtld)] (__closedir): Likewise.
27105         [IS_IN (rtld)] (__fdopendir): Likewise.
27106         [IS_IN (rtld)] (__readdir): Likewise.
27107         [IS_IN (rtld)] (__readdir64): Likewise.
27108         [IS_IN (rtld)] (__rewinddir): Likewise.
27110         * include/dlfcn.h (_dl_catch_error): Moved to ...
27111         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
27112         attribute_hidden.
27114         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
27115         (_itoa_word): Likewise.
27117         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
27118         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
27119         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
27120         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
27121         (_dl_higher_prime_number): Likewise.
27122         (_dl_debug_printf_c): Likewise.
27123         (_dl_signal_cerror): Likewise.
27124         (_dl_receive_error): Likewise.
27125         (_dl_reloc_bad_type): Likewise.
27126         (_dl_resolve_conflicts): Likewise.
27127         (_dl_check_all_versions): Likewise.
27128         (_dl_check_map_versions): Likewise.
27129         (_dl_sort_fini): Likewise.
27130         (_dl_debug_initialize): Likewise.
27131         (_dl_init_paths): Likewise.
27132         (_dl_show_auxv): Likewise.
27133         (_dl_next_ld_env_entry): Likewise.
27134         (_dl_important_hwcaps): Likewise.
27135         (_dl_load_cache_lookup): Likewise.
27136         (_dl_update_slotinfo): Likewise.
27137         (_dl_show_scope): Likewise.
27139         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
27140         attribute_hidden.
27141         (_wordcopy_fwd_dest_aligned): Likewise.
27142         (_wordcopy_bwd_aligned): Likewise.
27143         (_wordcopy_bwd_dest_aligned): Likewise.
27145         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
27146         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
27147         Likewise.
27148         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
27149         Likewise.
27150         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
27152 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
27154         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
27155         GCC 5 requirement.
27157 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
27159         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
27160         test.
27161         * sysdeps/i386/configure: Regenerated.
27162         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
27163         code unconditional.
27165         * configure.ac (libc_cv_asm_previous_directive): Remove configure
27166         test.
27167         (libc_cv_asm_popsection_directive): Likewise.
27168         * configure: Regenerated.
27169         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
27170         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
27171         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
27172         (__make_section_unallocated): Make definition unconditional.
27173         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
27174         Remove conditional definition.
27175         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
27176         (__make_section_unallocated): Likewise.
27178         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
27179         * configure: Regenerated.
27180         * config.make.in (static-libgcc): Remove variable.
27181         * Makerules (build-shlib-helper): Use -static-libgcc instead of
27182         $(static-libgcc).
27183         (build-module-helper): Likewise.
27185         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
27186         * configure: Regenerated.
27188 2015-10-15  Florian Weimer  <fweimer@redhat.com>
27190         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
27191         (struct char_buffer): New type.
27192         (char_buffer_start, char_buffer_size, char_buffer_error)
27193         (char_buffer_rewind, char_buffer_add): New functions.
27194         (ADDW): Remove macro, replaced by the char_buffer_add function.
27195         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
27196         of extend_alloca.  Make control flow more explicit.
27198 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
27200         [BZ #19137]
27201         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
27202         Add -fomit-frame-pointer.
27203         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
27205 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
27207         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
27208         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
27209         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
27210         only if !__GNUC_PREREQ (5,0).
27211         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
27212         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
27213         (INTERNAL_SYSCALL_NCS): Likewise.
27214         (LOADREGS_0): New macro for GCC 5.
27215         (ASMARGS_0): Likewise.
27216         (LOADREGS_1): Likewise.
27217         (ASMARGS_1): Likewise.
27218         (LOADREGS_2): Likewise.
27219         (ASMARGS_2): Likewise.
27220         (LOADREGS_3): Likewise.
27221         (ASMARGS_3): Likewise.
27222         (LOADREGS_4): Likewise.
27223         (ASMARGS_4): Likewise.
27224         (LOADREGS_5): Likewise.
27225         (ASMARGS_5): Likewise.
27226         (LOADREGS_6): Likewise.
27227         (ASMARGS_6): Likewise.
27229 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
27231         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
27232         -fomit-frame-pointer.
27233         (CFLAGS-mmap64.c): Likewise.
27234         (CFLAGS-semtimedop.c): Likewise.
27235         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
27236         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
27237         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
27238         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
27240 2015-10-15  Florian Weimer  <fweimer@redhat.com>
27242         [BZ #18928]
27243         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
27244         _dl_pointer_guard member.
27245         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
27246         initializer.
27247         (security_init): Always set up pointer guard.
27248         (process_envvars): Do not process LD_POINTER_GUARD.
27250 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
27252         [BZ #19134]
27253         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
27254         (.LC2): Likewise.
27255         (.LC3): Likewise.
27256         (__lround): Do not add 0.5 to integer or out-of-range arguments.
27258 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
27260         [BZ #19129]
27261         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
27262         r0 and r1.
27264 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
27266         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
27268 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
27270         * include/stap-probe.h: Fix macro definition formatting.
27272 2015-10-14  Florian Weimer  <fweimer@redhat.com>
27274         [BZ #19074]
27275         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
27276         load and store num_ifs.
27278 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
27280         [BZ #18822]
27281         * sysdeps/unix/sysv/linux/sched_getaffinity.c
27282         (__sched_getaffinity_new): Add libc_hidden_proto and
27283         libc_hidden_def.
27285 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
27287         [BZ #19007]
27288         * scripts/localplt.awk: Also allow GOT references.
27289         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
27290         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
27291         with "+ REL R_386_GLOB_DAT".
27292         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
27293         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
27295 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
27297         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
27298         INLINE_SYSCALL_ERROR_RETURN_VALUE.
27299         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
27300         Likewise.
27301         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
27302         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
27303         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
27304         INTERNAL_SYSCALLINTERNAL_SYSCALL and
27305         INLINE_SYSCALL_ERROR_RETURN_VALUE.
27306         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
27307         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
27308         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
27309         Likewise.
27310         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
27312 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
27314         [BZ #19125]
27315         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
27316         <math_private.h> and <stdint.h>.
27317         (__llround): Avoid conversions to and from long long int, and
27318         subtractions, where those might raise spurious exceptions.
27319         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
27320         <math_private.h> and <stdint.h>.
27321         (__llroundf): Avoid conversions to and from long long int, and
27322         subtractions, where those might raise spurious exceptions.
27324 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
27326         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
27327         INLINE_SYSCALL_ERROR_RETURN_VALUE.
27328         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
27329         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
27330         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
27331         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
27332         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
27333         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
27334         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
27335         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
27336         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
27337         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
27338         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
27339         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
27340         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
27341         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
27342         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
27343         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
27344         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
27345         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
27346         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
27347         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
27348         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
27349         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
27350         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
27351         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
27352         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
27353         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
27354         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
27355         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
27356         (__xstat64_conv): Likewise.
27357         (__xstat32_conv): Likewise.
27359 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
27361         * sysdeps/unix/sysv/linux/sysdep.h: New file.
27362         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
27363         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
27364         <sysdeps/unix/sysv/linux/sysdep.h>.
27365         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
27366         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
27367         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
27368         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
27369         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
27370         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
27371         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
27372         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
27373         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
27374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
27375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27376         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27377         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27378         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27379         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
27380         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27381         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
27382         (sysdep-dl-routines): Add sysdep.
27383         [$(subdir) == nptl] (libpthread-routines): Likewise.
27384         [$(subdir) == rt] (librt-routines): Likewise.
27385         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
27386         PIC when branching to SYSCALL_ERROR_LABEL.
27387         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
27388         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
27389         <sysdeps/unix/sysv/linux/sysdep.h>.
27390         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
27391         (SYSCALL_ERROR_ERRNO): Removed.
27392         (SYSCALL_ERROR_HANDLER): Changed to empty.
27393         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
27394         (__syscall_error): New prototype.
27395         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
27396         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
27398 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
27400         [BZ #19124]
27401         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
27402         (_dl_runtime_resolve_avx512): Make it a hidden alias of
27403         _dl_runtime_resolve_avx.
27404         (_dl_runtime_profile_avx512): Make it a hidden alias of
27405         _dl_runtime_profile_avx.
27407 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
27409         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
27410         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
27411         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
27412         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
27414         [BZ #16422]
27415         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
27416         New configure test.
27417         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
27418         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
27419         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
27420         <math_private.h> and <stdint.h>.
27421         (__llrint): Avoid conversions to long long int where those might
27422         raise spurious exceptions.
27423         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
27424         <math_private.h> and <stdint.h>.
27425         (__llrintf): Avoid conversions to long long int where those might
27426         raise spurious exceptions.
27428 2015-10-12  Andreas Schwab  <schwab@suse.de>
27430         [BZ #18969]
27431         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
27432         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
27433         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
27434         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
27435         $(gen-locales).
27436         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
27437         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
27438         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
27439         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
27440         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
27441         $(gen-locales).
27442         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
27443         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
27444         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
27445         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
27446         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
27447         ($(objpfx)tst-ftell-active-handler.out)
27448         ($(objpfx)tst-ftell-append.out)
27449         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
27450         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
27451         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
27452         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
27453         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
27454         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
27455         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
27456         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
27457         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
27458         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
27459         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
27460         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
27461         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
27462         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
27463         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
27464         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
27465         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
27466         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
27467         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
27468         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
27469         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
27470         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
27471         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
27472         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
27473         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
27474         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
27475         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
27476         $(gen-locales).
27477         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
27478         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
27479         $(gen-locales).
27480         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
27481         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
27482         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
27483         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
27484         $(gen-locales).
27485         * libio/tst_wprintf2.c (main): Use explicit locale.
27486         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
27488 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27490         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
27491         __msg_sig_post.
27492         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
27494 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
27496         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
27497         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
27499         * sysdeps/arm/libm-test-ulps: Regenerated.
27501         [BZ #15470]
27502         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
27504         [BZ #16399]
27505         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
27506         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
27507         and <fix-fp-int-convert-overflow.h>.
27508         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
27509         FIX_DBL_LLONG_CONVERT_OVERFLOW.
27510         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
27511         and <fix-fp-int-convert-overflow.h>.
27512         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
27513         FIX_DBL_LLONG_CONVERT_OVERFLOW.
27514         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
27515         <fix-fp-int-convert-overflow.h>.
27516         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
27517         FIX_DBL_LLONG_CONVERT_OVERFLOW.
27518         * sysdeps/ieee754/dbl-64/s_lround.c: Include
27519         <fix-fp-int-convert-overflow.h>.
27520         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
27521         FIX_DBL_LLONG_CONVERT_OVERFLOW.
27522         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
27523         and <fix-fp-int-convert-overflow.h>.
27524         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
27525         FIX_DBL_LLONG_CONVERT_OVERFLOW.
27526         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
27527         <limits.h> and <fix-fp-int-convert-overflow.h>.
27528         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
27529         FIX_DBL_LLONG_CONVERT_OVERFLOW.
27530         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
27531         and <fix-fp-int-convert-overflow.h>.
27532         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
27533         FIX_DBL_LLONG_CONVERT_OVERFLOW.
27534         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
27535         and <fix-fp-int-convert-overflow.h>.
27536         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
27537         FIX_DBL_LLONG_CONVERT_OVERFLOW.
27538         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
27540 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
27542         [BZ #18589]
27543         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
27544         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
27545         $(gen-locales).
27547 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27548             Phil Blundell <pb@pbcl.net>
27550         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
27551         * nptl/tst-cancel26.c: New file.
27552         * nptl/tst-cancel27.c: Likewise.
27554 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
27556         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
27557         __ILP32__ isn't defined.
27558         (lrint): Likewise.
27559         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
27560         (lrintf): Likewise.
27561         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
27562         (lrintl): Likewise.
27563         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
27564         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
27565         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
27567 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27569         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
27570         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
27572         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
27573         file.
27574         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
27575         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
27577 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
27579         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
27580         configure test.
27581         * sysdeps/i386/configure: Regenerated.
27582         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
27583         configure test.
27584         * sysdeps/x86_64/configure: Regenerated.
27585         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
27586         Make code unconditional.
27588         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
27589         test.
27590         * sysdeps/i386/configure: Regenerated.
27591         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
27592         test.
27593         * sysdeps/x86_64/configure: Regenerated.
27594         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
27595         Make code unconditional.
27596         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
27597         Likewise.
27598         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
27599         Likewise.
27600         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
27601         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
27602         code unconditional.
27603         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
27604         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
27605         code unconditional.
27606         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
27607         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
27608         code unconditional.
27609         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
27610         code unconditional.
27611         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
27612         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
27613         code unconditional.
27614         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
27615         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
27616         code unconditional.
27617         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
27618         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
27619         code unconditional.
27620         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
27621         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
27622         code unconditional.
27623         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
27624         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
27626         [BZ #19095]
27627         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
27628         mantissa to long int before shifting left.
27630 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
27632         [BZ #19094]
27633         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
27634         <limits.h>.
27635         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
27636         when result overflows but exception would not result from cast.
27637         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
27638         <limits.h>.
27639         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
27640         when result overflows but exception would not result from cast.
27641         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
27642         <limits.h>.
27643         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
27644         when result overflows but exception would not result from cast.
27645         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
27646         <limits.h>.
27647         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
27648         when result overflows but exception would not result from cast.
27649         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
27650         <limits.h>.
27651         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
27652         when result overflows but exception would not result from cast.
27653         * math/libm-test.inc (lrint_test_data): Add more tests.
27654         (llrint_test_data): Likewise.
27656 2015-10-08  Roland McGrath  <roland@hack.frob.com>
27658         [BZ #18872]
27659         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
27660         Move out from under [$(run-built-tests) = yes] conditional.
27661         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
27662         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
27664 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
27666         [BZ #18589]
27667         * string/Makefile (tests): Add bug-strcoll2.
27668         (LOCALES): Add cs_CZ.UTF-8.
27669         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
27671         [BZ #18589]
27672         * string/bug-strcoll2.c: New file.
27673         * locale/categories.def: Revert commit
27674         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
27675         * locale/langinfo.h: Likewise.
27676         * locale/localeinfo.h: Likewise.
27677         * locale/C-collate.c: Likewise.
27678         * locale/programs/ld-collate.c (collate_output): Likewise.
27679         * string/strcoll_l.c (STRDIFF): Likewise.
27680         (STRCOLL): Likewise.
27681         * wcsmbs/wcscoll_l.c: Likewise.
27683 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
27685         * math/libm-test.inc (lround_test_data): Do not expect the absence
27686         of "inexact" for some tests with non-integer arguments.
27687         (llround_test_data): Likewise.
27689         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
27690         test.
27691         (libc_cv_cc_sse2avx): Likewise.
27692         * sysdeps/i386/configure: Regenerated.
27693         * sysdeps/i386/i686/multiarch/Makefile
27694         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
27695         [$(subdir) = math].
27696         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
27697         code unconditional.
27698         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
27699         Likewise.
27700         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
27701         Likewise.
27702         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
27703         Likewise.
27704         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
27705         test.
27706         (libc_cv_cc_sse2avx): Likewise.
27707         * sysdeps/x86_64/configure: Regenerated.
27708         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
27709         unconditional.
27710         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
27711         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
27712         unconditional.
27713         (_dl_runtime_profile)
27714         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
27715         conditional code.
27716         * sysdeps/x86_64/fpu/multiarch/Makefile
27717         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
27718         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
27719         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
27720         * sysdeps/x86_64/fpu/multiarch/e_exp.c
27721         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
27722         * sysdeps/x86_64/fpu/multiarch/e_log.c
27723         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
27724         * sysdeps/x86_64/fpu/multiarch/s_atan.c
27725         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
27726         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
27727         Likewise.
27728         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
27729         Likewise.
27730         * sysdeps/x86_64/fpu/multiarch/s_sin.c
27731         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
27732         * sysdeps/x86_64/fpu/multiarch/s_tan.c
27733         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
27734         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
27735         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
27736         (HAVE_SSE2AVX_SUPPORT): Likewise.
27738 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
27740         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
27741         instead of #pragma optimize.
27743 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
27745         [BZ #17195]
27746         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
27747         as is similarly done in systrim and _int_free already.
27749 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27751         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
27753 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
27755         [BZ #19088]
27756         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
27757         <limits.h>.
27758         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
27759         overflows but exception would not result from cast.
27760         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
27761         and <limits.h>.
27762         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
27763         overflows but exception would not result from cast.
27764         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
27765         <limits.h>.
27766         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
27767         overflows but exception would not result from cast.
27768         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
27769         <limits.h>.
27770         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
27771         overflows but exception would not result from cast.
27772         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
27773         <limits.h>.
27774         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
27775         overflows but exception would not result from cast.
27776         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
27777         <limits.h>.
27778         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
27779         overflows but exception would not result from cast.
27780         * math/libm-test.inc (lround_test_data): Add more tests.
27781         (llround_test_data): Likewise.
27783 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
27785         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
27786         (CFLAGS-ialloc.c): Ditto.
27787         (CFLAGS-scheck.c): Ditto.
27789 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
27791         [BZ #19086]
27792         * manual/filesys.texi (Storage Allocation): Fix argument order for
27793         posix_fallocate64.
27795 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
27797         [BZ #19085]
27798         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
27799         exponent below 48 inside case for non-overflowing exponent.
27800         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
27802 2015-10-07  Florian Weimer  <fweimer@redhat.com>
27804         * iconvdata/cp737.h (from_idx): Add const.
27805         * iconvdata/cp775.h (from_idx): Likewise.
27807 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
27809         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
27810         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
27811         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
27813         [BZ #19079]
27814         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
27815         file, conditioned on [!_LP64].
27816         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
27817         [!_LP64] (__lround): Do not define as function or alias.
27818         [!_LP64] (lround): Likewise.
27819         [!_LP64] (__lroundl): Likewise.
27820         [!_LP64] (lroundl): Likewise.
27821         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
27822         macro.
27823         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
27824         Likewise.
27826 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
27828         * math/libm-test.inc (lrint_test_data): Add more tests.
27829         (llrint_test_data): Likewise.
27830         (lround_test_data): Likewise.
27831         (llround_test_data): Likewise.
27833         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
27834         (llrint_test_data): Add tests used for lrint.
27836         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
27837         test.
27838         * sysdeps/i386/configure: Regenerated.
27839         * sysdeps/i386/i686/multiarch/Makefile
27840         [$(config-cflags-sse4) = yes]: Make code unconditional.
27841         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
27842         Likewise.
27843         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
27844         Likewise.
27845         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
27846         test.
27847         * sysdeps/x86_64/configure: Regenerated.
27848         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
27849         Make code unconditional.
27850         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
27851         Likewise.
27852         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
27853         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
27855         * scripts/rpm2dynsym.sh: Remove file.
27857 2015-10-06  Florian Weimer  <fweimer@redhat.com>
27859         * configure.ac (libc_cv_cxx_thread_local): Define.
27860         * configure: Regenerate.
27861         * config.make.in (have-cxx-thread_local): Define.
27862         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
27863         (LDLIBS-tst-thread_local1): Define.
27864         (tests): Add tst-thread_local1.
27865         [have-cxx-thread_local != yes] (tests-unsupported): Add
27866         tst-thread_local1.
27867         * nptl/tst-thread_local1.cc: New file.
27869 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
27871         [BZ #19078]
27872         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
27873         (u_thres): Likewise.
27874         (__expl): Determine whether to call __kernel_standard_l based on
27875         value of result, not argument.
27877         * math/libm-test.inc (scalb_test_data): Add more expectations for
27878         the "inexact" exception.
27880         [BZ #19077]
27881         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
27882         0.0L for argument 1.0L.
27884         [BZ #19076]
27885         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
27886         constant 0.0L when computing infinite result.
27888 2015-10-06  Florian Weimer  <fweimer@redhat.com>
27890         [BZ #10432]
27891         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
27892         malloc_usable_size.
27894 2015-10-06  Florian Weimer  <fweimer@redhat.com>
27896         [BZ #19018]
27897         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
27898         Mangle function pointer before storing it.
27899         (__call_tls_dtors): Demangle function pointer before calling it.
27901 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
27903         [BZ #19012]
27904         * iconv/gconv_db.c (gen_steps): Check for additional errors.
27905         Clean up on failure.
27907 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
27909         [BZ #19071]
27910         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
27911         long int variable to store possibly incremented high part of
27912         mantissa.
27913         * math/libm-test.inc (lround_test_data): Add tests used for
27914         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
27915         for tests requiring 64-bit long.  Do not condition tests on
27916         [TEST_FLOAT] unnecessarily.
27917         (llround_test_data): Add tests used for lround.  Add another
27918         expectation for the "inexact" exception.  Do not condition tests
27919         on [TEST_FLOAT] unnecessarily.
27921         [BZ #887]
27922         [BZ #19049]
27923         [BZ #19050]
27924         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
27925         * sysdeps/ieee754/dbl-64/e_log10.c: Include
27926         <fix-int-fp-convert-zero.h>.
27927         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
27928         * sysdeps/ieee754/dbl-64/e_log2.c: Include
27929         <fix-int-fp-convert-zero.h>.
27930         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
27931         * sysdeps/ieee754/dbl-64/s_erf.c: Include
27932         <fix-int-fp-convert-zero.h>.
27933         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
27934         * sysdeps/ieee754/dbl-64/s_logb.c: Include
27935         <fix-int-fp-convert-zero.h>.
27936         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
27937         * sysdeps/ieee754/flt-32/e_log10f.c: Include
27938         <fix-int-fp-convert-zero.h>.
27939         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
27940         * sysdeps/ieee754/flt-32/e_log2f.c: Include
27941         <fix-int-fp-convert-zero.h>.
27942         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
27943         * sysdeps/ieee754/flt-32/s_erff.c: Include
27944         <fix-int-fp-convert-zero.h>.
27945         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
27946         * sysdeps/ieee754/flt-32/s_logbf.c: Include
27947         <fix-int-fp-convert-zero.h>.
27948         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
27949         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
27950         <fix-int-fp-convert-zero.h>.
27951         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
27952         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
27953         <fix-int-fp-convert-zero.h>.
27954         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
27955         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
27956         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
27957         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
27958         file.
27959         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
27961 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
27963         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27965 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
27967         [BZ #19059]
27968         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
27969         overflowing computation.
27970         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
27971         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
27972         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
27973         Likewise.
27974         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
27975         Likewise.
27976         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
27977         Likewise.
27978         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
27979         Likewise.
27980         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
27981         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
27982         Likewise.
27983         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
27984         Likewise.
27985         * math/libm-test.inc (nexttoward_test_data): Add more tests.
27987         * nss/rewrite_field.c (__nss_rewrite_field): Use
27988         internal_function.
27989         * nss/valid_field.c (__nss_valid_field): Likewise.
27990         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
27992 2015-10-02  Florian Weimer  <fweimer@redhat.com>
27994         [BZ #18724]
27995         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
27996         (__nss_invalid_field_characters, __nss_valid_field)
27997         (__nss_valid_list_field, __nss_rewrite_field): Declare.
27998         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
27999         tst-field.c: New file.
28000         * nss/Makefile (routines): Add valid_field, rewrite_field.
28001         (tests-static): Define unconditionally.
28002         (tests): Include tests-static.
28003         [build-static-nss] (tests-static): Use append.
28004         [build-static-nss] (tests): Remove modification.
28005         * nss/getent.c (print_group): Call putgrent.  Report error.
28006         (print_gshadow): Call putsgent.  Report error.
28007         (print_passwd): Call putpwent.  Report error.
28008         (print_shadow): Call putspent.  Report error.
28009         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
28010         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
28011         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
28012         name, password, directory, shell fields for valid syntax.  Rewrite
28013         GECOS field to match syntax.
28014         * pwd/Makefile (tests): Add tst-putpwent.
28015         * pwd/tst-putpwent.c: New file.
28016         * grp/putgrent.c (putgrent): Convert to ISO function definition.
28017         Check grName, grpasswd, gr_mem fields for valid syntax.
28018         Change loop variable i to size_t.
28019         * grp/Makefile (tests): Add tst-putgrent.
28020         * grp/tst-putgrent.c: New file.
28021         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
28022         valid syntax.
28023         * shadow/Makefile (tests): Add tst-putspent.
28024         * shadow/tst-putspent.c: New file.
28025         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
28026         sg_mem fields for valid syntax.
28027         * gshadow/Makefile (tests): Add tst-putsgent.
28028         * gshadow/tst-putsgent.c: New file.
28030 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
28032         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
28033         assembly instructions.
28035 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
28037         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
28038         prefix from operands.
28040 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
28042         [BZ #16347]
28043         [BZ #19046]
28044         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
28045         <libc-internal.h>.
28046         (MAXLGM): Do not use diagnostic control macros.
28047         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
28048         threshold for ldbl-128ibm.
28049         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
28050         instead of multiplying by log then subtracting.
28051         * math/auto-libm-test-in: Add more tests of lgamma.
28052         * math/auto-libm-test-out: Regenerated.
28054         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
28055         (TYPE_HEX_DIG): Likewise.
28056         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
28057         precisions when printing floating-point numbers.
28058         (check_float_internal): Likewise.
28060 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
28062         [BZ #16620]
28063         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
28064         of log (10) rounded downward to 48 bits.
28065         (log10_low): Use corresponding low part of log (10).
28067         [BZ #19032]
28068         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
28069         compute result as (x - x) / (x - x) not as 0 / 0.
28070         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
28071         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
28073         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
28074         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
28075         and expm1.
28076         * math/auto-libm-test-out: Regenerated.
28077         * math/libm-test.inc (acos_test_data): Add more tests.
28078         (asin_test_data): Likewise.
28079         (asinh_test_data): Likewise.
28080         (atan_test_data): Likewise.
28081         (atanh_test_data): Likewise.
28082         (atan2_test_data): Likewise.
28083         (cbrt_test_data): Likewise.
28084         (ceil_test_data): Likewise.
28085         (copysign_test_data): Likewise.
28086         (cos_test_data): Likewise.
28087         (cosh_test_data): Likewise.
28088         (erf_test_data): Likewise.
28089         (erfc_test_data): Likewise.
28090         (exp_test_data): Likewise.
28091         (exp10_test_data): Likewise.
28092         (exp2_test_data): Likewise.
28093         (expm1_test_data): Likewise.
28094         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28096 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
28098         [BZ #19006]
28099         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
28100         to ...
28101         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
28102         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
28103         to ...
28104         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
28105         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
28106         to ...
28107         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
28108         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
28109         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
28110         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
28111         to ...
28112         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
28113         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
28114         Moved to ...
28115         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
28116         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
28117         Moved to ...
28118         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
28119         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
28120         to ...
28121         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
28122         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
28123         Moved to ...
28124         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
28125         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
28126         to ...
28127         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
28128         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
28129         Removed.
28130         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
28131         Likewise.
28132         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
28133         Likewise.
28134         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
28135         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
28136         Likewise.
28137         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
28138         Likewise.
28139         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
28140         Likewise.
28141         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
28142         Likewise.
28143         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
28144         Likewise.
28145         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
28146         Likewise.
28147         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
28148         Likewise.
28149         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
28150         Likewise.
28151         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
28152         Likewise.
28153         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
28154         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
28155         Likewise.
28156         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
28157         Likewise.
28158         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
28159         Likewise.
28160         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
28161         Likewise.
28162         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
28163         Likewise.
28164         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
28165         Replace ../i486/pthread_cond_timedwait.S with
28166         ../pthread_cond_timedwait.S.
28168 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
28170         * math/libm-test.inc (acos_test_data): Refine expectations for
28171         errno and "inexact" exceptions.
28172         (acosh_test_data): Likewise.
28173         (asin_test_data): Likewise.
28174         (asinh_test_data): Likewise.
28175         (atan_test_data): Likewise.
28176         (atanh_test_data): Likewise.
28177         (atan2_test_data): Likewise.
28178         (cbrt_test_data): Likewise.
28179         (ceil_test_data): Likewise.
28180         (copysign_test_data): Likewise.
28181         (cosh_test_data): Likewise.
28182         (erf_test_data): Likewise.
28183         (erfc_test_data): Likewise.
28184         (exp_test_data): Likewise.
28185         (exp10_test_data): Likewise.
28186         (exp2_test_data): Likewise.
28187         (expm1_test_data): Likewise.
28188         (fabs_test_data): Likewise.
28189         (floor_test_data): Likewise.
28190         (fma_test_data): Likewise.
28191         (fmax_test_data): Likewise.
28192         (fmin_test_data): Likewise.
28193         (fmod_test_data): Likewise.
28194         (fpclassify_test_data): Likewise.
28195         (frexp_test_data): Likewise.
28196         (hypot_test_data): Likewise.
28197         (ilogb_test_data): Likewise.
28198         (isgreater_test_data): Likewise.
28199         (isgreaterequal_test_data): Likewise.
28200         (isinf_test_data): Likewise.
28201         (isless_test_data): Likewise.
28202         (islessequal_test_data): Likewise.
28203         (islessgreater_test_data): Likewise.
28204         (isnan_test_data): Likewise.
28205         (isnormal_test_data): Likewise.
28206         (issignaling_test_data): Likewise.
28207         (isunordered_test_data): Likewise.
28208         (j0_test_data): Likewise.
28209         (j1_test_data): Likewise.
28210         (jn_test_data): Likewise.
28211         (lgamma_test_data): Likewise.
28212         (lrint_test_data): Likewise.
28213         (llrint_test_data): Likewise.
28214         (log_test_data): Likewise.
28215         (log10_test_data): Likewise.
28216         (log1p_test_data): Likewise.
28217         (log2_test_data): Likewise.
28218         (logb_test_data): Likewise.
28219         (lround_test_data): Likewise.
28220         (llround_test_data): Likewise.
28221         (modf_test_data): Likewise.
28222         (nearbyint_test_data): Likewise.
28223         (nextafter_test_data): Likewise.
28224         (nexttoward_test_data): Likewise.
28225         (pow_test_data): Likewise.
28226         (remainder_test_data): Likewise.
28227         (remquo_test_data): Likewise.
28228         (rint_test_data): Likewise.
28229         (round_test_data): Likewise.
28230         (signbit_test_data): Likewise.
28231         (sinh_test_data): Likewise.
28232         (sqrt_test_data): Likewise.
28233         (tanh_test_data): Likewise.
28234         (tgamma_test_data): Likewise.
28235         (trunc_test_data): Likewise.
28236         (y0_test_data): Likewise.
28237         (y1_test_data): Likewise.
28238         (yn_test_data): Likewise.
28239         (significand_test_data): Likewise.
28241 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
28243         * manual/filesys.texi (Storage Allocation): Document that
28244         posix_fallocate emulation fails when fd is open with O_WRONLY.
28246 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
28248         [BZ #19016]
28249         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
28250         allow more cases with X^2 + Y^2 >= 0.5.
28251         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
28252         normal element in sum instead of special-casing based on values of
28253         arguments.
28254         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
28255         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
28256         -1 as normal element in sum instead of special-casing based on
28257         values of arguments.
28258         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
28259         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
28260         (__x2y2m1): Update comment.
28261         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
28262         as normal element in sum instead of special-casing based on values
28263         of arguments.
28264         * math/s_clog.c (__clog): Handle more cases using log1p without
28265         hypot.
28266         * math/s_clog10.c (__clog10): Likewise.
28267         * math/s_clog10f.c (__clog10f): Likewise.
28268         * math/s_clog10l.c (__clog10l): Likewise.
28269         * math/s_clogf.c (__clogf): Likewise.
28270         * math/s_clogl.c (__clogl): Likewise.
28271         * math/auto-libm-test-in: Add more tests of clog and clog10.
28272         * math/auto-libm-test-out: Regenerated.
28273         * sysdeps/i386/fpu/libm-test-ulps: Update.
28274         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28276 2015-09-28  Martin Sebor  <msebor@redhat.com>
28278         [BZ #18969]
28279         * string/Makefile (LOCALES): Define.
28280         (gen-locales.mk): Include.
28281         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
28282         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
28283         * string/tst-strxfrm2.c (do_test): Print the name of the locale
28284         on setlocale failure.
28286 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
28288         [BZ #18985]
28289         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
28290         (__strftime_internal): Likewise.
28291         * time/tst-strftime.c (do_bz18985): New test.
28292         (do_test): Call it.
28294 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
28296         [BZ #18956]
28297         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
28298         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
28299         extracting high part.
28300         * math/auto-libm-test-in: Add another test of pow.
28301         * math/auto-libm-test-out: Regenerated.
28302         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28304 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
28306         [BZ #18825]
28307         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
28308         New macro.
28309         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
28310         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
28311         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
28312         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
28313         DBL_NARROW_EVAL, reloading the PIC register as needed.
28314         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
28315         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
28316         FLT_NARROW_EVAL.  Use separate return path for case when first
28317         argument is NaN.
28318         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
28319         DEFINE_LDBL_MIN.
28320         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
28321         PIC register.
28322         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
28323         math_check_force_underflow_nonneg.
28324         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
28325         underflow for subnormal result.
28326         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
28327         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
28328         math_check_force_underflow_nonneg.
28329         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
28330         math_check_force_underflow.
28331         * sysdeps/x86_64/fpu/x86_64-math-asm.h
28332         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
28333         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
28334         DEFINE_LDBL_MIN.
28335         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
28336         * math/auto-libm-test-in: Add more tests of pow.
28337         * math/auto-libm-test-out: Regenerated.
28339 2015-09-25  Florian Weimer  <fweimer@redhat.com>
28341         * nss/bug17079.c (init_test_items): Add diagnostic for
28342         inconsistent entries.
28343         (test_buffer_size): Skip inconsistent entries.
28345 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
28347         [BZ #13304]
28348         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
28349         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
28350         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
28352         [BZ #13304]
28353         * sysdeps/microblaze/s_fma.c: New file.
28354         * sysdeps/microblaze/s_fmaf.c: Likewise.
28355         * sysdeps/microblaze/sfp-machine.h: Likewise.
28357 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
28359         [BZ #17250]
28360         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
28361         member.
28363 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
28365         [BZ #18803]
28366         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
28367         (MO): New macro.
28368         (__ieee754_hypot) [PIC]: Load PIC register.
28369         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
28370         DBL_NARROW_EVAL.
28371         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
28372         math_check_force_underflow_nonneg in case where result might be
28373         tiny.
28374         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
28375         Likewise.
28376         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
28377         Likewise.
28378         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
28379         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
28380         * math/auto-libm-test-in: Add more tests of hypot.
28381         * math/auto-libm-test-out: Regenerated.
28383 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
28385         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
28387 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
28389         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
28390         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
28391         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
28392         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
28393         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
28394         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
28395         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
28397         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
28398         LOAD_PIC_REG.
28400         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
28401         (FLT_CHECK_FORCE_UFLOW): Likewise.
28402         (DBL_CHECK_FORCE_UFLOW): Likewise.
28403         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
28404         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
28405         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
28406         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
28407         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
28408         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
28409         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
28410         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
28411         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
28412         (dbl_min): Replace with use of DEFINE_DBL_MIN.
28413         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
28414         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
28415         (flt_min): Replace with use of DEFINE_FLT_MIN.
28416         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
28417         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
28418         (dbl_min): Replace with use of DEFINE_DBL_MIN.
28419         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
28420         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
28421         (flt_min): Replace with use of DEFINE_FLT_MIN.
28422         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
28423         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
28424         (dbl_min): Replace with use of DEFINE_DBL_MIN.
28425         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
28426         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
28427         (flt_min): Replace with use of DEFINE_FLT_MIN.
28428         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
28429         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
28430         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
28431         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
28432         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
28433         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
28434         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
28435         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
28436         (dbl_min): Replace with use of DEFINE_DBL_MIN.
28437         (__atan): Use DBL_CHECK_FORCE_UFLOW.
28438         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
28439         (flt_min): Replace with use of DEFINE_FLT_MIN.
28440         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
28441         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
28442         (dbl_min): Replace with use of DEFINE_DBL_MIN.
28443         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
28444         main computation.
28445         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
28446         (flt_min): Replace with use of DEFINE_FLT_MIN.
28447         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
28448         main computation.
28449         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
28450         (dbl_min): Replace with use of DEFINE_DBL_MIN.
28451         (MO): New macro.
28452         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
28453         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
28454         (flt_min): Replace with use of DEFINE_FLT_MIN.
28455         (MO): New macro.
28456         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
28457         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
28458         (__log1pl): Use MO.
28460         [BZ #19003]
28461         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
28462         $(config-cflags-nofma).
28464 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
28466         * sysdeps/aarch64/libm-test-ulps: Regenerated.
28468 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
28470         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
28471         (TWO127): Likewise.
28473         * sysdeps/generic/math_private.h (fabs_tg): New macro.
28474         (min_of_type): Likewise.
28475         (math_check_force_underflow): Likewise.
28476         (math_check_force_underflow_nonneg): Likewise.
28477         (math_check_force_underflow_complex): Likewise.
28478         * math/e_exp2l.c (__ieee754_exp2l): Use
28479         math_check_force_underflow_nonneg.
28480         * math/k_casinh.c (__kernel_casinh): Likewise.
28481         * math/k_casinhf.c (__kernel_casinhf): Likewise.
28482         * math/k_casinhl.c (__kernel_casinhl): Likewise.
28483         * math/s_catan.c (__catan): Use
28484         math_check_force_underflow_complex.
28485         * math/s_catanf.c (__catanf): Likewise.
28486         * math/s_catanh.c (__catanh): Likewise.
28487         * math/s_catanhf.c (__catanhf): Likewise.
28488         * math/s_catanhl.c (__catanhl): Likewise.
28489         * math/s_catanl.c (__catanl): Likewise.
28490         * math/s_ccosh.c (__ccosh): Likewise.
28491         * math/s_ccoshf.c (__ccoshf): Likewise.
28492         * math/s_ccoshl.c (__ccoshl): Likewise.
28493         * math/s_cexp.c (__cexp): Likewise.
28494         * math/s_cexpf.c (__cexpf): Likewise.
28495         * math/s_cexpl.c (__cexpl): Likewise.
28496         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
28497         * math/s_clog10.c (__clog10): Likewise.
28498         * math/s_clog10f.c (__clog10f): Likewise.
28499         * math/s_clog10l.c (__clog10l): Likewise.
28500         * math/s_clogf.c (__clogf): Likewise.
28501         * math/s_clogl.c (__clogl): Likewise.
28502         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
28503         * math/s_csinf.c (__csinf): Likewise.
28504         * math/s_csinh.c (__csinh): Likewise.
28505         * math/s_csinhf.c (__csinhf): Likewise.
28506         * math/s_csinhl.c (__csinhl): Likewise.
28507         * math/s_csinl.c (__csinl): Likewise.
28508         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
28509         * math/s_csqrtf.c (__csqrtf): Likewise.
28510         * math/s_csqrtl.c (__csqrtl): Likewise.
28511         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
28512         * math/s_ctanf.c (__ctanf): Likewise.
28513         * math/s_ctanh.c (__ctanh): Likewise.
28514         * math/s_ctanhf.c (__ctanhf): Likewise.
28515         * math/s_ctanhl.c (__ctanhl): Likewise.
28516         * math/s_ctanl.c (__ctanl): Likewise.
28517         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
28518         instead of volatile.
28519         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
28520         math_check_force_underflow.
28521         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
28522         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
28523         volatile when forcing underflow.
28524         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
28525         math_check_force_underflow_nonneg.
28526         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
28527         Likewise.
28528         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
28529         math_check_force_underflow.
28530         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
28531         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
28532         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
28533         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
28534         math_check_force_underflow_nonneg.
28535         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
28536         math_check_force_underflow.
28537         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
28538         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
28539         instead of volatile.
28540         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
28541         math_check_force_underflow.
28542         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
28543         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
28544         math_check_force_underflow_nonneg.
28545         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
28546         math_check_force_underflow.
28547         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
28548         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
28549         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
28550         math_check_force_underflow_nonneg.
28551         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
28552         Likewise.
28553         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
28554         math_check_force_underflow.
28555         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
28556         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
28557         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
28558         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
28559         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
28560         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
28561         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
28562         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
28563         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
28564         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
28565         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
28566         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
28567         Likewise.
28568         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
28569         math_check_force_underflow_nonneg.
28570         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
28571         Likewise.
28572         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
28573         math_check_force_underflow.
28574         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
28575         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
28576         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
28577         Likewise.
28578         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
28579         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
28580         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
28581         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
28582         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
28583         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
28584         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
28585         instead of volatile.
28586         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
28587         math_check_force_underflow.
28588         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
28589         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
28590         math_check_force_underflow.
28591         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
28592         Likewise.
28593         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
28594         Use math_check_force_underflow_nonneg.
28595         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
28596         math_check_force_underflow.
28597         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
28598         Likewise.
28599         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
28600         Likewise.
28601         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
28602         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
28603         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
28604         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
28605         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
28606         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
28607         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
28608         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
28609         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
28610         math_check_force_underflow_nonneg.
28611         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
28612         math_check_force_underflow.
28613         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
28614         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
28615         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
28616         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
28617         math_check_force_underflow_nonneg.
28618         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
28619         math_check_force_underflow.
28620         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
28621         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
28622         instead of volatile.
28623         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
28624         math_check_force_underflow.
28626         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
28627         * stdlib/strtod_l.c: Include <math_private.h>.
28628         (overflow_value): Use math_narrow_eval.
28629         (underflow_value): Likewise.
28630         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
28631         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
28632         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
28633         (__ieee754_gamma_r): Likewise.
28634         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
28635         Likewise.
28636         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
28637         Likewise.
28638         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
28639         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
28640         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
28641         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
28642         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
28643         (__ieee754_gammaf_r): Likewise.
28644         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
28645         Likewise.
28646         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
28647         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
28648         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
28649         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
28650         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
28651         volatile.
28652         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
28653         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
28654         math_narrow_eval.
28655         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
28656         Likewise.
28657         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
28658         Likewise.
28659         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
28660         Likewise.
28661         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
28662         volatile.
28663         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
28664         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
28665         math_narrow_eval.
28666         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
28667         Likewise.
28668         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
28669         Likewise.
28671 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
28673         * nptl/Versions: Remove ignored symbols.
28675 2015-09-22  Florian Weimer  <fweimer@redhat.com>
28677         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
28678         * nss/Makefile (tests): Update.
28680 2015-09-22  Florian Weimer  <fweimer@redhat.com>
28682         * nss/bug18287.c: New file.
28683         * nss/Makefile (tests): Add bug18287.
28685 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28687         * mach/Versions (__mach_host_self_): Add symbol.
28689 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28691         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
28692         vm_page_size.
28694 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28696         Really fix sysdeps/i386/fpu/s_scalbn.S build
28698         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
28699         (libc: GLIBC_2_22): Remove unused version set.
28701 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
28703         * config.make.in (enable-timezone-tools): New variable.
28704         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
28705         (enable_timezone_tools): Export to generated files.
28706         * configure: Regenerate.
28707         * INSTALL: Regenerate.
28708         * manual/install.texi (--disable-timezone-tools): Document new flag.
28709         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
28710         ifeq ($(enable-timezone-tools),yes) check.
28712 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
28714         * timezone/Makefile: Revert previous change.
28716         [BZ #18980]
28717         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
28718         (DEFINE_DBL_MIN): Likewise.
28719         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
28720         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
28721         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
28722         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
28723         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
28724         (dbl_min): Replace with use of DEFINE_DBL_MIN.
28725         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
28726         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
28727         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
28728         (dbl_min): Replace with use of DEFINE_DBL_MIN.
28729         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
28730         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
28731         (flt_min): Replace with use of DEFINE_FLT_MIN.
28732         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
28733         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
28734         (dbl_min): Replace with use of DEFINE_DBL_MIN.
28735         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
28736         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
28737         (flt_min): Replace with use of DEFINE_FLT_MIN.
28738         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
28739         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
28740         (flt_min): Replace with use of DEFINE_FLT_MIN.
28741         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
28742         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
28743         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
28744         (__ieee754_hypot): Use DBL_NARROW_EVAL.
28745         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
28746         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
28747         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
28748         (__ieee754_pow): Use DBL_NARROW_EVAL.
28749         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
28750         (__ieee754_powf): Use FLT_NARROW_EVAL.
28751         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
28752         (__ieee754_expf_sse2): Convert double-precision result to single
28753         precision.
28754         * sysdeps/i386/fpu/libm-test-ulps: Update.
28756 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
28758         * timezone/Makefile: Ignore unused variable errors due to private.h
28759         (time_t_min) and (time_t_max).
28760         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
28761         Likewise.
28763 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
28765         [BZ #18981]
28766         * sysdeps/i386/fpu/i386-math-asm.h: New file.
28767         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
28768         (__ieee754_scalb): Use DBL_NARROW_EVAL.
28769         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
28770         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
28771         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
28772         (__scalbn): Use DBL_NARROW_EVAL.
28773         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
28774         (__scalbnf): Use FLT_NARROW_EVAL.
28776 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
28778         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
28779         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
28780         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
28781         * stdio-common/printf_fp.c (___printf_fp):
28782         Use signbit to get the sign. Use isinf macro to allow inlining.
28783         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
28784         * stdio-common/printf_size.c (__printf_size): Likewise.
28786 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
28788         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
28790 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
28792         [BZ #18980]
28793         * sysdeps/generic/math_private.h: Include <float.h>.
28794         (math_narrow_eval): New macro.
28795         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
28796         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
28797         math_narrow_eval on overflowing return value.
28798         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
28799         Likewise.
28800         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
28801         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
28802         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
28803         Likewise.
28804         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
28806 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
28808         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
28809         * math/Makefile: Remove isinf_ns.c.
28810         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
28811         * math/multc3.c (__multc3): Likewise.
28812         * math/s_casin.c (__casin): Likewise.
28813         * math/s_casinf.c (__casinf): Likewise.
28814         * math/s_casinl.c (__casinl): Likewise.
28815         * math/s_cproj.c (__cproj): Likewise.
28816         * math/s_cprojf.c (__cprojf): Likewise.
28817         * math/s_cprojl.c (__cprofl): Likewise.
28818         * math/s_ctan.c (__ctan): Likewise.
28819         * math/s_ctanf.c (__ctanf): Likewise.
28820         * math/s_ctanh.c (__ctanh): Likewise.
28821         * math/s_ctanhf.c (__ctanhf): Likewise.
28822         * math/s_ctanhl.c (__ctanhl): Likewise.
28823         * math/s_ctanl.c (__ctanl): Likewise.
28824         * math/w_fmod.c (__fmod): Likewise.
28825         * math/w_fmodf.c (__fmodf): Likewise.
28826         * math/w_fmodl.c (_fmodl): Likewise.
28827         * math/w_remainder.c (__remainder): Likewise.
28828         * math/w_remainderf.c (__remainderf): Likewise.
28829         * math/w_remainderl.c (__remainderl): Likewise.
28830         * math/w_scalb.c (__scalb): Likewise.
28831         * math/w_scalbf.c (__scalbf): Likewise.
28832         * math/w_scalbl.c (__scalbl): Likewise.
28833         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
28834         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
28835         with isinf.
28836         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
28837         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
28838         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
28839         __isinf_nsf with isinf.
28840         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
28841         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
28842         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
28843         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
28844         with isinf.
28845         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
28846         __isinf_nsl with isinf.
28847         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
28848         with isinf.
28849         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
28850         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
28851         __isinf_nsl with isinf.
28852         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
28853         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
28854         with isinf.
28856 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
28858         * resolv/base64.c (rcsid): Remove unused static.
28859         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
28860         static.  (tqpi1): Likewise.
28861         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
28862         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
28863         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
28864         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
28865         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
28866         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
28867         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
28868         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
28869         Likewise.
28871 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
28873         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
28874         <nptl/pthreadP.h>.
28875         (_longjmp_unwind): Use __libc_ptf_call.
28876         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
28878 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
28880         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
28881         * sysdeps/arm/__longjmp.S: Likewise.
28883 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
28885         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
28886         Use __builtin_signbit.
28887         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
28888         Use __builtin_signbitf.
28889         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
28890         Use __builtin_signbitl.
28891         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
28892         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
28894 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
28896         [BZ #15367]
28897         [BZ #17441]
28899         * math/Makefile: Build test-snan.c with -fsignaling-nans.
28900         * math/math.h (fpclassify): Use __builtin_fpclassify when
28901         available.  (signbit): Use __builtin_signbit(f/l).
28902         (isfinite): Use__builtin_isfinite.  (isnormal): Use
28903         __builtin_isnormal.  (isnan): Use __builtin_isnan.
28904         (isinf): Use __builtin_isinf_sign.
28906 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
28908         * benchtests/Makefile: Add bench-math-inlines, link with libm.
28909         * benchtests/bench-math-inlines.c: New benchmark.
28910         * benchtests/bench-util.h: New file.
28911         * benchtests/bench-util.c: New file.
28912         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
28914 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
28916         * elf/tst-dlmopen1.c: Define TEST_SO.
28917         (do_test): Use TEST_SO.
28919         * elf/dl-load.c: Include libc-internal.h.
28920         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
28922 2015-09-18  Vincent Bernat  <vincent@bernat.im>
28924         [BZ #17887]
28925         * time/strptime_l.c (__strptime_internal): Make %z accept
28926         [+-]HH:MM time zones.
28928 2015-09-18  Vincent Bernat  <vincent@bernat.im>
28930         [BZ #17886]
28931         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
28932         valid time zone.
28934 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
28936         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
28937         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
28938         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
28939         (__ASSUME_FDATASYNC): Delete.
28941 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
28943         * conform/linknamespace.pl: Require weak undefined symbols to be
28944         in the standard namespace.
28945         (%strong_syms): Rename to %seen_syms.
28946         (%strong_seen): Rename to %seen_where.
28948 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
28950         [BZ #18970]
28951         * misc/error.c (error): Replace pthread_setcancelstate with
28952         __pthread_setcancelstate.
28953         (error_at_line): Likewise.
28954         * posix/wordexp.c (parse_comm): Likewise.
28955         * stdlib/fmtmsg.c (fmtmsg): Likewise.
28956         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
28957         (__pthread_setcancelstate): This.
28958         (pthread_setcancelstate): Add an alias.
28959         * nptl/nptl-init.c (pthread_functions): Replace
28960         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
28961         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
28962         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
28963         hidden_proto.
28964         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
28965         it with hidden_def.
28966         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
28967         (pthread_setcancelstate): Renamed to ...
28968         (__pthread_setcancelstate): This.
28969         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
28970         __libc_ptf_call with __pthread_setcancelstate.
28972 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
28973             Andreas Schwab  <schwab@suse.de>
28975         [BZ #17118]
28976         * math/s_ctan.c (__ctan): Determine sign of zero real part of
28977         result when imaginary part of argument is infinite using sine and
28978         cosine.
28979         * math/s_ctanf.c (__ctanf): Likewise.
28980         * math/s_ctanl.c (__ctanl): Likewise.
28981         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
28982         of result when real part of argument is infinite using sine and
28983         cosine.
28984         * math/s_ctanhf.c (__ctanhf): Likewise.
28985         * math/s_ctanhl.c (__ctanhl): Likewise.
28986         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
28987         (ctanh_test_data): Add more tests of ctanh.
28989 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
28991         [BZ #15384]
28992         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
28993         bit-mask as in subtraction.
28994         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
28995         Likewise.
28996         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
28997         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
28998         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
29000         [BZ #18951]
29001         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
29002         underflow exception for small results.
29003         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
29004         Likewise.
29005         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
29006         Likewise.
29007         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
29008         Likewise.
29009         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
29010         Likewise.
29011         * math/auto-libm-test-in: Add more tests of tgamma.
29012         * math/auto-libm-test-out: Regenerated.
29014 2015-09-17  Andreas Schwab  <schwab@suse.de>
29016         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
29018 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
29020         [BZ #18977]
29021         * math/bits/mathcalls.h
29022         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
29023         not declare.
29024         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
29025         Likewise.
29026         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
29027         Likewise.
29028         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
29029         Likewise.
29030         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
29031         Likewise.
29032         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
29033         Likewise.
29034         * conform/data/math.h-data
29035         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
29036         function.
29037         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
29038         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
29039         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
29040         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
29041         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
29042         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
29043         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
29044         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
29045         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
29046         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
29047         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
29049         [BZ #6803]
29050         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
29051         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
29052         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
29053         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
29054         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
29055         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
29056         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
29057         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
29058         [NO_LONG_DOUBLE] (scalbnl): Likewise.
29059         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
29060         Likewise.
29061         [NO_LONG_DOUBLE] (scalbnl): Likewise.
29062         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
29063         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
29064         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
29065         long_double_symbol calls.
29066         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
29067         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
29068         strong alias of __ldexpl.
29069         (scalbnl): Define using long_double_symbol.
29070         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
29071         Remove alias.
29072         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
29073         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
29074         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
29075         (scalbln_test_data): Add more errno expectations.
29077 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
29079         Cache the host port like we cache the task port.  This way we do not
29080         need to call the kernel just to get the port.  Furthermore, we no
29081         longer increase the reference count on every invocation of
29082         `mach_host_self'.
29084         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
29085         Protect declarations against the macro expansion.
29086         * mach/mach_init.c (__mach_host_self_): New variable.
29087         (mach_init): Initialize `__mach_host_self_'.
29088         * mach/mach_init.h (__mach_host_self_): New declaration.
29089         (__mach_host_self, mach_host_self): New macros.
29090         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
29091         Release reference.
29093 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
29095         [BZ #4404]
29096         * po/de.po: Update from Translation Project.
29098         [BZ #16415]
29099         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
29100         (__expm1l): Remove code to handle positive infinity and overflow.
29101         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
29102         variable.
29103         (__expm1l): Remove code to handle positive infinity and overflow.
29105 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
29106             Paul Pluzhnikov  <ppluzhnikov@google.com>
29108         [BZ #18872]
29109         * stdio-common/Makefile (tst-printf-bz18872): New test.
29110         (tst-printf-bz18872-mem.out): Likewise.
29111         * stdio-common/tst-printf-bz18872.sh: Generate new test.
29112         * stdio-common/vfprintf.c: Fix memory leaks.
29114 2015-09-16  Andreas Schwab  <schwab@suse.de>
29116         [BZ #17244]
29117         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
29118         Remove extra va_start/va_end calls.
29120         [BZ #17243]
29121         * posix/execl.c (execl): Add missing va_end.
29122         * posix/execle.c (execle): Likewise.
29123         * posix/execlp.c (execlp): Likewise.
29125 2015-09-15  Roland McGrath  <roland@hack.frob.com>
29127         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
29128         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
29130 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
29132         [BZ #18967]
29133         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
29134         undefine around includes of <bits/mathcalls.h>.
29135         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
29136         not declare function.
29137         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
29138         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
29139         (scalb): Likewise.
29140         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
29141         not define macro.
29142         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
29143         variable.
29144         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
29145         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
29146         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
29148         [BZ #18857]
29149         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
29150         return non-finite argument without doing ordered comparisons on
29151         it.
29153         [BZ #16296]
29154         * math/fenv.h (fegetround): Use __attribute_pure__.
29155         * include/fenv.h (__fegetround): Likewise.
29157         [BZ #18595]
29158         * math/s_ctan.c (__ctan): Force underflow exception for results
29159         whose real or imaginary part has small absolute value.
29160         * math/s_ctanf.c (__ctanf): Likewise.
29161         * math/s_ctanh.c (__ctanh): Likewise.
29162         * math/s_ctanhf.c (__ctanhf): Likewise.
29163         * math/s_ctanhl.c (__ctanhl): Likewise.
29164         * math/s_ctanl.c (__ctanl): Likewise.
29165         * math/auto-libm-test-in: Do not allow missing underflow for ctan
29166         and ctanh.  Add more tests of ctan and ctanh.
29168         [BZ #15918]
29169         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
29170         handling of cases where one argument is an infinity.
29172         [BZ #18875]
29173         [BZ #18966]
29174         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
29175         (MO): New macro.
29176         (__ieee754_exp10): For small results, force underflow exception
29177         and remove excess range and precision from return value.
29178         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
29179         (MO): New macro.
29180         (__ieee754_exp10f): For small results, force underflow exception
29181         and remove excess range and precision from return value.
29182         * math/auto-libm-test-in: Add more tests of exp10.
29183         * math/auto-libm-test-out: Regenerated.
29185 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
29187         [BZ #18875]
29188         [BZ #18961]
29189         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
29190         (MO): New macro.
29191         (__ieee754_exp): For small results, force underflow exception and
29192         remove excess range and precision from return value.
29193         (__exp_finite): Likewise.
29194         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
29195         (MO): New macro.
29196         (__ieee754_expf): For small results, force underflow exception and
29197         remove excess range and precision from return value.
29198         (__expf_finite): Likewise.
29199         * math/auto-libm-test-in: Add more tests of exp.
29200         * math/auto-libm-test-out: Regenerated.
29202         [BZ #16521]
29203         [BZ #18875]
29204         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
29205         small results.
29206         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
29207         (MO): New macro.
29208         (__ieee754_exp2): For small results, force underflow exception and
29209         remove excess range and precision from return value.
29210         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
29211         (MO): New macro.
29212         (__ieee754_exp2f): For small results, force underflow exception
29213         and remove excess range and precision from return value.
29214         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
29215         (MO): New macro.
29216         (__ieee754_exp2l): Force underflow exception for small results.
29217         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
29218         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
29219         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
29220         (MO): New macro.
29221         (__ieee754_exp2l): Force underflow exception for small results.
29222         * math/auto-libm-test-in: Add more tests or exp2.
29223         * math/auto-libm-test-out: Regenerated.
29225 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
29227         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
29229         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
29230         /dev/null.
29232 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29234         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
29235         io fs process)): Drop spurious backslash.
29237 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
29239         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
29240         Use sysinfo system call instead of parsing /proc/meminfo.
29241         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
29242         Likewise.
29244 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
29246         [BZ #16985]
29247         * programs/localedef.c (main): Display argv[remaining] when
29248         output_path is NULL.
29250 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
29252         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
29253         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
29254         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
29255         tanh.
29256         * math/auto-libm-test-out: Regenerated.
29257         * sysdeps/i386/fpu/libm-test-ulps: Update.
29258         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
29259         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
29260         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29262 2015-09-11  Roland McGrath  <roland@hack.frob.com>
29264         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
29265         Use 'override' keyword to freeze the value here, preventing
29266         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
29268 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
29270         [BZ #14912]
29271         * sysdeps/aarch64/bits/atomic.h: Move to ...
29272         * sysdeps/aarch64/atomic-machine.h: ...here.
29273         (_AARCH64_BITS_ATOMIC_H): Rename macro to
29274         _AARCH64_ATOMIC_MACHINE_H.
29275         * sysdeps/alpha/bits/atomic.h: Move to ...
29276         * sysdeps/alpha/atomic-machine.h: ...here.
29277         * sysdeps/arm/bits/atomic.h: Move to ...
29278         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
29279         * bits/atomic.h: Move to ...
29280         * sysdeps/generic/atomic-machine.h: ...here.
29281         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
29282         * sysdeps/i386/bits/atomic.h: Move to ...
29283         * sysdeps/i386/atomic-machine.h: ...here.
29284         * sysdeps/ia64/bits/atomic.h: Move to ...
29285         * sysdeps/ia64/atomic-machine.h: ...here.
29286         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
29287         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
29288         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
29289         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
29290         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
29291         * sysdeps/microblaze/bits/atomic.h: Move to ...
29292         * sysdeps/microblaze/atomic-machine.h: ...here.
29293         * sysdeps/mips/bits/atomic.h: Move to ...
29294         * sysdeps/mips/atomic-machine.h: ...here.
29295         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
29296         * sysdeps/powerpc/bits/atomic.h: Move to ...
29297         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
29298         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
29299         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
29300         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
29301         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
29302         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
29303         <atomic-machine.h> instead of <bits/atomic.h>.
29304         * sysdeps/s390/bits/atomic.h: Move to ...
29305         * sysdeps/s390/atomic-machine.h: ...here.
29306         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
29307         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
29308         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
29309         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
29310         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
29311         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
29312         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
29313         * sysdeps/tile/bits/atomic.h: Move to ...
29314         * sysdeps/tile/atomic-machine.h: ...here.
29315         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
29316         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
29317         <sysdeps/tile/atomic-machine.h> instead of
29318         <sysdeps/tile/bits/atomic.h>.
29319         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
29320         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
29321         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
29322         <sysdeps/tile/atomic-machine.h> instead of
29323         <sysdeps/tile/bits/atomic.h>.
29324         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
29325         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
29326         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
29327         <sysdeps/arm/atomic-machine.h> instead of
29328         <sysdeps/arm/bits/atomic.h>.
29329         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
29330         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
29331         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
29332         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
29333         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
29334         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
29335         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
29336         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
29337         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
29338         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
29339         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
29340         * sysdeps/x86_64/bits/atomic.h: Move to ...
29341         * sysdeps/x86_64/atomic-machine.h: ...here.
29342         * include/atomic.h: Include <atomic-machine.h> instead of
29343         <bits/atomic.h>.
29345         * sysdeps/mips/mips32/libm-test-ulps: Update.
29346         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
29348         [BZ #18952]
29349         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
29350         not convert non-integer negative arguments to int to determine the
29351         value of signgam.
29352         * math/auto-libm-test-in: Add more tests of lgamma.
29353         * math/auto-libm-test-out: Regenerated.
29355         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
29356         cosh, csqrt, erfc, expm1 and lgamma.
29357         * math/auto-libm-test-out: Regenerated.
29358         * sysdeps/i386/fpu/libm-test-ulps: Update.
29359         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29361 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
29363         [BZ #2542]
29364         [BZ #2543]
29365         [BZ #2558]
29366         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
29367         __lgamma_neg for arguments from -28.0 to -2.0.
29368         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
29369         __lgamma_negf for arguments from -15.0 to -2.0.
29370         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
29371         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
29372         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
29373         Call __lgamma_negl for arguments from -33.0 to -2.0.
29374         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
29375         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
29376         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
29377         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
29378         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
29379         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
29380         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
29381         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
29382         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
29383         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
29384         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
29385         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
29386         (__lgamma_neg): Likewise.
29387         (__lgamma_negl): Likewise.
29388         (__lgamma_product): Likewise.
29389         (__lgamma_productl): Likewise.
29390         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
29391         * math/auto-libm-test-in: Add more tests of lgamma.
29392         * math/auto-libm-test-out: Regenerated.
29393         * sysdeps/i386/fpu/libm-test-ulps: Update.
29394         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29396 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
29398         [BZ #18675]
29399         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
29401 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
29403         [BZ #14912]
29404         * bits/libc-lock.h: Move to ...
29405         * sysdeps/generic/libc-lock.h: ...here.
29406         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
29407         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
29408         * sysdeps/mach/hurd/libc-lock.h: ...here.
29409         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
29410         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
29411         * sysdeps/mach/bits/libc-lock.h: Move to ...
29412         * sysdeps/mach/libc-lock.h: ...here.
29413         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
29414         * sysdeps/nptl/bits/libc-lock.h: Move to ...
29415         * sysdeps/nptl/libc-lock.h: ...here.
29416         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
29417         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
29418         * sysdeps/nptl/libc-lockP.h: ...here.
29419         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
29420         * crypt/crypt_util.c: Include <libc-lock.h> instead of
29421         <bits/libc-lock.h>.
29422         * dirent/scandir-tail.c: Likewise.
29423         * dlfcn/dlerror.c: Likewise.
29424         * elf/dl-close.c: Likewise.
29425         * elf/dl-iteratephdr.c: Likewise.
29426         * elf/dl-lookup.c: Likewise.
29427         * elf/dl-open.c: Likewise.
29428         * elf/dl-support.c: Likewise.
29429         * elf/dl-writev.h: Likewise.
29430         * elf/rtld.c: Likewise.
29431         * grp/fgetgrent.c: Likewise.
29432         * gshadow/fgetsgent.c: Likewise.
29433         * gshadow/sgetsgent.c: Likewise.
29434         * iconv/gconv_conf.c: Likewise.
29435         * iconv/gconv_db.c: Likewise.
29436         * iconv/gconv_dl.c: Likewise.
29437         * iconv/gconv_int.h: Likewise.
29438         * iconv/gconv_trans.c: Likewise.
29439         * include/link.h: Likewise.
29440         * inet/getnameinfo.c: Likewise.
29441         * inet/getnetgrent.c: Likewise.
29442         * inet/getnetgrent_r.c: Likewise.
29443         * intl/bindtextdom.c: Likewise.
29444         * intl/dcigettext.c: Likewise.
29445         * intl/finddomain.c: Likewise.
29446         * intl/gettextP.h: Likewise.
29447         * intl/loadmsgcat.c: Likewise.
29448         * intl/localealias.c: Likewise.
29449         * intl/textdomain.c: Likewise.
29450         * libidn/idn-stub.c: Likewise.
29451         * libio/libioP.h: Likewise.
29452         * locale/duplocale.c: Likewise.
29453         * locale/freelocale.c: Likewise.
29454         * locale/newlocale.c: Likewise.
29455         * locale/setlocale.c: Likewise.
29456         * login/getutent_r.c: Likewise.
29457         * login/getutid_r.c: Likewise.
29458         * login/getutline_r.c: Likewise.
29459         * login/utmp-private.h: Likewise.
29460         * login/utmpname.c: Likewise.
29461         * malloc/mtrace.c: Likewise.
29462         * misc/efgcvt.c: Likewise.
29463         * misc/error.c: Likewise.
29464         * misc/fstab.c: Likewise.
29465         * misc/getpass.c: Likewise.
29466         * misc/mntent.c: Likewise.
29467         * misc/syslog.c: Likewise.
29468         * nis/nis_call.c: Likewise.
29469         * nis/nis_callback.c: Likewise.
29470         * nis/nss-default.c: Likewise.
29471         * nis/nss_compat/compat-grp.c: Likewise.
29472         * nis/nss_compat/compat-initgroups.c: Likewise.
29473         * nis/nss_compat/compat-pwd.c: Likewise.
29474         * nis/nss_compat/compat-spwd.c: Likewise.
29475         * nis/nss_nis/nis-alias.c: Likewise.
29476         * nis/nss_nis/nis-ethers.c: Likewise.
29477         * nis/nss_nis/nis-grp.c: Likewise.
29478         * nis/nss_nis/nis-hosts.c: Likewise.
29479         * nis/nss_nis/nis-network.c: Likewise.
29480         * nis/nss_nis/nis-proto.c: Likewise.
29481         * nis/nss_nis/nis-pwd.c: Likewise.
29482         * nis/nss_nis/nis-rpc.c: Likewise.
29483         * nis/nss_nis/nis-service.c: Likewise.
29484         * nis/nss_nis/nis-spwd.c: Likewise.
29485         * nis/nss_nisplus/nisplus-alias.c: Likewise.
29486         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
29487         * nis/nss_nisplus/nisplus-grp.c: Likewise.
29488         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
29489         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
29490         * nis/nss_nisplus/nisplus-network.c: Likewise.
29491         * nis/nss_nisplus/nisplus-proto.c: Likewise.
29492         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
29493         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
29494         * nis/nss_nisplus/nisplus-service.c: Likewise.
29495         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
29496         * nis/ypclnt.c: Likewise.
29497         * nptl/libc_pthread_init.c: Likewise.
29498         * nss/getXXbyYY.c: Likewise.
29499         * nss/getXXent.c: Likewise.
29500         * nss/getXXent_r.c: Likewise.
29501         * nss/nss_db/db-XXX.c: Likewise.
29502         * nss/nss_db/db-netgrp.c: Likewise.
29503         * nss/nss_db/nss_db.h: Likewise.
29504         * nss/nss_files/files-XXX.c: Likewise.
29505         * nss/nss_files/files-alias.c: Likewise.
29506         * nss/nsswitch.c: Likewise.
29507         * posix/regex_internal.h: Likewise.
29508         * posix/wordexp.c: Likewise.
29509         * pwd/fgetpwent.c: Likewise.
29510         * resolv/res_hconf.c: Likewise.
29511         * resolv/res_libc.c: Likewise.
29512         * shadow/fgetspent.c: Likewise.
29513         * shadow/lckpwdf.c: Likewise.
29514         * shadow/sgetspent.c: Likewise.
29515         * socket/opensock.c: Likewise.
29516         * stdio-common/reg-modifier.c: Likewise.
29517         * stdio-common/reg-printf.c: Likewise.
29518         * stdio-common/reg-type.c: Likewise.
29519         * stdio-common/vfprintf.c: Likewise.
29520         * stdio-common/vfscanf.c: Likewise.
29521         * stdlib/abort.c: Likewise.
29522         * stdlib/cxa_atexit.c: Likewise.
29523         * stdlib/fmtmsg.c: Likewise.
29524         * stdlib/random.c: Likewise.
29525         * stdlib/setenv.c: Likewise.
29526         * string/strsignal.c: Likewise.
29527         * sunrpc/auth_none.c: Likewise.
29528         * sunrpc/bindrsvprt.c: Likewise.
29529         * sunrpc/create_xid.c: Likewise.
29530         * sunrpc/key_call.c: Likewise.
29531         * sunrpc/rpc_thread.c: Likewise.
29532         * sysdeps/arm/backtrace.c: Likewise.
29533         * sysdeps/generic/ldsodefs.h: Likewise.
29534         * sysdeps/generic/stdio-lock.h: Likewise.
29535         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
29536         * sysdeps/i386/backtrace.c: Likewise.
29537         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
29538         * sysdeps/m68k/backtrace.c: Likewise.
29539         * sysdeps/mach/hurd/cthreads.c: Likewise.
29540         * sysdeps/mach/hurd/dirstream.h: Likewise.
29541         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
29542         * sysdeps/nptl/malloc-machine.h: Likewise.
29543         * sysdeps/nptl/stdio-lock.h: Likewise.
29544         * sysdeps/posix/dirstream.h: Likewise.
29545         * sysdeps/posix/getaddrinfo.c: Likewise.
29546         * sysdeps/posix/system.c: Likewise.
29547         * sysdeps/pthread/aio_suspend.c: Likewise.
29548         * sysdeps/s390/s390-32/backtrace.c: Likewise.
29549         * sysdeps/s390/s390-64/backtrace.c: Likewise.
29550         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
29551         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
29552         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
29553         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
29554         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
29555         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
29556         * sysdeps/unix/sysv/linux/system.c: Likewise.
29557         * sysdeps/x86_64/backtrace.c: Likewise.
29558         * time/alt_digit.c: Likewise.
29559         * time/era.c: Likewise.
29560         * time/tzset.c: Likewise.
29561         * wcsmbs/wcsmbsload.c: Likewise.
29562         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
29563         instead of <bits/libc-lock.h> in comment.
29565 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
29567         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
29568         Only use .set mips2 if the current ISA is below mips2.
29569         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
29570         Likewise.
29571         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
29572         mips32r2 if the current ISA is below mips32r2.
29573         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
29574         (TLS_IE): Updated to use the TLD_RDHWR macro.
29575         (TLS_LE): Likewise.
29576         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
29577         __ASSEMBLER__ condition.
29579 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29581         Fix parallel build of before-compile targets.
29583         * sysdeps/mach/Makefile ($(patsubst
29584         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
29585         mach-before-compile target.
29586         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
29587         io fs process)): Move rule to dedicated hurd-before-compile target.
29589 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29591         Fix rules generating headers in hurd/ and mach/ when initial make call
29592         has subdir= explicitly set.
29594         * sysdeps/mach/Makefile ($(patsubst
29595         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
29596         calling $(MAKE).
29597         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
29598         io fs process)): Force subdir to hurd when calling $(MAKE).
29599         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
29600         subdir to mach when calling $(MAKE).
29602 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
29604         Check sysheaders when looking for Mach and Hurd headers
29606         * sysdeps/mach/configure.ac: Add sysheaders check.
29607         * sysdeps/mach/configure: Regenerate.
29608         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
29609         * sysdeps/mach/hurd/configure: Regenerate.
29611 2015-09-04  Roland McGrath  <roland@hack.frob.com>
29613         [BZ #18921]
29614         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
29615         Fix inverted sense of test of 'o_directory_works' value.
29616         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
29617         Bernhard Voelker <mail@bernhard-voelker.de>.
29619 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
29621         [BZ #14912]
29622         * bits/linkmap.h: Move to ...
29623         * sysdeps/generic/linkmap.h: ...here.
29624         * sysdeps/aarch64/bits/linkmap.h: Move to ...
29625         * sysdeps/aarch64/linkmap.h: ...here.
29626         * sysdeps/arm/bits/linkmap.h: Move to ...
29627         * sysdeps/arm/linkmap.h: ...here.
29628         * sysdeps/hppa/bits/linkmap.h: Move to ...
29629         * sysdeps/hppa/linkmap.h: ...here.
29630         * sysdeps/ia64/bits/linkmap.h: Move to ...
29631         * sysdeps/ia64/linkmap.h: ...here.
29632         * sysdeps/mips/bits/linkmap.h: Move to ...
29633         * sysdeps/mips/linkmap.h: ...here.
29634         * sysdeps/s390/bits/linkmap.h: Move to ...
29635         * sysdeps/s390/linkmap.h: ...here.
29636         * sysdeps/sh/bits/linkmap.h: Move to ...
29637         * sysdeps/sh/linkmap.h: ...here.
29638         * sysdeps/x86/bits/linkmap.h: Move to ...
29639         * sysdeps/x86/linkmap.h: ...here.
29640         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
29642 2015-09-04  Andreas Schwab  <schwab@suse.de>
29644         [BZ #18635]
29645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
29646         (__makecontext): Terminate FDE before return label.
29647         (__novec_makecontext): Likewise.
29649 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
29651         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
29652         first member of struct sv in syscall macro.
29654 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
29656         [BZ #14912]
29657         * bits/stdio-lock.h: Move to ...
29658         * sysdeps/generic/stdio-lock.h: ...here.
29659         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
29660         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
29661         * sysdeps/nptl/stdio-lock.h: ...here.
29662         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
29663         * include/libio.h: Include <stdio-lock.h> instead of
29664         <bits/stdio-lock.h>.
29665         * sysdeps/nptl/fork.c: Likewise.
29666         * sysdeps/pthread/flockfile.c: Likewise.
29667         * sysdeps/pthread/ftrylockfile.c: Likewise.
29668         * sysdeps/pthread/funlockfile.c: Likewise.
29670         [BZ #14912]
29671         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
29672         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
29673         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
29674         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
29675         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
29676         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
29677         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
29679 2015-09-03  Roland McGrath  <roland@hack.frob.com>
29681         * elf/Makefile (test-xfail-tst-protected1a): New variable.
29682         (test-xfail-tst-protected1b): New variable.
29684 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
29686         [BZ #14912]
29687         * bits/libc-tsd.h: Move to ...
29688         * sysdeps/generic/libc-tsd.h: ...here.
29689         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
29690         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
29691         * sysdeps/mach/hurd/libc-tsd.h: ...here.
29692         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
29693         * include/ctype.h: Include <libc-tsd.h> instead of
29694         <bits/libc-tsd.h>.
29695         * include/rpc/rpc.h: Likewise.
29696         * locale/localeinfo.h: Likewise.
29697         * sunrpc/rpc_thread.c: Likewise.
29698         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
29699         * sysdeps/nptl/malloc-machine.h: Likewise.
29701         * Makefile (headers): Remove bits/libc-lock.h.
29702         * libio/Makefile (headers): Remove bits/stdio-lock.h.
29704         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
29705         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
29706         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
29707         <bits/stdio-lock.h>.
29708         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
29709         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
29711 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
29713         [BZ #18757]
29714         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
29715         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
29716         BZ #18757.
29718 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
29720         * malloc/mtrace.pl: Filter out NULL entries.
29722 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
29724         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
29725         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
29726         macro.
29728         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
29729         (TCP_CC_INFO): Likewise.
29730         (TCP_SAVE_SYN): Likewise.
29731         (TCP_SAVED_SYN): Likewise.
29733 2015-08-31  Brett Neumeier <brett@neumeier.us>
29735         [BZ #18870]
29736         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
29738 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
29740         [BZ #18873]
29741         Fix broken overflow check in posix_fallocate
29742         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
29743         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
29744         Fix parenthesization typo.
29746 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
29748         [BZ #18887]
29749         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
29750         tst-mntent-blank-passno.
29751         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
29752         * misc/tst-mntent-blank-corrupt.c: New test.
29753         * misc/tst-mntent-blank-passno.c: New test ripped from ...
29754         * misc/tst-mntent.c (do_test): ... here.
29756 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
29758         [BZ #4404]
29759         * po/de.po: Fix SIGALRM typo.
29761 2015-08-28  James Perkins  <james@loowit.net>
29763         * time/tst-strptime2.c (tests): Replace short list of test
29764         strings for strptime %z specifier with code which exhaustively
29765         tests every combination of sign and 0 to 5 digits. Tests for
29766         rejection of invalid strings.
29768 2015-08-28  James Perkins  <james@loowit.net>
29770         [BZ #16141]
29771         * time/strptime_l.c (__strptime_internal): Fix %z minutes
29772         calculation, removing incorrect decimal time rounding, so that
29773         all minute values result in a valid seconds value.
29774         * time/strptime_l.c (__strptime_internal): Extend %z time zone
29775         offset range limits to UTC-99:59 through UTC+99:59 to parse
29776         current and historical use cases.
29777         * time/tst-strptime2.c (tests): Modify and add tests for the
29778         strptime %z input field descriptor, specifically conversion of
29779         minutes to seconds and validating an offset range of -9959 to
29780         +9959.
29782 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29783             Dmitry V. Levin  <ldv@altlinux.org>
29785         [BZ #18877]
29786         * posix/Makefile (tests): Add tst-mmap-offset.
29787         * posix/tst-mmap.c: New file.
29788         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
29789         offset calculation for negative values.
29791 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
29793         * sysdeps/i386/init-arch.h: New file.
29794         * sysdeps/i386/i586/init-arch.h: Likewise.
29795         * sysdeps/i386/i686/init-arch.h: Likewise.
29796         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
29797         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
29798         * sysdeps/x86/cpu-features.h (bit_I586): New.
29799         (bit_I686): Likewise.
29800         (bit_CX8): Likewise.
29801         (bit_CMOV): Likewise.
29802         (index_CX8): Likewise.
29803         (index_CMOV): Likewise.
29804         (index_I586): Likewise.
29805         (index_I686): Likewise.
29806         (reg_CX8): Likewise.
29807         (reg_CMOV): Likewise.
29808         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
29809         available at compile-time.
29810         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
29811         available at compile-time.
29812         * sysdeps/x86/init-arch.h (USE_I586): New macro.
29813         (USE_I686): Likewise.
29815 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
29817         * sysdeps/i386/bcopy.S: New file.
29818         * sysdeps/i386/bzero.S: Likewise.
29819         * sysdeps/i386/memcpy.S: Likewise.
29820         * sysdeps/i386/memmove.S: Likewise.
29821         * sysdeps/i386/mempcpy.S: Likewise.
29822         * sysdeps/i386/memset.S: Likewise.
29823         * sysdeps/i386/bzero.c: Removed.
29824         * sysdeps/i386/memset.c: Likewise.
29825         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
29826         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
29827         * sysdeps/i386/i586/memset_chk.S: Likewise.
29828         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
29829         * sysdeps/i386/memcpy_chk.S: Here.
29830         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
29831         * sysdeps/i386/memmove_chk.S: Here.
29832         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
29833         * sysdeps/i386/mempcpy_chk.S: Likewise.
29834         * sysdeps/i386/i686/memset_chk.S: Moved to ...
29835         * sysdeps/i386/memset_chk.S: Likewise.
29837 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
29839         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
29840         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
29841         file, move DIAG_POP_NEEDS_COMMENT to end of file.
29842         * soft-fp/fmadf4.c: Ditto.
29843         * soft-fp/fmatf4.c: Ditto.
29845 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
29847         * sysdeps/i386/i586/Implies: Removed.
29848         * sysdeps/i386/i686/Implies: Likewise.
29850 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
29852         * sysdeps/i386/i486/strlen.S: Moved to ...
29853         * sysdeps/i386/strlen.S: Here.
29855 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
29857         * sysdeps/i386/i486/strcat.S: Moved to ...
29858         * sysdeps/i386/strcat.S: Here.
29860 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
29862         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
29863         * sysdeps/i386/pthread_spin_trylock.S: Here.
29864         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
29865         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
29867 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
29869         * sysdeps/i386/i486/string-inlines.c: Moved to ...
29870         * sysdeps/i386/string-inlines.c: Here.
29872 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
29874         * sysdeps/i386/i486/htonl.S: Moved ...
29875         * sysdeps/i386/htonl.S: here.
29877 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
29879         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
29880         * sysdeps/i386/bits/atomic.h: Here.
29882 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
29884         * sysdeps/i386/i486/Versions: Removed.
29886 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
29888         [BZ #2898]
29889         * misc/mktemp.c: Add mkdtemp to the link_warning message.
29890         Based on patch by Aurelien Jarno.
29892 2015-08-26  Stan Shebs  <stanshebs@google.com>
29894         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
29895         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
29897 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
29899         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
29900         * sysdeps/powerpc/dl-procinfo.c:
29901         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
29902         feature so it shows when LD_SHOW_AUXV=1.
29904 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
29906         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
29907         (__arch_compare_and_exchange_val_32_acq): Remove and use common
29908         definition.  ISA 2.07B no longer requires full sync.
29910 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
29912         [BZ #18863]
29913         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
29914         (si_call_addr): Define.
29915         (si_syscall): Define.
29916         (si_arch): Define.
29918 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
29920         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
29921         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
29922         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
29923         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
29924         (__memset_zero_constant_len_parameter): New.
29925         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
29926         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
29927         (__memset_zero_constant_len_parameter): Don't define if
29928         __memset_chk or USE_AS_BZERO are defined.
29930         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
29931         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
29932         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
29934         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
29935         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
29936         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
29937         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
29938         comments.
29939         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
29940         -mno-mmx for $(all-rtld-routines).
29941         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
29942         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
29943         i386.
29945 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
29947         * sysdeps/generic/unwind.h
29948         (_Unwind_Word): Use __mode__(__unwind_word__)
29949         instead of __mode__(__word__).
29950         (_Unwind_Sword): Likewise.
29952         * sysdeps/s390/s390-64/utf8-utf16-z9.c
29953         (MAX_NEEDED_INPUT): New define.
29954         (MAX_NEEDED_OUTPUT): New define.
29956         * NEWS: New item for IBM z13 string optimizations.
29958         * sysdeps/s390/multiarch/memrchr-c.c: New File.
29959         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
29960         * sysdeps/s390/multiarch/memrchr.c: Likewise.
29961         * sysdeps/s390/multiarch/Makefile
29962         (sysdep_routines): Add memrchr functions.
29963         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
29964         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
29966         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
29967         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
29968         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
29969         * sysdeps/s390/multiarch/Makefile
29970         (sysdep_routines): Add wmemcmp functions.
29971         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
29972         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
29973         * benchtests/bench-wmemcmp.c: New File.
29974         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
29976         * sysdeps/s390/multiarch/wmemset-c.c: New File.
29977         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
29978         * sysdeps/s390/multiarch/wmemset.c: Likewise.
29979         * sysdeps/s390/multiarch/Makefile
29980         (sysdep_routines): Add wmemset functions.
29981         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
29982         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
29983         * wcsmbs/wmemset.c: Use WMEMSET if defined.
29984         * string/test-memset.c: Add wmemset support.
29985         * wcsmbs/test-wmemset.c: New File.
29986         * wcsmbs/Makefile (strop-tests): Add wmemset.
29987         * benchtests/bench-memset.c: Add wmemset support.
29988         * benchtests/bench-wmemset.c: New File.
29989         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
29991         * sysdeps/s390/multiarch/memccpy-c.c: New File.
29992         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
29993         * sysdeps/s390/multiarch/memccpy.c: Likewise.
29994         * sysdeps/s390/multiarch/Makefile
29995         (sysdep_routines): Add memccpy functions.
29996         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
29997         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
29998         * string/memccpy.c: Use MEMCCPY if defined.
30000         * sysdeps/s390/multiarch/memchr-vx.S: New File.
30001         * sysdeps/s390/multiarch/memchr.c: Likewise.
30002         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
30003         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
30004         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
30005         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
30006         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
30007         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
30008         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
30009         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
30010         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
30011         and rawmemchr functions.
30012         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
30013         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
30014         and wmemchr.
30015         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
30016         * string/test-memchr.c: Add wmemchr support.
30017         * wcsmbs/test-wmemchr.c: New File.
30018         * wcsmbs/Makefile (strop-tests): Add wmemchr.
30019         * benchtests/bench-memchr.c: Add wmemchr support.
30020         * benchtests/bench-wmemchr.c: New File.
30021         * benchtests/Makefile (wcsmbs-bench): wmemchr.
30023         * sysdeps/s390/multiarch/strcspn-c.c: New File.
30024         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
30025         * sysdeps/s390/multiarch/strcspn.c: Likewise.
30026         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
30027         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
30028         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
30029         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
30030         wcscspn functions.
30031         * sysdeps/s390/multiarch/ifunc-impl-list.c
30032         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
30033         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
30034         * string/test-strcspn.c: Add wcscspn support.
30035         * wcsmbs/test-wcscspn.c: New File.
30036         * wcsmbs/Makefile (strop-tests): Add wcscspn.
30037         * benchtests/bench-strcspn.c: Add wcscspn support.
30038         * benchtests/bench-wcscspn.c: New File.
30039         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
30041         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
30042         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
30043         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
30044         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
30045         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
30046         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
30047         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
30048         wcspbrk functions.
30049         * sysdeps/s390/multiarch/ifunc-impl-list.c
30050         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
30051         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
30052         * string/test-strpbrk.c: Add wcspbrk support.
30053         * wcsmbs/test-wcspbrk.c: New File.
30054         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
30055         * benchtests/bench-strpbrk.c: Add wcspbrk support.
30056         * benchtests/bench-wcspbrk.c: New File.
30057         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
30059         * sysdeps/s390/multiarch/strspn-c.c: New File.
30060         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
30061         * sysdeps/s390/multiarch/strspn.c: Likewise.
30062         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
30063         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
30064         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
30065         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
30066         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
30067         wcsspn functions.
30068         * sysdeps/s390/multiarch/ifunc-impl-list.c
30069         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
30070         * string/test-strspn.c: Add wcsspn support.
30071         * wcsmbs/test-wcsspn.c: New File.
30072         * wcsmbs/Makefile (strop-tests): Add wcsspn.
30073         * benchtests/bench-strspn.c: Add wcsspn support.
30074         * benchtests/bench-wcsspn.c: New File.
30075         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
30077         * sysdeps/s390/multiarch/strrchr-c.c: New File.
30078         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
30079         * sysdeps/s390/multiarch/strrchr.c: Likewise.
30080         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
30081         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
30082         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
30083         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
30084         wcsrchr functions.
30085         * sysdeps/s390/multiarch/ifunc-impl-list.c
30086         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
30087         * benchtests/bench-wcsrchr.c: New File.
30088         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
30090         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
30091         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
30092         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
30093         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
30094         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
30095         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
30096         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
30097         wcschrnul functions.
30098         * sysdeps/s390/multiarch/ifunc-impl-list.c
30099         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
30100         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
30101         * string/test-strchr.c: Add wcschrnul support.
30102         * wcsmbs/test-wcschrnul.c: New File.
30103         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
30104         * benchtests/bench-strchr.c: Add wcschrnul support.
30105         * benchtests/bench-wcschrnul.c: New File.
30106         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
30108         * sysdeps/s390/multiarch/strchr-c.c: New File.
30109         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
30110         * sysdeps/s390/multiarch/strchr.c: Likewise.
30111         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
30112         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
30113         * sysdeps/s390/multiarch/wcschr.c: Likewise.
30114         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
30115         wcschr functions.
30116         * sysdeps/s390/multiarch/ifunc-impl-list.c
30117         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
30118         * string/strchr.c (STRCHR): Define and use macro.
30119         * benchtests/bench-wcschr.c: New File.
30120         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
30122         * sysdeps/s390/multiarch/strncmp-c.c: New File.
30123         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
30124         * sysdeps/s390/multiarch/strncmp.c: Likewise.
30125         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
30126         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
30127         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
30128         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
30129         wcsncmp functions.
30130         * sysdeps/s390/multiarch/ifunc-impl-list.c
30131         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
30132         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
30133         * benchtests/bench-strncmp.c: Add wcsncmp support.
30134         * benchtests/bench-wcsncmp.c: New File.
30135         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
30137         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
30138         * sysdeps/s390/multiarch/strcmp.c: Likewise.
30139         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
30140         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
30141         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
30142         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
30143         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
30144         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
30145         wcscmp functions.
30146         * sysdeps/s390/multiarch/ifunc-impl-list.c
30147         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
30148         * string/strcmp.c (STRCMP): Define and use macro.
30149         * benchtests/bench-wcscmp.c: New File.
30150         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
30151         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
30152         instead of _HAVE_STRING_ARCH_memchr.
30154         * sysdeps/s390/multiarch/strncat-c.c: New File.
30155         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
30156         * sysdeps/s390/multiarch/strncat.c: Likewise.
30157         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
30158         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
30159         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
30160         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
30161         wcsncat functions.
30162         * sysdeps/s390/multiarch/ifunc-impl-list.c
30163         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
30164         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
30165         * string/test-strncat.c: Add wcsncat support.
30166         * wcsmbs/test-wcsncat.c: New File.
30167         * wcsmbs/Makefile (strop-tests): Add wcsncat.
30168         * benchtests/bench-strncat.c: Add wcsncat support.
30169         * benchtests/bench-wcsncat.c: New File.
30170         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
30172         * sysdeps/s390/multiarch/strcat-c.c: New File.
30173         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
30174         * sysdeps/s390/multiarch/strcat.c: Likewise.
30175         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
30176         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
30177         * sysdeps/s390/multiarch/wcscat.c: Likewise.
30178         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
30179         wcscat functions.
30180         * sysdeps/s390/multiarch/ifunc-impl-list.c
30181         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
30182         * string/strcat.c (STRCAT): Define and use macro.
30183         * wcsmbs/wcscat.c: Use WCSCAT if defined.
30184         * string/test-strcat.c: Add wcscat support.
30185         * wcsmbs/test-wcscat.c: New File.
30186         * wcsmbs/Makefile (strop-tests): Add wcscat.
30187         * benchtests/bench-strcat.c: Add wcscat support.
30188         * benchtests/bench-wcscat.c: New File.
30189         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
30191         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
30192         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
30193         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
30194         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
30195         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
30196         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
30197         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
30198         wcpncpy functions.
30199         * sysdeps/s390/multiarch/ifunc-impl-list.c
30200         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
30201         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
30202         * string/test-stpncpy.c: Add wcpncpy support.
30203         * wcsmbs/test-wcpncpy.c: New File.
30204         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
30205         * benchtests/bench-stpncpy.c: Add wcpncpy support.
30206         * benchtests/bench-wcpncpy.c: New File.
30207         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
30209         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
30210         * sysdeps/s390/multiarch/strncpy.c: Likewise.
30211         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
30212         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
30213         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
30214         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
30215         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
30216         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
30217         wcsncpy functions.
30218         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
30219         * sysdeps/s390/multiarch/ifunc-impl-list.c
30220         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
30221         * string/test-strncpy.c: Add wcsncpy support.
30222         * wcsmbs/test-wcsncpy.c: New File.
30223         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
30224         * benchtests/bench-strncpy.c: Add wcsncpy support.
30225         * benchtests/bench-wcsncpy.c: New File.
30226         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
30228         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
30229         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
30230         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
30231         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
30232         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
30233         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
30234         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
30235         wcpcpy functions.
30236         * string/stpcpy.c: Use STPCPY if defined.
30237         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
30238         * sysdeps/s390/multiarch/ifunc-impl-list.c
30239         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
30240         * string/test-stpcpy.c: Add wcpcpy support.
30241         * wcsmbs/test-wcpcpy.c: New File.
30242         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
30243         * benchtests/bench-stpcpy.c: Add wcpcpy support.
30244         * benchtests/bench-wcpcpy.c: New File.
30245         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
30247         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
30248         * sysdeps/s390/multiarch/strcpy.c: Likewise.
30249         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
30250         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
30251         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
30252         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
30253         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
30254         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
30255         wcscpy functions.
30256         * sysdeps/s390/multiarch/ifunc-impl-list.c
30257         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
30258         * benchtests/bench-wcscpy.c: New File.
30259         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
30261         * sysdeps/s390/multiarch/strnlen-c.c: New File.
30262         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
30263         * sysdeps/s390/multiarch/strnlen.c: Likewise.
30264         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
30265         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
30266         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
30267         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
30268         wcsnlen functions.
30269         * sysdeps/s390/multiarch/ifunc-impl-list.c
30270         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
30271         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
30272         * string/test-strnlen.c: Add wcsnlen support.
30273         * wcsmbs/test-wcsnlen.c: New File.
30274         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
30275         * benchtests/bench-strnlen.c: Add wcsnlen support.
30276         * benchtests/bench-wcsnlen.c: New File.
30277         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
30279         * sysdeps/s390/multiarch/Makefile: New File.
30280         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
30281         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
30282         * sysdeps/s390/multiarch/strlen.c: Likewise.
30283         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
30284         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
30285         * sysdeps/s390/multiarch/wcslen.c: Likewise.
30286         * string/strlen.c (STRLEN): Define and use macro.
30287         * sysdeps/s390/multiarch/ifunc-impl-list.c
30288         (IFUNC_VX_IMPL): New macro function.
30289         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
30290         * benchtests/Makefile (wcsmbs-bench): New variable.
30291         (string-bench-all): Added wcsmbs-bench.
30292         * benchtests/bench-wcslen.c: New File.
30294         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
30295         s390_vx_libc_ifunc2): New macro function.
30297         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
30298         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
30299         assembler support.
30300         * sysdeps/s390/configure: Regenerated.
30302         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
30303         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
30305         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
30306         * sysdeps/s390/dl-procinfo.h: Add vector capability.
30307         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
30309         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
30310         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
30311         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
30312         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
30313         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
30314         (memcmp, bcmp): Use __memcmp_default as alias source.
30315         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
30316         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
30317         Rename to __memcmp_default.
30318         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
30319         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
30320         (memcpy): Use __memcpy_default as alias source.
30321         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
30322         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
30323         Rename to __memcpy_default.
30324         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
30325         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
30326         (memset): Use __memset_default as alias source.
30327         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
30328         * sysdeps/s390/s390-32/memset.S (__memset_g5):
30329         Rename to __memset_default.
30330         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
30331         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
30332         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
30333         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
30334         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
30335         (memcmp, bcmp): Use __memcmp_default as alias source.
30336         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
30337         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
30338         Rename to __memcmp_default.
30339         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
30340         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
30341         (memcpy): Use __memcpy_default as alias source.
30342         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
30343         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
30344         Rename to __memcpy_default.
30345         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
30346         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
30347         (memset): Use __memset_default as alias source.
30348         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
30349         * sysdeps/s390/s390-64/memset.S (__memset_z900):
30350         Rename to __memset_default.
30351         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
30352         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
30354         [BZ #18610]
30355         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
30356         __ieee_instruction_pointer to __unused.
30357         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
30358         __ieee_instruction_pointer.
30359         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
30360         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
30361         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
30362         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
30363         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
30364         Mark dxc-field as reserved.
30366 2015-08-25  Roland McGrath  <roland@hack.frob.com>
30368         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
30369         if the weak reference is not null.
30371 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
30373         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
30375         [BZ #11214]
30376         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
30378 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
30380         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
30381         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
30382         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
30383         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
30384         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
30385         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
30386         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
30387         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
30388         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
30389         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
30390         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
30391         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
30392         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
30393         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
30394         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
30395         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
30396         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
30397         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
30399 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
30401         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
30402         register other than r0 for tabort, it has special meaning.
30403         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
30404         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
30405         transaction before starting syscall.
30407 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
30409         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
30411 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
30413         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
30415         * sysdeps/x86_64/rtld-memcmp.c: Removed.
30416         * sysdeps/x86_64/rtld-memset.S: Likewise.
30417         * sysdeps/x86_64/rtld-strchr.S: Likewise.
30418         * sysdeps/x86_64/rtld-strlen.S: Likewise.
30419         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
30420         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
30422         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
30424 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
30426         * debug/strcpy_chk.c: Improve performance.
30427         * debug/stpcpy_chk.c: Likewise.
30428         * sysdeps/x86_64/strcpy_chk.S: Remove.
30429         * sysdeps/x86_64/stpcpy_chk.S: Remove.
30431         [BZ #18240]
30432         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
30434 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
30436         [BZ #15128]
30437         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
30438         ifuncmain8.
30439         (modules-names): Add ifuncmod8.
30440         ($(objpfx)ifuncmain8): New rule.
30441         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
30442         <cpuid.h>.
30443         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
30444         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
30445         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
30446         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
30447         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
30448         * sysdeps/x86_64/dl-trampoline.h: Likewise.
30449         * sysdeps/x86_64/ifuncmain8.c: New file.
30450         * sysdeps/x86_64/ifuncmod8.c: Likewise.
30451         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
30452         Removed.
30453         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
30454         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
30455         Change rtld_savespace_sse to __glibc_unused2.
30456         (RTLD_CHECK_FOREIGN_CALL): Removed.
30457         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
30458         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
30459         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
30461 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
30463         * sysdeps/aarch64/bzero.S (__bzero): Remove.
30465 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
30467         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
30468         Unconditionally set __fpcr to avoid uninialized warning.
30469         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
30471 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
30473         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
30474         is corrupt.
30476         * malloc/arena.c (arena_get2): Drop unused argument.
30477         (arena_lock): Adjust.
30478         (arena_get_retry): Likewise.
30480 2015-08-24  Andreas Schwab  <schwab@suse.de>
30482         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
30483         Don't define.
30484         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
30485         (__ASSUME_IPC64): Don't undef.
30486         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
30487         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
30488         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
30489         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
30490         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
30491         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
30492         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
30493         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
30494         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
30495         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
30496         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
30497         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
30498         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
30499         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
30500         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
30501         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
30502         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
30503         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
30504         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
30505         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
30506         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
30508 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
30510         * manual/Makefile (install): Only build manual when perl is available.
30512 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
30514         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
30515         '#undef memcpy' by '#undef memchr'.
30517 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
30519         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
30520         memchr not point to the internal __GI_memchr implementation.
30522 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
30524         * timezone/Makefile (CFLAGS-zdump.c): Remove
30525         -Wno-strict-prototypes.
30526         (CFLAGS-zic.c): Likewise.
30527         (CFLAGS-ialloc.c): Likewise.
30528         (CFLAGS-scheck.c): Likewise.
30530         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
30531         -Wno-error=undef.
30533 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
30535         * i386/i686/multiarch/strcasestr-c.c: Removed.
30536         * x86_64/multiarch/strcasestr.c: Likewise.
30537         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
30538         Remove strcasestr.
30540 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
30542         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
30544         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
30545         variables for high and low parts before possibly modifying them.
30547 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
30549         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
30550         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
30551         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
30552         of "multiarch/init-arch.h".
30553         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
30554         * sysdeps/x86/init-arch.h: This.
30556 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
30558         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
30559         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
30561 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
30563         [BZ #17787]
30564         * manual/macros.texi: Add twoexp macro.
30565         * manual/filesys.texi: Fix exponents.
30566         * manual/llio.texi: Likewise.
30567         * manual/stdio.texi: Likewise.
30569 2015-08-20  Florian Weimer  <fweimer@redhat.com>
30571         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
30572         incorrect use.
30574 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
30576         [BZ #18370]
30577         * math/s_csqrt.c (__csqrt): Force underflow exception for results
30578         whose real or imaginary part has small absolute value.
30579         * math/s_csqrtf.c (__csqrtf): Likewise.
30580         * math/s_csqrtl.c (__csqrtl): Likewise.
30581         * math/auto-libm-test-in: Add more tests of csqrt.
30582         * math/auto-libm-test-out: Regenerated.
30583         * sysdeps/i386/fpu/libm-test-ulps: Update.
30585 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
30587         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
30588         __ppc_set_ppr_very_low): New functions.
30589         * manual/platform.texi: Add documentation about
30590         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
30592 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
30594         * string/stpncpy.c (stpncpy): Improve performance using
30595         __strnlen/memcpy/memset.
30597 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
30599         [BZ #18796]
30600         * scripts/test-installation.pl: Don't add -lmvec to build options if
30601         libmvec wasn't built.
30603 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
30605         [BZ #14341]
30606         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
30607         case when there is a gap between DT_REL and DT_JMPREL sections.
30608         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
30609         (LDFLAGS-tst-split-dynreloc): New.
30610         (tst-split-dynreloc-ENV): Likewise.
30611         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
30612         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
30614 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
30616         [BZ #18822]
30617         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
30618         attribute_hidden.
30619         (__xstat64_conv): Likewise.
30620         (__xstat32_conv): Likewise.
30622 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
30624         [BZ #18822]
30625         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
30626         Don't load %ebx when calling __setcontext.  Call __setcontext
30627         with HIDDEN_JUMPTARGET.
30628         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
30629         libc_hidden_def.
30631 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
30633         * sysdeps/i386/i686/Makefile
30634         [$(subdir) == string] (sysdep_routines): Moved to ...
30635         * sysdeps/i386/Makefile: Here.
30636         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
30637         * sysdeps/i386/cacheinfo.c: Here.
30638         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
30639         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
30640         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
30641         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
30643 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
30645         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
30646         __i586__ is defined.
30647         (HAS_I686): Defined to 1 if __i686__ is defined.
30649 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
30651         * elf/Makefile [$(have-z-execstack) = yes]
30652         (CPPFLAGS-tst-execstack.c): New variable.
30654         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
30655         conditional to [defined UTMPX || _HAVE_UT_TYPE].
30656         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
30657         UTMPX || _HAVE_UT_TV].
30658         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
30659         UTMPX || _HAVE_UT_TV - 0].
30661 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
30663         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
30664         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
30665         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
30667 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
30669         * sysdeps/powerpc/dl-procinfo.c:
30670         (_dl_powerpc_cap_flags): Added missing strings for some
30671         hwcap features.
30672         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
30674 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
30676         Port the 0x7efe...feff pattern to GCC 6.
30677         See Steve Ellcey's bug report in:
30678         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
30679         * string/memrchr.c (MEMRCHR):
30680         * string/rawmemchr.c (RAWMEMCHR):
30681         * string/strchr.c (strchr):
30682         * string/strchrnul.c (STRCHRNUL):
30683         Rewrite code to avoid issues with signed shift overflow.
30685 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
30687         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
30688         whether cpuid is available only if HAS_CPUID is 0.
30689         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
30690         (HAS_I586): Likewise.
30691         (HAS_I686): Likewise.
30693 2015-08-18  Zack Weinberg  <zackw@panix.com>
30695         * misc/Versions (libc): Add GLIBC_2.23.
30697 2015-08-18  Alan Modra  <amodra@gmail.com>
30699         [BZ #18421]
30700         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
30701         .Lp__global.
30702         (_start): Load %dp via .Lp__global.
30703         [!SHARED]: Use .section .rodata.
30705 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
30707         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
30708         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
30710 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
30712         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
30713         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
30715 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
30717         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
30718         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
30720 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
30722         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
30723         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
30725 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
30727         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
30728         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
30730 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
30732         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
30733         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
30735 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
30737         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
30739 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
30741         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
30742         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
30743         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
30744         (__ASSUME_LWS_CAS): Delete.
30746 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
30748         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
30749         * sysdeps/hppa/configure: Regenerated.
30750         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
30751         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
30752         * sysdeps/hppa/nptl/tls.h: Likewise.
30754 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
30756         [BZ #18823]
30757         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
30758         for scaling up small arguments.
30759         * math/s_csqrtf.c (__csqrtf): Likewise.
30760         * math/s_csqrtl.c (__csqrtl): Likewise.
30761         * math/auto-libm-test-in: Add more tests of csqrt.
30762         * math/auto-libm-test-out: Regenerated.
30764 2015-08-17  Andreas Schwab  <schwab@suse.de>
30766         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
30767         version set GLIBC_2.19.
30769 2015-08-16  Zack Weinberg  <zackw@panix.com>
30771         [BZ #18681]
30772         * misc/regexp.h: This interface is no longer supported.
30773         Remove all contents, leaving only an #error directive.
30774         * misc/regexp.c (loc1, loc2, locs, step, advance):
30775         Demote to compatibility symbols.
30777 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
30779         [BZ #18084]
30780         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
30781         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
30782         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
30783         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
30784         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
30785         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
30786         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
30787         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
30788         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
30790 2015-08-15  Zack Weinberg  <zackw@panix.com>
30792         [BZ #18795]
30793         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
30794         buffer length is known to be too large, not if it's known to be
30795         small enough.
30796         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
30797         overflow at runtime, involving a length parameter, twice: once
30798         with a compile-time constant length parameter, once without.
30800 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
30802         [BZ #18824]
30803         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
30804         scaling x * y up instead of down.
30805         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30806         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30807         * math/auto-libm-test-in: Add more tests of fma.
30808         * math/auto-libm-test-out: Regenerated.
30810 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
30812         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30814 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
30816         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
30817         unnecessary movq.
30818         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
30819         Likewise.
30821 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
30823         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
30824         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
30825         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
30826         and tgamma.
30827         * math/auto-libm-test-out: Regenerated.
30828         * sysdeps/i386/fpu/libm-test-ulps: Update.
30829         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30831         [BZ #16520]
30832         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
30833         (__tanh): Force underflow exception for arguments with small
30834         absolute value.
30835         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
30836         (__tanhf): Force underflow exception for arguments with small
30837         absolute value.
30838         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
30839         (__tanhl): Force underflow exception for arguments with small
30840         absolute value.
30841         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
30842         (__tanhl): Force underflow exception for arguments with small
30843         absolute value.
30844         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
30845         (__tanhl): Force underflow exception for arguments with small
30846         absolute value.
30847         * math/auto-libm-test-in: Add more tests of tanh.
30848         * math/auto-libm-test-out: Regenerated.
30849         * sysdeps/i386/fpu/libm-test-ulps: Update.
30851 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
30853         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
30854         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
30856 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
30858         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
30859         <cpuid.h>.
30861 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
30863         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
30864         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
30866 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
30868         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
30869         Remove $(objpfx)init-arch.o.
30870         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
30871         init-arch.
30872         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
30873         (INIT_ARCH_EXT): Defined as empty.
30874         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
30875         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
30876         __init_cpu_features call.  Replace HAS_XXX with
30877         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
30878         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
30879         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
30880         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
30881         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
30882         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
30883         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
30884         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
30885         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
30886         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
30887         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
30888         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
30889         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
30890         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
30891         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
30892         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
30893         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
30894         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
30895         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
30896         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
30897         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
30898         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
30899         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
30900         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
30901         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
30902         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
30903         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
30904         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
30905         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
30906         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
30907         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
30908         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
30909         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
30910         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
30911         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
30912         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
30914 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
30916         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
30917         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
30918         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
30919         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
30920         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
30921         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
30922         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
30923         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
30924         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
30925         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
30926         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
30927         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
30928         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
30929         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30930         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30931         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30932         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30933         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30934         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30935         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30936         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30937         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30938         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30939         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30940         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30941         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30942         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30943         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30944         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
30945         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30946         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30947         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30948         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30949         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30950         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30951         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30952         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30953         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30954         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30955         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30956         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30957         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30958         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30960 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
30962         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
30963         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
30964         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
30965         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30966         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30967         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
30968         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30969         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
30970         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
30971         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30972         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30973         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
30974         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
30975         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
30976         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
30977         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
30978         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
30979         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
30980         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
30981         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
30982         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
30983         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
30984         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
30985         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
30986         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
30987         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
30988         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
30989         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
30990         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
30991         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
30992         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
30993         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
30994         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
30995         * sysdeps/x86_64/multiarch/memset.S: Likewise.
30996         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30997         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
30998         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
30999         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
31000         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
31001         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
31002         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
31003         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
31004         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
31006 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
31008         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
31009         (dl_platform_init): Call init_cpu_features.
31010         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
31011         * sysdeps/i386/i686/cacheinfo.c
31012         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
31013         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
31014         * sysdeps/i386/i686/multiarch/Versions: Removed.
31015         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
31016         Removed.
31017         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
31018         * sysdeps/unix/sysv/linux/x86/Makefile
31019         (libpthread-sysdep_routines): Remove init-arch.
31020         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
31021         <sysdeps/x86_64/dl-procinfo.c> instead of
31022         sysdeps/generic/dl-procinfo.c>.
31023         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
31024         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
31025         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
31026         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
31027         [$(subdir) == elf] (tests-static): Add
31028         tst-get-cpu-features-static.
31029         * sysdeps/x86/Versions: New file.
31030         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
31031         * sysdeps/x86/cpu-features.c: Likewise.
31032         * sysdeps/x86/cpu-features.h: Likewise.
31033         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
31034         * sysdeps/x86/libc-start.c: Likewise.
31035         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
31036         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
31037         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
31038         * sysdeps/x86_64/dl-procinfo.c: Likewise.
31039         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
31040         Assume USE_MULTIARCH is defined and don't check it.
31041         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
31042         (is_amd): Likewise.
31043         (max_cpuid): Likewise.
31044         (intel_check_word): Likewise.
31045         (__cache_sysconf): Don't call __init_cpu_features.
31046         (__x86_preferred_memory_instruction): Removed.
31047         (init_cacheinfo): Don't call __init_cpu_features. Replace
31048         __cpu_features with GLRO(dl_x86_cpu_features).
31049         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
31050         (dl_platform_init): Call init_cpu_features.
31051         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
31052         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
31053         * sysdeps/x86_64/multiarch/Versions: Removed.
31054         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
31055         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
31056         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
31057         Removed.
31058         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
31060 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
31062         [BZ #18820]
31063         * libio/Makefile (test-fmemopen-mem): New test.
31064         * libio/test-fmemopen.c (do_bz18820): New test.
31065         * libio/fmemopen.c (__fmemopen): Fix memory leak.
31066         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
31068 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
31070         [BZ #16734]
31071         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
31072         (FREE_BUF): Delete.
31073         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
31074         * libio/genops.c (_IO_setb): Use malloc and free directly.
31075         (_IO_default_doallocate, _IO_default_finish): Likewise.
31076         ( _IO_unbuffer_all): Likewise.
31077         ( libc_freeres_fn): Likewise.
31078         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
31079         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
31080         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
31081         (_IO_wdefault_doallocate): Likewise.
31083 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
31085         [BZ #18086]
31086         * sysdeps/posix/nice.c (nice): Restore old errno.
31087         * posix/tst-nice.c (do_test): Add test for BZ #18086.
31089 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
31091         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
31093 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31095         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
31096         __bcopy and add a weak_alias to bcopy.
31097         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
31098         for static build.
31100         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
31101         cleanup macro usage.
31102         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
31103         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
31104         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
31105         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
31106         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
31107         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
31108         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
31109         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
31110         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
31111         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
31112         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
31113         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
31114         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
31115         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
31116         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
31117         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
31118         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
31119         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
31120         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
31122         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
31123         libc_hidden_def.
31124         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
31126         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
31127         (sysdep_routines): Add strstr-ppc64.
31128         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
31130 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
31132         [BZ #18778]
31133         * elf/Makefile (tests): Add Add tst-nodelete2.
31134         (modules-names): Add tst-nodelete2mod.
31135         (tst-nodelete2mod.so-no-z-defs): New.
31136         ($(objpfx)tst-nodelete2): Likewise.
31137         ($(objpfx)tst-nodelete2.out): Likewise.
31138         (LDFLAGS-tst-nodelete2): Likewise.
31139         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
31140         out of loop through all loaded libraries.
31141         * elf/tst-nodelete2.c: New file.
31142         * elf/tst-nodelete2mod.c: Likewise.
31143         * elf/tst-znodelete-zlib.cc: Delete.
31145 2015-08-11  Andreas Schwab  <schwab@suse.de>
31147         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
31148         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
31149         (__openat64_nocancel): Likewise.
31151 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
31153         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
31154         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
31155         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
31156         * math/auto-libm-test-out: Regenerated.
31157         * sysdeps/i386/fpu/libm-test-ulps: Update.
31158         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31160 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
31162         [BZ #18790]
31163         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
31164         threshold for returning +/- 1.
31165         * math/auto-libm-test-in: Add more tests of tanh.
31166         * math/auto-libm-test-out: Regenerated.
31167         * sysdeps/i386/fpu/libm-test-ulps: Update.
31169 2015-08-10  Andreas Schwab  <schwab@suse.de>
31171         [BZ #18781]
31172         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
31173         MORE_OFLAGS to oflag.
31174         * io/test-lfs.c (do_test): Test openat64.
31176 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
31178         [BZ #18789]
31179         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
31180         smaller threshold for returning the argument.
31181         * math/auto-libm-test-in: Add more tests of sinh.
31182         * math/auto-libm-test-out: Regenerated.
31183         * sysdeps/i386/fpu/libm-test-ulps: Update.
31185 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
31187         [BZ #18674]
31188         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
31189         break.
31191 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
31193         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
31194         (generated): Don't add $(addprefix z.,$(tzfiles)).
31196 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
31198         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
31199         * scripts/sysd-rules.awk: Likewise.
31201 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
31203         * iconvdata/tst-tables.sh: Change echo -n to printf.
31204         * nss/db-Makefile: Likewise.
31205         * posix/tst-getconf.sh: Likewise.
31206         * stdio-common/tst-unbputc.sh: Likewise.
31208 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
31210         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
31211         MADV_*_PAGES defines behind this feature check.
31213 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
31215         [BZ #18480]
31216         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
31217         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
31218         Define.
31219         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
31220         LOAD_REGS_5, LOAD_REGS_6): Update.
31221         (INTERNAL_SYSCALL): Update using new LOAD defines.
31222         (INTERNAL_SYSCALL_NCS): Likewise.
31223         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
31225 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
31227         [BZ #16734]
31228         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
31230 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
31232         [BZ #17905]
31233         * catgets/Makefile (tst-catgets-mem): New test.
31234         * catgets/catgets.c (catopen): Don't use unbounded alloca.
31235         * catgets/open_catalog.c (__open_catalog): Likewise.
31236         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
31238 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
31240         [BZ #18787]
31241         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
31242         clobber registers.
31243         (atomic_compare_and_exchange_val_acq): Use register asms to assign
31244         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
31245         Cast return to __typeof (oldval).
31247 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
31249         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
31250         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
31251         and delete sys/syscall.h include.
31253 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
31255         [BZ #16517]
31256         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
31257         (tan): Force underflow exception for arguments with small absolute
31258         value.
31259         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
31260         (__kernel_tanf): Force underflow exception for arguments with
31261         small absolute value.
31262         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
31263         (__kernel_tanl): Force underflow exception for arguments with
31264         small absolute value.
31265         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
31266         (__kernel_tanl): Force underflow exception for arguments with
31267         small absolute value.
31268         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
31269         (__kernel_tanl): Force underflow exception for arguments with
31270         small absolute value.
31271         * math/auto-libm-test-in: Add more tests of tan.
31272         * math/auto-libm-test-out: Regenerated.
31274 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31276         Fix sysdeps/i386/fpu/s_scalbn.S build
31278         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
31280 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
31282         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
31284 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31286         Fix gcrt0.o compilation
31288         When static-start-installed-name is different from
31289         start-installed-name, we must not use the shared objects.
31291         * csu/Makefile
31292         (extra-objs): Add gmon-start.o when building shared library and
31293         $(static-start-installed-name) is different from
31294         $(start-installed-name).
31295         $(objpfx)g$(static-start-installed-name): When building shared
31296         library and $(static-start-installed-name) is different from
31297         $(static-start-installed-name), revert to non-shared rule,
31298         i.e. using $(objpfx)% and gmon-start.o.
31300 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
31302         [BZ #16519]
31303         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
31304         (__ieee754_sinh): Force underflow exception for arguments with
31305         small absolute value.
31306         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
31307         (__ieee754_sinhf): Force underflow exception for arguments with
31308         small absolute value.
31309         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
31310         (__ieee754_sinhl): Force underflow exception for arguments with
31311         small absolute value.
31312         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
31313         (__ieee754_sinhl): Force underflow exception for arguments with
31314         small absolute value.
31315         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
31316         (__ieee754_sinhl): Force underflow exception for arguments with
31317         small absolute value.
31318         * math/auto-libm-test-in: Add more tests of sinh.
31319         * math/auto-libm-test-out: Regenerated.
31320         * sysdeps/i386/fpu/libm-test-ulps: Update.
31322 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
31324         * libio/oldfileops.c: Include unistd.h.
31326 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
31328         * stdlib/isomac.c: Include ctype.h.
31330 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
31332         * dirent/tst-seekdir.c (main): Converted to ...
31333         (do_test): ... this.
31334         (TEST_FUNCTION): New macro.
31335         Include test-skeleton.c.
31336         * elf/tst-dlmodcount.c (main): Converted to ...
31337         (do_test): ... this.
31338         (TEST_FUNCTION): New macro.
31339         Include test-skeleton.c.
31340         * elf/tst-order-main.c (main): Converted to ...
31341         (do_test): ... this.
31342         (TEST_FUNCTION): New macro.
31343         Include test-skeleton.c.
31344         * elf/tst-pie2.c (main): Converted to ...
31345         (do_test): ... this.
31346         (TEST_FUNCTION): New macro.
31347         Include test-skeleton.c.
31348         * inet/tst-ether_aton.c (main): Converted to ...
31349         (do_test): ... this.
31350         (TEST_FUNCTION): New macro.
31351         Include test-skeleton.c.
31352         * misc/tst-mntent.c (main): Converted to ...
31353         (do_test): ... this.
31354         (TEST_FUNCTION): New macro.
31355         Include test-skeleton.c.
31356         * misc/tst-tsearch.c (main): Converted to ...
31357         (do_test): ... this.
31358         (TEST_FUNCTION): New macro.
31359         Include test-skeleton.c.
31360         * posix/tst-regexloc.c (main): Converted to ...
31361         (do_test): ... this.
31362         (TEST_FUNCTION): New macro.
31363         Include test-skeleton.c.
31364         * resolv/tst-aton.c (main): Converted to ...
31365         (do_test): ... this.
31366         (TEST_FUNCTION): New macro.
31367         Include test-skeleton.c.
31368         * stdio-common/test-fwrite.c (main): Converted to ...
31369         (do_test): ... this.
31370         (TEST_FUNCTION): New macro.
31371         Include test-skeleton.c.
31372         * stdio-common/tst-ferror.c (main): Converted to ...
31373         (do_test): ... this.
31374         (TEST_FUNCTION): New macro.
31375         Include test-skeleton.c.
31376         * stdio-common/tst-printf.c (main): Converted to ...
31377         (do_test): ... this.
31378         (TEST_FUNCTION): New macro.
31379         Include test-skeleton.c.
31380         * stdio-common/tst-printfsz.c (main): Converted to ...
31381         (do_test): ... this.
31382         (TEST_FUNCTION): New macro.
31383         Include test-skeleton.c.
31384         * stdlib/tst-strtod.c (main): Converted to ...
31385         (do_test): ... this.
31386         (TEST_FUNCTION): New macro.
31387         Include test-skeleton.c.
31388         * string/tst-strlen.c (main): Converted to ...
31389         (do_test): ... this.
31390         (TEST_FUNCTION): New macro.
31391         Include test-skeleton.c.
31392         * string/tst-svc.c (main): Converted to ...
31393         (do_test): ... this.
31394         (TEST_FUNCTION): New macro.
31395         Include test-skeleton.c.
31396         * time/tst-strptime.c (main): Converted to ...
31397         (do_test): ... this.
31398         (TEST_FUNCTION): New macro.
31399         Include test-skeleton.c.
31400         * timezone/tst-timezone.c (main): Converted to ...
31401         (do_test): ... this.
31402         (TEST_FUNCTION): New macro.
31403         Include test-skeleton.c.
31405 2015-08-05  Zack Weinberg  <zackw@panix.com>
31407         * misc/regexp.h: Update comments.
31409 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
31411         [BZ #18635]
31412         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
31413         before return label.
31415 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
31417         [BZ #18661]
31418         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
31419         when calling __errno_location.
31420         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
31421         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
31423 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
31425         [BZ #18661]
31426         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
31427         (__lll_timedwait_tid): Align stack to 16 bytes when calling
31428         __gettimeofday.
31430 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
31432         [BZ #18661]
31433         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
31434         (__start_context): Don't use pop to restore %rdi so that stack
31435         is aligned to 16 bytes when calling __setcontext.
31437 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
31439         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
31440         only for libc.
31441         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
31443 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
31445         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
31446         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
31447         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
31449 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
31451         * string/memccpy.c (memccpy):
31452         Improve performance by using memchr/memcpy/__mempcpy.
31454 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
31456         * string/strncpy.c (strncpy):
31457         Improve performance by using __strnlen/memcpy.
31459 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
31461         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
31462         Optimize to avoid an unnecessary FPCR read.
31464 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
31466         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
31467         Optimize to reduce FPCR/FPSR accesses.
31469 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
31471         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
31472         dead->data[category] != NULL.
31474 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
31476         [BZ #18647]
31477         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
31478         and |x| close to 1, use absolute value of x when computing log.
31479         * math/auto-libm-test-in: Add more tests of pow.
31480         * math/auto-libm-test-out: Regenerated.
31482 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31484         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
31485         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
31486         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
31488 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
31490         [BZ #18525]
31491         * locales/km_KH: Remove timezone definition.
31492         * locales/lo_LA: Likewise.
31493         * locales/my_MM: Likewise.
31494         * locales/nan_TW@latin: Likewise.
31495         * locales/th_TH: Likewise.
31496         * locales/uk_UA: Likewise.
31498 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
31500         [BZ #18265]
31501         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
31502         (wcsncat): Likewise.
31503         (wcscmp): Likewise.
31504         (wcsncmp): Likewise.
31506 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
31508         * test-skeleton.c (usage): New function.
31509         (main): Call usage when opt is '?'.
31511 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
31513         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
31514         before first use.
31516 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
31518         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
31519         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
31520         in there too.
31522 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
31524         * version.h (RELEASE): Set to "development".
31525         (VERSION): Set to "2.22.90"
31527         * version.h (RELEASE): Set to "stable".
31528         (VERSION): Set to "2.22"
31529         * include/features.h (__GLIBC_MINOR__): Set to 22.
31531 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
31533         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
31534         Restructure macro to avoid "value computed is not used" warning.
31535         (atomic_compare_and_exchange_val_acq): Likewise.
31537 2015-08-04  Andreas Schwab  <schwab@suse.de>
31539         [BZ #18635]
31540         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
31541         ret.
31542         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
31544 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
31546         * po/pl.po: Updated translation.
31547         * po/uk.po: Likewise.
31548         * po/fi.po: Likewise.
31549         * po/ko.po: Likewise.
31550         * po/ru.po: Likewise.
31551         * po/vi.po: Likewise.
31553 2015-07-31  Zack Weinberg  <zackw@panix.com>
31555         [BZ #18681]
31556         * regexp.h: Add unconditional #warning stating that this header
31557         will be removed soon.  Revise banner comment to match.
31558         (compile): Consistently use ERROR instead of RETURN to report
31559         errors (partial fix for BZ #18681).
31560         * regexp.c: Don't include regexp.h. Remove some unnecessary
31561         declarations.
31563 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
31565         * po/libc.pot: Regenerated.
31567 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
31569         [BZ #18740]
31570         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
31571         float-vlen4-arch-ext-cflags): Removed.
31572         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
31573         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
31575 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
31577         [BZ #14113]
31578         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
31579         aligned to __aligned__.
31580         (pthread_cond_t, pthread_rwlock_t): Likewise.
31582 2015-07-30  Torvald Riegel  <triegel@redhat.com>
31584         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
31586 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
31588         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
31589         (struct sigaction): Change sa_flags from a long to an int, and add
31590         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
31592 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
31594         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
31595         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
31596         sysdeps/generic/sysdep.h include.
31597         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
31598         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
31599         sysdeps/hppa/sysdep.h.
31600         (ENTRY, PSEUDO): Undefine before defining.
31602 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
31604         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
31605         from scratch to use INTERNAL_SYSCALL.
31607 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
31609         [BZ #18078]
31610         * scripts/check-localplt.awk: Support alternate relocations.
31611         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
31612         sections.
31613         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
31614         malloc entries with + REL R_386_GLOB_DAT.
31615         * sysdeps/x86_64/localplt.data: New file.
31617 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
31619         [BZ #18731]
31620         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
31621         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
31622         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
31624 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
31626         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
31628 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
31630         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
31631         directly in terms of __sync_fetch_and_add and delete (int) cast.
31633 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
31635         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
31636         the -D_ASM_IA64_CURRENT_H flag.
31638 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
31640         [BZ #18641]
31641         * pwd/pwd.h (putpwent): Delete __nonnull markings.
31643 2015-07-27  Andreas Schwab  <schwab@suse.de>
31645         * conform/conformtest.pl (checknamespace): Filter out string
31646         literals while tokenizing.
31648 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
31650         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
31651         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
31652         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
31654 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
31656         * nptl/tst-join7mod.c: Add #include <string.h>.
31658 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
31660         * sysdeps/nios2/libm-test-ulps: Update.
31662 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
31664         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
31665         Fix order of arguments to the rt_sigprocmask syscall.
31666         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
31667         Likewise.
31669 2015-07-24  Roland McGrath  <roland@hack.frob.com>
31671         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
31673 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
31675         [BZ #18457]
31676         * nptl/Makefile (tests): New test case tst-join7.
31677         (modules-names): New test case module tst-join7mod.
31678         * nptl/tst-join7.c: New file.
31679         * nptl/tst-join7mod.c: New file.
31680         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
31681         all translation units in libc.so, libpthread.so and rtld.
31683 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31685         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31687 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
31689         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
31690         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
31691         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
31692         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
31693         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
31694         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
31695         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
31696         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
31697         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
31698         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
31699         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
31700         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
31701         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
31702         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
31703         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
31704         implementation.
31706 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
31708         [BZ #17711]
31709         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
31710         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
31711         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
31712         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
31713         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
31714         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
31716 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
31718         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
31719         instead of just saying load lock in the comments.
31721 2015-07-23  Roland McGrath  <roland@hack.frob.com>
31723         * sysdeps/unix/Subdirs: Moved ...
31724         * sysdeps/posix/Subdirs: ... here.
31725         * login/pty.h (struct termios, struct winsize): Add forward decls.
31726         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
31727         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
31728         * sysdeps/arm/nacl/libc.abilist: Updated.
31729         * sysdeps/nacl/libutil.abilist: New file.
31731         * bits/signum.h: Update comments to mention 1003.1-2013 too.
31732         (SIGWINCH): New macro.
31734         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
31735         * sysdeps/arm/nacl/libc.abilist: Add it.
31737 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
31739         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
31741 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
31743         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
31744         Swap __glibc_reserved0 and sa_flags order.
31746 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
31748         [BZ #18657]
31749         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
31750         are pending TLS destructor calls.
31751         * include/link.h (struct link_map): Add concurrency note for
31752         L_TLS_DTOR_COUNT.
31753         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
31754         Don't touch the link map flag.  Atomically increment
31755         l_tls_dtor_count.
31756         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
31757         Avoid taking the load lock and don't touch the link map flag.
31758         * stdlib/tst-tls-atexit-nodelete.c: New test case.
31759         * stdlib/Makefile (tests): Use it.
31760         * stdlib/tst-tls-atexit.c (do_test): dlopen
31761         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
31762         to allow tst-tls-atexit-nodelete test case to use it.
31764 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
31766         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
31767         to bits/types.h.
31768         (msgqnum_t): New typedef.
31769         (msglen_t): Likewise.
31770         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
31771         and msg_qbytes type to msglen_t.
31773 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
31775         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
31776         pad0 to __glibc_reserved0.
31777         (struct stat64): Likewise.
31779 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
31781         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
31782         Change sa_flags from a long to an int and add __glibc_reserved0 before
31783         it for padding.
31785 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
31787         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
31788         anonymous by deleting "siginfo" name.
31790 2015-07-21  Roland McGrath  <roland@hack.frob.com>
31792         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
31793         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
31794         rather than __nacl_irt_filename.
31795         * sysdeps/nacl/xstat.c (__xstat): Likewise.
31797         * NEWS: New item for arm-nacl port.
31798         * sysdeps/arm/nacl/libc.abilist: New file.
31799         * sysdeps/nacl/ld.abilist: New file.
31800         * sysdeps/nacl/libBrokenLocale.abilist: New file.
31801         * sysdeps/nacl/libanl.abilist: New file.
31802         * sysdeps/nacl/libcrypt.abilist: New file.
31803         * sysdeps/nacl/libdl.abilist: New file.
31804         * sysdeps/nacl/libm.abilist: New file.
31805         * sysdeps/nacl/libpthread.abilist: New file.
31806         * sysdeps/nacl/libresolv.abilist: New file.
31807         * sysdeps/nacl/librt.abilist: New file.
31809 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
31811         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
31812         __startcontext to initialize the new context.
31813         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
31814         up CFI directive to forbid further backtracing.
31816 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
31818         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
31819         reference.
31820         * charmaps/ANSI_X3.4-1968: Likewise.
31821         * charmaps/BS_4730: Likewise.
31822         * charmaps/BS_VIEWDATA: Likewise.
31823         * charmaps/CP1250: Likewise.
31824         * charmaps/CP1251: Likewise.
31825         * charmaps/CP1252: Likewise.
31826         * charmaps/CP1253: Likewise.
31827         * charmaps/CP1254: Likewise.
31828         * charmaps/CP1255: Likewise.
31829         * charmaps/CP1256: Likewise.
31830         * charmaps/CSN_369103: Likewise.
31831         * charmaps/EBCDIC-DK-NO: Likewise.
31832         * charmaps/GB_1988-80: Likewise.
31833         * charmaps/GREEK-CCITT: Likewise.
31834         * charmaps/GREEK7: Likewise.
31835         * charmaps/INIS-8: Likewise.
31836         * charmaps/ISIRI-3342: Likewise.
31837         * charmaps/ISO_2033-1983: Likewise.
31838         * charmaps/ISO_5427-EXT: Likewise.
31839         * locales/POSIX: Likewise.
31840         * locales/ar_SA: Likewise.
31841         * locales/be_BY: Likewise.
31842         * locales/be_BY@latin: Likewise.
31843         * locales/ca_ES: Likewise.
31844         * locales/cs_CZ: Likewise.
31845         * locales/da_DK: Likewise.
31846         * locales/de_BE: Likewise.
31847         * locales/de_CH: Likewise.
31848         * locales/de_LU: Likewise.
31849         * locales/en_AU: Likewise.
31850         * locales/en_BW: Likewise.
31851         * locales/en_CA: Likewise.
31852         * locales/en_DK: Likewise.
31853         * locales/en_GB: Likewise.
31854         * locales/en_IE: Likewise.
31855         * locales/en_NZ: Likewise.
31856         * locales/en_ZA: Likewise.
31857         * locales/en_ZW: Likewise.
31858         * locales/es_AR: Likewise.
31859         * locales/es_BO: Likewise.
31860         * locales/es_CL: Likewise.
31861         * locales/es_CO: Likewise.
31862         * locales/es_DO: Likewise.
31863         * locales/es_EC: Likewise.
31864         * locales/es_ES: Likewise.
31865         * locales/es_HN: Likewise.
31866         * locales/es_MX: Likewise.
31867         * locales/es_PA: Likewise.
31868         * locales/es_PE: Likewise.
31869         * locales/es_PY: Likewise.
31870         * locales/es_SV: Likewise.
31871         * locales/es_US: Likewise.
31872         * locales/es_UY: Likewise.
31873         * locales/es_VE: Likewise.
31874         * locales/et_EE: Likewise.
31875         * locales/fa_IR: Likewise.
31876         * locales/fo_FO: Likewise.
31877         * locales/fr_CA: Likewise.
31878         * locales/fr_CH: Likewise.
31879         * locales/gv_GB: Likewise.
31880         * locales/he_IL: Likewise.
31881         * locales/hr_HR: Likewise.
31882         * locales/id_ID: Likewise.
31883         * locales/is_IS: Likewise.
31884         * locales/it_CH: Likewise.
31885         * locales/iw_IL: Likewise.
31886         * locales/kl_GL: Likewise.
31887         * locales/ko_KR: Likewise.
31888         * locales/kw_GB: Likewise.
31889         * locales/lg_UG: Likewise.
31890         * locales/lt_LT: Likewise.
31891         * locales/lv_LV: Likewise.
31892         * locales/mi_NZ: Likewise.
31893         * locales/nhn_MX: Likewise.
31894         * locales/nl_BE: Likewise.
31895         * locales/pl_PL: Likewise.
31896         * locales/sk_SK: Likewise.
31897         * locales/sl_SI: Likewise.
31898         * locales/sv_FI: Likewise.
31899         * locales/tl_PH: Likewise.
31900         * locales/tr_TR: Likewise.
31901         * locales/vi_VN: Likewise.
31903 2015-07-21  Khem Raj  <raj.khem@gmail.com>
31905         [BZ #17475]
31906         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
31907         of tu_IN and bh_IN.
31909 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
31911         [BZ #18694]
31912         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
31913         bits/wordsize.h.
31914         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
31916 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
31918         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
31919         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
31920         (spawn_thread): New function.
31921         (load): Rename to reg_dtor_and_close.  Move dlopen to...
31922         (do_test): ... here.  Use IS_LOADED to test for its
31923         availability.
31925 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
31927         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
31929 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
31931         [BZ #18696]
31932         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
31933         si_addr_bnd.
31934         (si_lower): New.
31935         (si_upper): Likewise.
31937 2015-07-16  David S. Miller  <davem@davemloft.net>
31939         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
31941 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31943         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
31944         buffer.
31945         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
31946         fail output information.
31948 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
31950         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
31951         and strstr-ppc64..
31952         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
31953         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
31954         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
31955         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
31956         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
31958 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
31960         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
31961         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
31962         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
31963         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
31965 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
31967         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
31968         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
31969         rtld_hidden_proto.
31970         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
31972 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
31974         * tst-nodelete-opened.c (do_test): Add comment to clarify how
31975         the test can fail.
31977         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
31979         [BZ #18676]
31980         * elf/tst-nodelete-opened.c: New test case.
31981         * elf/tst-nodelete-opened-lib.c: New test case module.
31982         * elf/Makefile (tests, modules-names): Use them.
31983         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
31984         early.
31986 2015-07-15  David S. Miller  <davem@davemloft.net>
31988         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
31989         futex-intenal.h
31990         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
31991         * sysdeps/sparc/sparc64/Makefile: Likewise.
31992         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
31993         Remove space from macro define.
31994         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
31996 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
31998         [BZ #17475]
31999         * locale/iso-639.def: Update Bhili and Tulu language codes as
32000         per iso639-3.
32002 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
32004         * elf/tst-leaks1.c (main): Converted to ...
32005         (do_test): ... this.
32006         (TEST_FUNCTION): New macro.
32007         Include test-skeleton.c.
32008         * localedata/tst-langinfo.c (main): Converted to ...
32009         (do_test): ... this.
32010         (TEST_FUNCTION): New macro.
32011         Include test-skeleton.c.
32012         * math/test-fpucw.c (main): Converted to ...
32013         (do_test): ... this.
32014         (TEST_FUNCTION): New macro.
32015         Include test-skeleton.c.
32016         * math/test-tgmath.c (main): Converted to ...
32017         (do_test): ... this.
32018         (TEST_FUNCTION): New macro.
32019         Include test-skeleton.c.
32020         * math/test-tgmath2.c (main): Converted to ...
32021         (do_test): ... this.
32022         (TEST_FUNCTION): New macro.
32023         Include test-skeleton.c.
32024         * setjmp/tst-setjmp.c (main): Converted to ...
32025         (do_test): ... this.
32026         (TEST_FUNCTION): New macro.
32027         Include test-skeleton.c.
32028         * stdio-common/tst-sscanf.c (main): Converted to ...
32029         (do_test): ... this.
32030         (TEST_FUNCTION): New macro.
32031         Include test-skeleton.c.
32032         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
32033         (do_test): ... this.
32034         (TEST_FUNCTION): New macro.
32035         Include test-skeleton.c.
32037         * elf/tst-audit9.c (main): Converted to ...
32038         (do_test): ... this.
32039         (TEST_FUNCTION): New macro.
32040         Include test-skeleton.c.
32042 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
32044         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
32046 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
32048         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
32049         New variable.
32051 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
32053         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
32055 2015-07-14  Roland McGrath  <roland@hack.frob.com>
32057         * sysdeps/generic/dl-fileid.h: New file.
32058         * sysdeps/posix/dl-fileid.h: New file.
32059         * sysdeps/nacl/dl-fileid.h: New file.
32060         * include/link.h: Include <dl-fileid.h>.
32061         (struct link_map): Replace l_dev and l_ino with l_file_id.
32062         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
32063         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
32064         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
32066 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
32068         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
32070 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32072         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
32073         Add iff $CXX is set.
32074         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
32075         Likewise.
32076         (tst-nodelete-zmodiff): Likewise.
32077         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
32079 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
32081         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
32083 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
32085         * sysdeps/aarch64/fpu/math_private.h
32086         (define math_opt_barrier): Add AArch64 version.
32087         (math_force_eval): Likewise.
32089 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
32091         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
32093 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
32095         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
32096         %ld with %jd and cast to intmax_t.
32097         (do_test_length_zero): Likewise.
32099 2015-07-10  Roland McGrath  <roland@hack.frob.com>
32101         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
32103 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
32105         * sysdeps/tile/libm-test-ulps: Regenerated.
32107         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
32108         Comment out the whole function, not just its body.
32110 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
32112         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
32113         locks.
32115         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
32117 2015-07-10  Torvald Riegel  <triegel@redhat.com>
32119         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
32120         (sem_assume_only_signals_cause_futex_EINTR): Remove.
32122 2015-07-10  Torvald Riegel  <triegel@redhat.com>
32124         * sysdeps/nptl/futex-internal.h: New file.
32125         * sysdeps/nacl/futex-internal.h: New file.
32126         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
32127         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
32128         error checking.
32129         (setxid_unmark_thread): Likewise.
32130         (__nptl_setxid): Likewise.
32131         (__wait_lookup_done): Likewise.
32132         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
32133         * nptl/nptl-init.c (sighandler_setxid): Likewise.
32134         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
32135         * nptl/pthread_once.c (clear_once_control): Likewise.
32136         (__pthread_once_slow): Likewise.
32137         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
32138         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
32139         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
32140         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
32141         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
32142         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
32143         Likewise.
32144         (__pthread_rwlock_rdlock): Likewise.
32145         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
32146         Likewise.
32147         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
32148         Likewise.
32149         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
32150         Likewise.
32151         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
32152         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
32153         Likewise.
32154         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
32155         __ASSUME_PRIVATE_FUTEX check.
32156         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
32157         Check that shared futexes are supported.
32158         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
32159         wrappers with error checking.
32160         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
32161         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
32162         * nptl/pthread_barrierattr_setpshared.c
32163         (pthread_barrierattr_setpshared): Check that shared futexes are
32164         supported.
32165         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
32166         Likewise.
32167         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
32168         Likewise.
32169         * nptl/sem_init.c (futex_private_if_supported): Remove.
32170         (__new_sem_init): Adapt and check that shared futexes are supported.
32171         * nptl/sem_open.c (sem_open): Likewise.
32172         * nptl/sem_post.c (futex_wake): Remove.
32173         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
32174         (do_futex_wait): Use futex wrappers with error checking.
32175         * nptl/sem_wait.c: Include lowlevellock.h.
32176         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
32177         Use futex_supports_pshared.
32178         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
32179         Use futex wrappers with error checking.
32180         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
32181         Likewise.
32182         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
32183         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
32184         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
32185         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
32186         (futex_wake): Likewise.
32187         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
32188         (do_futex_wait): Use futex wrappers with error checking.
32189         (__new_sem_wait_slow): Update EINTR handling.
32190         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
32192 2015-07-09  Martin Sebor  <msebor@redhat.com>
32194         [BZ #18435]
32195         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
32196         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
32197         * nptl/Makefile (test-xfail-tst-once5): Define.
32199 2015-07-09  Roland McGrath  <roland@hack.frob.com>
32201         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
32202         * elf/dl-minimal.c: For readability, reorder some definitions and
32203         introduce more page breaks.  Include <stdio.h>.
32204         (__libc_fatal): New function.
32206         * include/unistd.h: Add rtld_hidden_proto for _exit.
32207         * posix/_exit.c: Add rtld_hidden_def.
32208         * sysdeps/mach/hurd/_exit.c: Likewise.
32209         * sysdeps/nacl/_exit.c: Likewise.
32210         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
32211         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
32213 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
32215         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
32216         bndmov encoding with zero displacement.
32218 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
32219             H.J. Lu  <hongjiu.lu@intel.com>
32221         [BZ #18134]
32222         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
32223         * sysdeps/i386/configure: Regenerated.
32224         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
32225         (_dl_runtime_profile): Save and restore Intel MPX return bound
32226         registers when calling _dl_call_pltexit.  Add
32227         PRESERVE_BND_REGS_PREFIX before return.
32228         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
32229         (LRV_BND1_OFFSET): Likewise.
32230         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
32231         lrv_bnd1.
32232         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
32233         typo in bndmov encoding.
32234         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
32235         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
32236         branch instructions to preserve bounds.
32238 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
32241         [GLIBC_2.22]: Add fmemopen.
32243 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32245         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
32246         returns an error, also try to use host port from __mach_host_self for
32247         the __vm_wire call.
32248         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
32250 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
32252         [BZ #18400]
32253         [BZ #18648]
32254         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
32255         Fix pr_uid and pr_gid members.
32256         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
32257         definition to elf_greg_t.
32259 2015-07-08  Roland McGrath  <roland@hack.frob.com>
32261         [BZ #18383]
32262         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
32263         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
32264         * sysdeps/arm/configure: Regenerated.
32265         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
32266         (test-xfail-tst-tlsalign-static): Variable removed.
32268         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
32269         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
32270         rather than explicit 'ln -s'.
32272         * resolv/rpc/netdb.h: New file.
32273         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
32275 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32277         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
32278         length buffers.
32279         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
32280         test-skeleton.c.
32282         [BZ #6544]
32283         [BZ #11216]
32284         [BZ #12836]
32285         [BZ #13151]
32286         [BZ #13152]
32287         [BZ #14292]
32288         * include/stdio.h (fmemopen): Remove hidden prototype.
32289         (__fmemopen): Add new hidden prototype.
32290         * libio/Makefile: Add oldfmemopen object.
32291         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
32292         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
32293         compliance.
32294         * libio/oldfmemopen.c: New file: old fmemopen implementation for
32295         symbol compatibility.
32296         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
32297         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
32298         fmemopen.
32299         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
32300         on append and read mode.
32301         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
32302         fmemopen.
32303         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
32304         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
32305         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
32306         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
32307         Likewise.
32308         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
32309         [GLIBC_2.22]: Likewise.
32310         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
32311         Likewise.
32312         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
32313         Likewise.
32314         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
32315         [GLIBC_2.22]: Likewise.
32316         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
32317         [GLIBC_2.22]: Likewise.
32318         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
32319         [GLIBC_2.22]: Likewise.
32320         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
32321         [GLIBC_2.22]: Likewise.
32322         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
32323         [GLIBC_2.22]: Likewise.
32324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
32325         [GLIBC_2.22]: Likewise.
32326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
32327         [GLIBC_2.22]: Likewise.
32328         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
32329         Likewise.
32330         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
32331         Likewise.
32332         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
32333         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
32334         [GLIBC_2.22]: Likewise.
32335         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
32336         [GLIBC_2.22]: Likewise.
32337         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
32338         [GLIBC_2.22]: Likewise.
32339         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
32340         [GLIBC_2.22]: Likewise.
32341         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
32342         Likewise.
32343         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
32344         Likewise.
32345         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
32346         Likewise.
32347         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
32348         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
32350 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
32352         [BZ #18643]
32353         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
32354         IPV6_PATHMTU, and IPV6_DONTFRAG.
32356 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
32358         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
32359         and _IO_UNBUFFERED.
32360         * libio/oldfileops.c: Likewise.
32361         * libio/wfileops.c: Likewise.
32363 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
32365         * nscd/selinux.c: Delete selinux/flask.h include.
32367 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
32369         [BZ #18641]
32370         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
32371         (putpwent): Likewise.
32372         (getpwnam): Likewise.
32373         (getpwent_r): Likewise.
32374         (getpwuid_r): Likewise.
32375         (getpwnam_r): Likewise.
32376         (fgetpwent_r): Likewise.
32378 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
32380         [BZ #18557]
32381         * inet/rcmd.c (__validuser2_sa): Check user first to
32382         short-circuit host check.
32384 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
32385             Mikhail Ilin  <m.ilin@samsung.com>
32387         [BZ #17833]
32388         * elf/Makefile (tests): Add tst-nodelete.
32389         (modules-names): Add tst-nodelete-uniquemod.
32390         (tst-nodelete-uniquemod.so-no-z-defs): New.
32391         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
32392         (tst-nodelete-zmod.so-no-z-defs): Likewise.
32393         ($(objpfx)tst-nodelete): Likewise.
32394         ($(objpfx)tst-nodelete.out): Likewise.
32395         (LDFLAGS-tst-nodelete): Likewise.
32396         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
32397         * elf/dl-close.c (_dl_close_worker): Add a parameter to
32398         implement forced object deletion.
32399         (_dl_close): Pass false to _dl_close_worker.
32400         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
32401         * elf/tst-nodelete.cc: New file.
32402         * elf/tst-nodeletelib.cc: Likewise.
32403         * elf/tst-znodeletelib.cc: Likewise.
32404         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
32406 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
32408         [BZ #18508]
32409         * stdlib/Makefile ($(objpfx)tst-makecontext3):
32410         Depend on $(libdl).
32411         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
32412         is not called infinitely times.
32413         (backtrace_helper): New function.
32414         (trace_arg): New struct.
32415         (st1): Enlarge stack size.
32416         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
32417         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
32418         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
32419         Likewise.
32421 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
32423         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
32425 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
32427         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
32428         Include sys/types.h instead of bits/types.h.
32429         Remove inclusion of bits/wordsize.h.
32431 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
32433         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
32434         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
32435         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
32436         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
32437         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
32438         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
32440 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
32442         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
32443         link-defines.sym.
32444         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
32445         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
32446         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
32447         and LR_SIZE.
32448         * sysdeps/i386/link-defines.sym: New file.
32450 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
32452         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
32453         (modules-names): Add tst-auditmod3a tst-auditmod3b.
32454         ($(objpfx)tst-audit3): New rule.
32455         ($(objpfx)tst-audit3.out): Likewise.
32456         * sysdeps/i386/tst-audit3.c: New file.
32457         * sysdeps/i386/tst-audit3.h: Likewise.
32458         * sysdeps/i386/tst-auditmod3a.c: Likewise.
32459         * sysdeps/i386/tst-auditmod3b.c: Likewise.
32461 2015-07-07  Torvald Riegel  <triegel@redhat.com>
32463         [BZ #18633]
32464         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
32465         pointer in C code.
32466         (__strcat_c): Likewise.
32467         (__strcat_g): Likewise.
32469 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
32471         [BZ #18592]
32472         * misc/sbrk.c: Set errno to ENOMEM on overflow.
32474 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
32476         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
32477         New function.  (__ieee754_sqrtf): New function.
32478         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
32479         New function.
32480         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
32481         New function.
32483 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
32485         * sysdeps/ieee754/support.c: Remove unused file.
32487 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
32489         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
32490         registers instead of d ones so the layout is kernel abi compatible.
32491         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
32492         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
32493         Likewise.
32495 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
32497         * sysdeps/aarch64/libm-test-ulps: Regenerated.
32499 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
32501         [BZ #18619]
32502         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
32503         and return argument in case of subnormal argument.
32505 2015-07-01  Martin Sebor  <msebor@redhat.com>
32507         [BZ #18435]
32508         * nptl/Makefile: Add tst-once5.cc.
32509         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
32510         Remove macro redefinitions.
32511         * nptl/tst-once5.cc: New test.
32513 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
32515         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
32517         * sysdeps/arm/libm-test-ulps: Regenerated.
32519         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
32520         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
32522 2015-06-30  Torvald Riegel  <triegel@redhat.com>
32524         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
32525         lll_lock_wait_private and lll_futex_wake probes.
32527         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
32528         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
32529         Likewise.
32530         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
32531         atomic_spin_nop.
32532         * sysdeps/x86_64/bits/atomic.h: Likewise.
32533         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
32534         to atomic_spin_nop and move ...
32535         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
32536         ... here and ...
32537         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
32538         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
32539         atomic_spin_nop instead of BUSY_WAIT_NOP.
32540         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
32541         Likewise.
32542         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
32543         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
32544         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
32545         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
32546         instead of atomic_delay.
32548 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
32550         [BZ #18613]
32551         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
32552         X_ADJ not X when adjusting exponent.
32553         (__ieee754_gamma_r): Do intermediate computations in
32554         round-to-nearest then adjust overflowing and underflowing results
32555         as needed.
32556         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
32557         of X_ADJ not X when adjusting exponent.
32558         (__ieee754_gammaf_r): Do intermediate computations in
32559         round-to-nearest then adjust overflowing and underflowing results
32560         as needed.
32561         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
32562         log of X_ADJ not X when adjusting exponent.
32563         (__ieee754_gammal_r): Do intermediate computations in
32564         round-to-nearest then adjust overflowing and underflowing results
32565         as needed.  Use 1.0L not 1.0f as numerator of division.
32566         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
32567         log of X_ADJ not X when adjusting exponent.
32568         (__ieee754_gammal_r): Do intermediate computations in
32569         round-to-nearest then adjust overflowing and underflowing results
32570         as needed.  Use 1.0L not 1.0f as numerator of division.
32571         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
32572         of X_ADJ not X when adjusting exponent.
32573         (__ieee754_gammal_r): Do intermediate computations in
32574         round-to-nearest then adjust overflowing and underflowing results
32575         as needed.  Use 1.0L not 1.0f as numerator of division.
32576         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
32577         to auto-libm-test-in.
32578         (tgamma_test): Use ALL_RM_TEST.
32579         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
32580         tests of tgamma with spurious-overflow.
32581         * math/auto-libm-test-out: Regenerated.
32582         * math/gen-libm-have-vector-test.sh: Do not check for START.
32583         * sysdeps/i386/fpu/libm-test-ulps: Update.
32584         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32586         [BZ #18612]
32587         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
32588         arguments, just return 0.5 times the argument, with underflow
32589         forced as needed.
32590         * math/auto-libm-test-in: Add more tests of j1.
32591         * math/auto-libm-test-out: Regenerated.
32593         [BZ #16559]
32594         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
32595         (__ieee754_j1): Force underflow exception for small results.
32596         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
32597         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
32598         (__ieee754_j1f): Force underflow exception for small results.
32599         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
32600         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
32601         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
32602         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
32603         (__ieee754_j1l): Force underflow exception for small results.
32604         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
32605         * math/auto-libm-test-in: Add more tests of j1 and jn.
32606         * math/auto-libm-test-out: Regenerated.
32608         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
32609         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
32610         (PF_MPLS): Likewise.
32611         (AF_IB): Likewise.
32612         (AF_MPLS): Likewise.
32613         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
32614         value and macro.
32615         (MS_RMT_MASK): Include MS_LAZYTIME.
32617 2015-06-26  Mel Gorman  <mgorman@suse.de>
32619         [BZ #18502]
32620         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
32621         already minimal.
32623 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
32625         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
32626         (DT_MIPS_NUM): Update.
32627         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
32628         DT_MIPS_RLD_MAP_REL.
32630 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
32632         [BZ #16559]
32633         [BZ #18602]
32634         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
32635         round-to-nearest internally then recompute results that
32636         underflowed to zero in the original rounding mode.
32637         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
32638         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
32639         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
32640         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
32641         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
32642         * sysdeps/i386/fpu/libm-test-ulps: Update.
32643         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32645 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
32647         * NEWS: Fixed description of link with vector math library.
32649 2015-06-25  Andreas Schwab  <schwab@suse.de>
32651         [BZ #18549]
32652         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
32653         * libio/test-fmemopen.c (do_test): Add test for it.
32655 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
32657         [BZ #17841]
32658         * Makeconfig (no-pie-ldflag): New.
32659         (+link): Set to $(+link-pie) if default to PIE.
32660         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
32661         * config.make.in (build-pie-default): New.
32662         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
32663         is default.  AC_SUBST.
32664         * configure: Regenerated.
32665         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
32667 2015-06-24  Roland McGrath  <roland@hack.frob.com>
32669         * nptl/descr.h (struct pthread): Change type of field setxid_futex
32670         to 'unsigned int'.
32672         * resolv/gai_misc.h (struct waitlist): Change type of field
32673         counterp to 'volatile unsigned int *'.
32674         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
32675         FUTEXADDR and OLDVAL.
32676         * resolv/getaddrinfo_a.c (getaddrinfo_a):
32677         Give local variable TOTAL type 'volatile unsigned int'.
32678         (struct async_waitlist): Change type of field counter to 'unsigned int'.
32679         * resolv/gai_suspend.c (gai_suspend):
32680         Give local variable CNTR type 'unsigned int'.
32682         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
32683         counterp to 'volatile unsigned int *'.
32684         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
32685         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
32686         (aio_suspend): Give local variable CNTR type 'unsigned int'.
32687         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
32688         Give local variable TOTAL type 'volatile unsigned int'.
32689         (struct async_waitlist): Change type of field counter to 'unsigned int'.
32691 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
32693         [BZ #18383]
32694         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
32695         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
32696         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
32697         comment for i386/x86-64.
32698         (test-xfail-tst-tlsalign-extern-static): Removed.
32700 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
32702         * math/test-double.h: New file.
32703         * math/test-float.h: Likewise.
32704         * math/test-ldouble.h: Likewise.
32705         * math/test-math-inline.h: Likewise.
32706         * math/test-math-no-inline.h: Likewise.
32707         * math/test-math-scalar.h: Likewise.
32708         * math/test-math-vector.h: Likewise.
32709         * math/test-vec-loop.h: Remove file.  Contents moved into
32710         test-math-vector.h.
32711         * math/libm-test.inc (MATHCONST): Do not document macro.
32712         * math/test-double.c: Include test-double.h, test-math-no-inline.h
32713         and test-math-scalar.h.
32714         (FUNC): Remove macro.
32715         (FUNC_TEST): Likewise.
32716         (FLOAT): Likewise.
32717         (MATHCONST): Likewise.
32718         (PRINTF_EXPR): Likewise.
32719         (PRINTF_XEXPR): Likewise.
32720         (PRINTF_NEXPR): Likewise.
32721         (TEST_DOUBLE): Likewise.
32722         (TEST_MATHVEC): Likewise.
32723         (__NO_MATH_INLINES): Likewise.
32724         * math/test-float.c: Include test-float.h, test-math-no-inline.h
32725         and test-math-scalar.h.
32726         (FUNC): Remove macro.
32727         (FUNC_TEST): Likewise.
32728         (FLOAT): Likewise.
32729         (MATHCONST): Likewise.
32730         (PRINTF_EXPR): Likewise.
32731         (PRINTF_XEXPR): Likewise.
32732         (PRINTF_NEXPR): Likewise.
32733         (TEST_FLOAT): Likewise.
32734         (TEST_MATHVEC): Likewise.
32735         (__NO_MATH_INLINES): Likewise.
32736         * math/test-idouble.c: Include test-double.h, test-math-inline.h
32737         and test-math-scalar.h.
32738         (FUNC): Remove macro.
32739         (FUNC_TEST): Likewise.
32740         (FLOAT): Likewise.
32741         (MATHCONST): Likewise.
32742         (PRINTF_EXPR): Likewise.
32743         (PRINTF_XEXPR): Likewise.
32744         (PRINTF_NEXPR): Likewise.
32745         (TEST_DOUBLE): Likewise.
32746         (TEST_MATHVEC): Likewise.
32747         (TEST_INLINE): Likewise.
32748         (__NO_MATH_INLINES): Likewise.
32749         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
32750         test-math-scalar.h.
32751         (FUNC): Remove macro.
32752         (FUNC_TEST): Likewise.
32753         (FLOAT): Likewise.
32754         (MATHCONST): Likewise.
32755         (PRINTF_EXPR): Likewise.
32756         (PRINTF_XEXPR): Likewise.
32757         (PRINTF_NEXPR): Likewise.
32758         (TEST_FLOAT): Likewise.
32759         (TEST_MATHVEC): Likewise.
32760         (TEST_INLINE): Likewise.
32761         (__NO_MATH_INLINES): Likewise.
32762         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
32763         and test-math-scalar.h.
32764         (FUNC): Remove macro.
32765         (FUNC_TEST): Likewise.
32766         (FLOAT): Likewise.
32767         (MATHCONST): Likewise.
32768         (PRINTF_EXPR): Likewise.
32769         (PRINTF_XEXPR): Likewise.
32770         (PRINTF_NEXPR): Likewise.
32771         (TEST_LDOUBLE): Likewise.
32772         (TEST_MATHVEC): Likewise.
32773         (TEST_INLINE): Likewise.
32774         (__NO_MATH_INLINES): Likewise.
32775         * math/test-ldouble.c: Include test-ldouble.h,
32776         test-math-no-inline.h and test-math-scalar.h.
32777         (FUNC): Remove macro.
32778         (FUNC_TEST): Likewise.
32779         (FLOAT): Likewise.
32780         (MATHCONST): Likewise.
32781         (PRINTF_EXPR): Likewise.
32782         (PRINTF_XEXPR): Likewise.
32783         (PRINTF_NEXPR): Likewise.
32784         (TEST_LDOUBLE): Likewise.
32785         (TEST_MATHVEC): Likewise.
32786         (__NO_MATH_INLINES): Likewise.
32787         * math/test-double-vlen2.h: Include test-double.h,
32788         test-math-no-inline.h and test-math-vector.h.
32789         (FLOAT): Remove macro.
32790         (FUNC): Likewise.
32791         (MATHCONST): Likewise.
32792         (PRINTF_EXPR): Likewise.
32793         (PRINTF_XEXPR): Likewise.
32794         (PRINTF_NEXPR): Likewise.
32795         (TEST_DOUBLE): Likewise.
32796         (TEST_MATHVEC): Likewise.
32797         (__NO_MATH_INLINES): Likewise.
32798         (CNCT): Likewise.
32799         (CONCAT): Likewise.
32800         (WRAPPER_NAME): Likewise.
32801         (WRAPPER_DECL): Likewise.
32802         (WRAPPER_DECL_ff): Likewise.
32803         (WRAPPER_DECL_fFF): Likewise.
32804         (VECTOR_WRAPPER): Likewise.
32805         (VECTOR_WRAPPER_ff): Likewise.
32806         (VECTOR_WRAPPER_fFF): Likewise.
32807         (VEC_LEN): New macro.
32808         * math/test-double-vlen4.h: Include test-double.h,
32809         test-math-no-inline.h and test-math-vector.h.
32810         (FLOAT): Remove macro.
32811         (FUNC): Likewise.
32812         (MATHCONST): Likewise.
32813         (PRINTF_EXPR): Likewise.
32814         (PRINTF_XEXPR): Likewise.
32815         (PRINTF_NEXPR): Likewise.
32816         (TEST_DOUBLE): Likewise.
32817         (TEST_MATHVEC): Likewise.
32818         (__NO_MATH_INLINES): Likewise.
32819         (CNCT): Likewise.
32820         (CONCAT): Likewise.
32821         (WRAPPER_NAME): Likewise.
32822         (WRAPPER_DECL): Likewise.
32823         (WRAPPER_DECL_ff): Likewise.
32824         (WRAPPER_DECL_fFF): Likewise.
32825         (VECTOR_WRAPPER): Likewise.
32826         (VECTOR_WRAPPER_ff): Likewise.
32827         (VECTOR_WRAPPER_fFF): Likewise.
32828         (VEC_LEN): New macro.
32829         * math/test-double-vlen8.h: Include test-double.h,
32830         test-math-no-inline.h and test-math-vector.h.
32831         (FLOAT): Remove macro.
32832         (FUNC): Likewise.
32833         (MATHCONST): Likewise.
32834         (PRINTF_EXPR): Likewise.
32835         (PRINTF_XEXPR): Likewise.
32836         (PRINTF_NEXPR): Likewise.
32837         (TEST_DOUBLE): Likewise.
32838         (TEST_MATHVEC): Likewise.
32839         (__NO_MATH_INLINES): Likewise.
32840         (CNCT): Likewise.
32841         (CONCAT): Likewise.
32842         (WRAPPER_NAME): Likewise.
32843         (WRAPPER_DECL): Likewise.
32844         (WRAPPER_DECL_ff): Likewise.
32845         (WRAPPER_DECL_fFF): Likewise.
32846         (VECTOR_WRAPPER): Likewise.
32847         (VECTOR_WRAPPER_ff): Likewise.
32848         (VECTOR_WRAPPER_fFF): Likewise.
32849         (VEC_LEN): New macro.
32850         * math/test-float-vlen4.h: Include test-float.h,
32851         test-math-no-inline.h and test-math-vector.h.
32852         (FLOAT): Remove macro.
32853         (FUNC): Likewise.
32854         (MATHCONST): Likewise.
32855         (PRINTF_EXPR): Likewise.
32856         (PRINTF_XEXPR): Likewise.
32857         (PRINTF_NEXPR): Likewise.
32858         (TEST_FLOAT): Likewise.
32859         (TEST_MATHVEC): Likewise.
32860         (__NO_MATH_INLINES): Likewise.
32861         (CNCT): Likewise.
32862         (CONCAT): Likewise.
32863         (WRAPPER_NAME): Likewise.
32864         (WRAPPER_DECL): Likewise.
32865         (WRAPPER_DECL_ff): Likewise.
32866         (WRAPPER_DECL_fFF): Likewise.
32867         (VECTOR_WRAPPER): Likewise.
32868         (VECTOR_WRAPPER_ff): Likewise.
32869         (VECTOR_WRAPPER_fFF): Likewise.
32870         (VEC_LEN): New macro.
32871         * math/test-float-vlen8.h: Include test-float.h,
32872         test-math-no-inline.h and test-math-vector.h.
32873         (FLOAT): Remove macro.
32874         (FUNC): Likewise.
32875         (MATHCONST): Likewise.
32876         (PRINTF_EXPR): Likewise.
32877         (PRINTF_XEXPR): Likewise.
32878         (PRINTF_NEXPR): Likewise.
32879         (TEST_FLOAT): Likewise.
32880         (TEST_MATHVEC): Likewise.
32881         (__NO_MATH_INLINES): Likewise.
32882         (CNCT): Likewise.
32883         (CONCAT): Likewise.
32884         (WRAPPER_NAME): Likewise.
32885         (WRAPPER_DECL): Likewise.
32886         (WRAPPER_DECL_ff): Likewise.
32887         (WRAPPER_DECL_fFF): Likewise.
32888         (VECTOR_WRAPPER): Likewise.
32889         (VECTOR_WRAPPER_ff): Likewise.
32890         (VECTOR_WRAPPER_fFF): Likewise.
32891         (VEC_LEN): New macro.
32892         * math/test-float-vlen16.h: Include test-float.h,
32893         test-math-no-inline.h and test-math-vector.h.
32894         (FLOAT): Remove macro.
32895         (FUNC): Likewise.
32896         (MATHCONST): Likewise.
32897         (PRINTF_EXPR): Likewise.
32898         (PRINTF_XEXPR): Likewise.
32899         (PRINTF_NEXPR): Likewise.
32900         (TEST_FLOAT): Likewise.
32901         (TEST_MATHVEC): Likewise.
32902         (__NO_MATH_INLINES): Likewise.
32903         (CNCT): Likewise.
32904         (CONCAT): Likewise.
32905         (WRAPPER_NAME): Likewise.
32906         (WRAPPER_DECL): Likewise.
32907         (WRAPPER_DECL_ff): Likewise.
32908         (WRAPPER_DECL_fFF): Likewise.
32909         (VECTOR_WRAPPER): Likewise.
32910         (VECTOR_WRAPPER_ff): Likewise.
32911         (VECTOR_WRAPPER_fFF): Likewise.
32912         (VEC_LEN): New macro.
32913         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
32914         test-vec-loop.h.
32915         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
32916         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
32917         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
32918         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
32919         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
32920         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
32921         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
32923 2015-06-24  Roland McGrath  <roland@hack.frob.com>
32925         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
32926         (__getlogin_r): ... this.
32928 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
32930         [BZ #18594]
32931         * math/s_ccosh.c (__ccosh): Compare with least normal value
32932         instead of comparing class with FP_SUBNORMAL.
32933         * math/s_ccoshf.c (__ccoshf): Likewise.
32934         * math/s_ccoshl.c (__ccoshl): Likewise.
32935         * math/s_cexp.c (__cexp): Likewise.
32936         * math/s_cexpf.c (__cexpf): Likewise.
32937         * math/s_cexpl.c (__cexpl): Likewise.
32938         * math/s_csin.c (__csin): Likewise.
32939         * math/s_csinf.c (__csinf): Likewise.
32940         * math/s_csinh.c (__csinh): Likewise.
32941         * math/s_csinhf.c (__csinhf): Likewise.
32942         * math/s_csinhl.c (__csinhl): Likewise.
32943         * math/s_csinl.c (__csinl): Likewise.
32944         * math/s_ctan.c (__ctan): Likewise.
32945         * math/s_ctanf.c (__ctanf): Likewise.
32946         * math/s_ctanh.c (__ctanh): Likewise.
32947         * math/s_ctanhf.c (__ctanhf): Likewise.
32948         * math/s_ctanhl.c (__ctanhl): Likewise.
32949         * math/s_ctanl.c (__ctanl): Likewise.
32950         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
32951         csin, csinh, ctan and ctanh.
32952         * math/auto-libm-test-out: Regenerated.
32953         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
32954         * sysdeps/i386/fpu/libm-test-ulps: Update.
32955         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32957 2015-06-24  Roland McGrath  <roland@hack.frob.com>
32959         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
32960         return value is wrong, print the expected value too.
32962 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
32964         [BZ #18585]
32965         * elf/readlib.c (is_gdb_python_file): New.
32966         (process_file): Don't issue errors on filenames with -gdb.py
32967         suffix.
32969 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
32971         * math/auto-libm-test-in: Add more tests of csin and csinh.
32972         * math/auto-libm-test-out: Regenerated.
32973         * math/libm-test.inc (csin_test_data): Remove tests moved to
32974         auto-libm-test-in.
32975         (csinh_test_data): Likewise.
32977         [BZ #18593]
32978         * math/s_csin.c (__csin): Negate before rather than after possibly
32979         overflowing multiplication.
32980         * math/s_csinf.c (__csinf): Likewise.
32981         * math/s_csinh.c (__csinh): Likewise.
32982         * math/s_csinhf.c (__csinhf): Likewise.
32983         * math/s_csinhl.c (__csinhl): Likewise.
32984         * math/s_csinl.c (__csinl): Likewise.
32985         * math/auto-libm-test-in: Add some tests of csin and csinh.
32986         * math/auto-libm-test-out: Regenerated.
32987         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
32988         (csinh_test_data): Likewise.
32989         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32991         [BZ #18586]
32992         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
32993         underflow exception for small results.
32995 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
32997         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
32998         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
32999         variable and included header.
33000         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
33001         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
33002         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
33003         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
33004         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
33005         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
33006         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
33007         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
33008         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
33009         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
33010         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
33011         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
33012         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
33013         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
33014         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
33015         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
33017 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
33019         [BZ #16526]
33020         [BZ #16538]
33021         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
33022         (__sin): Force underflow exception for arguments with small
33023         absolute value.
33024         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
33025         (__kernel_sinf): Force underflow exception for arguments with
33026         small absolute value.
33027         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
33028         (__kernel_sincosl): Force underflow exception for arguments with
33029         small absolute value.
33030         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
33031         (__kernel_sinl): Force underflow exception for arguments with
33032         small absolute value.
33033         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
33034         (__kernel_sincosl): Force underflow exception for arguments with
33035         small absolute value.
33036         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
33037         (__kernel_sinl): Force underflow exception for arguments with
33038         small absolute value.
33039         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
33040         (__kernel_sinl): Force underflow exception for arguments with
33041         small absolute value.
33042         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
33043         (__kernel_sinf): Force underflow exception for arguments with
33044         small absolute value.
33045         * math/auto-libm-test-in: Add more tests of sin and sincos.
33046         * math/auto-libm-test-out: Regenerated.
33048         [BZ #18245]
33049         [BZ #18583]
33050         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
33051         (__kernel_standard_l): Use feholdexcept and fesetenv around
33052         conversion to double instead of special-casing overflow and
33053         underflow.
33054         * math/libm-test.inc (fmod_test_data): Add more tests.
33055         (remainder_test_data): Likewise.
33056         (sqrt_test_data): Likewise.
33058 2015-06-23  Torvald Riegel  <triegel@redhat.com>
33060         [BZ #17403]
33061         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
33062         atomic_read_barrier, atomic_write_barrier): Define.
33063         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
33064         atomic_read_barrier, atomic_write_barrier): Define.
33066 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
33068         * math/Makefile [$(PERL) != no]
33069         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
33070         dependency on libm-test.stmp below the inclusion of Rules.
33072 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
33074         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
33075         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
33076         and included header.
33077         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
33078         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
33079         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
33080         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
33081         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
33082         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
33083         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
33084         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
33085         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
33086         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
33087         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
33088         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
33089         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
33090         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
33091         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
33092         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
33093         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
33094         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
33095         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
33097 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
33099         [BZ #18371]
33100         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
33101         intermediate but not final result might underflow.
33102         * math/s_csqrtf.c (__csqrtf): Likewise.
33103         * math/s_csqrtl.c (__csqrtl): Likewise.
33104         * math/auto-libm-test-in: Add more tests of csqrt.
33105         * math/auto-libm-test-out: Regenerated.
33106         * sysdeps/i386/fpu/libm-test-ulps: Update.
33108         [BZ #18219]
33109         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
33110         threshold on absolute value of exponent for which scaling is used.
33111         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
33112         * math/auto-libm-test-in: Add more tests of exp2.
33113         * math/auto-libm-test-out: Regenerated.
33115 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
33117         [BZ #17977]
33118         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
33119         when initializing interface list, based on the bug analysis
33120         and the patch proposed by Eric Newton.
33121         * resolv/tst-res_hconf_reorder.c: New test.
33122         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
33123         tst-res_hconf_reorder.
33124         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
33125         and $(shared-thread-library).
33126         (tst-res_hconf_reorder-ENV): New variable.
33128         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
33129         in comment.
33131 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
33133         [BZ #16353]
33134         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
33135         (__expm1): Force underflow exception for arguments with small
33136         absolute value.
33137         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
33138         (__expm1f): Force underflow exception for arguments with small
33139         absolute value.
33140         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
33141         (__expm1): Force underflow exception for arguments with small
33142         absolute value.
33143         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
33144         (__expm1f): Force underflow exception for arguments with small
33145         absolute value.
33146         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
33147         Check for small arguments before calling __expm1.
33148         * math/auto-libm-test-in: Do not mark underflow exceptions as
33149         possibly missing for bug 16353.
33150         * math/auto-libm-test-out: Regenerated.
33152 2015-06-22  Andreas Schwab  <schwab@suse.de>
33154         [BZ #18513]
33155         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
33156         PTR queries.
33158 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
33160         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
33162         * string/strcoll_l.c: Remove unused struct element idxnow.
33164 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
33166         [BZ #18569]
33167         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
33168         underflow and return argument in case of subnormal argument.
33169         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
33170         Likewise.
33171         * math/auto-libm-test-in: Add more tests of expm1.
33172         * math/auto-libm-test-out: Regenerated.
33174         [BZ #16361]
33175         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
33176         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
33177         tiny results.
33178         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
33179         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
33180         tiny results.
33181         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
33182         mark underflow exceptions as possibly missing for bug 16361.
33183         * math/auto-libm-test-out: Regenerated.
33185 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
33187         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
33188         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
33189         Remove variable.
33190         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
33191         (test-xfail-XOPEN2K8/utmpx.h/conform).
33193         * conform/conformtest.pl ($xerrors): New variable.
33194         (note_error): New function.
33195         (compiletest): New argument $xfail.  Use not_error.
33196         (runtest): Likewise.
33197         (top level): Handle xfail- lines.  Update calls to compiletest and
33198         runtest.  Handle xfail- and optional- in headers listed with
33199         allow-header.
33200         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
33201         (O_EXEC): Likewise.
33202         (O_SEARCH): Likewise.
33203         * conform/data/stropts.h-data (ioctl): Likewise.
33204         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
33205         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
33206         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
33207         (msghdr.msg_controllen): Likewise.
33208         (cmsghdr.cmsg_len): Likewise.
33209         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
33210         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
33211         variable.
33212         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
33213         (test-xfail-XPG4/stropts.h/conform): Likewise.
33214         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
33215         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
33216         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
33217         (test-xfail-UNIX98/stropts.h/conform): Likewise.
33218         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
33219         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
33220         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
33221         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
33222         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
33223         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
33224         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
33225         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
33226         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
33227         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
33228         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
33229         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
33230         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
33231         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
33232         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
33234 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
33236         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
33237         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
33238         definitions for proper unfolding of __MATHDECL_VEC.
33240 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
33242         * benchtests/bench-strcoll.c:
33243         Include string.h.
33244         (main): Remove unused variable res.
33246 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
33248         * timezone/Makefile (%/UTC %/Universal):
33249         Generate test-result files for UTC and Universal.
33251 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
33253         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
33255 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
33257         [BZ #16350]
33258         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
33259         for arguments with small absolute value.
33260         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
33261         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
33262         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
33263         (__asinh): Force underflow exception for arguments with small
33264         absolute value.
33265         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
33266         (__asinhf): Force underflow exception for arguments with small
33267         absolute value.
33268         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
33269         (__asinhl): Force underflow exception for arguments with small
33270         absolute value.
33271         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
33272         (__asinhl): Force underflow exception for arguments with small
33273         absolute value.
33274         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
33275         (__asinhl): Force underflow exception for arguments with small
33276         absolute value.
33277         * math/auto-libm-test-in: Do not mark underflow exceptions as
33278         possibly missing for bug 16350.
33279         * math/auto-libm-test-out: Regenerated.
33281         * include/bits/ipc.h: Remove file.
33282         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
33283         variable.
33284         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
33285         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
33286         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
33287         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
33288         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
33289         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
33290         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
33291         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
33292         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
33294         * math/auto-libm-test-in: Remove spurious underflow allowance for
33295         tests of cexp.
33296         * math/auto-libm-test-out: Regenerated.
33298         [BZ #18558]
33299         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
33300         unconditional definition.
33301         (MCAST_BLOCK_SOURCE): Likewise.
33302         (MCAST_UNBLOCK_SOURCE): Likewise.
33303         (MCAST_LEAVE_GROUP): Likewise.
33304         (MCAST_JOIN_SOURCE_GROUP): Likewise.
33305         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
33306         (MCAST_MSFILTER): Likewise.
33307         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
33308         Remove variable.
33309         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
33310         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
33311         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
33312         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
33313         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
33315 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
33317         * NEWS: Mention addition of x86_64 vector sincosf.
33318         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
33319         * math/test-float-vlen4.h: Likewise.
33320         * math/test-float-vlen8.h: Likewise.
33321         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
33322         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
33323         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
33324         * sysdeps/x86_64/fpu/Versions: New versions added.
33325         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
33326         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
33327         Added build of SSE, AVX2 and AVX512 IFUNC versions.
33328         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
33329         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
33330         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
33331         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
33332         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
33333         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
33334         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
33335         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
33336         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
33337         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
33338         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
33339         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
33340         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
33341         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
33342         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
33343         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
33344         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
33345         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
33346         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
33347         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
33348         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
33350         * NEWS: Mention addition of x86_64 vector sincos.
33351         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
33352         * math/math.h (__MATHDECL_VEC): New macro.
33353         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
33354         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
33355         declaration under condition.
33356         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
33357         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
33358         TEST_VEC_LOOP change.
33359         * math/test-double-vlen4.h: Likewise.
33360         * math/test-double-vlen8.h: Likewise.
33361         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
33362         * math/test-float-vlen4.h: Likewise.
33363         * math/test-float-vlen8.h: Likewise.
33364         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
33365         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
33366         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
33367         * sysdeps/x86_64/fpu/Versions: New versions added.
33368         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
33369         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
33370         Added build of SSE, AVX2 and AVX512 IFUNC versions.
33371         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
33372         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
33373         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
33374         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
33375         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
33376         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
33377         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
33378         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
33379         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
33380         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
33381         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
33382         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
33383         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
33384         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
33385         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
33386         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
33387         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
33388         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
33389         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
33390         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
33391         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
33393         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
33394         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
33395         redirections for powf.
33396         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
33397         * sysdeps/x86_64/fpu/Versions: New versions added.
33398         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
33399         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
33400         Added build of SSE, AVX2 and AVX512 IFUNC versions.
33401         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
33402         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
33403         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
33404         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
33405         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
33406         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
33407         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
33408         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
33409         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
33410         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
33411         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
33412         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
33413         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
33414         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
33415         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
33416         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
33417         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
33418         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
33419         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
33420         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
33421         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
33422         * math/test-float-vlen16.h: Fixed 2 argument macro.
33423         * math/test-float-vlen4.h: Likewise.
33424         * math/test-float-vlen8.h: Likewise.
33425         * NEWS: Mention addition of x86_64 vector powf.
33427 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
33429         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
33430         and redefine.
33431         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
33432         and redefine.
33433         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
33434         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
33435         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33437         [BZ #18553]
33438         * resource/getpriority.c (getpriority): Rename to __getpriority
33439         and define as weak alias of __getpriority.
33440         * resource/setpriority.c (setpriority): Rename to __setpriority
33441         and define as weak alias of __setpriority.
33442         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
33443         __getpriority and define as weak alias of __getpriority.
33444         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
33445         __setpriority and define as weak alias of __setpriority.
33446         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
33447         strong name.
33448         (setpriority): Use __setpriority as strong name.
33449         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
33450         __getpriority and define as weak alias of __getpriority.
33451         * include/sys/resource.h (__getpriority): Declare.  Use
33452         libc_hidden_proto.
33453         (__setpriority): Likewise.
33454         (getpriority): Don't use libc_hidden_proto.
33455         (setpriority): Likewise.
33456         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
33457         getpriority.  Call __setpriority instead of setpriority.
33458         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
33459         Remove variable.
33461         [BZ #18547]
33462         * misc/getttyent.c (getttynam): Rename to __getttynam and define
33463         as weak alias of __getttynam.  Use prototype function definition.
33464         Call __setttyent, __getttyent and __endttyent instead of
33465         setttyent, getttyent and endttyent.
33466         (getttyent): Rename to __getttyent and define as weak alias of
33467         __getttyent.  Call __setttyent instead of setttyent.  Call
33468         __fgets_unlocked instead of fgets_unlocked.
33469         (setttyent): Rename to __setttyent and define as weak alias of
33470         __setttyent.
33471         (endttyent): Rename to __endttyent and define as weak alias of
33472         __endttyent.
33473         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
33474         (__setttyent): Likewise.
33475         (__endttyent): Likewise.
33476         (getttyent): Don't use libc_hidden_proto.
33477         (setttyent): Likewise.
33478         (endttyent): Likewise.
33479         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
33480         __endttyent instead of setttyent, getttyent and endttyent.
33481         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
33482         Remove variable.
33484         [BZ #18546]
33485         * socket/recv.c (__recv): Use libc_hidden_def.
33486         * socket/socket.c (__socket): Likewise.
33487         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
33488         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
33489         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
33490         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
33491         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
33492         libc_hidden_def.
33493         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
33494         libc_hidden_weak.
33495         * include/sys/socket.h (__socket): Do not use attribute_hidden.
33496         Use libc_hidden_proto.
33497         (__recv): Likewise.
33498         * socket/Versions (libc): Export __recv and __socket at version
33499         GLIBC_PRIVATE.
33500         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
33501         instead of recv.
33502         (init_mq_netlink): Call __socket instead of socket.
33503         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
33504         Remove variable.
33506         [BZ #18545]
33507         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
33508         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
33509         hidden_weak.
33510         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
33511         define as alias of __mq_timedsend.  Use hidden_weak.
33512         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
33513         __mq_timedsend as strong name.
33514         (mq_timedreceive): Use __mq_timedreceive as strong name.
33515         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
33516         (__mq_timedreceive): Likewise.
33517         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
33518         __mq_timedreceive instead of mq_timedreceive.
33519         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
33520         instead of mq_timedsend.
33521         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
33522         Remove variable.
33524         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
33525         hidden_def and hidden_weak instead of libc_hidden_def and
33526         libc_hidden_weak.
33527         (top level): Refer to hidden_def in comment.
33528         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
33529         macro.  Use it instead of libc_hidden_def.
33530         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
33531         specify __GI_* name explicitly.
33532         (mq_timedreceive): Likewise.
33533         (mq_setattr): Likewise.
33535         [BZ #18544]
33536         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
33537         __pthread_barrier_init and define as weak alias of
33538         __pthread_barrier_init.
33539         * sysdeps/sparc/nptl/pthread_barrier_init.c
33540         (pthread_barrier_init): Likewise.
33541         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
33542         __pthread_barrier_wait and define as weak alias of
33543         __pthread_barrier_wait.
33544         * sysdeps/sparc/nptl/pthread_barrier_wait.c
33545         (pthread_barrier_wait): Likewise.
33546         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
33547         (pthread_barrier_wait): Likewise.
33548         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
33549         (pthread_barrier_wait): Likewise.
33550         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
33551         (pthread_barrier_wait): Likewise.
33552         * nptl/Versions (libpthread): Export __pthread_barrier_init and
33553         __pthread_barrier_wait at version GLIBC_PRIVATE.
33554         * include/pthread.h (__pthread_barrier_init): Declare.
33555         (__pthread_barrier_wait): Likewise.
33556         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
33557         Call __pthread_barrier_wait instead of pthread_barrier_wait.
33558         (helper_thread): Likewise.
33559         (init_mq_netlink): Call __pthread_barrier_init instead of
33560         pthread_barrier_init.
33562         [BZ #18542]
33563         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
33564         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
33565         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
33566         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
33567         vswscanf.
33568         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
33569         Remove variable.
33571         [BZ #18540]
33572         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
33573         strong alias of _IO_fflush.  Use libc_hidden_def.
33574         * libio/iofflush_u.c (fflush_unlocked): Rename to
33575         __fflush_unlocked and define as weak alias of __fflush_unlocked.
33576         Use libc_hidden_weak.
33577         * include/stdio.h (__fflush_unlocked): Declare.  Use
33578         libc_hidden_proto.
33579         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
33580         fflush_unlocked.
33581         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
33582         Remove variable.
33584         [BZ #18539]
33585         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
33586         define as weak alias of __addseverity.
33587         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
33588         Remove variable.
33589         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
33590         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
33591         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
33593         [BZ #18536]
33594         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
33595         (__tfind): Likewise.
33596         (__tdelete): Likewise.
33597         (__twalk): Likewise.
33598         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
33599         __twalk to GLIBC_PRIVATE.
33600         * include/search.h (__tsearch): Use libc_hidden_proto.
33601         (__tfind): Likewise.
33602         (__tdelete): Likewise.
33603         (__twalk): Likewise.
33604         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
33605         Call __tdelete instead of tdelete.
33606         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
33607         tfind.  Call __tsearch instead of tsearch.
33608         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
33609         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
33610         Remove variable.
33611         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
33613         [BZ #18534]
33614         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
33615         (dprintf): Define as a weak alias of __dprintf, not a strong
33616         alias.
33617         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
33618         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
33619         dprintf.
33620         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
33621         Remove variable.
33622         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
33623         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
33625         [BZ #18533]
33626         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
33627         not a strong alias.
33628         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
33629         Remove variable.
33631         [BZ #18532]
33632         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
33633         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
33634         (in6addr_loopback): Rename to __in6addr_loopback and define as
33635         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
33636         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
33637         libc_hidden_proto.
33638         (__in6addr_any): Likewise.
33639         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
33640         in6addr_any.
33641         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
33642         variable.
33643         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
33645 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
33647         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
33648         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
33649         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
33650         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
33651         redirections for pow.
33652         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
33653         * sysdeps/x86_64/fpu/Versions: New versions added.
33654         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
33655         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
33656         build of SSE, AVX2 and AVX512 IFUNC versions.
33657         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
33658         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
33659         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
33660         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
33661         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
33662         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
33663         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
33664         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
33665         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
33666         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
33667         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
33668         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
33669         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
33670         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
33671         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
33672         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
33673         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
33674         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
33675         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
33676         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
33677         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
33678         * NEWS: Mention addition of x86_64 vector pow.
33680         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
33681         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
33682         redirections for expf.
33683         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
33684         * sysdeps/x86_64/fpu/Versions: New versions added.
33685         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
33686         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
33687         build of SSE, AVX2 and AVX512 IFUNC versions.
33688         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
33689         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
33690         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
33691         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
33692         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
33693         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
33694         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
33695         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
33696         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
33697         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
33698         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
33699         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
33700         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
33701         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
33702         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
33703         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
33704         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
33705         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
33706         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
33707         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
33708         * NEWS: Mention addition of x86_64 vector expf.
33710         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
33711         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
33712         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
33713         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
33714         redirections for exp.
33715         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
33716         * sysdeps/x86_64/fpu/Versions: New versions added.
33717         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
33718         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
33719         build of SSE, AVX2 and AVX512 IFUNC versions.
33720         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
33721         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
33722         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
33723         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
33724         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
33725         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
33726         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
33727         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
33728         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
33729         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
33730         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
33731         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
33732         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp 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 exp.
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 logf.
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_logf16_core.S: New file.
33751         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
33752         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
33753         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
33754         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
33755         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
33756         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
33757         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
33758         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
33759         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
33760         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
33761         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
33762         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf 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 logf.
33772         * bits/libm-simd-decl-stubs.h: Added stubs for log.
33773         * math/bits/mathcalls.h: Added log 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 log.
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_log2_core.S: New file.
33783         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
33784         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
33785         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
33786         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
33787         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
33788         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
33789         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
33790         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
33791         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
33792         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
33793         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
33794         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
33795         test.
33796         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
33797         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
33798         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
33799         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
33800         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
33801         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
33802         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
33803         * NEWS: Mention addition of x86_64 vector log.
33805 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
33807         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
33808         cfi_adjust_cfa_offset argument.
33809         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
33810         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
33812         [BZ #18034]
33813         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
33814         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
33815         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
33816         ordering using ldar.
33817         (_dl_tlsdesc_dynamic): Likewise.
33818         (_dl_tlsdesc_return_lazy): Likewise.
33819         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
33820         relaxed atomics instead of volatile and synchronize with release store.
33821         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
33822         volatile.
33823         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
33825 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
33827         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
33828         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
33829         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
33830         * sysdeps/x86_64/fpu/Versions: New versions added.
33831         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
33832         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
33833         build of SSE, AVX2 and AVX512 IFUNC versions.
33834         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
33835         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
33836         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
33837         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
33838         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
33839         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
33840         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
33841         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
33842         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
33843         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
33844         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
33845         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
33846         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
33847         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
33848         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
33849         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
33850         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
33851         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
33852         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
33853         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
33854         * NEWS: Mention addition of x86_64 vector sinf.
33856 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
33858         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
33859         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
33860         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
33861         Remove variable.
33862         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
33863         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
33865 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
33867         [BZ #18530]
33868         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
33869         strong alias of _IO_fputs.  Use libc_hidden_def.
33870         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
33871         and define as weak alias of __fputs_unlocked.  Use
33872         libc_hidden_weak.
33873         * include/stdio.h (__fputs_unlocked): Declare.  Use
33874         libc_hidden_proto.
33875         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
33876         fputs_unlocked.
33878         [BZ #18529]
33879         * resolv/netdb.h [__USE_POSIX]: Change condition to
33880         [__USE_XOPEN2K].
33881         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
33882         not expect.
33883         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
33884         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
33885         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
33886         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
33887         [XPG4 || UNIX98] (AI_ALL): Likewise.
33888         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
33889         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
33890         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
33891         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
33892         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
33893         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
33894         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
33895         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
33896         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
33897         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
33898         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
33899         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
33900         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
33901         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
33902         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
33903         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
33904         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
33905         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
33906         [XPG4 || UNIX98] (gai_strerror): Likewise.
33907         [XPG4 || UNIX98] (getaddrinfo): Likewise.
33908         [XPG4 || UNIX98] (getnameinfo): Likewise.
33910         [BZ #18528]
33911         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
33912         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
33913         __USE_XOPEN2K8].
33914         (getgrent): Likewise.
33915         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
33916         expect.
33917         [XPG3 || POSIX2008] (endgrent): Likewise.
33918         [XPG3] (setgrent): Likewise.
33919         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
33920         variable.
33921         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
33923         [BZ #18527]
33924         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
33925         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
33926         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
33927         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
33928         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
33929         * include/unistd.h (__getlogin_r): Declare.  Use
33930         libc_hidden_proto.
33931         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
33932         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
33933         variable.
33934         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
33935         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
33936         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
33938 2015-06-12  Martin Sebor  <msebor@redhat.com>
33940         [BZ #18512]
33941         * Makerules (check-install-supported): New target.
33942         (install): Add check-install-supported as a dependency.
33943         * manual/install.texi (Installing the C Library): Document
33944         that overriding prefix and exec_prefix is not supported.
33945         Mention DESTDIR.
33946         * INSTALL: Regenerate from the above.
33948 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
33950         [BZ #18519]
33951         * posix/Versions (libc): Export __libc_pread at version
33952         GLIBC_PRIVATE.
33953         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
33954         instead of pread.
33955         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
33956         variable.
33958         [BZ #18522]
33959         * misc/efgcvt_r.c
33960         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
33961         (cvt_symbol): Use weak_alias instead of strong_alias.
33962         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
33963         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
33964         Remove variable.
33965         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
33966         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
33968         [BZ #18520]
33969         * inet/herrno.c (h_errno): Rename to __h_errno.
33970         (__libc_h_errno): Define as alias of __h_errno not h_errno.
33971         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
33972         to __h_errno instead of h_errno.
33973         * nptl/herrno.c (h_errno): Rename to __h_errno.
33974         (__h_errno_location): Refer to __h_errno not h_errno.
33975         * resolv/Versions (h_errno): Rename to __h_errno.
33976         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
33977         Remove variable.
33978         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
33980 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
33982         * configure.ac: More strict check for AVX512 assembler support.
33983         * configure: Regenerated.
33985         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
33986         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
33987         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
33988         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
33989         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
33990         * sysdeps/x86_64/fpu/Versions: New versions added.
33991         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
33992         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
33993         Added build of SSE, AVX2 and AVX512 IFUNC versions.
33994         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
33995         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
33996         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
33997         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
33998         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
33999         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
34000         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
34001         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
34002         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
34003         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
34004         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
34005         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
34006         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
34007         test.
34008         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
34009         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
34010         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
34011         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
34012         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
34013         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
34014         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
34015         * NEWS: Mention addition of x86_64 vector sin.
34017 2015-06-11  Florian Weimer  <fweimer@redhat.com>
34019         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
34020         comment.
34022 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
34024         [BZ #18479]
34025         * nptl/pt-interp.c: New file.
34026         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
34027         Add pt-interp.
34028         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
34029         $(common-objpfx)runtime-linker.h.
34031 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
34033         * Makeconfig (+interp): Remove unused variable.
34034         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
34035         only.  Depend on $(common-objpfx)runtime-linker.h instead of
34036         $(elf-objpfx)runtime-linker.h.
34037         ($(elf-objpfx)runtime-linker.h): Rename to
34038         $(common-objpfx)runtime-linker.h and move ...
34039         * Makerules [$(build-shared) = yes]: ... here.
34040         * elf/interp.c: Include <runtime-linker.h> instead of
34041         <elf/runtime-linker.h>.
34043 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34045         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
34046         (__gettimeofday_syscall): Remove vsyscall fallback.
34047         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
34048         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
34049         Add syscall fallback function.
34050         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
34051         if vDSO is not present.
34052         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
34053         fallback function.
34054         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
34055         present.
34056         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
34057         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
34059 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
34061         [BZ #18497]
34062         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
34063         of wcscmp.
34064         (wcscmp): Define as weak alias of WCSCMP.
34065         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
34066         wcscoll.
34067         (USE_HIDDEN_DEF): Define.
34068         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
34069         __wcscoll.  Don't use libc_hidden_weak.
34070         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
34071         wcscmp.
34072         * sysdeps/i386/i686/multiarch/wcscmp-c.c
34073         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
34074         __GI_wcscmp.
34075         (weak_alias): Undefine and redefine.
34076         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
34077         __wcscmp and define as weak alias of __wcscmp.
34078         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
34079         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
34080         (__wcscoll): Likewise.
34081         (wcscmp): Don't use libc_hidden_proto.
34082         (wcscoll): Likewise.
34083         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
34084         wcscoll.
34085         * posix/regexec.c (check_node_accept_bytes): Likewise.
34086         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
34087         variable.
34088         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
34089         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
34091         [BZ #18507]
34092         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
34093         __fstatvfs and define as weak alias of __fstatvfs.  Use
34094         libc_hidden_weak.
34095         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
34096         and define as weak alias of __statvfs.  Use libc_hidden_weak.
34097         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
34098         Define as alias of __fstatvfs, not fstatvfs.
34099         (fstatvfs64): Likewise.
34100         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
34101         Define as alias of __statvfs, not statvfs.
34102         (statvfs64): Likewise.
34103         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
34104         Remove variable.
34106 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
34109         (HAVE_GETCPU_VSYSCALL): Define.
34110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
34111         (HAVE_GETCPU_VSYSCALL): Likewise.
34112         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
34113         * sysdeps/unix/sysv/linux/sched_getcpu.c
34114         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
34115         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
34116         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
34117         prototype.
34118         * sysdeps/unix/sysv/linux/x86_64/init-first.c
34119         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
34120         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
34121         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
34122         Define.
34123         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
34124         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
34125         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
34126         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
34128 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
34130         * sysdeps/x86_64/fpu/Makefile: New file.
34131         * sysdeps/x86_64/fpu/Versions: New file.
34132         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
34133         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
34134         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
34135         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
34136         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
34137         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
34138         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
34139         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
34140         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
34141         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
34142         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
34143         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
34144         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
34145         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
34146         Added build of SSE, AVX2 and AVX512 IFUNC versions.
34147         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
34148         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
34149         * sysdeps/x86_64/configure.ac: Options for libmvec build.
34150         * sysdeps/x86_64/configure: Regenerated.
34151         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
34152         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
34153         * manual/install.texi (Configuring and compiling): Document
34154         --disable-mathvec.
34155         * INSTALL: Regenerated.
34156         * NEWS: Mention addition of libmvec and x86_64 vector cos.
34158         * math/Makefile: Added rules for vector tests.
34159         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
34160         declaration under condition.
34161         * math/test-double-vlen2.h: New file.
34162         * math/test-double-vlen4.h: New file.
34163         * math/test-double-vlen8.h: New file.
34164         * math/test-vec-loop.h: Added initialization macro.
34165         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
34166         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
34167         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
34168         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
34169         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
34170         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
34171         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
34172         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
34173         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
34174         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
34175         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
34177         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
34178         * sysdeps/x86_64/fpu/Versions: New versions added.
34179         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
34180         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
34181         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
34182         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
34183         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
34184         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
34185         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
34186         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
34187         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
34188         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
34189         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
34190         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
34191         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
34192         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
34193         Added build of SSE, AVX2 and AVX512 IFUNC versions.
34194         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
34195         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
34196         * NEWS: Mention addition of x86_64 vector cosf.
34198         * math/Makefile: Added CFLAGS for new tests.
34199         * math/test-float-vlen16.h: New file.
34200         * math/test-float-vlen4.h: New file.
34201         * math/test-float-vlen8.h: New file.
34202         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
34203         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
34204         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
34205         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
34206         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
34207         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
34208         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
34209         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
34210         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
34211         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
34212         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
34214 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
34216         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
34217         * locale/programs/ld-ctype.c: Likewise.
34219 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
34221         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
34222         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
34223         bit_ZMM16_31_state): New macro.
34224         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34225         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
34227 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
34229         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
34231 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
34233         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
34235 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
34237         [BZ #18498]
34238         * libio/memstream.c (open_memstream): Rename to __open_memstream
34239         and define as weak alias of __open_memstream.
34240         * include/stdio.h (__open_memstream): Declare.  Use
34241         libc_hidden_proto.
34242         (open_memstream): Don't use libc_hidden_proto.
34243         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
34244         open_memstream.
34245         * posix/getopt.c (_getopt_internal_r): Likewise.
34246         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
34247         variable.
34248         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
34249         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
34250         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
34252         [BZ #18496]
34253         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
34254         instead of wcrtomb.
34256         [BZ #18483]
34257         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
34258         [__USE_XOPEN2K8].  Remove redundant #endif.
34259         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
34260         Remove redundant #if.
34261         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
34262         Remove variable.
34263         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
34264         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
34266         [BZ #18495]
34267         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
34268         (__iswlower): Likewise.
34269         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
34270         (__iswlower): Likewise.
34271         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
34272         instead of towlower.
34273         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
34274         instead of iswlower.  Call __towupper instead of towupper.
34275         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
34276         instead of iswalnum.
34278 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
34280         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
34281         errors to stderr.
34283 2015-06-05  Florian Weimer  <fweimer@redhat.com>
34285         [BZ #15661]
34286         [BZ #17322]
34287         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
34288         Check for overflow properly.  Check for O_APPEND.  Ignore large
34289         file system block sizes.  Add comments about problems.
34290         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
34291         * manual/filesys.texi (Storage Allocation): New node.
34293 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34295         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
34296         cancellable syscalls.
34297         (SYS_ify): Add guard to no redefine it.
34298         (INLINE_SYSCALL): Likewise.
34299         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
34300         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
34301         SYSCALL_CANCEL instead.
34302         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
34303         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
34304         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
34305         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
34306         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
34307         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
34308         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
34309         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
34310         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
34311         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
34312         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
34313         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
34314         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
34315         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
34316         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
34317         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
34318         Likewise.
34319         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
34320         (__libc_pread64): Likewise.
34321         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
34322         (__libc_preadv): Likewise.
34323         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
34324         (__libc_readv64): Likewise.
34325         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
34326         (__libc_pwrite): Likewise.
34327         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
34328         (__libc_pwrite64): Likewise.
34329         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
34330         (__libc_pwritev): Likewise.
34331         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
34332         (__libc_pwritev64): Likewise.
34333         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
34334         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
34335         (sync_file_range): Likewise.
34336         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
34337         Likewise.
34338         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
34339         Likewise.
34340         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
34341         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
34342         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
34343         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
34344         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
34345         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
34346         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
34347         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
34348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
34349         Likewise.
34350         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
34351         (__libc_read64): Likewise.
34352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
34353         Likewise.
34354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
34355         Likewise.
34356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
34357         Likewise.
34358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
34359         Likewise.
34360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
34361         (__libc_pread64): Likewise.
34362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
34363         Likewise.
34364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
34365         (__libc_pwrite64): Likewise.
34366         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
34367         (sync_file_range): Likewise.
34368         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
34369         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
34370         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
34371         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
34372         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
34373         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
34374         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
34375         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
34376         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
34377         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
34378         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
34379         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
34380         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
34381         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
34382         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
34383         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
34384         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
34385         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
34386         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
34387         Likewise.
34388         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
34389         Likewise.
34390         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
34391         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
34392         Likewise.
34393         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
34394         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
34395         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
34396         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
34397         Likewise.
34398         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
34399         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
34400         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
34401         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
34402         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
34404 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
34406         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
34407         Include dl-vdso.
34408         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
34409         Use VDSO routines for gettimeofday, clock_gettime if
34410         available.
34411         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
34412         Declare VDSO symbols.
34413         * sysdeps/unix/sysv/linux/arm/sysdep.h:
34414         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
34415         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
34416         * sysdeps/unix/sysv/linux/arm/Versions: Add
34417         __vdso_clock_gettime.
34419 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34421         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
34422         be an inline implementation regardless of library is built within.
34423         (open_not_cancel_2): Likewise.
34424         (__read_nocancel): Likewise.
34425         (__write_nocancel): Likewise.
34426         (openat_not_cancel): Likewise.
34427         (openat_not_cancel_3): Likewise.
34428         (openat64_not_cancel): Likewise.
34429         (openat64_not_cancel_3): Likewise.
34430         (__close_nocancel): Likewise.
34431         (pause_not_cancel): Likewise.
34432         (nanosleep_not_cancel): Likewise.
34433         (sigsuspend_not_cancel): Likewise.
34435 2015-06-04  Torvald Riegel  <triegel@redhat.com>
34437         [BZ #14958]
34438         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
34439         wake-up.
34440         (__pthread_rwlock_rdlock_slow): Likewise.
34441         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
34442         Likewise.
34443         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
34444         Likewise.
34445         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
34446         * nptl/tst-rwlock16.c: New file.
34447         * nptl/Makefile (tests): Add new test.
34449 2015-06-04  Torvald Riegel  <triegel@redhat.com>
34451         [BZ #18324]
34452         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
34453         missing wake-up of readers.
34454         * nptl/tst-rwlock15.c: New file.
34455         * nptl/Makefile (tests): Add new test.
34457 2015-06-03  Roland McGrath  <roland@hack.frob.com>
34459         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
34460         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
34461         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
34462         and __nacl_supply_interface_rtld.
34463         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
34464         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
34465         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
34466         Add __nacl_supply_interface_rtld.
34467         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
34469 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
34471         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
34472         isfinite.
34473         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
34474         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
34476 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
34478         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
34479         __signbit* with standard C99 macros.
34480         * math/e_exp10l.c: Likewise.
34481         * math/e_exp2l.c: Likewise.
34482         * math/e_scalb.c: Likewise.
34483         * math/e_scalbf.c: Likewise.
34484         * math/e_scalbl.c: Likewise.
34485         * math/s_ldexp.c: Likewise.
34486         * math/s_ldexpf.c: Likewise.
34487         * math/s_ldexpl.c: Likewise.
34488         * math/w_atan2.c: Likewise.
34489         * math/w_atan2f.c: Likewise.
34490         * math/w_atan2l.c: Likewise.
34491         * math/w_cosh.c: Likewise.
34492         * math/w_coshf.c: Likewise.
34493         * math/w_coshl.c: Likewise.
34494         * math/w_exp10.c: Likewise.
34495         * math/w_exp10f.c: Likewise.
34496         * math/w_exp10l.c: Likewise.
34497         * math/w_exp2.c: Likewise.
34498         * math/w_exp2f.c: Likewise.
34499         * math/w_exp2l.c: Likewise.
34500         * math/w_fmod.c: Likewise.
34501         * math/w_fmodf.c: Likewise.
34502         * math/w_fmodl.c: Likewise.
34503         * math/w_hypot.c: Likewise.
34504         * math/w_hypotf.c: Likewise.
34505         * math/w_hypotl.c: Likewise.
34506         * math/w_jnl.c: Likewise.
34507         * math/w_lgamma.c: Likewise.
34508         * math/w_lgamma_r.c: Likewise.
34509         * math/w_lgammaf.c: Likewise.
34510         * math/w_lgammaf_r.c: Likewise.
34511         * math/w_lgammal.c: Likewise.
34512         * math/w_lgammal_r.c: Likewise.
34513         * math/w_pow.c: Likewise.
34514         * math/w_powf.c: Likewise.
34515         * math/w_powl.c: Likewise.
34516         * math/w_remainder.c: Likewise.
34517         * math/w_remainderf.c: Likewise.
34518         * math/w_remainderl.c: Likewise.
34519         * math/w_scalb.c: Likewise.
34520         * math/w_scalbf.c: Likewise.
34521         * math/w_scalbl.c: Likewise.
34522         * math/w_scalbln.c: Likewise.
34523         * math/w_scalblnf.c: Likewise.
34524         * math/w_scalblnl.c: Likewise.
34525         * math/w_sinh.c: Likewise.
34526         * math/w_sinhf.c: Likewise.
34527         * math/w_sinhl.c: Likewise.
34528         * math/w_tgamma.c: Likewise.
34529         * math/w_tgammaf.c: Likewise.
34530         * math/w_tgammal.c: Likewise.
34531         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34532         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
34533         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
34534         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
34535         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
34536         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34537         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
34538         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
34539         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
34540         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
34541         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
34542         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
34543         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
34544         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
34545         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
34546         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
34547         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
34548         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
34549         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
34550         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
34551         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
34552         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
34553         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
34554         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
34555         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
34556         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
34557         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
34558         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
34559         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
34560         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
34561         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
34562         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
34563         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
34564         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
34565         * stdio-common/printf_fp.c: Likewise.
34566         * stdio-common/printf_fphex.c: Likewise.
34567         * stdio-common/printf_size.c: Likewise.
34569 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
34571         [BZ #18470]
34572         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
34573         strnlen.
34574         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
34575         Remove variable.
34576         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
34577         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
34578         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
34579         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
34580         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
34581         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
34582         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
34583         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
34584         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
34585         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
34587         [BZ #18468]
34588         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
34589         weak alias of __wmemchr.  Use libc_hidden_weak.
34590         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
34591         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
34592         instead of wmemchr.
34594 2015-06-02  Roland McGrath  <roland@hack.frob.com>
34596         [BZ #18383]
34597         * elf/tst-tlsalign-extern.c: New file.
34598         * elf/tst-tlsalign-extern-static.c: New file.
34599         * elf/tst-tlsalign-vars.c: New file.
34600         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
34601         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
34602         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
34603         ($(objpfx)tst-tlsalign-extern-static): Likewise.
34604         (test-xfail-tst-tlsalign-extern-static): New variable.
34606 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
34608         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
34609         Use variable name _sc_err instead of err.
34610         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
34611         instead of ret.
34612         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
34613         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
34614         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
34615         (INLINE_SYSCALL): Likewise.
34617         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
34618         * include/string.h (__strnlen): Use libc_hidden_proto.
34619         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
34620         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
34621         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
34622         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
34623         (libc_hidden_def): Undefine and redefine.
34624         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
34625         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
34626         __GI_strnlen.
34627         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
34628         libc_hidden_def.
34629         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
34631         [BZ #18469]
34632         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
34633         weak alias of __towlower.  Use libc_hidden_weak.
34634         (towupper): Rename to __towupper and define as weak alias of
34635         __towupper.  Use libc_hidden_weak.
34636         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
34637         (__towupper): Likewise.
34638         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
34639         __towlower instead of towlower.
34641 2015-06-02  Roland McGrath  <roland@hack.frob.com>
34643         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
34644         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
34646 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
34648         * sysdeps/aarch64/libm-test-ulps: Update.
34650 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34652         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
34653         Define.
34654         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
34655         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
34656         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
34657         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
34658         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
34659         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
34660         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
34662 2015-06-01  Martin Sebor  <msebor@redhat.com>
34664         [BZ #18116]
34665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
34666         (__setcontext): Use extended four-operand version of mtsf whenever
34667         possible.
34668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
34669         (__novec_swapcontext): Likewise.
34671 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
34673         * benchtests/scripts/compare_bench.py: New file.
34674         * benchtests/scripts/import_bench.py (mean): New function.
34675         (split_list): Likewise.
34676         (do_for_all_timings): Likewise.
34677         (compress_timings): Likewise.
34679         * benchtests/scripts/import_bench.py: New file.
34680         * benchtests/scripts/validate_benchout.py: Import import_bench
34681         instead of jsonschema.
34682         (validate_bench): Remove function.
34683         (main): Use import_bench.
34685 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
34687         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
34688         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
34690 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34692         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34694 2015-05-28  Roland McGrath  <roland@hack.frob.com>
34696         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
34697         set THREAD_SELF->tid to a magic value and futex-wake it.
34698         Pass its address to the thread_exit system call.
34699         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
34700         bit is clear.
34701         * sysdeps/nacl/lowlevellock.h: New file.
34702         * sysdeps/nacl/lll_timedwait_tid.c: New file.
34704         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
34705         Add TIMEOUT to current time, don't subtract it.
34707 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
34709         [BZ #2981]
34710         [BZ #18422]
34711         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
34712         ($(objpfx)tst-audit2.out): Also depend on
34713         $(objpfx)tst-auditmod9b.so.
34714         * elf/tst-audit2.c: Include <dlfcn.h>.
34715         (calloc_called): New.
34716         (calloc): Allow to be called more than once.
34717         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
34719 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
34721         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
34722         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
34724 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
34726         * stdlib/monetary.h: Fix comment.
34728 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
34730         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
34731         Avoid using variables in #defines that might cause shadowing.
34732         (INTERNAL_VSYSCALL_CALL): Likewise.
34734 2015-05-26  Roland McGrath  <roland@hack.frob.com>
34736         * sysdeps/nacl/lll_timedlock_wait.c: New file.
34738         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
34739         * nptl/lll_timedlock_wait.c: ... to this new file.
34740         * nptl/Makefile (libpthread-routines): Add it.
34741         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
34742         * nptl/lll_timedwait_tid.c: ... to this new file.
34743         * nptl/Makefile (libpthread-routines): Add it.
34744         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
34745         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
34746         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
34747         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
34748         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
34749         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
34750         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
34751         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
34752         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
34753         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
34755 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34757         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
34758         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
34759         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
34760         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
34761         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
34762         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
34763         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
34764         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
34765         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
34766         * sysdeps/unix/sysv/linux/tile/sysdep.h
34767         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
34768         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
34769         using vDSO syscall macro.
34771 2015-05-26  Andriy Rysin  <arysin@gmail.com>
34773         [BZ #17293]
34774         * uk_UA: Fix sorting order for Ukrainian locale
34776 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
34778         * stdlib/monetary.h: Fix comment.
34780 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
34782         [BZ #18234]
34783         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
34784         st_mtim and st_ctim members.
34785         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
34786         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
34787         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
34788         (struct stat64): Likewise.
34789         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
34790         (struct stat64): Likewise.
34791         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
34792         (struct stat64): Likewise.
34794 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34796         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
34797         Define and include sysdep-vdso.h.
34798         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
34799         Likewise.
34800         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
34801         Likewise.
34802         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
34803         Define with VDSO_SYMBOL and use PTR_MANGLE.
34804         (__vdso_clock_gettime): Likewise.
34805         (__vdso_clock_getres): Likewise.
34806         (_libc_vdso_platform_setup): Likewise.
34807         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
34808         Likewise.
34809         (_libc_vdso_platform_setup): Likewise.
34810         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
34811         Likewise.
34812         (__vdso_clock_gettime): Likewise.
34813         (__vdso_clock_getres): Likewise.
34814         (__vdso_get_tbfreq): Likewise.
34815         (__vdso_getcpu): Likewise.
34816         (__vdso_time): Likewise.
34817         (__vdso_sigtramp_rt64): Likewise.
34818         (__vdso_signtramp32): Likewise.
34819         (__vdso_sigtramp_rt32): Likewise.
34820         (_libc_vdso_platform_setup): Likewise.
34821         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
34822         Likewise.
34823         (__vdso_clock_gettime): Likewise.
34824         (__vdso_clock_getres): Likewise.
34825         (_libc_vdso_platform_setup): Likewise.
34826         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
34827         Likewise.
34828         (__vdso_clock_gettime): Likewise.
34829         (_libc_vdso_platform_setup): Likewise.
34830         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
34831         Likewise.
34832         (__vdso_getcpu): Likewise.
34833         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
34834         Use VDSO_SYMBOL macro to define.
34835         (__vdso_clock_gettime): Likewise.
34836         (__vdso_clock_getres): Likewise.
34837         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
34838         Likewise.
34839         (__vdso_clock_gettime): Likewise.
34840         (__vdso_clock_getres): Likewise.
34841         (__vdso_get_tbfreq): Likewise.
34842         (__vdso_getcpu): Likewise.
34843         (__vdso_time): Likewise.
34844         (__vdso_sigtramp_rt64): Likewise.
34845         (__vdso_signtramp32): Likewise.
34846         (__vdso_sigtramp_rt32): Likewise.
34847         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
34848         Likewise.
34849         (__vdso_clock_gettime): Likewise.
34850         (__vdso_clock_getres): Likewise.
34851         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
34852         Likewise.
34853         (__vdso_clock_gettime): Likewise.
34854         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
34855         Likewise.
34856         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
34857         macro.
34858         (INTERNAL_VSYSCALL): Likewise.
34859         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
34860         Remove macro.
34861         (INTERNAL_VSYSCALL): Likewise.
34862         (INTERNAL_VSYSCALL_NCS): Likewise.
34863         (INTERNAL_VSYSCALL_CALL): New macro.
34864         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
34865         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
34866         Likewise.
34867         (INTERNAL_VSYSCALL): Likewise.
34868         (INTERNAL_VSYSCALL_NCS): Likewise.
34869         (INTERNAL_VSYSCALL_CALL): New macro.
34870         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
34871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
34872         (INLINE_VSYSCALL): Remove macro.
34873         (INTERNAL_VSYSCALL): Remove macro.
34874         (INTERNAL_VSYSCALL_NCS): Remove macro.
34875         (INTERNAL_VSYSCALL_CALL): New macro.
34876         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
34877         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
34878         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
34879         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
34880         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
34881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
34882         (INLINE_VSYSCALL): Remove macro.
34883         (INTERNAL_VSYSCALL): Likewise.
34884         (INTERNAL_VSYSCALL_NCS): Likewise.
34885         (INTERNAL_VSYSCALL_CALL): New macro.
34886         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
34887         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
34888         PTR_DEMANGLE on vDSO pointer.
34889         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
34890         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
34891         macro.
34892         (INTERNAL_SYSCALL): Likewise.
34893         (INTERNAL_VSYSCALL_NCS): Remove macro.
34894         (INTERNAL_VSYSCALL_CALL): New macro.
34895         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
34896         Remove macro.
34897         (INTERNAL_VSYSCALL): Likewise.
34898         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
34899         sysdep-vdso.h instead of libc-vdso.h.
34900         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
34901         definition.
34902         (INLINE_VSYSCALL): Likewise.
34903         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
34904         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
34905         definition.
34906         (INLINE_VSYSCALL): Likewise.
34907         (INTERNAL_VSYSCALL): Likewise.
34908         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
34909         * sysdeps/unix/sysv/linux/timespec_get.c
34910         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
34911         (timespec_get): Use ANSI prototype.
34912         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
34913         and definition for Linux.
34915 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
34917         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
34918         * include/libc-symbols.h: libmvec_hidden_* macro series added.
34920 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
34922         [BZ #2981]
34923         [BZ #18410]
34924         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
34925         for missing DT_PLTRELSZ.
34927 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
34929         Remove obsolete aliases that broke 'locale -a'
34930         [BZ #18412]
34931         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
34932         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
34933         breaking some applications that use 'locale -a' output.
34934         Change the encoding of this file from Latin-1 to ASCII to avoid
34935         other potential problems with people grepping this file.
34937 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34939         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
34940         -fasynchronous-unwind-tables.
34941         (CFLAGS-sendto.c): Likewise.
34942         (CFLAGS-sendmsg.c): Likewise.
34943         (CFLAGS-connect.c): Likewise.
34944         (CFLAGS-recvmsg.c): Likewise.
34945         (CFLAGS-recvfrom.c): Likewise.
34946         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
34947         (SOCKETCALL): New macro: non-cancellable socketcall.
34948         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
34949         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
34950         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
34951         * sysdeps/unix/sysv/linux/accept.c: New file.
34952         * sysdeps/unix/sysv/linux/bind.c: Likewise.
34953         * sysdeps/unix/sysv/linux/connect.c: Likewise.
34954         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
34955         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
34956         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
34957         * sysdeps/unix/sysv/linux/listen.c: Likewise.
34958         * sysdeps/unix/sysv/linux/recv.c: Likewise.
34959         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
34960         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
34961         * sysdeps/unix/sysv/linux/send.c: Likewise.
34962         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
34963         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
34964         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
34965         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
34966         * sysdeps/unix/sysv/linux/socket.c: Likewise.
34967         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
34968         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
34969         prototype.
34970         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
34971         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
34972         instead of __internal_xxx function.
34973         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
34974         prototype.
34975         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
34976         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
34977         instead of __internal_xxx function.
34978         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
34979         prototype.
34980         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
34981         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
34982         instead of __internal_xxx function.
34983         * sysdeps/unix/sysv/linux/accept.S: Remove file.
34984         * sysdeps/unix/sysv/linux/bind.S: Likewise.
34985         * sysdeps/unix/sysv/linux/connect.S: Likewise.
34986         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
34987         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
34988         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
34989         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
34990         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
34991         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
34992         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
34993         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
34994         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
34995         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
34996         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
34997         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
34998         * sysdeps/unix/sysv/linux/listen.S: Likewise.
34999         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
35000         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
35001         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
35002         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
35003         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
35004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
35005         * sysdeps/unix/sysv/linux/recv.S: Likewise.
35006         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
35007         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
35008         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
35009         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
35010         * sysdeps/unix/sysv/linux/send.S: Likewise.
35011         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
35012         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
35013         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
35014         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
35015         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
35016         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
35017         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
35018         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
35019         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
35020         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
35021         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
35022         socketcall is implemented in GLIBC.
35024 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
35026         * soft-fp/fmadf4.c: Include <libc-internal.h>.
35027         (__fma): Ignore uninitialized warnings around packing.
35028         * soft-fp/fmasf4.c: Include <libc-internal.h>.
35029         (__fmaf): Ignore uninitialized warnings around packing.
35030         * soft-fp/fmatf4.c: Include <libc-internal.h>.
35031         (__fmal): Ignore uninitialized warnings around packing.
35033         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
35034         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
35035         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
35036         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
35038         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
35039         switch statement into default case.
35040         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
35042         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
35043         a conditional in forcing "inexact".
35044         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
35045         Likewise.
35047 2015-05-22  Roland McGrath  <roland@hack.frob.com>
35049         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
35050         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
35051         for each INTERNAL_SYSCALL use.
35053 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
35055         [BZ #438]
35056         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
35057         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
35058         variable.
35060         [BZ #18444]
35061         * string/basename.c (basename): Rename to __basename and define as
35062         weak alias of __basename.  Use libc_hidden_weak.
35063         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
35064         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
35065         __basename instead of basename.
35066         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
35067         Remove variable.
35068         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
35070 2015-05-18  Florian Weimer  <fweimer@redhat.com>
35072         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
35073         (_IO_JUMPS_FILE_plus): New.
35074         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
35075         _IO_CAST_FIELD_ACCESS.
35076         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
35077         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
35078         * libio/freopen.c (freopen): Likewise.
35079         * libio/freopen64.c (freopen64): Likewise.
35080         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
35081         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
35082         * libio/iofwide.c (_IO_fwide): Likewise.
35083         * libio/memstream.c (open_memstream): Likewise.
35084         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
35085         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
35086         * libio/oldiopopen.c (_IO_old_popen): Likewise.
35088 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
35090         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
35091         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
35092         NADJ.
35093         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
35094         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
35095         NADJ.
35096         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
35097         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
35098         NADJ.
35100         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
35101         (p == 4) case.
35103         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
35104         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
35105         Remove variable.
35106         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
35107         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
35108         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
35110 2015-05-21  Florian Weimer  <fweimer@redhat.com>
35112         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
35113         Adjust jump table label generation macros.
35115 2015-05-21  Florian Weimer  <fweimer@redhat.com>
35117         * stdio-common/vfprintf.c (vfprintf): Move local variables
35118         args_malloced, specs, specs_malloced, and the code after
35119         do_positional to the printf_positional function.
35120         (printf_positional): New function.
35122 2015-05-21  Florian Weimer  <fweimer@redhat.com>
35124         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
35125         function.
35126         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
35127         STEP4_TABLE, process_arg): Move macro definitions
35128         out of the vfprintf function.  (Cosmetic change only.)
35130 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
35132         * benchtests/Makefile (stdio-common-bench): Define.
35133         (benchset): Add stdio-common-bench.
35134         * sprintf-inputs: New file.
35135         * sprintf-source.c: New file.
35137 2015-05-21  Andreas Schwab  <schwab@suse.de>
35139         [BZ #13028]
35140         [BZ #17053]
35141         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
35142         of struct __res_state.
35143         * resolv/res_send.c (__libc_res_nsend): Likewise.
35144         (get_nsaddr): New function.
35145         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
35146         statp directly.
35148 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
35150         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
35151         -D_POSIX_C_SOURCE=199506L.
35153         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
35155         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
35156         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
35157         Do not mention otherwise.
35158         [POSIX] (_XOPEN_VERSION): Do not expect.
35159         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
35160         [POSIX] (_POSIX2_C_BIND): Likewise.
35161         [POSIX] (_POSIX2_VERSION): Likewise.
35162         [POSIX] (_XOPEN_XPG2): Likewise.
35163         [POSIX] (_XOPEN_XPG3): Likewise.
35164         [POSIX] (_XOPEN_XPG4): Likewise.
35165         [POSIX] (_XOPEN_UNIX): Likewise.
35166         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
35167         [POSIX] (_POSIX_BARRIERS): Likewise.
35168         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
35169         [POSIX] (_POSIX_CPUTIME): Likewise.
35170         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
35171         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
35172         [POSIX] (_POSIX_SHELL): Likewise.
35173         [POSIX] (_POSIX_SPAWN): Likewise.
35174         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
35175         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
35176         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
35177         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
35178         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
35179         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
35180         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
35181         [POSIX] (_XBS5_LP64_OFF64): Likewise.
35182         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
35183         [POSIX] (_POSIX_TIMEOUTS): Likewise.
35184         [POSIX] (_POSIX2_PBS): Likewise.
35185         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
35186         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
35187         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
35188         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
35189         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
35190         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
35191         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
35192         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
35193         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
35194         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
35195         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
35196         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
35197         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
35198         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
35199         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
35200         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
35201         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
35202         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
35203         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
35204         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
35205         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
35206         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
35207         [POSIX] (_SC_2_C_BIND): Likewise.
35208         [POSIX] (_SC_2_C_VERSION): Likewise.
35209         [POSIX] (_SC_2_PBS): Likewise.
35210         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
35211         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
35212         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
35213         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
35214         [POSIX] (_SC_2_PBS_TRACK): Likewise.
35215         [POSIX] (_SC_ATEXIT_MAX): Likewise.
35216         [POSIX] (_SC_BARRIERS): Likewise.
35217         [POSIX] (_SC_BASE): Likewise.
35218         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
35219         [POSIX] (_SC_DEVICE_IO): Likewise.
35220         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
35221         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
35222         [POSIX] (_SC_FD_MGMT): Likewise.
35223         [POSIX] (_SC_FIFO): Likewise.
35224         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
35225         [POSIX] (_SC_FILE_LOCKING): Likewise.
35226         [POSIX] (_SC_FILE_SYSTEM): Likewise.
35227         [POSIX] (_SC_IOV_MAX): Likewise.
35228         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
35229         [POSIX] (_SC_NETWORKING): Likewise.
35230         [POSIX] (_SC_PAGE_SIZE): Likewise.
35231         [POSIX] (_SC_PASS_MAX): Likewise.
35232         [POSIX] (_SC_PIPE): Likewise.
35233         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
35234         [POSIX] (_SC_REGEXP): Likewise.
35235         [POSIX] (_SC_SHELL): Likewise.
35236         [POSIX] (_SC_SIGNALS): Likewise.
35237         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
35238         [POSIX] (_SC_SPIN_LOCKS): Likewise.
35239         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
35240         [POSIX] (_SC_USER_GROUPS): Likewise.
35241         [POSIX] (_SC_USER_GROUPS_R): Likewise.
35242         [POSIX] (_SC_STREAMS): Likewise.
35243         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
35244         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
35245         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
35246         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
35247         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
35248         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
35249         [POSIX] (_PC_FILESIZEBITS): Likewise.
35250         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
35251         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
35252         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
35253         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
35254         [POSIX] (uid_t): Likewise.
35255         [POSIX] (gid_t): Likewise.
35256         [POSIX] (off_t): Likewise.
35257         [POSIX] (pid_t): Likewise.
35258         [POSIX] (cuserid): Allow.
35259         (_SC_2_CHAR_TERM): Require constant.
35260         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
35261         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
35262         variable.
35264 2015-05-20  Roland McGrath  <roland@hack.frob.com>
35266         * sysdeps/nacl/pthread-pids.h: New file.
35267         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
35268         (create_thread): Use __nacl_get_tid to initialize PD->tid.
35270         * nptl/pthread-pids.h: New file.
35271         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
35272         * nptl/nptl-init.c: Include <pthread-pids.h>.
35273         (__pthread_initialize_minimal_internal):
35274         Call __pthread_initialize_pids instead of set_tid_address syscall.
35276         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
35277         * sysdeps/posix/usleep.c: ... here.
35279 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
35281         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
35282         call_pselect6 object.
35283         [$(subdir) = io]: Remove call_sync_file_range object.
35284         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
35285         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
35286         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
35287         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
35289 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
35291         * math/s_cproj.c: Add include "math_private.h".
35292         * math/s_cprojf.c: Likewise.
35293         * math/s_cprojl.c: Likewise.
35295 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
35297         [BZ #18244]
35298         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
35299         high mantissa bit when testing whether P is a NaN.
35300         * math/libm-test.inc (remainder_test_data): Add more tests.
35301         (remquo_test_data): Likewise.
35303         [BZ #18049]
35304         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
35305         below -32, return the argument, with underflow if subnormal.
35306         * math/auto-libm-test-in: Add more tests of atanh.
35307         * math/auto-libm-test-out: Regenerated.
35309 2015-05-19  Roland McGrath  <roland@hack.frob.com>
35311         [BZ #18434]
35312         * nptl/tst-sem15.c: New file.
35313         * nptl/Makefile (tests): Add it.
35314         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
35315         s/<</>>/ to fix typo in EOVERFLOW check.
35316         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
35318 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
35320         * manual/strings.texi (envz_remove): Fix typo in safety
35321         annotations.
35323 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
35324             Steve Ellcey  <sellcey@imgtec.com>
35326         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
35327         in order to avoid strict alias warnings.
35328         (iruserok_af): Ditto for ra.
35330 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
35332         [BZ #17581]
35333         * malloc/hooks.c
35334         (magicbyte): Convert to a function and avoid returning 0x01.
35335         (mem2mem_check): Avoid using a length byte equal to the magic byte.
35336         (mem2chunk_check): Fix unsigned comparisons to zero.
35337         Hoist defs of sz and magic.
35339 2015-05-19  Richard Henderson  <rth@redhat.com>
35341         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
35343         * sysdeps/alpha/fpu/libm-test-ulps: Update.
35345 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
35347         [BZ #16159]
35348         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
35349         * malloc/arena.c (arena_lock): Check if arena is corrupt.
35350         (reused_arena): Find a non-corrupt arena.
35351         (heap_trim): Pass arena to unlink.
35352         * malloc/hooks.c (malloc_check_get_size): Pass arena to
35353         malloc_printerr.
35354         (top_check): Likewise.
35355         (free_check): Likewise.
35356         (realloc_check): Likewise.
35357         * malloc/malloc.c (malloc_printerr): Add arena argument.
35358         (unlink): Likewise.
35359         (munmap_chunk): Adjust.
35360         (ARENA_CORRUPTION_BIT): New macro.
35361         (arena_is_corrupt): Likewise.
35362         (set_arena_corrupt): Likewise.
35363         (sysmalloc): Use mmap if there are no usable arenas.
35364         (_int_malloc): Likewise.
35365         (__libc_malloc): Don't fail if arena_get returns NULL.
35366         (_mid_memalign): Likewise.
35367         (__libc_calloc): Likewise.
35368         (__libc_realloc): Adjust for additional argument to
35369         malloc_printerr.
35370         (_int_free): Likewise.
35371         (malloc_consolidate): Likewise.
35372         (_int_realloc): Likewise.
35373         (_int_memalign): Don't touch corrupt arenas.
35374         * malloc/tst-malloc-backtrace.c: New test case.
35376         * Makefile (summarize-tests): Fix return value on success.
35378         * manual/string.texi (Envz Functions): Add envz_remove.
35380 2015-05-18  Roland McGrath  <roland@hack.frob.com>
35382         * sysdeps/posix/opendir.c: Include <stdbool.h>.
35383         (invalid_name): New function, broken out of ...
35384         (__opendirat): ... here.  Call it.
35385         (need_isdir_precheck): New function, broken out of ...
35386         (__opendirat): ... here.  Call it.
35387         Use __fxstatat64, not __xstatat64.
35388         (opendir_oflags): New function, broken out of ...
35389         (__opendirat): ... here.  Call it.
35390         (opendir_tail): New function, broken out of ...
35391         (__opendirat): ... here.  Call it.
35392         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
35393         opendir_tail, rather than punting to __opendirat.
35394         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
35396 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
35398         * .gitignore: Ignore generated *.pyc.
35400 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
35402         * include/stdio.h: Define __need_wint_t.
35403         * test-skeleton.c: Avoid `for' loop initial declaration.
35404         * nptl/tst-initializers1.c: Use test-skeleton.c.
35406 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
35408         [BZ #18418]
35409         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
35411 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
35413         [BZ #16352]
35414         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
35415         (__ieee754_atanh): Force underflow exception for results with
35416         small absolute value.
35417         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
35418         (__ieee754_atanhf): Force underflow exception for results with
35419         small absolute value.
35420         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
35421         (__ieee754_atanh): Force underflow exception for results with
35422         small absolute value.
35423         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
35424         (__ieee754_atanhf): Force underflow exception for results with
35425         small absolute value.
35426         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
35427         (__ieee754_atanhl): Force underflow exception for results with
35428         small absolute value.
35429         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
35430         (__ieee754_atanhl): Force underflow exception for results with
35431         small absolute value.
35432         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
35433         (__ieee754_atanhl): Force underflow exception for results with
35434         small absolute value.
35435         * math/auto-libm-test-in: Do not allow missing underflow
35436         exceptions from atanh.
35437         * math/auto-libm-test-out: Regenerated.
35439         [BZ #18221]
35440         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
35441         2**-28 as threshold for returning x or +/- 1/x.
35442         * math/auto-libm-test-in: Add more tests of tan.
35443         * math/auto-libm-test-out: Regenerated.
35445         [BZ #18220]
35446         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
35447         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
35448         * math/auto-libm-test-in: Add another test of lgamma.
35449         * math/auto-libm-test-out: Regenerated.
35451 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
35453         * stdio-common/printf_fp.c (___printf_fp): Use abs.
35454         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
35455         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
35456         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
35457         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
35458         (ADD2A): Use fabs.  (SUB2A): Use fabs.
35459         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
35460         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
35461         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
35462         (log1): Use fabs.  (my_log2): Use fabs.
35463         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
35464         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
35465         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
35466         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
35467         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
35468         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
35469         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
35470         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
35471         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
35472         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
35473         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
35475 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
35477         [BZ #18217]
35478         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
35479         as threshold for returning 1 - x.
35480         * math/auto-libm-test-in: Add more tests of erfc.
35481         * math/auto-libm-test-out: Regenerated.
35483 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
35485         [BZ #18196]
35486         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
35487         threshold for large arguments.
35488         * math/auto-libm-test-in: Add another test of atan.
35489         * math/auto-libm-test-out: Regenerated.
35491         [BZ #16339]
35492         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
35493         (__log1p): Force underflow exception for results with small
35494         absolute value.
35495         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
35496         (__log1pf): Force underflow exception for results with small
35497         absolute value.
35498         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
35499         (__log1p): Force underflow exception for results with small
35500         absolute value.
35501         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
35502         (__log1pf): Force underflow exception for results with small
35503         absolute value.
35504         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
35505         (__log1pl): Force underflow exception for results with small
35506         absolute value.
35507         * math/auto-libm-test-in: Do not allow missing underflow
35508         exceptions from log1p.
35509         * math/auto-libm-test-out: Regenerated.
35511 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
35512             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
35514         [BZ #16704]
35515         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
35517 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
35519         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
35520         (libmvec): New variable.
35521         * configure.ac: Added option for mathvec build.
35522         * configure: Regenerated.
35523         * mathvec/Depend: New file.
35524         * mathvec/Makefile: New file.
35525         * shlib-versions: Added libmvec.
35526         * math/Makefile: Added rule for libm.so installation.
35528         * bits/math-vector.h: New file.
35529         * bits/libm-simd-decl-stubs.h: New header.
35530         * math/Makefile (headers): Added new header
35531         libm-simd-decl-stubs.h.
35532         * math/math.h (__MATHCALL_VEC): New macro.
35534         * math/gen-libm-have-vector-test.sh: Script generates series of macros
35535         for conditions in testing functions.
35536         * math/Makefile: Added call of libm-have-vector-test.sh.
35537         * math/libm-test.inc (HAVE_VECTOR): New macros.
35539         * math/libm-test.inc: START refactored.
35540         * math/test-double.c (TEST_MATHVEC): Add define.
35541         * math/test-float.c: Likewise.
35542         * math/test-idouble.c: Likewise.
35543         * math/test-ifloat.c: Likewise.
35544         * math/test-ildoubl.c: Likewise.
35545         * math/test-ldouble.c: Likewise.
35546         * sysdeps/generic/math-tests-arch.h
35547         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
35548         architecture check.
35550         * math/test-double.c (FUNC_TEST): New macro.
35551         * math/test-float.c: Likewise.
35552         * math/test-idouble.c: Likewise.
35553         * math/test-ifloat.c: Likewise.
35554         * math/test-ildoubl.c: Likewise.
35555         * math/test-ldouble.c: Likewise.
35556         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
35558 2015-05-13  Roland McGrath  <roland@hack.frob.com>
35560         * sysdeps/nacl/fdopendir.c: New file.
35562         * dirent/scandir-tail.c: New file.
35563         * dirent/scandir64-tail.c: New file.
35564         * dirent/Makefile (routines): Add them.
35565         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
35566         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
35567         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
35568         [!SCANDIR] (SCANDIR_TAIL): New macro.
35569         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
35570         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
35571         (SCANDIRAT): Macro removed.
35572         (SCANDIR_TAIL): New macro.
35573         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
35574         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
35575         (SCANDIRAT): Just call __opendirat and __scandir_tail.
35576         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
35577         (READDIR): Macro removed.
35578         (SCANDIR_TAIL): New macro.
35579         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
35580         (SCANDIR_TAIL): New macro.
35582         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
35583         * dirent/scandir-cancel.c: ... to this new file.
35584         * dirent/Makefile (routines): Add it.
35585         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
35586         * sysdeps/unix/sysv/linux/i386/scandir64.c
35587         (SKIP_SCANDIR_CANCEL): Macro removed.
35588         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
35590         * dirent/tst-scandir.c: New file.
35591         * dirent/tst-scandir64.c: New file.
35592         * dirent/Makefile (tests): Add them.
35594 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
35596         [BZ #18409]
35597         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
35599 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
35601         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
35602         list.
35604 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
35606         * benchtests/bench-strcoll.c: New benchmark.
35607         * benchtests/Makefile: Generate locales and run benchmark.
35608         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
35609         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
35610         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
35611         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
35612         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
35613         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
35614         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
35615         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
35616         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
35617         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
35618         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
35619         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
35620         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
35621         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
35622         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
35623         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
35624         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
35625         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
35626         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
35627         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
35628         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
35629         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
35630         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
35631         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
35633 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
35635         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
35636         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
35638 2015-05-12  Roland McGrath  <roland@hack.frob.com>
35640         * posix/uname-values.h: New file.
35641         * posix/uname.c: Include that instead of <config-name.h>.
35642         * sysdeps/nacl/uname-values.h: New file.
35643         * sysdeps/arm/nacl/uname-values.h: New file.
35645 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
35647         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
35648         splitting into fields.
35650 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
35652         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
35653         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
35654         * locale/localeinfo.h: Add enum collation_encoding_type.
35655         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
35656         * programs/ld-collate.c (collate_output): Add encoding type info.
35657         * string/strcoll_l.c (STRDIFF): New function.
35658         * (STRCOLL): Use STRDIFF to skip over equal prefix.
35659         * wcsmbs/wcscoll_l.c: Define STRDIFF.
35661 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
35663         [BZ #18397]
35664         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
35665         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
35666         <fpu_control.h> instead of <math/fpu_control.c>.
35667         * sysdeps/mips/mips32/fpu/Makefile: New file.
35669 2015-05-11  Andreas Schwab  <schwab@suse.de>
35671         [BZ #18007]
35672         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
35673         nss_endgrent.
35674         (_nss_compat_endgrent): Call nss_endgrent.
35675         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
35676         nss_endpwent.
35677         (_nss_compat_endpwent): Call nss_endpwent.
35678         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
35679         needent, call nss_setspent only if non-zero.
35680         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
35681         (internal_endspent): Don't call nss_endspent.
35682         (_nss_compat_endspent): Call nss_endspent.
35683         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
35684         Remove.  All uses removed.
35685         (internal_setent): Remove parameter stayopen, add parameter
35686         stream.  Use it instead of global variable.
35687         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
35688         (internal_endent, internal_getent): Add parameter stream.  Use it
35689         instead of global variable.
35690         (CONCAT(_nss_files_end,ENTNAME))
35691         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
35692         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
35693         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
35694         uses removed.
35695         (internal_setent, internal_endent): Add parameter stream.  Use it
35696         instead of global variable.
35697         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
35698         stream.
35699         (get_next_alias): Add parameter stream.
35700         (_nss_files_getaliasent_r): Pass global stream.
35701         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
35702         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
35703         (_nss_files_gethostbyname4_r): Pass local stream to
35704         internal_setent, internal_getent and internal_endent.  Remove
35705         locking.
35707 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
35709         * tst-strfmon1.c (tests): Update expected currency symbol.
35711 2015-05-08  Roland McGrath  <roland@hack.frob.com>
35713         * sysdeps/nacl/gethostname.c: New file.
35715 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
35717         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
35718         and sinh.
35719         * math/auto-libm-test-out: Regenerated.
35720         * sysdeps/i386/fpu/libm-test-ulps: Update.
35721         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35723 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
35725         [BZ #18125]
35726         * stdlib/tst-setcontext3.c: New file.
35727         * stdlib/tst-setcontext3.sh: New file.
35728         * stdlib/Makefile (tests): Add tst-setcontext3.
35729         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
35730         to verify test program created output file.
35731         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
35732         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
35733         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
35734         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
35736 2015-05-06  Roland McGrath  <roland@hack.frob.com>
35738         [BZ #18383]
35739         * elf/tst-tlsalign.c: New file.
35740         * elf/tst-tlsalign-static.c: New file.
35741         * elf/tst-tlsalign-lib.c: New file.
35742         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
35743         (tests-static): Add tst-tlsalign-static.
35744         (modules-names): Add tst-tlsalign-lib.
35745         (test-xfail-tst-tlsalign): New variable.
35746         (test-xfail-tst-tlsalign-static): New variable.
35748         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
35749         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
35751 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
35753         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
35754         csqrt, erfc, sin and sincos.
35755         * math/auto-libm-test-out: Regenerated.
35756         * sysdeps/i386/fpu/libm-test-ulps: Update.
35757         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35759 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
35761         * sysdeps/aarch64/libm-test-ulps: Update.
35763 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
35765         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
35766         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
35767         * math/auto-libm-test-out: Regenerated.
35768         * sysdeps/i386/fpu/libm-test-ulps: Update.
35769         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35771 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
35773         [BZ #18265]
35774         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
35775         (wcsncpy): Likewise.
35777 2015-05-05  Florian Weimer  <fweimer@redhat.com>
35779         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
35780         Assume __ASSUME_FALLOCATE is always true.
35781         * sysdeps/unix/sysv/linux/posix_fallocate64.c
35782         (__posix_fallocate64_l64): Likewise.
35783         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
35784         (posix_fallocate): Likewise.
35785         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
35786         (__posix_fallocate64_l64): Likewise.
35787         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
35788         [!__ASSUME_FALLOCATE]: Add comment.
35790 2015-05-05  Florian Weimer  <fweimer@redhat.com>
35792         * sysdeps/unix/sysv/linux/i386/Makefile
35793         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
35794         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
35795         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
35796         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
35797         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
35798         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
35799         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
35801 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
35803         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
35804         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
35805         tgamma.
35806         * math/auto-libm-test-out: Regenerated.
35807         * sysdeps/i386/fpu/libm-test-ulps: Update.
35808         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35810 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
35812         * math/auto-libm-test-in: Add more tests of tgamma.
35813         * math/auto-libm-test-out: Regenerated.
35814         * sysdeps/i386/fpu/libm-test-ulps: Update.
35815         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35817         * math/auto-libm-test-in: Add more tests of tanh.
35818         * math/auto-libm-test-out: Regenerated.
35819         * sysdeps/i386/fpu/libm-test-ulps: Update.
35820         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35822         * math/auto-libm-test-in: Add more tests of tan.
35823         * math/auto-libm-test-out: Regenerated.
35824         * sysdeps/i386/fpu/libm-test-ulps: Update.
35825         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35827         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
35828         * math/auto-libm-test-out: Regenerated.
35829         * sysdeps/i386/fpu/libm-test-ulps: Update.
35830         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35832         * math/auto-libm-test-in: Add another test of pow.
35833         * math/auto-libm-test-out: Regenerated.
35834         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35836         * math/auto-libm-test-in: Add more tests of lgamma.
35837         * math/auto-libm-test-out: Regenerated.
35838         * sysdeps/i386/fpu/libm-test-ulps: Update.
35839         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35841         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
35842         log1p.
35843         * math/auto-libm-test-out: Regenerated.
35844         * sysdeps/i386/fpu/libm-test-ulps: Update.
35845         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35847 2015-05-01  Mark Wielaard  <mjw@redhat.com>
35849         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
35850         Elf64_Chdr structs and ELFCOMPRESS constants.
35852 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
35854         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
35855         expm1.
35856         * math/auto-libm-test-out: Regenerated.
35857         * sysdeps/i386/fpu/libm-test-ulps: Update.
35858         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35860         * math/auto-libm-test-in: Add more tests of erf and erfc.
35861         * math/auto-libm-test-out: Regenerated.
35862         * sysdeps/i386/fpu/libm-test-ulps: Update.
35863         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35865 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
35867         * config.h.in (HAVE_AARCH64_BE): Add.
35869 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
35871         * math/auto-libm-test-in: Add more tests of csqrt.
35872         * math/auto-libm-test-out: Regenerated.
35873         * sysdeps/i386/fpu/libm-test-ulps: Update.
35874         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35876         * math/auto-libm-test-in: Add more tests of cosh and sinh.
35877         * math/auto-libm-test-out: Regenerated.
35878         * sysdeps/i386/fpu/libm-test-ulps: Update.
35879         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35881         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
35883 2015-04-29  Roland McGrath  <roland@hack.frob.com>
35885         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
35886         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
35888         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
35889         (euidaccess, eaccess): Define as weak aliases.
35891         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
35892         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
35893         but __suseconds_t is often 'long int' so some sources assume that
35894         type is being used (e.g. they use %ld to print tv_usec).
35896 2015-04-29  Florian Weimer  <fweimer@redhat.com>
35898         [BZ #18007]
35899         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
35900         (CVE-2014-8121)
35901         * nss/tst-nss-getpwent.c: New file.
35902         * nss/Makefile (tests): Add new test.
35904 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
35906         [BZ #18346]
35907         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
35908         exponents less than 48 as cases where high part of mantissa needs
35909         examining to determine whether argument is integral.
35910         * math/libm-test.inc (round_test_data): Add more tests.
35912 2015-04-28  Mark Wielaard  <mjw@redhat.com>
35914         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
35916 2015-04-27  David S. Miller  <davem@davemloft.net>
35918         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
35919         __tls_get_addr.
35920         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
35922 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
35924         [BZ #18333]
35925         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
35927 2015-04-27  Florian Weimer  <fweimer@redhat.com>
35929         [BZ #18333]
35930         * time/tzset.c (parse_tzname): Return error on memory allocation
35931         failure.
35932         * test-skeleton.c (struct temp_name_list): Change type of name
35933         member to non-const.
35934         (add_temp_file): Create a copy of the file name.
35935         (delete_temp_files): Deallocate memory.
35936         (create_temp_file): Add comment.
35938 2015-04-24  Florian Weimer  <fweimer@redhat.com>
35940         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
35941         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
35943 2015-04-24  Roland McGrath  <roland@hack.frob.com>
35945         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
35946         * sysdeps/arm/configure: Regenerated.
35948 2015-04-24  Florian Weimer  <fweimer@redhat.com>
35950         [BZ #17715]
35951         * time/tzfile.c (__tzfile_read): Check for large values of
35952         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
35953         * time/tzset.c (__tzstring_len): New function, based on the old
35954         __tzstring function.
35955         (__tzstring): Call __tzstring_len.
35956         (parse_tzname): New helper function extracted from
35957         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
35958         the input string.
35959         (parse_offset): New helper function extracted from
35960         __tzset_parse_tz.  Replace switch with fallthrough with
35961         initialization before sscanf.
35962         (parse_rule): Likewise.
35963         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
35964         new-style function definition.
35965         * timezone/Makefile (tests): Add tst-tzset.
35966         (tst-tzset.out): Dependencies on time zone files.
35967         (tst-tzset-ENV): Set TZDIR.
35968         (testdata/XT%): Copy crafted time zone files.
35969         * timezone/README: Mention crafted time zone files.
35970         * timezone/testdata/XT1, timezone/testdata/XT2,
35971         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
35972         files.
35973         * timezone/tst-tzset.c: New test.
35975 2015-04-24  Florian Weimer  <fweimer@redhat.com>
35977         * Makeconfig (+gccwarn): Remove -Winline.
35979 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
35981         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
35983 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
35985         * NEWS: Mention sysconf() cache information support for s390.
35986         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
35988 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
35990         * math/k_casinh.c (__kernel_casinh): Use __copysign.
35991         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
35992         (__nearbyint): Likewise.
35993         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
35994         (copysignl): Likewise.
35996 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
35998         [BZ #18287]
35999         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
36000         based on padding.  (CVE-2015-1781)
36002 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
36004         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
36005         libc-vdso.h.
36006         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
36007         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
36008         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
36009         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
36010         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
36011         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
36012         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
36013         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
36014         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
36015         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
36016         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
36017         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
36018         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
36019         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
36020         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
36021         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
36022         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
36023         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
36024         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
36025         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
36026         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
36027         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
36028         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
36030 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
36032         * stdlib/setenv.c (__add_to_environ):
36033         Dump core quickly if setenv (..., NULL, ...) is called.
36034         This time, do it the right way, and pacify GCC with a pragma.
36036 2015-04-17  Roland McGrath  <roland@hack.frob.com>
36038         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
36039         IMAP->l_prev cannot be null, and #if out the code for the contrary
36040         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
36041         believe that NS (&_dl_ns[NSID]) could point outside the array.
36043         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
36044         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
36045         before using NSID as an index.
36047 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
36049         [BZ #17825]
36050         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
36051         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
36052         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
36054 2015-04-17  Roland McGrath  <roland@hack.frob.com>
36056         Add preliminary port to Google Native Client on ARM.
36057         * abi-tags (.*-.*-nacl.*): New entry.
36058         * sysdeps/arm/nacl: New directory.
36059         * sysdeps/nacl: New directory.
36061 2015-04-16  David S. Miller  <davem@davemloft.net>
36063         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
36064         lowlevellock-futex.h
36066 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
36068         * sysdeps/tile/configure.ac: New file.
36069         * sysdeps/tile/configure: Regenerated.
36071 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
36073         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
36074         conditionals for weak_alias and libc_hidden_weak.
36075         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
36076         libc_hidden_weak and weak_alias.
36077         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
36078         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
36079         and weak_alias for static one.
36081 2015-04-15  David S. Miller  <davem@davemloft.net>
36083         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
36085 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
36087         [BZ #18206]
36088         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
36089           Use signed comparision instead of substraction to avoid
36090           overflow bug.
36091         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
36092           Take the sign of ret.
36093         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
36094           Do not expect precise return values. Only the sign matters.
36095         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
36096         * wcsmbs/test-wcsncmp.c: New File.
36097         * string/test-strncmp.c: Add wcsncmp support.
36099 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
36101         [BZ #6792]
36102         * math/w_log1p.c: New file.
36103         * math/w_log1pf.c: Likewise.
36104         * math/w_log1pl.c: Likewise.
36105         * math/Makefile (libm-calls): Add w_log1p.
36106         * math/s_log1pl.c (log1pl): Remove weak_alias.
36107         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
36108         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
36109         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
36110         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
36111         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
36112         [NO_LONG_DOUBLE] (log1pl): Likewise.
36113         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
36114         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
36115         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
36116         (log1p): Remove long_double_symbol.
36117         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
36118         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
36119         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
36120         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
36121         remove weak_alias for corresponding log1p function.
36122         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
36123         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
36124         * sysdeps/ia64/fpu/w_log1p.c: New file.
36125         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
36126         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
36127         * math/libm-test.inc (log1p_test_data): Add errno expectations.
36129 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
36131         [BZ #18247]
36132         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
36133         decimal exponent by 1.
36134         * stdlib/tst-strtod-round-data: Add more tests.
36135         * stdlib/tst-strtod-round.c (tests): Regenerated.
36137 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
36139         * math/auto-libm-test-in: Add more tests of clog and clog10.
36140         * math/auto-libm-test-out: Regenerated.
36141         * sysdeps/i386/fpu/libm-test-ulps: Update.
36142         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36144 2015-04-09  Roland McGrath  <roland@hack.frob.com>
36146         * Makeconfig (module-cppflags): Exclude all .v.i files.
36147         (skip-module-cppflags): Variable removed.
36149         * configure.ac (libc_config_ok): Initialize before reading
36150         preconfigure scripts, not after.
36151         * configure: Regenerated.
36153         * test-skeleton.c (TIMEOUT): Move #define to top level.
36154         (main): Grok environment variable TEST_DIRECT.  If set, print
36155         test expectation details into that file and then behave as if
36156         given --direct.
36158 2015-04-09  Florian Weimer  <fweimer@redhat.com>
36160         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
36161         warning on 32-bit.
36163 2015-04-08  David S. Miller  <davem@davemloft.net>
36165         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36167 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
36169         * math/auto-libm-test-in: Add more tests of atanh.
36170         * math/auto-libm-test-out: Regenerated.
36171         * sysdeps/i386/fpu/libm-test-ulps: Update.
36172         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36174         * math/auto-libm-test-in: Add more tests of atan.
36175         * math/auto-libm-test-out: Regenerated.
36176         * sysdeps/i386/fpu/libm-test-ulps: Update.
36177         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36179 2015-04-08  Florian Weimer  <fweimer@redhat.com>
36181         * elf/pldd.c (main): Rewrite to use struct
36182         scratch_buffer instead of extend_alloca.
36183         * elf/pldd-xx.c (find_maps): Likewise.
36184         * grp/initgroups.c: Include <scratch_buffer.h> instead of
36185         <alloca.h>.
36186         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
36187         scratch_buffer instead of extend_alloca.
36188         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
36189         grp/compat-initgroups.c.
36190         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
36191         Rewrite to use struct scratch_buffer instead of extend_alloca.
36192         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
36193         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
36195 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
36197         * math/auto-libm-test-in: Add more tests of cbrt.
36198         * math/auto-libm-test-out: Regenerated.
36199         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36201         * math/auto-libm-test-in: Add more tests of cabs.
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         [BZ #18210]
36207         [BZ #18211]
36208         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
36209         (__ieee754_atan2): Set FE_TONEAREST mode for internal
36210         computations.
36211         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
36212         clog10.
36213         * math/auto-libm-test-out: Regenerated.
36214         * sysdeps/i386/fpu/libm-test-ulps: Update.
36215         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36217         [BZ #18197]
36218         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
36219         (atan): Set FE_TONEAREST mode for internal computations.
36220         * math/auto-libm-test-in: Add more tests of atan.
36221         * math/auto-libm-test-out: Regenerated.
36223 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
36225         [BZ #17930]
36226         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
36228 2015-04-07  Florian Weimer  <fweimer@redhat.com>
36230         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
36232 2015-04-07  Florian Weimer  <fweimer@redhat.com>
36234         * include/scratch_buffer.h: New file.
36235         * malloc/scratch_buffer_grow.c: Likewise.
36236         * malloc/scratch_buffer_grow_preserve.c: Likewise.
36237         * malloc/scratch_buffer_set_array_size.c: Likewise.
36238         * malloc/tst-scratch_buffer.c: Likewise.
36239         * malloc/Makefile (routines): Add scratch_buffer_grow.
36240         (tests): Add test case.
36241         * malloc/Versions (GLIBC_PRIVATE): Export
36242         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
36243         __libc_scratch_buffer_set_array_size.
36245 2015-04-06  Richard Henderson  <rth@redhat.com>
36247         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
36248         * sysdeps/alpha/fpu/libm-test-ulps: Update.
36250         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
36251         unsigned int before printing.
36253 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
36255         [BZ #17596]
36256         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
36257         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
36259 2015-04-02  Florian Weimer  <fweimer@redhat.com>
36261         * include/libc-internal.h (libc_max_align_t): Define.
36263 2015-04-02  Andreas Schwab  <schwab@suse.de>
36265         [BZ #16850]
36266         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
36268 2015-04-02  Mel Gorman  <mgorman@suse.de>
36270         [BZ #17195]
36271         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
36272         as well as the main arena.
36274 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
36276         [BZ #18185]
36277         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
36278         sharing L2 cache to 2 for Silvermont/Knights Landing.
36280 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
36282         [BZ #17711]
36283         * config.make.in (have-protected-data): New.
36284         * configure.ac: Check linker support for protected data symbol.
36285         * configure: Regenerated.
36286         * elf/Makefile (modules-names): Add tst-protected1moda and
36287         tst-protected1modb if $(have-protected-data) is yes.
36288         (tests): Add tst-protected1a and tst-protected1b if
36289         $(have-protected-data) is yes.
36290         ($(objpfx)tst-protected1a): New.
36291         ($(objpfx)tst-protected1b): Likewise.
36292         (tst-protected1modb.so-no-z-defs): Likewise.
36293         * elf/tst-protected1a.c: New file.
36294         * elf/tst-protected1b.c: Likewise.
36295         * elf/tst-protected1mod.h: Likewise.
36296         * elf/tst-protected1moda.c: Likewise.
36297         * elf/tst-protected1modb.c: Likewise.
36299 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
36301         [BZ #17711]
36302         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
36303         indicates it is called from do_lookup_x on relocation against
36304         protected data, skip the data definion in the executable from
36305         copy reloc.
36306         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
36307         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
36308         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
36309         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
36310         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
36311         otherwise to 0.
36312         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
36313         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
36314         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
36315         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
36316         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
36317         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
36319 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
36321         * sysdeps/nptl/pthread.h: Remove duplicate definition of
36322         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
36324 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
36326         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
36327         THREAD_SETMEM_NC.
36328         * sysdeps/x86_64/nptl/tls.h: Ditto.
36330 2015-03-27  Roland McGrath  <roland@hack.frob.com>
36332         * dlfcn/tststatic.c (main): Converted to ...
36333         (do_test): ... this.
36334         (TEST_FUNCTION): New macro.
36335         Include test-skeleton.c.
36337 2015-03-26  Alan Modra  <amodra@gmail.com>
36339         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
36340         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
36341         zero for undefined weak.
36342         (elf_machine_plt_conflict): Similarly.
36344 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
36346         * math/auto-libm-test-in: Add more tests of acosh, asinh and
36347         atanh.
36348         * math/auto-libm-test-out: Regenerated.
36349         * sysdeps/i386/fpu/libm-test-ulps: Update.
36350         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36352         * math/auto-libm-test-in: Add another test of asin.
36353         * math/auto-libm-test-out: Regenerated.
36354         * sysdeps/i386/fpu/libm-test-ulps: Update.
36355         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36357         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
36358         Remove macro.
36359         (LLL_EBX_REG): Likewise.
36360         (LLL_ENTER_KERNEL): Likewise.
36362         * math/auto-libm-test-in: Add more tests of asin.
36363         * math/auto-libm-test-out: Regenerated.
36364         * sysdeps/i386/fpu/libm-test-ulps: Update.
36365         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36367         [BZ #18138]
36368         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
36369         libc_do_syscall_args): New structure.
36370         (INTERNAL_SYSCALL_MAIN_0): New macro.
36371         (INTERNAL_SYSCALL_MAIN_1): Likewise.
36372         (INTERNAL_SYSCALL_MAIN_2): Likewise.
36373         (INTERNAL_SYSCALL_MAIN_3): Likewise.
36374         (INTERNAL_SYSCALL_MAIN_4): Likewise.
36375         (INTERNAL_SYSCALL_MAIN_5): Likewise.
36376         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
36377         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
36378         Replace conditional definitions by conditional definitions of ....
36379         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
36380         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
36381         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
36382         (libpthread-sysdep_routines): Add libc-do-syscall.
36383         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
36384         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
36385         to __NR_futex not 240.
36387 2015-03-25  Alan Modra  <amodra@gmail.com>
36389         * NEWS: Advertise TLS optimization.
36390         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
36391         (DT_PPC_NUM): Increment.
36392         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
36393         (CHECK_STATIC_TLS): Use here.
36394         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
36395         TLS descriptors.
36396         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
36397         * sysdeps/powerpc/dl-tls.c: New file.
36398         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
36399         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
36400         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
36401         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
36402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
36403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
36404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
36406 2015-03-25  Alan Modra  <amodra@gmail.com>
36408         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
36409         for overlapping .opd entries" to "support...".
36410         * sysdeps/powerpc/powerpc64/configure: Regenerate
36412 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
36414         * math/auto-libm-test-in: Add more tests of acos.
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         * math/auto-libm-test-in: Add more tests of expm1.
36420         * math/auto-libm-test-out: Regenerated.
36421         * sysdeps/i386/fpu/libm-test-ulps: Update.
36422         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36424 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
36426         * math/auto-libm-test-in: Add more tests of cosh and sinh.
36427         * math/auto-libm-test-out: Regenerated.
36428         * sysdeps/i386/fpu/libm-test-ulps: Update.
36429         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36431         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
36432         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36434         * math/auto-libm-test-in: Add more tests of log2.
36435         * math/auto-libm-test-out: Regenerated.
36436         * sysdeps/i386/fpu/libm-test-ulps: Update.
36437         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36439 2015-03-23  Roland McGrath  <roland@hack.frob.com>
36441         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
36442         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
36443         _IO_IS_APPENDING bit in READ_WRITE instead.
36445 2015-03-23  Florian Weimer  <fweimer@redhat.com>
36447         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
36448         (__determine_cpumask_size): Replace extend_alloca with a
36449         variable-length array.  Do not treat res == 0 as an error.
36451 2015-03-23  Florian Weimer  <fweimer@redhat.com>
36453         [BZ #18100]
36454         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
36455         and integer overflow.
36456         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
36457         (main): Add integer overflow tests.
36458         * manual/pattern.texi (Calling Wordexp): Document additional use
36459         for WRDE_SYNTAX.
36461 2015-03-23  Alan Modra  <amodra@gmail.com>
36463         * config.h.in: Remove HAVE_ASM_PPC_REL16.
36464         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
36465         and false branch of conditional.
36466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
36467         Likewise.
36469 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
36471         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
36472         libc-modules.h
36473         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
36474         unused declaration of _hurd_intr_rpc_msg_in_trap.
36475         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
36476         defined instead of whether it is non-zero.
36477         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
36478         input constraint instead of both input and output constraint.  Use ecx
36479         clobber instead of %ecx.
36480         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
36481         mutex_unlock): Use a statement expression instead of an expression list.
36482         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
36483         type to vm_size_t instead of vm_address_t.
36484         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
36485         defined instead of whether it is non-zero.
36486         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
36487         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
36488         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
36489         comparisons with mapaddr.
36490         * nscd/nscd-client.h: Include <time.h>.
36491         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
36492         9th parameter to __vm_region instead of int.
36493         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
36494         * scripts/check-local-headers.sh (exclude): Add device/,
36495         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
36496         cthreads.h.
36498 2015-03-19  Roland McGrath  <roland@hack.frob.com>
36500         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
36501         to account for alignment padding.
36502         * sysdeps/arm/memmove.S: Likewise.
36504 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
36506         * sysdeps/unix/sysv/linux/generic/README: New file.
36508 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
36510         [BZ #18138]
36511         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
36512         (futex_abstimed_wait)
36513         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
36514         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
36515         of lll_futex_timed_wait.
36517 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
36519         [BZ #17542]
36520         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
36522 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
36524         [BZ #17090]
36525         [BZ #17620]
36526         [BZ #17621]
36527         [BZ #17628]
36528         * NEWS: Update.
36529         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
36530         entries with Static TLS too.  Skip entries past the end of the
36531         allocated DTV, from Alan Modra.
36532         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
36533         Static TLS DTV entry set up from...
36534         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
36535         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
36536         * nptl/allocatestack.c (init_one_static_tls): ... and here...
36537         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
36538         for Static TLS.
36539         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
36540         that the slot we find is associated with the given map before
36541         using its generation count.
36542         * nptl_db/db_info.c: Include ldsodefs.h.
36543         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
36544         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
36545         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
36546         (link_map::l_tls_offset): New struct field.
36547         (dtv_t::counter): Likewise.
36548         (rtld_global): New struct.
36549         (_rtld_global): New rtld variable.
36550         (dl_tls_dtv_slotinfo_list): New rtld global field.
36551         (dtv_slotinfo_list): New struct.
36552         (dtv_slotinfo): Likewise.
36553         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
36554         (td_lookup): Rename to...
36555         (td_mod_lookup): ... this.  Use new mod parameter instead of
36556         LIBPTHREAD_SO.
36557         * nptl_db/td_thr_tlsbase.c: Include link.h.
36558         (dtv_slotinfo_list, dtv_slotinfo): New functions.
36559         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
36560         addresses even if the DTV is out of date or missing them.
36561         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
36562         index zero-length arrays.
36563         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
36564         (td_lookup): Make it a macro implemented in terms of...
36565         (td_mod_lookup): ... this declaration.
36566         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
36567         (DB_MAIN_VARIABLE): Likewise.
36569 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
36571         [BZ #18134]
36572         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
36574 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
36576         * stdlib/setenv.c (__add_to_environ): Revert previous change.
36578 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
36580         [BZ #18128]
36581         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
36582         (atomic_add, atomic_increment_and_test)
36583         (atomic_decrement_and_test): Fix 64-bit arithmetic.
36585 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
36587         * stdlib/setenv.c (__add_to_environ):
36588         Dump core quickly if setenv (..., NULL, ...) is called.
36590 2015-03-13  Roland McGrath  <roland@hack.frob.com>
36592         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
36593         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
36594         all the necessary asm magic in one place.
36595         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
36596         using those.
36598 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
36600         [BZ #14906]
36601         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
36602         traced file mtime. Use consistent log message.
36603         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
36604         (register_traced_file): Call install_watches. Always set mtime.
36605         (invalidate_cache): Iterate over all trace files. Call install_watches.
36606         (inotify_check_files): Don't inline. Handle watching parent
36607         directories and configuration file movement in and out.
36608         (handle_inotify_events): New function.
36609         (main_loop_poll): Call handle_inotify_events.
36610         (main_loop_epoll): Likewise.
36611         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
36612         (struct traced_file): Use array of inotify fds. Add parent directory,
36613         and basename.
36614         (struct database_dyn): Remove unused file_mtime.
36615         (init_traced_file): New inline function.
36616         (define_traced_file): New macro.
36617         * nss/nss_db/db-init.c: Use define_traced_file.
36618         (_nss_db_init): Use init_traced_file.
36619         * nss/nss_files/files-init.c: Use define_traced_file.
36620         (_nss_files_init): Use init_traced_file.
36622 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
36624         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
36625         [_LIBC]: Do not include <stdlib.h>.
36626         [!_LIBC] (abort): Remove declaration.
36627         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
36628         _FP_STATIC_ASSERT instead of conditionally calling abort.
36629         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
36630         (_FP_EXTEND_CNAN): Likewise.
36631         (FP_TRUNC): Likewise.
36632         (__FP_CLZ): Likewise.
36633         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
36635 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
36637         * manual/string.texi (XPG basename): Fix prototype.
36639 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
36641         [BZ #18080]
36642         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
36643         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
36644         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
36645         (__setcontext): Likewise.
36646         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
36647         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
36648         Call rt_sigprocmask syscall one time to set new signal mask
36649         and retrieve the current signal mask instead of two calls.
36650         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
36651         (__swapcontext): Likewise.
36652         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
36653         * stdlib/tst-setcontext2.c: New file.
36655 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
36657         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
36659 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
36661         [BZ #18093]
36662         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
36663         the wrong size.
36665 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
36667         [BZ #18043]
36668         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
36670 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
36672         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
36673         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
36674         Remove define.
36675         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
36676         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
36677         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
36678         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
36679         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
36680         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
36681         define.
36682         * nptl_db/td_symbol_list.c (td_lookup): Remove
36683         HAVE_ASM_GLOBAL_DOT_NAME code.
36684         * sysdeps/powerpc/powerpc64/configure.ac: Remove
36685         HAVE_ASM_GLOBAL_DOT_NAME check.
36686         * sysdeps/powerpc/powerpc64/configure: Regenerate.
36687         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
36688         (DOT_LABEL): Remove define.
36689         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
36690         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
36691         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
36692         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
36693         (__TLS_GET_ADDR): Likewise.
36694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
36695         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
36697 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
36699         [BZ #18111]
36700         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
36701         (_FPU_SETCW): Initialize cw from fpsr before storing.
36702         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
36703         (fesetexceptflag): Rewrite using fpu_control.h.
36704         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
36706 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
36708         [BZ #18110]
36709         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
36710         asms.
36711         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
36713 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
36715         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
36716         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
36717         abort.
36718         (_FP_FMA): Likewise.
36719         (_FP_DIV): Likewise.
36721 2015-03-10  Roland McGrath  <roland@hack.frob.com>
36723         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
36724         with 0 in that case.
36725         * Makefile (summarize-tests): New canned sequence, factored out of
36726         commands for targets tests and xtests.  Display summary lines that
36727         don't start with PASS: or XFAIL: rather than ones that do start with
36728         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
36729         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
36730         do start with ERROR: or FAIL:.
36731         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
36732         (except for [$(build-shared) = yes]).
36733         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
36734         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
36735         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
36736         * nptl/Makefile: Revert 2015-03-04 changes.
36737         [$(CXX) empty] (tests-unsupported): New variable.
36738         * debug/Makefile: Likewise.
36740         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
36741         gnulib file.  Replace __attribute with __attribute__ throughout.
36743 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
36745         * sysdeps/hppa/fpu/libm-test-ulps: Update.
36747 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
36749         [BZ #18104]
36750         * math/auto-libm-test-in: Add another test of pow.
36751         * math/auto-libm-test-out: Regenerated.
36753 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36755         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
36756         $(config-cflags-nofma).
36758 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
36760         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
36761         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
36762         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
36763         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
36764         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
36765         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
36766         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
36767         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
36768         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
36769         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
36770         Add comment on closing #endif.
36772 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
36774         * posix/wordexp.c (CHAR_IN_SET): New macro.
36775         (parse_param): Use it.
36777 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36779         * sysdeps/powerpc/fpu/libm-test-ulps: update.
36781 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
36783         [BZ #18043]
36784         * posix/wordexp.c (parse_param): Fix buffer overflow.
36785         * posix/wordexp-test.c (test_case): Add test case.
36787 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
36789         [BZ #18042]
36790         * posix/wordexp.c (parse_backtick): Fix off-by-one.
36791         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
36793 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
36795         [BZ #18043]
36796         * posix/wordexp-test.c (test_case): Add test for BZ #18043
36797         (do_bz18043): Delete.
36798         (at_page_end): New.
36799         (testit): Refactor to have words at the edge of unreadable page.
36801 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
36803         [BZ #16734]
36804         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
36805         Cleanup read-only streams as well.
36806         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
36808 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36810         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
36811         <bits/libc-lockP.h>
36813 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
36815         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
36816         on [__KERNEL__].
36817         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
36818         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
36819         * soft-fp/op-common.h (_FP_DECL): Likewise.
36821 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
36823         * elf/ifuncdep2.c (global): Replace
36824         __attribute__((visibility("protected"))) with
36825         asm (".protected global").
36826         * elf/ifuncmod1.c (global): Likewise.
36827         * elf/ifuncmod5.c (global): Likewise.
36829 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
36831         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
36832         <asm/sfp-machine.h> instead of <sfp-machine.h>.
36834 2015-03-06  Roland McGrath  <roland@hack.frob.com>
36836         * manual/install.texi (Configuring and compiling):
36837         Document test-wrapper-env-only.
36838         * INSTALL: Regenerated.
36840 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
36842         [BZ #18043]
36843         * posix/wordexp.c (parse_param): Fix buffer overflow.
36844         * posix/wordexp-test.c (do_bz18043): Add test case.
36846 2015-03-06  Vincent Bernat  <vincent@bernat.im>
36848         * time/tst-strptime2.c (do_test): Ensure failing tests are
36849         reported correctly.
36850         * time/tst-strptime3.c (do_test): Likewise.
36852 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
36854         Fix aio_error thread-safety.
36855         * sysdeps/pthread/aio_error.c: New file
36856         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
36857         synchronization.
36859 2015-03-06  Florian Weimer  <fweimer@redhat.com>
36861         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
36862         (group_number, vfprintf): Use it.
36863         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
36864         (JUMP, REF): Use it.
36865         (WORK_BUFFER_SIZE): New enum constant.
36866         (process_arg, vfprintf): Use it.
36868 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
36870         * manual/errno.texi (Error Messages): Complete example function
36871         by adding missing #define.
36872         (program_invocation_name): Add statement indicating GNU
36873         extension and reference which header file declares the variable.
36874         (program_invocation_short_name): Likewise.
36876 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
36878         * manual/errno.texi (Error Messages): Delete strerror ISO C89
36879         compatibility note.
36881 2015-03-05  Roland McGrath  <roland@hack.frob.com>
36883         * Makeconfig (test-wrapper-env-only): New variable.
36884         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
36885         then use that with $(test-wrapper-env-only) rather than using
36886         $(test-wrapper-env) $(run-program-env) $($*-ENV).
36888 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
36890         [BZ #18082]
36891         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
36892         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
36893         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
36894         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
36895         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
36896         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
36897         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
36898         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
36899         Likewise.
36900         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
36901         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
36902         Likewise.
36903         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
36904         Likewise.
36905         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
36906         Likewise.
36907         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
36908         Likewise.
36909         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
36910         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
36911         Likewise.
36912         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
36913         Likewise.
36914         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
36915         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
36917 2015-03-04  Roland McGrath  <roland@hack.frob.com>
36919         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
36920         (ETH_ALEN): New macro.
36921         (struct ether_addr): Use it for length of ether_addr_octet.
36923         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
36924         (setdb): Don't call __nss_configure_lookup for "rpc".
36925         (do_test): Don't call test_rpc.
36926         (output_rpcent, test_rpc): Functions moved ...
36927         * sunrpc/test-rpcent.c: ... to this new file.
36928         * sunrpc/Makefile (tests): Add it.
36930         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
36931         __xpg_sigpause.
36932         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
36933         * nptl/tst-signal6.c: Likewise.
36934         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
36935         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
36937         * configure.ac (libc_cv_cxx_link_ok): New check.
36938         Reset CXX to empty if it fails to link.
36939         * configure: Regenerated.
36940         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
36941         bug-atexit3-lib only if $(CXX) is nonempty.
36942         * nptl/Makefile (tests): Likewise for tst-cancel24.
36943         (tests, tests-static): Likewise for tst-cancel24-static.
36944         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
36945         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
36946         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
36947         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
36949 2015-03-04  Andreas Schwab  <schwab@suse.de>
36951         [BZ #17631]
36952         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
36953         for non-GCC compilers.
36954         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
36955         Likewise.
36957 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
36959         [BZ #17776]
36960         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
36961         integer before bitwise and assembly operations.
36962         (feclearexcept): Likewise.
36963         * math/test-fenvinline.c: New file.
36964         * math/Makefile: Add test-fenvinline test.
36966 2015-03-03  Alan Modra  <amodra@gmail.com>
36968         [BZ #16512]
36969         * scripts/localplt.awk: Strip off symbol version.
36970         * NEWS: Mention bug fix.
36972 2015-03-02  Roland McGrath  <roland@hack.frob.com>
36974         * sysdeps/pthread/timer_routines.c
36975         (timer_free_list, thread_free_list, thread_active_list): Make static.
36977 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
36979         [BZ #17779]
36980         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
36981         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
36982         Undefine.
36983         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36984         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
36985         Likewise.
36986         * sysdeps/unix/sysv/linux/sh/kernel-features.h
36987         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
36988         Likewise.
36990 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
36992         [BZ #18036]
36993         * posix/fnmatch_loop.c (END): Detect invalid pattern.
36994         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
36996 2015-03-02  Andreas Schwab  <schwab@suse.de>
36998         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
36999         variable name.
37001 2015-03-02  Florian Weimer  <fweimer@redhat.com>
37003         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
37004         Return error status.
37006 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
37008         [BZ #15969]
37009         * locale/findlocale.c (_nl_find_locale): Introduce const
37010         version of loc_name and drop unsafe type casts.
37012 2015-02-27  Roland McGrath  <roland@hack.frob.com>
37014         * dlfcn/tststatic2.c (main): Converted to ...
37015         (do_test): ... this.
37016         (TEST_FUNCTION): New macro.
37017         Include test-skeleton.c.
37019 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
37021         [BZ #17711]
37022         * elf/Makefile (tests): Add vismain only if PIE is enabled.
37023         (tests-pie): Add vismain.
37024         (CFLAGS-vismain.c): New.
37025         * elf/vismain.c: Add comments for PIE requirement.
37027 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
37029         [BZ #18046]
37030         [BZ #18047]
37031         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
37032         0x1p-56L as threshold for just returning the argument.
37033         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
37034         0x1p-32L as threshold for just returning the argument.
37035         * math/auto-libm-test-in: Add more tests of atanh.
37036         * math/auto-libm-test-out: Regenerated.
37037         * sysdeps/i386/fpu/libm-test-ulps: Update.
37038         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
37040 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
37042         * string/bcopy.c (bcopy): Call memmove for performance.
37044 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
37046         * string/bzero.c (__bzero): Call memset for performance.
37048 2015-02-27  John David Anglin  <dave.anglin@bell.net>
37050         [BZ #18068]
37051         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
37052         to 00100000.
37054 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
37056         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
37058 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
37060         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
37061         (__kernel_standard): Use CSTR macro when setting exc.name.
37062         * sysdeps/ieee754/Makefile [$(subdir) = math]
37063         (CFLAGS-k_standard.c): Remove variable.
37065         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
37066         setting p and q from "else if" to "else".
37067         (qzero): Likewise.
37068         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
37069         (qone): Likewise.
37070         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
37071         (qzerof): Likewise.
37072         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
37073         (qonef): Likewise.
37074         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
37075         (qzero): Likewise.
37076         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
37077         (qone): Likewise.
37079         [BZ #18038]
37080         [BZ #18039]
37081         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
37082         return pi/2 for arguments below 0x1p-113L.
37083         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
37084         return pi/2 for arguments below 0x1p-106L.
37085         * math/auto-libm-test-in: Add more tests of acos.
37086         * math/auto-libm-test-out: Regenerated.
37088         [BZ #16351]
37089         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
37090         (MO): New macro.
37091         (__ieee754_asin): Force underflow exception for results with small
37092         absolute value.
37093         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
37094         (MO): New macro.
37095         (__ieee754_asinf): Force underflow exception for results with
37096         small absolute value.
37097         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
37098         (__ieee754_asin): Force underflow exception for results with small
37099         absolute value.
37100         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
37101         (__ieee754_asinf): Force underflow exception for results with
37102         small absolute value.
37103         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
37104         (__ieee754_asinl): Force underflow exception for results with
37105         small absolute value.
37106         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
37107         (__ieee754_asinl): Force underflow exception for results with
37108         small absolute value.
37109         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
37110         (__ieee754_asinl): Force underflow exception for results with
37111         small absolute value.
37112         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
37113         Include <math.h>.
37114         * math/auto-libm-test-in: Do not mark underflow exceptions as
37115         possibly missing for bug 16351.
37116         * math/auto-libm-test-out: Regenerated.
37118         [BZ #18030]
37119         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
37120         of power of 2 down when low part has opposite sign.
37121         * math/libm-test.inc (logb_test_data): Add more tests.
37123 2015-02-26  Andreas Schwab  <schwab@suse.de>
37125         [BZ #18032]
37126         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
37127         over collating symbol inside a bracket expression.  Minor cleanup.
37128         * posix/tst-fnmatch3.c (do_test): Add test case.
37130 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
37132         [BZ #18029]
37133         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
37134         Adjust exponent of power of 2 down when low part has opposite
37135         sign.
37136         * math/libm-test.inc (ilogb_test_data): Add more tests.
37138 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
37140         [BZ #15969]
37141         * locale/findlocale.c (_nl_find_locale): Fix constness error in
37142         the previous change.
37144         [BZ #15969]
37145         * locale/findlocale.c (_nl_find_locale): Retry archive search
37146         after alias expansion.
37148 2015-02-25  Roland McGrath  <roland@hack.frob.com>
37150         * iconv/tst-iconv3.c (main): Converted to ...
37151         (do_test): ... this.
37152         (TEST_FUNCTION): New macro.
37153         Include test-skeleton.c.
37155         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
37156         (convert): Make function static.
37157         (test_unalign): Likewise.  Add const to argument pointee types.
37158         (main): Replace with static function do_test.
37159         Print "Succeeded." only if RET is zero.
37160         (TEST_FUNCTION): New macro.
37161         Include test-skeleton.c.
37163         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
37164         returns a null pointer.
37166 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37168         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
37169         to __memcpy_ppc only for static builds.
37171 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
37173         [BZ #18020]
37174         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
37175         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
37176         * math/auto-libm-test-in: Add more tests of asinh.
37177         * math/auto-libm-test-out: Regenerated.
37178         * sysdeps/i386/fpu/libm-test-ulps: Update.
37179         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37181 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
37183         [BZ #15850]
37184         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
37185         and ip6_mtuinfo definitions here.
37186         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
37187         in this define too.  Update comment.
37189 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
37191         * elf/sprof.c (load_shobj): Tweak error message to match others.
37193 2015-02-24  Kevin Easton  <kevin@guarana.org>
37195         [BZ #16145] (partial fix)
37196         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
37197         to reduce lock contention.
37199 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
37201         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
37202         (struct timex): Update time comment.
37203         (ADJ_SETOFFSET): Define.
37205 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
37207         [BZ #18019]
37208         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
37209         2**56 not 2**28 as threshold for log (2x) formula.
37210         * math/auto-libm-test-in: Add more tests of acosh.
37211         * math/auto-libm-test-out: Regenerated.
37212         * sysdeps/i386/fpu/libm-test-ulps: Update.
37213         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37215 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
37217         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
37218         parenthesis around the buf assignment.
37219         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
37221 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
37223         [BZ #16783]
37224         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
37225         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
37226         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
37227         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
37228         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
37229         * math/libm-test.inc (scalb_test_data): Add more tests.
37231 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
37233         [BZ #17916]
37234         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
37235         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
37237 2015-02-24  Eric Rannaud  <e@nanocritical.com>
37239         [BZ #17523]
37240         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
37241         * io/bits/fcntl2.h (open): Use it.
37242         (openat): Likewise.
37243         * io/open.c (__libc_open): Likewise.
37244         * io/open64.c (__libc_open64): Likewise.
37245         * io/open64_2.c (__open64_2): Likewise.
37246         * io/open_2.c (__open_2): Likewise.
37247         * io/openat.c (__openat): Likewise.
37248         * io/openat64.c (__openat64): Likewise.
37249         * io/openat64_2.c (__openat64_2): Likewise.
37250         * io/openat_2.c (__openat_2): Likewise.
37251         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
37252         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
37253         * sysdeps/posix/open64.c (__libc_open64): Likewise.
37254         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
37255         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
37256         (__open_nocancel): Likewise.
37257         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
37258         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
37259         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
37261 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
37263         [BZ #14841]
37264         * resolv/gethnamaddr.c (getanswer): Skip logging if
37265         RES_USE_DNSSEC is set.
37266         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
37268 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
37270         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
37272 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
37274         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
37275         201304L, for Unicode 7.
37277 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
37279         [BZ #17836]
37280         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
37281         shared library.  Add gmon-start.os otherwise.
37282         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
37283         $(objpfx)gmon-start.os if builing shared library.
37284         ($(objpfx)g$(static-start-installed-name)): Likewise.
37286 2015-02-23  Andreas Schwab  <schwab@suse.de>
37288         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
37290 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
37292         [BZ #17269]
37293         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
37294         (enlarge_userbuf): Likewise.
37296 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
37298         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
37299         * math/atest-exp.c (TIMEOUT): Adjust to 200.
37300         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
37301         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
37303 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
37305         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
37306         expression inside statement expression.
37308 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
37310         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
37311         <sysdeps/nptl/lowlevellock.h> and remove macros and
37312         functions that are now defined there.
37313         (SYS_futex): Remove.
37314         (lll_compare_and_swap): Remove.
37315         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
37317 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
37319         [BZ #17999]
37320         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
37321         instead of scandirat.
37322         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
37323         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
37324         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
37325         __scandirat.
37326         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
37327         (__scandirat): Declare.  Use libc_hidden_proto.
37328         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
37329         Remove variable.
37330         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
37332 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
37334         [BZ #15319]
37335         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
37336         (MO): New macro.
37337         (__ieee754_atan2): For results with small absolute value, force
37338         underflow exception and remove excess range and precision from
37339         return value.
37340         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
37341         (MO): New macro.
37342         (__ieee754_atan2f): For results with small absolute value, force
37343         underflow exception and remove excess range and precision from
37344         return value.
37345         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
37346         (MO): New macro.
37347         (__atan): For results with small absolute value, force underflow
37348         exception and remove excess range and precision from return value.
37349         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
37350         (MO): New macro.
37351         (__atanf): For results with small absolute value, force underflow
37352         exception and remove excess range and precision from return value.
37353         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
37354         <math.h>.
37355         (__ieee754_atan2): Force underflow exception for results with
37356         small absolute value.
37357         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
37358         <math_private.h>.
37359         (atan): Force underflow exception for results with small absolute
37360         value.
37361         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
37362         (__atanf): Force underflow exception for results with small
37363         absolute value.
37364         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
37365         <math.h>.
37366         (__atanl): Force underflow exception for results with small
37367         absolute value.
37368         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
37369         (__atanl): Force underflow exception for results with small
37370         absolute value.
37371         * sysdeps/x86/fpu/bits/mathinline.h
37372         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
37373         (__ieee754_atan2): Only define inline for long double.
37374         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
37375         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
37376         * math/auto-libm-test-in: Do not mark underflow exceptions as
37377         possibly missing for bug 15319.  Add more tests of atan2.
37378         * math/auto-libm-test-out: Regenerated.
37379         * math/libm-test.inc (casin_test_data): Do not mark underflow
37380         exceptions as possibly missing for bug 15319.
37381         (casinh_test_data): Likewise.
37382         * sysdeps/i386/fpu/libm-test-ulps: Update.
37384 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
37386         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
37387         * sysdeps/mips/bits/endian.h: Fix comments.
37389 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
37391         [BZ #17996]
37392         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
37393         (hdestroy_r): Likewise.
37394         (hsearch_r): Likewise.
37395         (__hcreate_r): Declare and use libc_hidden_proto.
37396         (__hdestroy_r): Likewise.
37397         (__hsearch_r): Likewise.
37398         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
37399         (hcreate): Call __hcreate_r instead of hcreate_r.
37400         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
37401         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
37402         as weak alias of __hcreate_r.
37403         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
37404         __hdestroy_r.
37405         (hsearch_r): Rename to __hsearch_r and define as weak alias of
37406         __hsearch_r.
37407         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
37408         Remove variable.
37409         (test-xfail-XPG4/search.h/linknamespace): Likewise.
37410         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
37411         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
37412         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
37414 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
37416         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
37417         arena_lock into a single arena_get.
37419 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
37421         * dl-reloc.c: Inlucde libc-internal.h.
37422         (_dl_try_allocate_static_tls): Call ALIGN_UP.
37423         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
37424         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
37425         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
37426         (grow_heap): Likewise.
37427         * malloc/malloc.c: Include libc-internal.h.
37428         (do_check_malloc): Call powerof2.
37429         (sysmalloc): Use pagesize. Call ALIGN_UP.
37430         (systrim): Use pagesize.
37431         (mremap_chunk): Use pagesize. Call ALIGN_UP.
37432         (__libc_valloc): Use pagesize.
37433         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
37435 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
37437         [BZ #17991]
37438         * include/sys/resource.h (__getrlimit64): Declare.  Use
37439         libc_hidden_proto.
37440         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
37441         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
37442         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
37443         getrlimit64.
37444         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
37445         __getrlimit64.
37446         [!getrlimit64] (getrlimit64): Define as weak alias of
37447         __getrlimit64.  Use libc_hidden_weak.
37448         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
37449         using __getrlimit64 not __new_getrlimit64.
37450         (__GI_getrlimit64): Likewise.
37451         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
37452         Likewise.
37453         (__GI_getrlimit64): Likewise.
37454         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
37455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
37456         (getrlimit): Add __getrlimit64 alias.
37457         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
37458         Likewise.
37459         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
37460         Remove variable.
37461         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
37462         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
37464 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
37466         * libio/fileops.c: Add missing sys/mman.h
37467         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
37469 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
37471         * manual/math.texi (Errors in Math Functions): Clarify goals
37472         regarding inexact and underflow exceptions.
37474 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
37476         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
37477         * sysdeps/mips/memset.S: Ditto.
37479 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
37481         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
37483 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
37485         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
37486         (__v1longjmp): Remove versioned symbol.
37487         (__v1siglongjmp): Remove alias and versioned symbol.
37488         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
37489         (__v2siglongjmp): Likewise.
37491 2015-02-16  Torvald Riegel  <triegel@redhat.com>
37493         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
37495 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
37497         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
37499 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
37501         [BZ #17987]
37502         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
37503         zero result does not depend on the sign resulting from
37504         subtraction.
37505         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
37506         Likewise.
37507         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
37508         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
37509         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
37510         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
37511         * math/libm-test.inc (remquo_test_data): Add more tests.
37513 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
37515         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
37516         Problem reported by J William Piggott.
37518 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
37520         [BZ #17978]
37521         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
37522         products 4 * y and 2 * y where those would overflow.
37523         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
37524         Likewise.
37525         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
37526         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
37527         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
37528         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
37529         * math/libm-test.inc (remquo_test_data): Add more tests.
37531         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
37533         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
37534         [defined _COMPILING_NEWLIB].
37535         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
37536         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
37538         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
37539         [!defined __mips_isa_rev || __mips_isa_rev < 6].
37541 2015-02-16  Torvald Riegel  <triegel@redhat.com>
37543         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
37544         acquired.
37546 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
37548         [BZ #17792]
37549         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
37550         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
37551         HOST_STACK_END_ADDR): Likewise.
37553 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
37555         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
37556         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
37557         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
37559 2015-02-13  Roland McGrath  <roland@hack.frob.com>
37561         * sysdeps/generic/c++-types.data: New file.
37562         * sysdeps/generic/ld.abilist: New file.
37563         * sysdeps/generic/libBrokenLocale.abilist: New file.
37564         * sysdeps/generic/libanl.abilist: New file.
37565         * sysdeps/generic/libc.abilist: New file.
37566         * sysdeps/generic/libcrypt.abilist: New file.
37567         * sysdeps/generic/libdl.abilist: New file.
37568         * sysdeps/generic/libm.abilist: New file.
37569         * sysdeps/generic/libpthread.abilist: New file.
37570         * sysdeps/generic/libresolv.abilist: New file.
37571         * sysdeps/generic/librt.abilist: New file.
37573 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
37575         [BZ #17569]
37576         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
37577         Compute absolute value of x as modified by fmod, not original
37578         value of x.
37579         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
37580         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
37581         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
37582         RUN_TEST_ffI_f1_mod8.
37583         (remquo_test_data): Add more tests.
37585 2015-02-13  Roland McGrath  <roland@hack.frob.com>
37587         * sysdeps/init_array/pt-crti.S: New file.
37589 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
37591         [BZ #17967]
37592         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
37593         __builtin_fmaf instead of relying on contraction of a * b + c.
37595 2015-02-12  J William Piggott  <elseifthen@gmx.com>
37597         [BZ #17969]
37598         * manual/time.texi: correct the zoneinfo path in the TZ Variable
37599         node.
37601 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
37603         [BZ #17964]
37604         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
37605         __builtin_fma instead of relying on contraction of a * b + c.
37607 2015-02-12  Roland McGrath  <roland@hack.frob.com>
37609         * Makeconfig (ASFLAGS): Add -Werror=undef.
37610         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
37611         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
37612         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
37614         * Makeconfig (after-link): New variable.
37615         (+link-pie, +link-pie-tests): Use it.
37616         (+link-static, +link-static-tests): Likewise.
37617         (+link, +link-tests): Likewise.
37618         * Makerules (build-module, build-module-asneeded): Likewise.
37619         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
37620         Likewise.
37621         * elf/Makefile ($(objpfx)ld.so): Likewise.
37623 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
37625         [BZ #17965]
37626         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
37627         both struct timeval and struct timespec.
37629 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
37631         [BZ #16560]
37632         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
37633         and redefine.
37634         (__ieee754_exp2l): Do not multiply small fractional parts by
37635         M_LN2l.
37636         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
37637         small argument.
37638         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
37639         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
37640         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
37641         * math/auto-libm-test-in: Add more tests of exp2.
37642         * math/auto-libm-test-out: Regenerated.
37644 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
37646         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
37647         unaligned path.
37649 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37651         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
37652         little endian.
37654 2015-02-12  Andreas Schwab  <schwab@suse.de>
37656         [BZ #15790]
37657         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
37658         Filter out elision flags from value returned in kind.
37659         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
37660         * nptl/tst-pthread-mutexattr.c: New file.
37662 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37664         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
37665         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
37666         into gnu-gnu, and update comment to refer to abi-tags.
37668 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
37670         [BZ #15467]
37671         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
37672         (__sincos): Set errno to EDOM for infinite argument.
37673         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
37674         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
37675         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
37676         (__sincosl): Set errno to EDOM for infinite argument.
37677         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
37678         (__sincosl): Set errno to EDOM for infinite argument.
37679         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
37680         (__sincosl): Set errno to EDOM for infinite argument.
37681         * math/libm-test.inc (sincos_test_data): Test errno setting.
37683 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
37685         * string/strxfrm_l.c: Remove #define STRCMP.
37686         * string/strcoll_l.c: Remove #define STRLEN.
37687         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
37688         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
37690 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
37692         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
37693         * sysdeps/mips/mips32/sfp-machine.h: ... here.
37694         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
37695         * sysdeps/mips/mips64/Makefile: ... here.
37696         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
37697         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
37698         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
37699         * sysdeps/mips/mips64/sfp-machine.h: ... here.
37700         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
37701         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
37702         * sysdeps/mips/mips64/n64/Implies: Likewise.
37704 2015-02-10  Roland McGrath  <roland@hack.frob.com>
37706         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
37707         <sys/time.h>, <string.h>, and <errno.h>.
37708         (dest_offset, dest_address, value, zero): Remove unused variables.
37709         (ldouble): Remove typedef.
37710         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
37711         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
37712         1).  Fix code style.
37713         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
37714         (check): Function removed.
37715         (CHECK): New macro.
37716         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
37717         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
37718         Don't call set_sigaction_FP and remove_sigaction_FP here.
37719         (ldouble_test): Just use 'long double' as macro argument, no need for
37720         the 'ldouble' typedef.
37721         (do_test): Set up SIGFPE handler at start, using plain signal rather
37722         than sigaction.  Fix code style.
37724 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
37726         [BZ #17949]
37727         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
37728         jump label.
37730 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
37732         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
37733         * sysdeps/powerpc/powerpc32/configure: Regenerated.
37735         * sysdeps/powerpc/configure.ac: Remove file.
37736         * sysdeps/powerpc/configure: Likewise.
37738         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
37739         [sysdep_routines]: Remove wordcopy-power6 object.
37740         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
37741         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
37742         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
37743         (__memmove_ppc32): Likewise.
37744         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
37745         file.
37746         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
37747         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
37748         Remove preprocessor.
37750         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
37751         [sysdep_routines]: Remove wide chars objects.
37752         [wcsmbs]: New rule for wide char objects.
37754         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
37755         Remove wordcopy-power6 obejct.
37756         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
37757         Use local call for wordcopy and memcpy symbols.
37758         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
37759         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
37760         implementation for loader.
37761         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
37763         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
37764         Remove wordcopy-power7 object.
37765         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
37766         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
37767         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
37768         (_wordcopy_fwd_dest_aligned): Likewise.
37769         (_wordcopy_bwd_aligned): Likewise.
37770         (_wordcopy_bwd_dest_aligned): Likewise.
37772         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
37773         Rewrite to call __memmove_ppc instead of include default
37774         implementation.
37776         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
37777         Remove wide chars objects.
37778         [wcsmbs]: New rule for wide char objects.
37780 2015-02-09  Andreas Schwab  <schwab@suse.de>
37782         [BZ #17912]
37783         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
37784         in terms of __O_DIRECTORY.
37786 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37788         * time/getdate.c: Include <stdbool.h>.
37789         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
37790         call PTR_MANGLE.
37791         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
37792         PTR_DEMANGLE.
37794 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
37796         Add ersatz _Static_assert on older C hosts
37797         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
37798         pre-C11 C platform that is not known to support _Static_assert.
37800 2015-02-07  Richard Braun  <rbraun@sceen.net>
37802         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
37803         sigstate.
37804         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
37806 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37808         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
37809         priority against unexistent AIO_PRIO_DELTA_MAX.
37810         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
37811         instead of int.
37812         * misc/fchflags.c (fchflags): Likewise.
37813         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
37814         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
37815         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
37816         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
37817         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
37818         Declare macros.
37819         [__USE_MISC] (chflags, fchflags): Declare functions.
37820         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
37821         EINVAL when nfds is greater than FD_SETSIZE.
37822         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
37823         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
37824         45.
37825         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
37826         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
37827         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
37828         MACH_RCV_TIMED_OUT.
37829         * hurd/hurd/signal.h (_hurd_self_sigstate,
37830         _hurd_critical_section_lock, _hurd_critical_section_unlock):
37831         Explicit casts from void *.
37832         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
37833         * abi-tags: Rename gnu-gnu os into gnu.
37835         [BZ #4719]
37836         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
37837         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
37838         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
37839         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
37840         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
37841         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
37843         [BZ #17944]
37844         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
37845         duplicates ADDR->sun_path with sockaddr LEN limitation.
37846         * sysdeps/mach/hurd/connect.c: Include <string.h>
37847         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
37848         * sysdeps/mach/hurd/sendmsg.c: Likewise.
37849         * sysdeps/mach/hurd/sendto.c: Likewise.
37850         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
37851         implementing it by hand.
37853 2015-02-06  Roland McGrath  <roland@hack.frob.com>
37855         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
37856         Use sfi_breg on ldr.
37857         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
37858         Likewise.
37860         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
37861         it's defined.
37862         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
37863         Test SIGSETXID only if it's defined.
37865         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
37867         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
37868         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
37870         * nptl/tst-align2.c: Moved ...
37871         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
37872         * nptl/Makefile (tests): Remove tst-align2.
37873         * sysdeps/unix/sysv/linux/Makefile
37874         [$(subdir) = nptl] (tests): Add tst-align-clone.
37875         * nptl/tst-getpid1.c: Moved ...
37876         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
37877         * nptl/tst-getpid2.c: Moved ...
37878         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
37879         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
37880         * sysdeps/unix/sysv/linux/Makefile
37881         [$(subdir) = nptl] (tests): ... here.
37882         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
37883         * sysdeps/unix/sysv/linux/Makefile
37884         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
37886         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
37887         Drop trailing \n from perror argument.  Use return rather than exit.
37889         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
37890         on [SA_SIGINFO].
37891         * nptl/tst-cancel21.c (do_test): Likewise.
37892         * debug/tst-backtrace6.c: Include <signal.h> first thing.
37893         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
37894         [!SA_SIGINFO]: Make it a stub test.
37896         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
37897         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
37899         * posix/tst-getlogin.c: Move to ...
37900         * login/tst-getlogin.c: ... here.
37901         * posix/Makefile (tests): Move tst-getlogin to ...
37902         * login/Makefile (tests): ... here.
37904         * libio/tst-atime.c (do_test): Move local variables SV and E
37905         inside [ST_NOATIME] conditional.
37907         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
37909         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
37911         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
37912         (wait_code): New function replaces macro.
37913         Call nanosleep rather than syscall.
37915         * nptl/pt-system.c: Rewritten.  Put everything under
37916         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
37917         Use IFUNC to redirect when possible.
37919         * nptl/pt-longjmp.c: Rewritten.  Put everything under
37920         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
37921         Use IFUNC to redirect when possible.
37923         * nptl/pt-fork.c: Rewritten.  Put everything under
37924         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
37925         Use IFUNC to redirect when possible.
37926         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
37928         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
37929         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
37930         unconditionally nowadays.  This included the only reference to
37931         __vdso_clock_gettime that appears outside libc proper.
37932         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
37933         Remove version set (containing only __vdso_clock_gettime).
37934         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
37935         Add attribute_hidden.
37936         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
37937         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
37938         libc_hidden_data_def.
37939         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
37940         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
37942         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
37943         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
37944         setrpcent, and getrpcport to ...
37945         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
37946         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
37947         getrpcbynumber_r, and getrpcent_r to ...
37948         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
37949         * inet/getrpcbyname.c: Moved ...
37950         * sunrpc/getrpcbyname.c: ... here.
37951         * inet/getrpcbyname_r.c: Moved ...
37952         * sunrpc/getrpcbyname_r.c: ... here.
37953         * inet/getrpcbynumber.c: Moved ...
37954         * sunrpc/getrpcbynumber.c: ... here.
37955         * inet/getrpcbynumber_r.c: Moved ...
37956         * sunrpc/getrpcbynumber_r.c: ... here.
37957         * inet/getrpcent.c: Moved ...
37958         * sunrpc/getrpcent.c: ... here.
37959         * inet/getrpcent_r.c: Moved ...
37960         * sunrpc/getrpcent_r.c: ... here.
37961         * inet/Makefile (routines): Move those to ...
37962         * sunrpc/Makefile (routines): ... here.
37963         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
37964         the $(subdirs) list.
37965         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
37966         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
37967         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
37968         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
37970         * elf/Makefile (routines): Include $(all-dl-routines), not just
37971         $(dl-routines).
37972         (rtld-routines): Likewise.  Use = rather than :=.
37973         * sysdeps/aarch64/Makefile [$(subdir) = elf]
37974         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
37975         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
37976         * sysdeps/arm/Makefile: Likewise.
37977         * sysdeps/i386/Makefile: Likewise.
37978         * sysdeps/x86_64/Makefile: Likewise.
37979         * sysdeps/hppa/Makefile [$(subdir) = elf]
37980         (sysdep_routines, sysdep-rtld-routines): Don't add
37981         $(sysdep-dl-routines) to these.
37982         * sysdeps/ia64/Makefile: Likewise.
37983         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
37984         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
37985         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
37986         Don't add dl-static to these; sysdep-dl-routines alone is enough.
37987         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
37988         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
37989         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
37990         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
37991         * sysdeps/powerpc/Makefile [$(subdir) = elf]
37992         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
37993         these; sysdep-dl-routines alone is enough.
37995 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
37997         [BZ #17932]
37998         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
37999         where multiplication results in zero and third argument is finite
38000         and nonzero.
38001         * math/auto-libm-test-in: Add more tests of fma.
38002         * math/auto-libm-test-out: Regenerated.
38004         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
38005         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
38006         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
38007         (_FP_CMP_EQ): Likewise.
38008         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
38010         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
38011         extra argument CHECK_NAN.  Redefine as wrapper around
38012         _FP_EXTEND_CNAN.
38014 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
38016         * version.h (RELEASE): Set to "stable".
38017         (VERSION): Set to "2.21"
38018         * include/features.h (__GLIBC_MINOR__): Set to 21.
38020         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
38022 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
38023             Paul Eggert  <eggert@cs.ucla.edu>
38025         [BZ #16618]
38026         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
38027         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
38028         size in bytes. Store needed elements in wpmax. Use needed size
38029         in bytes for extend_alloca.
38031 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
38033         * manual/install.texi: Latest tested versions are GCC 4.9.2,
38034         binutls 2.25, and texinfo 5.2.
38035         * INSTALL: Regenerate.
38036         * sysdeps/nios2/configure: Regenerate.
38037         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
38038         * manual/contrib.texi: Update.
38039         * po/be.po: Update.
38040         * po/bg.po: Update.
38041         * po/ca.po: Update.
38042         * po/cs.po: Update.
38043         * po/da.po: Update.
38044         * po/de.po: Update.
38045         * po/el.po: Update.
38046         * po/eo.po: Update.
38047         * po/es.po: Update.
38048         * po/fi.po: Update.
38049         * po/fr.po: Update.
38050         * po/gl.po: Update.
38051         * po/hr.po: Update.
38052         * po/hu.po: Update.
38053         * po/ia.po: Update.
38054         * po/id.po: Update.
38055         * po/it.po: Update.
38056         * po/ja.po: Update.
38057         * po/ko.po: Update.
38058         * po/lt.po: Update.
38059         * po/nb.po: Update.
38060         * po/nl.po: Update.
38061         * po/pl.po: Update.
38062         * po/pt_BR.po: Update.
38063         * po/ru.po: Update.
38064         * po/rw.po: Update.
38065         * po/sk.po: Update.
38066         * po/sl.po: Update.
38067         * po/sv.po: Update.
38068         * po/tr.po: Update.
38069         * po/uk.po: Update.
38070         * po/vi.po: Update.
38071         * po/zh_CN.po: Update.
38072         * po/zh_TW.po: Update.
38074         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
38075         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
38076         * sysdeps/hppa/dl-irel.h: Remove #warning.
38077         * sysdeps/hppa/entry.h: Provide prototype for
38078         __canonicalize_funcptr_for_compare and cast argument.
38079         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
38080         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
38081         * sysdeps/hppa/sotruss-lib.c: New file.
38082         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
38083         (atomic_compare_and_exchange_val_acq): Use __typeof__.
38084         (atomic_compare_and_exchange_bool_acq): Likewise.
38085         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
38086         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
38088         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
38089         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
38090         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
38092 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
38094         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
38095         called function in non-PIC case.
38097 2015-01-31  David S. Miller  <davem@davemloft.net>
38099         * sysdeps/sparc/sparc32/bits/atomic.h
38100         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
38101         unlock not after it.
38102         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
38103         volatile register usage warnings from the compiler.
38105         * sysdeps/sparc/nptl/sem_init.c: Delete.
38106         * sysdeps/sparc/nptl/sem_post.c: Delete.
38107         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
38108         * sysdeps/sparc/nptl/sem_wait.c: Delete.
38109         * sysdeps/sparc/sparc32/sem_init.c: New file.
38110         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
38111         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
38112         padding explicitly initialized.
38113         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
38114         padding for in-semaphore spinlock.
38115         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
38116         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
38117         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
38118         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
38119         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
38120         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
38121         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
38122         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
38123         version.
38124         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
38125         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
38127 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
38129         [BZ #17801]
38130         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38131         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
38132         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
38133         New.
38134         (index_AVX_Fast_Unaligned_Load): Likewise.
38135         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
38136         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
38137         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
38138         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
38139         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
38140         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
38141         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
38142         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
38143         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
38145 2015-01-29  Andreas Schwab  <schwab@suse.de>
38147         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
38149 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
38151         [BZ #17892]
38152         * nscd/nscd_stat.c (send_stats): Initialize DATA.
38154 2015-01-28  Martin Sebor  <msebor@redhat.com>
38156         * math/README.libm-test: Clarify. Add "How to read the test output."
38158 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
38160         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
38161         Define to 0.
38163 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
38165         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
38166         (__HAVE_64B_ATOMICS): Define to 0.
38168 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
38170         [BZ #17885]
38171         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
38172         value to set as new flag.
38174         [BZ #16576]
38175         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
38176         and use _ARCH_PPCSQ instead.
38177         (__ieee754_sqrt): Likewise.
38178         (__ieee754_sqrtf): Likewise.
38179         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
38180         _ARCH_PPCSQ is defined.
38181         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
38182         fsqrt instruction.
38183         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
38184         _ARCH_PPCSQ is defined.
38185         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
38186         fsqrts instruction.
38187         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
38189 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38191         * iconv/loop.c: Suppress array out of bound warning caused by GCC
38192         bug (GCC BZ #64739).
38194 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
38196         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
38197         Mark _retval as used.
38198         (lll_futex_wake_unlock): Likewise.
38199         (lll_futex_timed_wait_requeue_pi): Likewise.
38201         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
38202         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
38203         register variables.
38205         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
38206         libm_hidden_def.
38208         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
38209         (__bswap_64): Mark as __always_inline.
38211 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
38213         [BZ #15378]
38214         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
38215         when none of the search directories exist.
38217 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
38219         [BZ #17869]
38220         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
38221         power8 in .machine directive.
38223         [BZ #17868]
38224         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
38225         set dependency from opd value.
38227 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
38229         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38230         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
38231         architecture.
38233 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
38235         [BZ #17870]
38236         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
38237         with uint64_t.
38238         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
38239         (uint64_t) 1.
38240         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
38241         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
38242         Replace 1UL with (uint64_t) 1.
38243         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
38244         int with uint64_t.
38246 2015-01-23  Roland McGrath  <roland@hack.frob.com>
38248         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
38249         (if_freenameindex): Likewise.
38251         * resource/getrlimit64.c: Add missing libc_hidden_def.
38253 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
38255         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
38256         __label__.
38257         (_FP_FMA): Likewise.
38258         (_FP_TO_INT_ROUND): Likewise.
38259         (_FP_FROM_INT): Likewise.
38261 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38263         [BZ #16418]
38264         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
38265         Make code racy and cancel safe.
38267 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
38269         * sysdeps/arm/unwind-resume.h: Fix copyright year.
38270         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
38271         attribution.
38273         * pwd/tst-getpw.c: Rewrite.
38275         [BZ #17702]
38276         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
38277         (modules-names): Add moddummy1 and moddummy2.
38278         ($(objpfx)tst-rec-dlopen): Define.
38279         * dlfcn/moddummy1.c: New file.
38280         * dlfcn/moddummy2.c: New file.
38281         * dlfcn/tst-rec-dlopen.c: New file.
38282         * elf/dl-cache.c (_dl_load_cache_lookup):
38283         Return char*. Copy result with alloca/strcpy/strdup.
38284         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
38285         returns char*. Free cached. If not saving realname
38286         free cached.
38287         * elf/dl-open.c (dl_open_worker): Do not assert that
38288         _r_debug->r_state is RT_CONSISTENT.
38289         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
38290         returns char*.
38292 2015-01-21  Torvald Riegel  <triegel@redhat.com>
38293             Carlos O'Donell  <carlos@redhat.com>
38295         [BZ #12674]
38296         * nptl/sem_waitcommon.c: New file.
38297         * nptl/sem_wait.c: Include sem_waitcommon.c.
38298         (__sem_wait_cleanup, do_futex_wait): Remove.
38299         (__new_sem_wait): Adapt.
38300         (__new_sem_trywait): New function.
38301         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
38302         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
38303         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
38304         (sem_timedwait): Adapt.
38305         * nptl/sem_post.c (__new_sem_post): Adapt.
38306         (futex_wake): New function.
38307         (__old_sem_post): Add release MO fence.
38308         * nptl/sem_open.c (sem_open): Adapt.
38309         * nptl/sem_init.c (__new_sem_init): Adapt.
38310         (futex_private_if_supported): New function.
38311         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
38312         (__old_sem_getvalue): Add using previous code.
38313         * sysdeps/nptl/internaltypes.h: Adapt.
38314         * nptl/tst-sem13.c (do_test): Adapt.
38315         * nptl/tst-sem11.c (main): Adapt.
38316         * nptl/sem_trywait.c: Remove.
38317         * nptl/DESIGN-sem.txt: Remove.
38318         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
38319         (gen-as-const-headers): Remove structsem.sym.
38320         * nptl/structsem.sym: Remove.
38321         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
38322         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
38323         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
38324         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
38325         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
38326         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
38327         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
38328         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
38329         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
38330         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
38331         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
38332         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
38333         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
38334         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
38335         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
38336         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
38337         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
38338         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
38339         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
38340         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
38341         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
38342         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
38344 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
38346         * INSTALL: Regenerated.
38348         * po/libc.pot: Regenerated.
38350 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
38351             Sandra Loosemore  <sandra@codesourcery.com>
38352             Andrew Jenner  <andrew@codesourcery.com>
38353             Joseph Myers  <joseph@codesourcery.com>
38354             Nathan Sidwell  <nathan@codesourcery.com>
38356         * NEWS: Mention new Nios II port.
38357         * sysdeps/nios2/Implies: New file.
38358         * sysdeps/nios2/Makefile: New file.
38359         * sysdeps/nios2/Subdirs: New file.
38360         * sysdeps/nios2/Versions: New file.
38361         * sysdeps/nios2/__longjmp.S: New file.
38362         * sysdeps/nios2/abort-instr.h: New file.
38363         * sysdeps/nios2/backtrace.c: New file.
38364         * sysdeps/nios2/bits/endian.h: New file.
38365         * sysdeps/nios2/bits/fenv.h: New file.
38366         * sysdeps/nios2/bits/link.h: New file.
38367         * sysdeps/nios2/bits/setjmp.h: New file.
38368         * sysdeps/nios2/bsd-_setjmp.S: New file.
38369         * sysdeps/nios2/bsd-setjmp.S: New file.
38370         * sysdeps/nios2/configure: New generated file.
38371         * sysdeps/nios2/configure.ac: New file.
38372         * sysdeps/nios2/crti.S: New file.
38373         * sysdeps/nios2/crtn.S: New file.
38374         * sysdeps/nios2/dl-init.c: New file.
38375         * sysdeps/nios2/dl-machine.h: New file.
38376         * sysdeps/nios2/dl-sysdep.h: New file.
38377         * sysdeps/nios2/dl-tls.h: New file.
38378         * sysdeps/nios2/dl-trampoline.S: New file.
38379         * sysdeps/nios2/gccframe.h: New file.
38380         * sysdeps/nios2/gmp-mparam.h: New file.
38381         * sysdeps/nios2/jmpbuf-offsets.h: New file.
38382         * sysdeps/nios2/jmpbuf-unwind.h: New file.
38383         * sysdeps/nios2/ldsodefs.h: New file.
38384         * sysdeps/nios2/libc-tls.c: New file.
38385         * sysdeps/nios2/libm-test-ulps: New file.
38386         * sysdeps/nios2/machine-gmon.h: New file.
38387         * sysdeps/nios2/math-tests.h: New file.
38388         * sysdeps/nios2/math_private.h: New file.
38389         * sysdeps/nios2/memusage.h: New file.
38390         * sysdeps/nios2/nptl/Makefile: New file.
38391         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
38392         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
38393         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
38394         * sysdeps/nios2/nptl/pthreaddef.h: New file.
38395         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
38396         * sysdeps/nios2/nptl/tls.h: New file.
38397         * sysdeps/nios2/preconfigure: New file.
38398         * sysdeps/nios2/s_fma.c: New file.
38399         * sysdeps/nios2/s_fmaf.c: New file.
38400         * sysdeps/nios2/setjmp.S: New file.
38401         * sysdeps/nios2/sfp-machine.h: New file.
38402         * sysdeps/nios2/sotruss-lib.c: New file.
38403         * sysdeps/nios2/stackguard-macros.h: New file.
38404         * sysdeps/nios2/stackinfo.h: New file.
38405         * sysdeps/nios2/start.S: New file.
38406         * sysdeps/nios2/sysdep.h: New file.
38407         * sysdeps/nios2/tls-macros.h: New file.
38408         * sysdeps/nios2/tst-audit.h: New file.
38409         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
38410         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
38411         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
38412         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
38413         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
38414         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
38415         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
38416         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
38417         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
38418         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
38419         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
38420         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
38421         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
38422         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
38423         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
38424         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
38425         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
38426         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
38427         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
38428         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
38429         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
38430         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
38431         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
38432         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
38433         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
38434         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
38435         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
38436         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
38437         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
38438         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
38439         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
38440         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
38441         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
38442         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
38443         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
38444         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
38445         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
38446         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
38447         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
38448         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
38449         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
38450         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
38451         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
38452         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
38454 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
38456         [BZ #17844]
38457         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
38458         (getutent): Use weak_alias in non SHARED case
38459         and default_symbol_version in SHARED case.
38460         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
38461         (getutent_r, pututline): Likewise.
38462         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
38463         (getutid): Likewise.
38464         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
38465         (getutid_r): Likewise.
38466         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
38467         (getutline): Likewise.
38468         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
38469         (getutline_r): Likewise.
38470         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
38471         (updwtmp): Likewise.
38473 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
38475         [BZ #17848]
38476         * sysdeps/s390/s390-32/memcmp.S
38477         (memcmp_g5): Rename to __memcmp_g5.
38478         * sysdeps/s390/s390-32/memcpy.S
38479         (memcpy_g5): Rename to __memcpy_g5.
38480         Jump to __memcpy_mvcle instead of memcpy_mvcle.
38481         (memcpy_mvcle) Rename to __memcpy_mvcle.
38482         * sysdeps/s390/s390-32/memset.S
38483         (memset_g5): Rename to __memset_g5.
38484         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
38485         (IFUNC_RESOLVE): Prefix ifunc-resolve function
38486         and use prefixed functions.
38487         * sysdeps/s390/s390-32/multiarch/memcmp.S
38488         (memcmp_z196): Rename to __memcmp_z196.
38489         (memcmp_z10): Rename to __memcmp_z10.
38490         (memcmp): Set alias to __memcmp_g5.
38491         (bcmp): Set alias to __memcmp_g5.
38492         * sysdeps/s390/s390-32/multiarch/memcpy.S
38493         (memcpy_z196): Rename to __memcpy_z196.
38494         Jump to __memcpy_mvcle instead of memcpy_mvcle.
38495         (memcpy_z10): Rename to __memcpy_z10.
38496         Jump to __memcpy_mvcle instead of memcpy_mvcle.
38497         (memcpy): Set alias to __memcpy_g5.
38498         * sysdeps/s390/s390-32/multiarch/memset.S
38499         (memset_z196): Rename to __memset_z196.
38500         Jump to __memset_mvcle instead of memset_mvcle.
38501         (memset_z10): Rename to __memset_z10.
38502         Jump to __memset_mvcle instead of memset_mvcle.
38503         (memset_mvcle) Rename to __memset_mvcle.
38504         (memset): Set alias to __memset_g5.
38505         * sysdeps/s390/s390-64/memcmp.S
38506         (memcmp_z900): Rename to __memcmp_z900.
38507         * sysdeps/s390/s390-64/memcpy.S
38508         (memcpy_z900): Rename to __memcpy_z900.
38509         Jump to __memcpy_mvcle instead of memcpy_mvcle.
38510         (memcpy_mvcle) Rename to __memcpy_mvcle.
38511         * sysdeps/s390/s390-64/memset.S
38512         (memset_z900): Rename to __memset_z900.
38513         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
38514         (IFUNC_RESOLVE): Prefix ifunc-resolve function
38515         and use prefixed functions.
38516         * sysdeps/s390/s390-64/multiarch/memcmp.S
38517         (memcmp_z196): Rename to __memcmp_z196.
38518         (memcmp_z10): Rename to __memcmp_z10.
38519         (memcmp): Set alias to __memcmp_z900.
38520         (bcmp): Set alias to __memcmp_z900.
38521         * sysdeps/s390/s390-64/multiarch/memcpy.S
38522         (memcpy_z196): Rename to __memcpy_z196.
38523         Jump to __memcpy_mvcle instead of memcpy_mvcle.
38524         (memcpy_z10): Rename to __memcpy_z10.
38525         Jump to __memcpy_mvcle instead of memcpy_mvcle.
38526         (memcpy): Set alias to __memcpy_z900.
38527         * sysdeps/s390/s390-64/multiarch/memset.S
38528         (memset_z196): Rename to __memset_z196.
38529         Jump to __memset_mvcle instead of memset_mvcle.
38530         (memset_z10): Rename to __memset_z10.
38531         Jump to __memset_mvcle instead of memset_mvcle.
38532         (memset_mvcle) Rename to __memset_mvcle.
38533         (memset): Set alias to __memset_z900.
38535 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
38537         [BZ #17748]
38538         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
38539         __fesetenv instead of fesetenv.
38541 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
38543         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
38544         macro.
38546 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38548         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
38549         regression on LE.
38551         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
38552         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
38553         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
38554         strncmp-power8 object.
38555         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38556         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
38557         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
38558         * NEWS: Update.
38560 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
38561             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38563         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
38564         trailing byte check.
38566 2015-01-13  David S. Miller  <davem@davemloft.net>
38568         * include/signal.h (__sigreturn): Guard with __USE_MISC.
38570 2015-01-13  Roland McGrath  <roland@hack.frob.com>
38572         * login/logout.c (logout): Use memset rather than bzero.
38573         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
38574         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
38575         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
38576         (_gethtbyaddr): Likewise.
38577         * locale/programs/simple-hash.c (bcopy): Macro removed.
38579 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38581         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
38582         Add strcmp-power8 object.
38583         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38584         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
38585         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
38586         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
38587         __strcmp_power8 implementation.
38588         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
38589         * NEWS: Update.
38591         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
38592         Add strncpy-power8 and stpncpy-power8 objects.
38593         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38594         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
38595         implementations.
38596         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
38597         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
38598         __stpncpy_power8 implementation.
38599         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
38600         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
38601         __strncpy_power8 implementation.
38602         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
38603         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
38604         * NEWS: Update.
38606         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
38607         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
38608         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
38610         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
38611         strncat-power8 object.
38612         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
38613         __strcat_power8 implementation.
38614         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38615         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
38616         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
38617         optimized strcat for power8.
38619         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
38620         strcpy-power8 and stpcpy-power8 objects.
38621         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38622         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
38623         implementations.
38624         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
38625         multiarch stpcpy implementation for POWER8.
38626         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
38627         multiarch strcpy implementation for POWER8.
38628         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
38629         __strcpy_power8 function.
38630         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
38631         stpcpy for POWER8.
38632         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
38633         strcpy for POWER8.
38634         * NEWS: Update.
38636 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
38638         [BZ #16009]
38639         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
38640         weights and rules. Use do_xfrm_cached if data fits in cache,
38641         do_xfrm otherwise.  Moved former main loop to...
38642         * (do_xfrm_cached): New function.
38643         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
38644         find_idx, find_position and stack_push.
38645         * (find_idx): New function.
38646         * (find_position): Likewise.
38647         * localedata/sort-test.sh: Added test run for do_xfrm.
38648         * localedata/xfrm-test.c (main): Added command line option
38649         -nocache to run the test with strings that are too large for
38650         the STRXFRM cache.
38652 2015-01-13  Torvald Riegel  <triegel@redhat.com>
38654         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
38655         variable to lll_futex_wake call, not the value itself.
38657 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
38659         [BZ #17803]
38660         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
38661         twom64.  Adjust value to 0x1p-64L.
38662         (__scalblnl): Only return standard underflowing result for K <=
38663         -64 not K <= -63; adjust exponent for underflowing result by 64
38664         not 63.
38665         * math/libm-test.inc (scalbn_test_data): Add more tests.
38666         (scalbln_test_data): Likewise.
38668         [BZ #17834]
38669         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
38670         0x1p63L.
38671         (__scalblnl): Get new exponent of adjusted subnormal value from ES
38672         not HX.
38673         * math/libm-test.inc (scalbn_test_data): Add more tests.
38674         (scalbln_test_data): Likewise.
38676 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38677             Stefani Seibold  <stefani@seibold.net>
38679         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
38680         (sysdep_routines): Add dl-vdso here, ...
38681         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
38682         (sysdep_routines): ... not here.
38683         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
38684         fallback when vDSO is not presented.
38685         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
38686         Define with libc_hidden_proto/libc_hidden_data_def definitions.
38687         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
38688         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
38689         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
38690         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
38691         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
38692         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
38693         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
38694         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
38695         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
38696         fallback configurable symbol when vDSO is not available.
38697         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
38698         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
38699         be able to redefine fallback symbol when vDSO is not available.
38700         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
38701         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
38703 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38705         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
38706         (TLS_INIT_TP): Add tm_capable initialization.
38707         (TLS_DEFINE_INIT_TP): Likewise.
38708         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
38709         TCB.
38710         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
38711         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
38712         calculation.
38713         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
38714         transactoion is lock elision is built and TCB tm_capable is set.
38715         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
38716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
38717         (INTERNAL_SYSCALL_NCS): Likewise.
38718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
38719         (INTERNAL_SYSCALL_NCS): Likewise.
38720         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
38722         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
38723         for powerpc.
38724         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
38725         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
38726         and remove it for 32 bits case.
38727         [pthread_rwlock_t] (__rwelision): New field for lock elision.
38728         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
38729         initialization.
38730         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
38731         Disable lock elision with rdlocks if elision is not available.
38733         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
38734         (sysdep_routines): Add lock elision objects.
38735         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
38736         [pthread_mutex_t] (__spins): Rework to add lock elision field.
38737         [pthread_mutex_t] (__elision): Add field.
38738         [__PTHREAD_SPINS]: Adjust to init lock elision field.
38739         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
38740         elision definitions for powerpc.
38741         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
38742         implementation of lock elision for powerpc.
38743         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
38744         implementation of timed lock elision for powerpc.
38745         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
38746         implementation of trylock with lock elision for powerpc.
38747         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
38748         implementaion of unlock for lock elision for powerpc.
38749         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
38750         automatic enable lock elision for mutexes.
38751         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
38752         transaction execution definitions for powerpc.
38753         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
38754         definitions.
38755         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
38756         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
38757         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
38758         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
38759         * NEWS: Update.
38761 2015-01-09  Roland McGrath  <roland@hack.frob.com>
38763         * sysdeps/posix/shm-directory.c: Use <> rather than ""
38764         for #include of <shm-directory.h>.
38766 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
38768         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
38769         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
38771 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
38773         [BZ #17791]
38774         * NEWS: Mention bug fix.
38775         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
38776         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
38777         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
38779 2015-01-09  Torvald Riegel <triegel@redhat.com>
38781         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
38783 2015-01-09  Torvald Riegel <triegel@redhat.com>
38785         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
38787 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
38789         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
38790         pointer and cast to uintptr_t.
38792 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
38794         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
38795         removed.
38796         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
38798 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
38800         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
38801         of 0.
38803 2015-01-08  Roland McGrath  <roland@hack.frob.com>
38805         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
38806         <nptl/pthreadP.h> instead.
38807         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
38809         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
38810         already defined.
38811         [__SIGRTMIN] (init): Function removed.
38812         [__SIGRTMIN] (initialized): Variable removed.
38813         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
38814         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
38815         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
38816         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
38817         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
38818         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
38819         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
38820         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
38821         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
38822         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
38823         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
38824         * sysdeps/nptl/allocrtsig.c: New file.
38825         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
38826         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
38827         * sysdeps/generic/testrtsig.h: File removed.
38829         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
38830         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
38832         * nptl/nptl-init.c (pthread_functions): Conditionalize
38833         .ptr__nptl_setxid initialization on [SIGSETXID].
38835         * sysdeps/nptl/sys/procfs.h: New file.
38836         * nptl_db/Makefile (headers): Add it.
38837         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
38839         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
38840         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
38841         * nptl/pthread_attr_setaffinity.c: Include it.
38842         * nptl/pthread_setattr_default_np.c: Likewise.
38843         * nptl/check-cpuset.h: New file.
38845 2015-01-08  Richard Henderson  <rth@redhat.com>
38847         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
38848         (CFLAGS-tst-execstack-prog.c): Likewise.
38849         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
38851 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
38852             Sandra Loosemore  <sandra@codesourcery.com>
38853             Andrew Jenner  <andrew@codesourcery.com>
38854             Joseph Myers  <joseph@codesourcery.com>
38855             Nathan Sidwell  <nathan@codesourcery.com>
38857         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
38858         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
38859         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
38860         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
38861         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
38862         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
38863         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
38864         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
38865         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
38866         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
38867         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
38868         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
38869         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
38870         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
38871         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
38872         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
38873         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
38875 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38877         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
38878         timespec struct member in syscall macro.
38879         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
38880         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
38881         first timeval struct member in syscall macro.
38882         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
38884 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
38886         [BZ #17748]
38887         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
38888         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
38889         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
38890         __feupdateenv and define as weak alias of __feupdateenv.  Use
38891         libm_hidden_weak.
38892         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
38893         libm_hidden_def.
38894         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
38895         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
38896         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
38897         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
38898         libm_hidden_def.
38899         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
38900         __feupdateenv and define as weak alias of __feupdateenv.  Use
38901         libm_hidden_weak.
38902         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
38903         libm_hidden_def.
38904         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
38905         __feupdateenv and define as weak alias of __feupdateenv.  Use
38906         libm_hidden_weak.
38907         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
38908         libm_hidden_def.
38909         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
38910         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
38911         (__feupdateenv): Likewise.
38912         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
38913         __feupdateenv and define as weak alias of __feupdateenv.  Use
38914         libm_hidden_weak.
38915         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
38916         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
38917         libm_hidden_def.
38918         * sysdeps/tile/math_private.h (__feupdateenv): New inline
38919         function.
38920         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
38921         libm_hidden_def.
38922         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
38923         __feupdateenv instead of feupdateenv.
38924         (default_libc_feupdateenv_test): Likewise.
38925         (libc_feresetround_ctx): Likewise.
38927 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38929         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
38930         prototype.
38932 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
38934         * posix/regcomp.c (parse_bracket_exp): Initialize type to
38935         COLL_SYM in a couple of places to avoid uninitialized variable
38936         wanings on tilegx gcc 4.8.2.
38938 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
38940         * sysdeps/aarch64/strcpy.S: New file.
38941         * sysdeps/aarch64/stpcpy.S: New file.
38942         * NEWS: Updated.
38944 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
38946         * sysdeps/aarch64/strrchr.S: New file.
38947         * NEWS: Updated.
38949 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
38951         [BZ #17658]
38952         * stdlib/setenv.c: Fix memory leak when setting large,
38953         duplicate string.
38955 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
38957         [BZ #17273]
38958         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
38959         and tabs from buffer before parsing fstab entry.
38960         * misc/tst-mntent.c (main): Add test for mount entry with
38961         trailing spaces and tabs.
38963 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
38965         [BZ #17748]
38966         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
38967         * math/fesetround.c (fesetround): Rename to __fesetround and
38968         define as weak alias of __fesetround.  Use libm_hidden_weak.
38969         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
38970         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
38971         * sysdeps/arm/fesetround.c (fesetround): Likewise.
38972         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
38973         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
38974         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
38975         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
38976         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
38977         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
38978         __fesetround_inline.
38979         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
38980         __fesetround_inline instead of __fesetround.
38981         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
38982         __fesetround and define as weak alias of __fesetround.  Use
38983         libm_hidden_weak.  Call __fesetround_inline instead of
38984         __fesetround.
38985         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
38986         __fesetround and define as weak alias of __fesetround.  Use
38987         libm_hidden_weak.
38988         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
38989         Likewise.
38990         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
38991         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
38992         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
38993         * sysdeps/tile/math_private.h (__fesetround): New inline function.
38994         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
38995         __fesetround and define as weak alias of __fesetround.  Use
38996         libm_hidden_weak.
38997         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
38998         __fesetround instead of fesetround.
38999         (default_libc_feholdexcept_setround): Likewise.
39000         (libc_feholdsetround_ctx): Likewise.
39001         (libc_feholdsetround_noex_ctx): Likewise.
39003         [BZ #17748]
39004         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
39005         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
39006         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
39007         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
39008         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
39009         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
39010         define as weak alias of __fesetenv.  Use libm_hidden_weak.
39011         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
39012         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
39013         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
39014         define as weak alias of __fesetenv.  Use libm_hidden_weak.
39015         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
39016         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
39017         define as weak alias of __fesetenv.  Use libm_hidden_weak.
39018         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
39019         libm_hidden_def.
39020         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
39021         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
39022         Likewise.
39023         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
39024         define as weak alias of __fesetenv.  Use libm_hidden_weak.
39025         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
39026         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
39027         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
39028         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
39029         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
39030         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
39031         __fesetenv instead of fesetenv.
39032         (libc_feresetround_noex_ctx): Likewise.
39033         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
39034         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
39035         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
39036         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
39037         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
39038         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
39039         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
39040         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
39041         (__feupdateenv): Likewise.
39042         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
39043         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
39044         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
39045         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
39047 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
39049         [BZ #17806]
39050         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
39051         addresses have been freed.
39053 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
39055         * resolv/res_init.c (__res_vinit): Improve comments about nserv
39056         and nservall.
39058 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
39060         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
39061         Clean up check_pf allocation pattern. addresses
39063 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39065         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
39066         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
39067         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
39068         * nptl/pthread_exit.c (__pthread_exit): Likewise.
39069         * nptl/pthread_join.c (pthread_join): Likewise.
39070         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
39071         * sysdeps/posix/waitid.c (__waitid): Likewise.
39072         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
39073         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
39074         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
39075         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
39076         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
39077         Likewise.
39078         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
39079         (__libc_pread64): Likewise.
39080         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
39081         (__libc_pwrite): Likewise.
39082         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
39083         (__libc_pwrite64): Likewsie.
39084         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
39085         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
39086         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
39087         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
39088         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
39089         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
39090         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
39091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
39092         Likewise.
39093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
39094         (__libc_pread64): Likewise.
39095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
39096         Likewise.
39097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
39098         (__libc_pwrite64): Likewise.
39099         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
39100         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
39101         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
39102         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
39103         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
39104         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
39105         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
39106         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
39107         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
39108         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
39109         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
39110         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
39111         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
39112         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
39113         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
39114         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
39115         Likewise.
39117 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
39119         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
39120         (CFLAGS-test-double.c): Likewise.
39121         (CFLAGS-test-ldouble.c): Likewise.
39122         (CPPFLAGS-test-ifloat.c): Likewise.
39123         (CPPFLAGS-test-idouble.c): Likewise.
39124         (CPPFLAGS-test-ildoubl.c): Likewise.
39125         (CFLAGS-test-test-fenv.c): Remove variable.
39126         (CFLAGS-test-misc.c): Likewise.
39128 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
39130         [BZ #17797]
39131         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
39132         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
39133         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
39134         CLOCKS_PER_SEC == 1000000.
39135         * time/clocktest.c (main): Replace %ld with %jd and cast to
39136         intmax_t.
39138 2015-01-05  Roland McGrath  <roland@hack.frob.com>
39140         * sysdeps/generic/unwind-resume.h: New file.
39141         * sysdeps/gnu/unwind-resume.c: Include it.
39142         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
39143         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
39144         argument list.
39145         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
39146         global rather than static.
39147         (_Unwind_Resume): Update user.
39148         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
39149         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
39150         rather than static.  Add __attribute__ ((cold)).
39151         (_Unwind_Resume, __gcc_personality_v0): Update callers.
39152         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
39153         * sysdeps/arm/arm-unwind-resume.S: New file.
39154         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
39155         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
39156         * sysdeps/arm/Makefile [$(subdir) = csu]
39157         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
39158         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
39159         Add rt-arm-unwind-resume.
39160         [$(subdir) = nptl]
39161         (libpthread-sysdep_routines, libpthread-shared-only-routines):
39162         Add pt-arm-unwind-resume.
39163         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
39164         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
39166 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
39168         [BZ #17748]
39169         * include/fenv.h (__feholdexcept): Declare.  Use
39170         libm_hidden_proto.
39171         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
39172         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
39173         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
39174         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
39175         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
39176         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
39177         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
39178         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
39179         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
39180         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
39181         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
39182         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
39183         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
39184         (feholdexcept): Likewise.
39185         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
39186         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
39187         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
39188         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
39189         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
39190         __feholdexcept instead of feholdexcept.
39191         (default_libc_feholdexcept_setround): Likewise.
39193 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
39195         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
39196         to avoid using stl/str to align destination.
39198 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
39200         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
39202 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
39204         [BZ #17796]
39205         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
39206         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
39207         Define as weak alias not strong alias.
39209 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
39211         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
39212         bltzal with addiupc.
39213         (RTLD_START): Ditto.
39215 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
39217         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
39218         for __vdso_* functions in declarations.
39219         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
39220         definitions.
39221         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
39222         INTERNAL_VSYSCALL): Use struct return types to check for error.
39224         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
39225         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
39226         function with cast from llround().
39227         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
39228         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
39229         Define.
39231 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
39233         [BZ #17793]
39234         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
39235         Define as weak alias not strong alias.
39237         [BZ #17635]
39238         * ctype/ctype-c99.c: New file.  isblank implementation moved from
39239         ...
39240         * ctype/ctype-extn.c: ... here.
39241         (__isblank_l): Move to ...
39242         * ctype/ctype-c99_l.c: ... here.  New file.
39243         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
39244         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
39245         Remove variable.
39246         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
39247         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
39248         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
39249         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
39250         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
39252         [BZ #17777]
39253         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
39254         (posix_fadvise64): Define as weak alias not strong alias.
39255         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
39256         (posix_fallocate64): Likewise.
39257         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
39258         Remove variable.
39259         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
39260         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
39261         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
39262         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
39263         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
39265 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
39267         [BZ #16191]
39268         * NEWS: Mention bug fix.
39269         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
39270         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
39271         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
39272         (HOST_STACK_END_ADDR): Likewise.
39274 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
39276         [BZ #17748]
39277         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
39278         * math/fegetround.c (fegetround): Rename to __fegetround and
39279         define as weak alias of __fegetround.  Use libm_hidden_weak.
39280         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
39281         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
39282         * sysdeps/arm/fegetround.c (fegetround): Likewise.
39283         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
39284         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
39285         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
39286         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
39287         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
39288         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
39289         Undefine after rather than before function definition; use
39290         parentheses around function name in definition.
39291         (__fegetround): Also undefine macro after function definition.
39292         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
39293         __fegetround and define as weak alias of __fegetround.  Use
39294         libm_hidden_weak.  Do not undefine as macro.
39295         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
39296         Likewise.
39297         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
39298         __fegetround and define as weak alias of __fegetround.  Use
39299         libm_hidden_weak.
39300         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
39301         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
39302         * sysdeps/tile/math_private.h (__fegetround): New inline function.
39303         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
39304         __fegetround and define as weak alias of __fegetround.  Use
39305         libm_hidden_weak.
39306         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
39307         __fegetround instead of fegetround.
39309         [BZ #17782]
39310         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
39311         Condition macro definition on [__USE_MISC].
39313         [BZ #17781]
39314         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
39315         (struct sigaction): Change type of sa_flags field to int.
39317         [BZ #17780]
39318         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
39319         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
39320         __glibc_reserved0.
39322         * nptl/version.c (banner): Use single year in copyright notice.
39324         * NEWS: Update copyright dates.
39325         * catgets/gencat.c (print_version): Likewise.
39326         * csu/version.c (banner): Likewise.
39327         * debug/catchsegv.sh: Likewise.
39328         * debug/pcprofiledump.c (print_version): Likewise.
39329         * debug/xtrace.sh (do_version): Likewise.
39330         * elf/ldconfig.c (print_version): Likewise.
39331         * elf/ldd.bash.in: Likewise.
39332         * elf/pldd.c (print_version): Likewise.
39333         * elf/sotruss.sh: Likewise.
39334         * elf/sprof.c (print_version): Likewise.
39335         * iconv/iconv_prog.c (print_version): Likewise.
39336         * iconv/iconvconfig.c (print_version): Likewise.
39337         * locale/programs/locale.c (print_version): Likewise.
39338         * locale/programs/localedef.c (print_version): Likewise.
39339         * login/programs/pt_chown.c (print_version): Likewise.
39340         * malloc/memusage.sh (do_version): Likewise.
39341         * malloc/memusagestat.c (print_version): Likewise.
39342         * malloc/mtrace.pl: Likewise.
39343         * manual/libc.texinfo: Likewise.
39344         * nptl/version.c (banner): Likewise.
39345         * nscd/nscd.c (print_version): Likewise.
39346         * nss/getent.c (print_version): Likewise.
39347         * nss/makedb.c (print_version): Likewise.
39348         * posix/getconf.c (main): Likewise.
39349         * scripts/test-installation.pl: Likewise.
39350         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
39352 2015-01-02  Will Newton  <will.newton@linaro.org>
39354         * sysdeps/arm/armv7/configure: Removed.
39355         * sysdeps/arm/armv7/configure.ac: Likewise.
39357 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
39359         * All files with FSF copyright notices: Update copyright dates
39360         using scripts/update-copyrights.
39361         * intl/plural.c: Regenerated.
39362         * locale/programs/charmap-kw.h: Likewise.
39363         * locale/programs/locfile-kw.h: Likewise.
39365 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
39367         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
39369 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
39371         [BZ #17748]
39372         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
39373         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
39374         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
39375         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
39376         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
39377         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
39378         define as weak alias of __fegetenv.  Use libm_hidden_weak.
39379         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
39380         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
39381         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
39382         define as weak alias of __fegetenv.  Use libm_hidden_weak.
39383         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
39384         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
39385         define as weak alias of __fegetenv.  Use libm_hidden_weak.
39386         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
39387         libm_hidden_def.
39388         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
39389         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
39390         Likewise.
39391         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
39392         define as weak alias of __fegetenv.  Use libm_hidden_weak.
39393         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
39394         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
39395         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
39396         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
39397         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
39398         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
39399         __fegetenv instead of fegetenv.
39400         (libc_feholdsetround_noex_ctx): Likewise.
39402 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
39404         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
39405         (Elf_MIPS_ABIFlags_v0): New structure.
39406         (EF_MIPS_FP64): Define.
39407         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
39408         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
39409         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
39410         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
39411         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
39412         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
39413         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
39414         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
39415         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
39416         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
39417         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
39418         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
39419         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
39420         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
39421         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
39422         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
39423         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
39424         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
39425         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
39426         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
39427         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
39428         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
39429         field.
39430         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
39431         EF_MIPS_FP64.
39432         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
39433         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
39434         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
39435         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
39436         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
39437         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
39438         * sysdeps/mips/tst-abi-interlink.c: Likewise.
39439         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
39440         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
39441         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
39442         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
39443         record the current FP ABI extension.
39444         (mips-mode-switch): Define to show if kernel headers support mode
39445         switching.
39446         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
39447         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
39448         supported SYSV ABI version to 3.
39449         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
39450         feature.
39452 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
39453             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39455         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
39456         path.
39457         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
39459 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
39461         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
39462         __fegetround and redefine to call __fegetround.  Remove condition
39463         on [!__NO_MATH_INLINES].
39464         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
39465         function.
39466         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
39467         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
39468         Remove macro.
39469         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
39470         instead of <fenv_libc.h>.
39471         (__llrintl): Call fegetround instead of __fegetround.
39472         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
39473         instead of <fenv_libc.h>.
39474         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
39475         (__lrintl): Call fegetround instead of __fegetround.
39476         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
39477         instead of <fenv_libc.h>.
39478         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
39479         (__rintl): Call fegetround instead of __fegetround.
39481 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
39483         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
39484         arrays.
39486 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
39488         [BZ #17775]
39489         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
39490         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
39491         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
39493 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
39495         * sysdeps/i386/tls-macros.h: Include <features.h>.
39496         (TLS_LE): Use non-PIC version for GCC >= 5.0.
39497         (TLS_IE): Likewise.
39498         (TLS_LD): Likewise.
39499         (TLS_GD): Likewise.
39500         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
39501         define for GCC >= 5.0.
39503 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
39505         * math/test-fenv.c (test_single_exception, set_single_exc,
39506         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
39507         feexcp_mask_test, feenable_test, fe_single_test): Add
39508         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
39509         case where they are not used.
39510         * math/libm-test.inc: Likewise.
39511         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
39512         unused in the absence of FP rounding/exception support.
39513         * stdio-common/tst-printf-round.c: Likewise.
39514         * stdlib/tst-strtod-round.c: Likewise.
39515         * stdlib/tst-strtod-underflow.c: Likewise.
39517 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
39519         [BZ #17723]
39520         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
39521         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
39522         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
39523         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
39524         libm_hidden_weak.
39525         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
39526         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
39527         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
39528         libm_hidden_def.
39529         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
39530         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
39531         libm_hidden_weak.
39532         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
39533         Likewise.
39534         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
39535         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
39536         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
39537         libm_hidden_weak.
39538         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
39539         libm_hidden_def.
39540         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
39541         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
39542         (__feraiseexcept): Likewise.
39543         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
39544         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
39545         libm_hidden_weak.
39546         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
39547         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
39548         libm_hidden_def.
39549         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
39550         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
39551         Use libm_hidden_def.
39552         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
39553         libm_hidden_def.
39554         (feraiseexcept): Define as weak not strong alias.  Use
39555         libm_hidden_weak.
39556         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
39557         New inline function.  Factored out of ...
39558         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
39559         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
39560         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
39561         feraiseexcept.
39562         * math/w_acos.c (__acos): Likewise.
39563         * math/w_asin.c (__asin): Likewise.
39564         * math/w_ilogb.c (__ilogb): Likewise.
39565         * math/w_j0.c (y0): Likewise.
39566         * math/w_j1.c (y1): Likewise.
39567         * math/w_jn.c (yn): Likewise.
39568         * math/w_log.c (__log): Likewise.
39569         * math/w_log10.c (__log10): Likewise.
39570         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
39571         * sysdeps/aarch64/fpu/math_private.h
39572         (libc_feupdateenv_test_aarch64): Likewise.
39573         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
39574         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
39575         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
39576         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
39577         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
39578         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
39579         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
39580         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
39581         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
39582         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
39584 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
39586         [BZ #17732]
39587         * io/test-utime.c (main): Replace %ld with %jd and cast to
39588         intmax_t.
39589         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
39590         * nptl/tst-mutex5.c: Include <stdint.h>.
39591         (do_test): Replace %ld with %jd and cast to intmax_t.
39592         * posix/tst-regex.c (run_test): Likewise.
39593         (run_test_backwards): Likewise.
39594         * rt/tst-clock.c: Include <stdint.h>.
39595         (clock_test): Replace %ld with %jd and cast to intmax_t.
39596         * rt/tst-cpuclock1.c: Include <stdint.h>.
39597         (do_test): Replace %lu with %ju and cast to uintmax_t.
39598         * rt/tst-cpuclock2.c: Include <stdint.h>.
39599         (do_test): Replace %lu with %ju and cast to uintmax_t.
39600         * rt/tst-mqueue1.c: Include <stdint.h>.
39601         (check_attrs): Replace %ld with %jd and cast to intmax_t.
39602         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
39603         intmax_t.
39604         * rt/tst-mqueue4.c (do_test): Likewise.
39605         * rt/tst-timer4.c: Include <stdint.h>.
39606         (check_ts): Replace %ld with %jd and cast to intmax_t.
39607         (do_test): Likewise.
39608         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
39609         and cast to intmax_t.
39610         * sysdeps/pthread/tst-timer.c (main): Likewise.
39611         * time/clocktest.c (main): Likewise.
39612         * time/tst-posixtz.c (do_test): Likewise.
39613         * timezone/tst-timezone.c (main): Likewise.
39615 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
39616             H.J. Lu  <hongjiu.lu@intel.com>
39618         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
39619         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
39620         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
39621         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
39622         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
39623         version if bit_Fast_Unaligned_Load is set.
39624         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
39625         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
39626         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
39627         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
39628         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
39629         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
39630         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39631         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
39632         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
39633         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
39634         to 4.
39635         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
39636         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
39637         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
39638         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
39640 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
39642         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
39643         instead of #if to avoid a Wundef warning.
39644         * stdlib/tst-limits.c (do_test): Likewise.
39646         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
39647         parallel other exception macros.
39648         (fegetenv): Convert from macro to extern inline so that it applies
39649         retroactively to inline functions already seen by the compiler.
39650         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
39652         * posix/Makefile (before-compile): Use $(objpfx) for
39653         posix-conf-vars-def.h.
39655 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
39657         * posix/getconf.c (main): Use size_t for type of I.
39658         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
39659         NSPEC.
39661         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
39662         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
39663         * posix/posix-envs.def: Likewise.
39664         * sysdeps/posix/sysconf.c: Likewise.
39665         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
39666         (specs): Remove array.
39667         * scripts/gen-posix-conf-vars.awk: Support generation of specs
39668         array.
39670         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
39671         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
39672         (__sysconf): Use CONF_IS_* macros.
39674         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
39675         ($(objpfx)posix-conf-vars-def.h): New target.
39676         * posix/posix-conf-vars.list: New file.
39677         * posix/posix-conf-vars.h: New file.
39678         * posix/confstr.c: Include posix-conf-vars.h.
39679         (confstr): Use CONF_IS_* macros.
39680         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
39681         CONF_IS_* macros.
39682         * scripts/gen-posix-conf-vars.awk: New file.
39684 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
39686         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
39687         fegetround): Add no-op macros to avoid linknamespace issues.
39689         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
39690         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
39692         * sysdeps/unix/sysv/linux/tile/sysdep.h
39693         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
39694         assembly-specific section to avoid a redefinition warning.
39696         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
39697         long before casting to pointer to avoid a cast warning.
39699 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
39701         * sysdeps/tile/tilegx/Implies: New file.
39703 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
39705         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
39707 2014-12-23  Florian Weimer  <fweimer@redhat.com>
39709         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
39711 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
39713         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
39714         not define.
39715         * sysdeps/unix/sysv/linux/utimes.c: Do not include
39716         <kernel-features.h>.
39717         (__utimes) [__NR_utimes]: Make code unconditional.
39718         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
39719         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
39720         (__ASSUME_UTIMES): Do not undefine.
39721         * sysdeps/unix/sysv/linux/tile/kernel-features.h
39722         (__ASSUME_UTIMES): Likewise.
39723         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
39724         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
39725         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
39726         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
39728 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
39730         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
39732 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
39734         [BZ #17747]
39735         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
39736         alias to weak alias for j0l, y0l.
39737         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
39738         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
39740         [BZ #17746]
39741         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
39742         conversion.
39744 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
39746         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
39747         to zero if not already defined.
39749 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
39751         [BZ #17724]
39752         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
39753         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
39754         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
39755         (char *) casts added.
39756         * sysdeps/ieee754/k_standardf.c: New file.
39757         * sysdeps/ieee754/k_standardl.c: Likewise.
39758         * math/Makefile (libm-support): Remove k_standard.
39759         (libm-calls): Add k_standard.
39761 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
39763         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
39764         Optimize to avoid an unnecessary FPCR read.
39766 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
39768         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
39769         Optimize to reduce FPCR/FPSR accesses.
39771 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
39773         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
39774         Call libc_fetestexcept_aarch64.
39776 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
39778         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
39779         Call libc_fesetround_aarch64.
39781 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
39783         [BZ #17733]
39784         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
39785         (__bind): Do not define as weak alias.
39786         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
39787         define.
39788         (__getsockname): Do not define as weak alias.
39790 2014-12-22  Will Newton  <will.newton@linaro.org>
39792         * manual/install.texi: Document that we require bison 2.7
39793         or above.
39794         * INSTALL: Regenerate.
39795         * configure.ac: Use AC_CHECK_PROG_VER instead of
39796         AC_PATH_PROG when checking for bison and check for
39797         version 2.7 or above.
39798         * configure: Regenerate.
39800 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
39802         [BZ #17745]
39803         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
39804         * sysdeps/tile/ffsll.c (ffsll): To here.
39806         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
39808 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
39810         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
39811         if not defined.
39812         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
39813         definition.
39814         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
39815         hidden ___tls_get_addr.
39816         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
39817         hidden __tls_get_addr.
39818         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
39819         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
39820         Likewise.
39822 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
39824         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
39825         _dl_init call.
39827 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
39829         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
39830         from "call _dl_init@PLT".
39831         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
39833 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
39835         * manual/search.texi: (Array Sort Function): Clarify stable sorting
39836         guarantees.
39838 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
39840         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
39842 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
39844         [BZ #17744]
39845         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
39846         strnlen.
39848 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
39850         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
39851         of multu on MIPSr6.
39852         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
39853         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
39854         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
39855         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
39856         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
39858 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
39860         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
39861         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
39862         (PTR_SUBU): Use subu for mips32r6/mips64r6.
39863         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
39864         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
39865         mips32r6/mips64r6.
39866         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
39868 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
39870         * string/strncat.c (STRNCAT): Simplify implementation.
39872 2014-12-19  David S. Miller  <davem@davemloft.net>
39874         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
39875         access the quad as both a long double and as a series of 4 words.
39877         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
39878         link_map->l_info array access.
39880 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
39882         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
39884         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
39885         * math/atest-exp2.c (TIMEOUT): Likewise.
39886         * math/atest-sincos.c (TIMEOUT): Likewise.
39888 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
39890         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
39891         -Wno-error with -fno-builtin-lround.
39893 2014-12-19  Torvald Riegel  <triegel@redhat.com>
39895         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
39896         Contains futex constants and functions moved over from ...
39897         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
39898         <lowlevellock-futex.h>.
39899         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
39900         (lll_timedwait_tid): Add comments and parentheses around macro
39901         arguments.
39903 2014-12-19  Torvald Riegel  <triegel@redhat.com>
39905         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
39906         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
39907         (__lll_private_flag): Remove.
39908         (lll_futex_wait): Likewise.
39909         (lll_futex_timed_wait): Likewise.
39910         (lll_futex_wake): Likewise.
39911         (lll_futex_requeue): Likewise.
39912         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
39913         (__lll_timedwait_tid): Spell out argument names.
39914         (lll_timedwait_tid): Add comments and parentheses around macro
39915         arguments.
39916         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
39917         LLL_SHARED and LLL_PRIVATE usable from assembly code.
39919 2014-12-19  Torvald Riegel  <triegel@redhat.com>
39921         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
39922         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
39923         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
39924         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
39925         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
39926         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
39927         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
39928         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
39929         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
39930         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
39931         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
39932         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
39933         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
39934         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
39935         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
39936         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
39937         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
39938         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
39939         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
39941 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
39943         * sysdeps/x86_64/x32/Makefile: New file.
39945 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
39947         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
39948         1L with (mp_limb_t) 1.
39950 2014-12-17  Roland McGrath  <roland@hack.frob.com>
39952         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
39953         * nptl/libc_pthread_init.c: ... here.
39954         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
39955         * nptl/register-atfork.c: ... here.
39957         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
39958         Use pthread_sigmask rather than INTERNAL_SYSCALL.
39959         Use assert_perror to check its return value.
39960         (__gai_create_helper_thread): Likewise.
39962         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
39964         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
39966 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
39968         [BZ #17725]
39969         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
39970         __profil_counter.
39971         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
39972         Likewise.
39973         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
39974         Likewise.
39975         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
39976         Likewise.
39977         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
39978         (profil_counter): Likewise.
39979         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
39980         (profil_counter): Likewise.
39981         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
39982         Likewise.
39983         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
39984         Likewise.
39985         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
39986         (profil_counter): Likewise.
39987         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
39988         Likewise.
39989         [!__profil_counter] (profil_counter): Define as weak alias of
39990         __profil_counter.
39991         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
39992         (profil_counter): Rename to __profil_counter.
39993         [!__profil_counter] (profil_counter): Define as weak alias of
39994         __profil_counter.
39995         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
39996         (profil_counter): Rename to __profil_counter.
39997         [!__profil_counter] (profil_counter): Define as weak alias of
39998         __profil_counter.
39999         * sysdeps/posix/profil.c: Update comment referring to
40000         profil_counter.
40001         (__profil): Use __profil_counter instead of profil_counter.
40002         * sysdeps/posix/sprofil.c (profil_counter): Rename to
40003         __profil_counter.  Use __profil_counter_ushort and
40004         __profil_counter_uint in definitions.
40005         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
40006         instead of profil_counter_uint and profil_counter_ushort.
40008         [BZ #17722]
40009         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
40010         define as weak alias of __inet_makeaddr.
40011         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
40012         as weak alias of __inet_addr.
40013         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
40014         as weak alias of __inet_pton.  Use libc_hidden_weak.
40015         * include/arpa/inet.h (__inet_pton): Declare.  Use
40016         libc_hidden_proto.
40017         (inet_makeaddr): Don't use libc_hidden_proto.
40018         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
40019         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
40020         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
40021         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
40022         Remove variable.
40023         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
40024         (test-xfail-POSIX/time.h/linknamespace): Likewise.
40026 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
40028         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
40030 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
40032         * stdio-common/bug-vfprintf-nargs.c (do_test):
40033         Cast value to intptr_t to avoid format warning
40034         for usage with PRIdPTR printing macro.
40036 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
40038         * libio/tst-widetext.c (do_test):
40039         Use format type %td instead of %Zd for ptrdiff_t
40040         in order to avoid format warning.
40042 2014-12-17  Andreas Schwab  <schwab@suse.de>
40044         * nscd/mem.c (gc): Add size_t cast to match printf format.
40046 2014-12-16  Roland McGrath  <roland@hack.frob.com>
40048         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
40049         (init): Apply PTR_MANGLE to pointers before storing them.
40050         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
40051         before using them.
40053 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
40055         [BZ #17719]
40056         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
40057         define as weak alias of __memrchr.
40058         (__memrchr): Do not define as strong alias of memrchr.
40059         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
40060         Remove variable.
40061         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
40062         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
40063         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
40065         [BZ #17717]
40066         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
40067         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
40068         (if_indextoname): Rename to __if_indextoname and define as weak
40069         alias of __if_indextoname.  Use libc_hidden_weak.
40070         (if_freenameindex): Rename to __if_freenameindex and define as
40071         weak alias of __if_freenameindex.
40072         (if_nameindex): Rename to __if_nameindex and define as weak alias
40073         of __if_nameindex.
40074         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
40075         __if_nametoindex and define as weak alias of __if_nametoindex.
40076         Use libc_hidden_weak.
40077         (if_freenameindex): Rename to __if_freenameindex and define as
40078         weak alias of __if_freenameindex.
40079         (if_nameindex): Rename to __if_nameindex and define as weak alias
40080         of __if_nameindex.
40081         (if_indextoname): Rename to __if_indextoname and define as weak
40082         alias of __if_indextoname.  Use libc_hidden_weak.
40083         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
40084         __if_nametoindex and define as weak alias of __if_nametoindex.
40085         Use libc_hidden_weak.
40086         (if_freenameindex): Rename to __if_freenameindex and define as
40087         weak alias of __if_freenameindex.  Use libc_hidden_weak.
40088         (if_nameindex_netlink): Use __if_freenameindex instead of
40089         if_freenameindex.
40090         (if_nameindex): Rename to __if_nameindex and define as weak alias
40091         of __if_nameindex.  Use libc_hidden_weak.
40092         (if_indextoname): Rename to __if_indextoname and define as weak
40093         alias of __if_indextoname.  Use libc_hidden_weak.
40094         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
40095         libc_hidden_proto.
40096         [!_ISOMAC] (__if_freenameindex): Likewise.
40097         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
40098         if_nametoindex.
40099         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
40100         variable.
40101         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
40102         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
40103         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
40104         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
40105         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
40106         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
40107         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
40109         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
40110         Remove variable.
40111         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
40112         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
40114 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
40116         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
40117         subscript above bounds'
40119         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
40120         bounds.
40122 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
40124         * libio/tst-fopenloc.c: Use test-skeleton.c.
40126         * stdlib/tst-bsearch.c: Use test-skeleton.c.
40127         (entry): Rename to ITEM.
40128         (do_test, comp): Adjust.
40130         * stdio-common/tst-fseek.c: Use test-skeleton.c.
40132 2014-12-16  Torvald Riegel  <triegel@redhat.com>
40134         * string/tester.c: Include <libc-internal.h>.
40135         (test_memset): Ignore -Wmemset-transposed-args.
40137 2014-12-16  Torvald Riegel  <triegel@redhat.com>
40139         * misc/tst-mntent2.c (do_test): Fix warning.
40141 2014-12-16  Torvald Riegel  <triegel@redhat.com>
40143         * elf/tst-unique4lib.cc(a): Mark as used.
40145 2014-12-16  Florian Weimer  <fweimer@redhat.com>
40147         [BZ #17630]
40148         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
40149         names.
40151 2014-12-16  Allan McRae  <allan@archlinux.org>
40153         * stdio-common/Makefile (tests): Re-add bug26.
40155 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
40157         [BZ #17657]
40158         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
40159         static array.
40161 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
40163         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
40164         (__lll_lock_wait): Likewise.
40165         (__lll_timedlock_wait): Likewise.
40166         (__lll_timedwait_tid): Likewise.
40167         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
40168         (__lll_robust_timedlock_wait): Likewise.
40169         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
40170         (lll_cond_trylock): Likewise.
40171         (__lll_lock): Likewise.
40172         (__lll_robust_lock): Likewise.
40173         (__lll_cond_lock): Likewise.
40174         (lll_robust_cond_lock): Likewise.
40175         (__lll_timedlock): Likewise.
40176         (__lll_robust_timedlock): Likewise.
40177         (__lll_unlock): Likewise.
40178         (__lll_robust_unlock): Likewise.
40179         (lll_wait_tid): Likewise.
40180         (lll_timedwait_tid): Likewise.
40182 2014-12-15  Torvald Riegel  <triegel@redhat.com>
40184         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
40186 2014-12-15  Torvald Riegel  <triegel@redhat.com>
40188         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
40190 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
40192         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
40193         * stdio-common/tst-sprintf.c: Likewise.
40195 2014-12-15  Torvald Riegel  <triegel@redhat.com>
40197         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
40199 2014-12-15  Jeff Law  <law@redhat.com>
40201         [BZ #16617]
40202         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
40203         on the heap.  (CVE-2012-3406)
40204         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
40205         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
40206         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
40208 2014-12-15  Will Newton  <will.newton@linaro.org>
40210         * manual/install.texi: Bump required version of texinfo
40211         to 4.7 from 4.5.
40212         * INSTALL: Regenerated.
40213         * configure.ac: Check for makeinfo version 4.7 and above.
40214         * configure: Regenerated.
40216 2014-12-12  Roland McGrath  <roland@hack.frob.com>
40218         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
40219         PREFIX, string constant to insert between directory and name.
40220         * sysdeps/posix/shm_open.c: Update caller.
40221         * sysdeps/posix/shm_unlink.c: Likewise.
40222         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
40223         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
40224         (SEM_SHM_PREFIX): New macro.
40225         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
40226         [$(have-thread-library) = no].
40227         * nptl/Makefile (libpthread-routines): Add shm-directory.
40228         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
40229         * sysdeps/nptl/shm-directory.h: New file.
40230         * sysdeps/posix/shm-directory.c
40231         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
40232         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
40233         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
40234         INTERNAL_SYSCALL.
40235         (__where_is_shmfs): Function removed.
40236         (mountpoint, defaultmount, defaultdir, __namedsem_once):
40237         Variables removed.
40238         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
40239         Use SHM_GET_NAME.
40240         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
40242         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
40243         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
40244         unconditional for use inside libpthread.
40245         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
40247 2014-12-12  Roland McGrath  <roland@hack.frob.com>
40249         * nptl/pthread_getaffinity.c: New file.
40250         * nptl/pthread_setaffinity.c: New file.
40251         * nptl/pthread_getname.c: New file.
40252         * nptl/pthread_setname.c: New file.
40254         * nptl/pthread_create.c (START_THREAD_DEFN)
40255         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
40257 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
40258             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40260         * resolv/res_send.c (send_vc): Disable warning resplen may
40261         be used uninitialized.
40263 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
40265         * nptl/tst-mutex6.c
40266         (ATTR_NULL): New define checks ATTR against NULL.
40267         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
40268         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
40270 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
40272         [BZ #17581]
40273         * malloc/hooks.c
40274         (mem2mem_check): Revert my previous change.
40275         (malloc_check_get_size): Revert my previous change.
40276         (mem2chunk_check): Revert my previous change.
40278 2014-12-11  Roland McGrath  <roland@hack.frob.com>
40280         * sysdeps/posix/shm-directory.c: New file.
40281         * sysdeps/posix/shm-directory.h: New file.
40282         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
40283         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
40284         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
40285         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
40286         Transmute EPERM to EACCES.
40287         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
40288         from ...
40289         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
40290         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
40292 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40294         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
40295         pointer and cast to uintptr_t.
40296         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
40297         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
40298         Add cast to avoid warning.
40299         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
40301 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
40303         * nptl/semaphore.h: Move to ...
40304         * sysdeps/pthread/semaphore.h: ... here.
40305         * Makefile (installed-headers): Change nptl/semaphore.h to
40306         sysdeps/pthread/semaphore.h.
40308 2014-12-11  Roland McGrath  <roland@hack.frob.com>
40310         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
40311         generated error format strings.
40313         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
40314         -Wformat-extra-args warnings for scanf formats.
40315         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
40316         test of zero-length format (duh).
40317         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
40318         corner-case scanf format test.
40319         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
40320         generated fprintf format string.
40321         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
40322         corner-case sprintf format tests.
40323         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
40324         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
40325         -Wformat-extra-args warnings throughout.
40326         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
40327         (CFLAGS-scanf4.c): Likewise.
40328         (CFLAGS-scanf7.c): Likewise.
40329         (CFLAGS-tst-sprintf.c): Likewise.
40330         (CFLAGS-tst-printf.c): Likewise.
40331         (CFLAGS-tst-printfsz.c): Likewise.
40333 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
40335         * include/cpio.h: New file.
40336         * include/fmtmsg.h: Likewise.
40338         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
40339         corresponding format argument to size_t.
40340         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
40341         arguments.
40342         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
40343         corresponding format argument to size_t.
40344         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
40345         arguments.
40346         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
40347         corresponding format argument to size_t.
40348         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
40349         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
40350         (CFLAGS-tst-mbswcs2.c): Likewise.
40351         (CFLAGS-tst-mbswcs3.c): Likewise.
40352         (CFLAGS-tst-mbswcs4.c): Likewise.
40353         (CFLAGS-tst-mbswcs5.c): Likewise.
40354         (CFLAGS-tst-trans.c): Likewise.
40356 2014-12-11  Roland McGrath  <roland@hack.frob.com>
40358         * posix/regexbug1.c (main): Use "%s" format with regerror results,
40359         rather than assuming they won't contain any '%'s.
40361 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
40363         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
40364         inhibit_loop_to_libcall to avoid recursive calls.
40365         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
40366         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
40368 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
40370         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
40371         prototype.
40373 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
40375         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
40376         integer value instead of boolean.
40378 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
40380         * malloc/malloc.c: Fix powerof2 check.
40382 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
40384         * locale/programs/locfile.h (maybe_swap_uint32):
40385         Remove inline and add unused attribute.
40387 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
40389         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
40390         Truncating assembler expression to a .long expression.
40392 2014-12-11  Andreas Schwab  <schwab@suse.de>
40394         * elf/rtld.c (struct map_args): Constify str member.
40395         (do_preload): Constify fname argument.
40397 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40399         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
40400         constants definition.
40402 2014-12-11  Andreas Schwab  <schwab@suse.de>
40404         [BZ #16657]
40405         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
40406         FORCE_ELISION instead of DO_ELISION.
40407         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
40408         Remove.
40409         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
40410         Likewise.
40412         * iconvdata/gconv-modules: Remove duplicate entry.
40414 2014-12-11  Will Newton  <will.newton@linaro.org>
40416         Merge gettext 0.19.3 into intl/.
40418         This involves a number of cosmetic changes to comments
40419         and ANSI function definitions and prototypes throughout
40420         all the files. The gettext copyright header is used but
40421         with the date ranges taken from the glibc copy.
40423         * NEWS: Add gettext merge to 2.21.
40424         * intl/bindtextdom.c: Switch to gettext copyright.
40425         Use ANSI definitions and prototypes.
40426         Use gl_* locking primitives rather than __libc_* ones.
40427         Use __builtin_expect rather than __glibc_likely/unlikely.
40428         * intl/dcgettext.c: Switch to gettext copyright.
40429         Use ANSI definitions and prototypes.
40430         * intl/dcigettext.c: Switch to gettext copyright.
40431         Use ANSI definitions and prototypes.
40432         (INTDIV0_RAISES_SIGFPE): New define.
40433         Use gl_* locking primitives rather than __libc_* ones.
40434         Include eval-plural.h instead of plural-eval.c.
40435         Use __builtin_expect rather than __glibc_likely/unlikely.
40436         * intl/dcngettext.c: Switch to gettext copyright.
40437         Use ANSI definitions and prototypes.
40438         * intl/dgettext.c: Likewise.
40439         * intl/dngettext.c: Likewise.
40440         * intl/plural-eval.c: Renamed to...
40441         * intl/eval-plural.h: ...this.
40442         * intl/explodename.c: Switch to gettext copyright.
40443         Use ANSI definitions and prototypes.
40444         (_nl_explode_name): Use strchr instead of __rawmemchr.
40445         * intl/finddomain.c: Switch to gettext copyright.
40446         Use ANSI definitions and prototypes.
40447         Use gl_* locking primitives rather than __libc_* ones.
40448         (_nl_find_domain): Use malloc rather than alloca for
40449         allocation of temporary locale name.
40450         * intl/gettext.c: Switch to gettext copyright.
40451         Use ANSI definitions and prototypes.
40452         * intl/gettextP.h: Switch to gettext copyright.
40453         Use ANSI definitions and prototypes.
40454         Use gl_* locking primitives rather than __libc_* ones.
40455         * intl/gmo.h: Switch to gettext copyright.
40456         (struct sysdep_string): Move struct segment_pair outside of
40457         struct definition.
40458         * intl/hash-string.c: Use ANSI definitions and prototypes.
40459         * intl/hash-string.h: Switch to gettext copyright.
40460         Use ANSI definitions and prototypes.
40461         * intl/l10nflist.c: Switch to gettext copyright.
40462         Use ANSI definitions and prototypes.
40463         (_nl_normalize_codeset): Avoid integer overflow.
40464         * intl/loadinfo.h: Switch to gettext copyright.
40465         Use ANSI definitions and prototypes.
40466         (LIBINTL_DLL_EXPORTED): New define.
40467         (PATH_SEPARATOR): New define.
40468         * intl/loadmsgcat.c: Switch to gettext copyright.
40469         * intl/localealias.c: Switch to gettext copyright.
40470         Use ANSI definitions and prototypes.
40471         (_nl_expand_alias): Use PATH_SEPARATOR.
40472         * intl/ngettext.c: Switch to gettext copyright.
40473         Use ANSI definitions and prototypes.
40474         * intl/plural-exp.c: Likewise.
40475         * intl/plural-exp.h: Switch to gettext copyright.
40476         Use ANSI definitions and prototypes.
40477         (struct expression): Move definition of enum operator outside
40478         of struct definition.
40479         * intl/plural.c: Regenerate.
40480         * intl/plural.y: Switch to gettext copyright.
40481         Use ANSI definitions and prototypes.
40482         Port to bison 3.0.
40483         * intl/textdomain.c: Switch to gettext copyright.
40484         Use ANSI definitions and prototypes.
40485         Use gl_* locking primitives rather than __libc_* ones.
40487 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
40489         * debug/warning-nop.c: Add used atrribute.
40491 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
40493         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
40495         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
40496         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
40497         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
40499 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
40500             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40502         [BZ #17634]
40503         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
40504         Undefine after defining function.  Define as weak alias of
40505         __wcschr.  Use libc_hidden_weak.
40506         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
40507         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
40508         (libc_hidden_def): Also define __GI___wcschr alias.
40509         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
40510         __wcschr and define as weak alias of __wcschr.
40511         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
40512         __wcschr.
40513         [!WCSCHR] (DEFAULT_WCSCHR): Define.
40514         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
40515         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
40516         libc_hidden_weak.  Do not use libc_hidden_def.
40517         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
40518         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
40519         __GI___wcschr alias.
40520         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
40521         [IS_IN (libc)] (wcschr): Define as macro expanding to
40522         __redirect_wcschr.
40523         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
40524         [IS_IN (libc)] (__wcschr_power6): Likewise.
40525         [IS_IN (libc)] (__wcschr_power7): Likewise.
40526         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
40527         instead of wcschr.
40528         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
40529         __libc_wcschr.
40530         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
40531         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
40532         __wcschr and define as weak alias of __wcschr.  Use
40533         libc_hidden_builtin_def.
40534         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
40535         as weak alias of __wcschr.  Use libc_hidden_weak.
40536         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
40537         wcschr.
40538         * time/era.c (_nl_init_era_entries): Likewise.
40539         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
40540         variable.
40541         (test-xfail-XPG3/time.h/linknamespace): Likewise.
40542         (test-xfail-XPG4/time.h/linknamespace): Likewise.
40544 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
40546         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
40547         format for long int variable.
40549 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
40551         [BZ #10672]
40552         * manual/search.texi: (Array Sort Function): Remove claim how to make
40553         qsort stable.
40555 2014-12-10  Andreas Schwab  <schwab@suse.de>
40557         [BZ #12847]
40558         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
40559         user-controlled locks.
40561 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
40563         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
40564         register.
40566 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
40568         * configure.ac (--disable-werror): New configure option.
40569         (enable_werror): New AC_SUBST.
40570         * configure: Regenerated.
40571         * config.make.in (enable-werror): New variable.
40572         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
40573         -Wno-error=undef.
40574         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
40575         * manual/install.texi (Configuring and compiling): Document
40576         --disable-werror.
40577         * INSTALL: Regenerated.
40578         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
40579         (CFLAGS-tst-chk2.c): Likewise.
40580         (CFLAGS-tst-chk3.c): Likewise.
40581         (CFLAGS-tst-chk4.cc): Likewise.
40582         (CFLAGS-tst-chk5.cc): Likewise.
40583         (CFLAGS-tst-chk6.cc): Likewise.
40584         (CFLAGS-tst-lfschk1.c): Likewise.
40585         (CFLAGS-tst-lfschk2.c): Likewise.
40586         (CFLAGS-tst-lfschk3.c): Likewise.
40587         (CFLAGS-tst-lfschk4.cc): Likewise.
40588         (CFLAGS-tst-lfschk5.cc): Likewise.
40589         (CFLAGS-tst-lfschk6.cc): Likewise.
40591         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
40592         (main): Disable -Wdeprecated-declarations around calls to
40593         register_printf_function.
40595         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
40596         (do_test): Disable -Wdiv-by-zero around some calls to
40597         fwrite_unlocked and fread_unlocked.
40599         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
40600         (DIAG_POP_NEEDS_COMMENT): Likewise.
40601         (_DIAG_STR1): Likewise.
40602         (_DIAG_STR): Likewise.
40603         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
40604         * stdio-common/bug21.c: Include <libc-internal.h>.
40605         (do_test): Disable -Wformat around call to sscanf.
40606         * stdio-common/scanf14.c: Include <libc-internal.h>.
40607         (main): Disable -Wformat around some calls to scanf functions.
40609 2014-12-09  Torvald Riegel  <triegel@redhat.com>
40611         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
40613 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40615         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
40616         stack variable alignment.
40618 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
40620         [BZ #17682]
40621         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
40622         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
40623         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
40624         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
40625         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
40626         __getrlimit instead of getrlimit.
40627         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
40628         __gettimeofday instead of gettimeofday.
40629         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
40630         Likewise.
40631         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
40632         Likewise.
40633         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
40634         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
40635         Remove variable.
40636         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
40637         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
40639 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40641         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
40642         for wide-character tests.
40644 2014-12-04  Roland McGrath  <roland@hack.frob.com>
40646         * io/openat64.c: #include <libc-internal.h>
40647         (__openat64): Prototypify.  Use ignore_value on MODE.
40648         * io/openat.c: Likewise.
40649         * misc/reboot.c: #include <libc-internal.h>
40650         (reboot): Prototypify.  Use ignore_value on HOWTO.
40651         * misc/ptrace.c: #include <libc-internal.h>
40652         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
40654 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
40656         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
40657         XPG4, UNIX98 and XOPEN2K.
40658         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
40659         Remove variable.
40660         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
40662 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40664         * libio/fileops.c: Use ISO C style for function definitions.
40665         * libio/iofopen.c: Likewise.
40666         * libio/wfileops.c: Likewise.
40668         [BZ #17653]
40669         * libio/fileops.c (_IO_new_file_underflow): Unset cached
40670         offset on EOF.
40671         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
40672         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
40673         (fgets_func): Function pointer to fgets and fgetws.
40674         (do_ftell_test): Add test to verify ftell value after read
40675         EOF.
40676         (do_test): Set fgets_func.
40678         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
40679         O_TRUNC flag for w and w+ modes.
40680         (do_rewind_test): Likewise.
40681         (do_ftell_test): Likewise.
40682         (do_write_test): Likewise.
40684         [BZ #17647]
40685         * libio/fileops.c (do_ftell): Seek only when there are
40686         unflushed writes.
40687         * libio/wfileops.c (do_ftell_wide): Likewise.
40688         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
40689         test case.
40690         (do_one_test): Call it.
40692 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
40694         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
40695         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
40696         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
40697         Remove variable.
40698         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
40699         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
40700         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
40702 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
40704         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
40705         Remove variable.
40706         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
40708         [BZ #17668]
40709         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
40710         as weak alias of __getifaddrs.  Use libc_hidden_weak.
40711         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
40712         __freeifaddrs.  Use libc_hidden_weak.
40713         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
40714         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
40715         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
40716         __freeifaddrs.  Use libc_hidden_weak.
40717         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
40718         __getifaddrs and define as weak alias of __getifaddrs.  Use
40719         libc_hidden_weak.
40720         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
40721         __freeifaddrs.  Use libc_hidden_weak.
40722         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
40723         Remove variable.
40724         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
40725         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
40727 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
40729         [BZ #17601]
40730         * sysdeps/mips/start.S (__start): Use indirect jump to call
40731         __libc_start_main.
40733 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
40735         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
40737         * nptl/tst-mutex1.c: Include <stdbool.h>.
40738         [!ATTR] (ATTR_NULL): New macro.
40739         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
40740         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
40741         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
40743         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
40744         to char *.
40746         [BZ #17665]
40747         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
40748         Change conditional to [__USE_MISC].
40750         [BZ #17664]
40751         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
40752         fgets_unlocked.
40753         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
40754         __fgets_unlocked.
40755         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
40756         fgets_unlocked.
40757         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
40758         Remove variable.
40759         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
40760         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
40761         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
40762         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
40763         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
40764         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
40765         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
40766         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
40767         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
40769         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
40771 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40773         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
40774         Remove strpbrk objects.
40775         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40776         (__libc_ifunc_impl_list): Remove strpbrk implementation.
40777         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
40778         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
40779         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
40780         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
40782         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
40783         Remove strcspn objects.
40784         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40785         (__libc_ifunc_impl_list): Remove strcspn implementation.
40786         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
40787         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
40788         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
40789         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
40791         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
40792         Remove strspn objetcs.
40793         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40794         (__libc_ifunc_impl_list): Remove strspn implementation.
40795         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
40796         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
40797         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
40798         * sysdeps/powerpc/powerpc64/strspn.S: New file.
40800 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
40802         [BZ #17581]
40803         * malloc/hooks.c
40804         (mem2mem_check): Add a terminator to the chain of checking blocks.
40805         (malloc_check_get_size): Use it here.
40806         (mem2chunk_check): Ditto.
40808 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
40810         * sysdeps/powerpc/powerpc64/strtok.S: New file.
40811         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
40813 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
40815         * bits/ioctl-types.h: Indent preprocessor directives correctly.
40817         * nptl/nptl-init.c: Include libc-internal.h.
40818         (__pthread_initialize_minimal_internal): Use ROUND_UP.
40820         * elf/ldconfig.c (search_dir): Expand comment.
40822 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
40824         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
40825         variable.
40826         (linknamespace-symlist-stdlibs-tests): Likewise.
40827         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
40828         instead of $(objpfx)symlist-stdlibs.
40829         (linknamespace-libs-isoc): New variable.
40830         (linknamespace-libs): Use $(linknamespace-libs-isoc).
40831         (linknamespace-libs-ISO): New variable.
40832         (linknamespace-libs-ISO99): Likewise.
40833         (linknamespace-libs-ISO11): Likewise.
40834         (linknamespace-libs-XPG3): Likewise.
40835         (linknamespace-libs-XPG4): Likewise.
40836         (linknamespace-libs-POSIX): Likewise.
40837         (linknamespace-libs-UNIX98): Likewise.
40838         (linknamespace-libs-XOPEN2K): Likewise.
40839         (linknamespace-libs-POSIX2008): Likewise.
40840         (linknamespace-libs-XOPEN2K8): Likewise.
40841         ($(objpfx)symlist-stdlibs): Replace by
40842         $(linknamespace-symlist-stdlibs-tests).  Use
40843         $(linknamespace-libs-$*) as set of libraries.
40844         ($(linknamespace-header-tests)): Update dependencies.  Use
40845         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
40846         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
40847         * conform/linknamespace.pl: Remove comment about considering
40848         definitions of symbols from irrelevant libraries.
40850 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
40852         [BZ #13862]
40853         * elf/dl-tls.c: Include <atomic.h>.
40854         (oom): Remove #ifdef SHARED/#endif.
40855         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
40856         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
40857         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
40858         big enough.
40859         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
40860         * nptl/Makefile (tests): Add tst-stack4.
40861         (modules-names): Add tst-stack4mod.
40862         ($(objpfx)tst-stack4): New.
40863         (tst-stack4mod.sos): Likewise.
40864         ($(objpfx)tst-stack4.out): Likewise.
40865         ($(tst-stack4mod.sos)): Likewise.
40866         (clean): Likewise.
40867         * nptl/tst-stack4.c: New file.
40868         * nptl/tst-stack4mod.c: Likewise.
40870 2014-11-27  J. Brown  <jb999@gmx.de>
40872         * sysdeps/x86/bits/string.h: Add recent CPUs.
40874 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
40876         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
40877         sigblock.
40879         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
40880         feof.
40882         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
40883         variable.
40885 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
40887         * nscd/connections.c: Include libc-internal.h because of macro
40888         usage ignore_value.
40890 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
40892         * string/bits/string3.h (__warn_memset_zero_len): Don't
40893         declare for gcc newer than 5.0.
40894         (memset): Don't test for zero-length __LEN for gcc newer than
40895         5.0.
40897 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
40899         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
40900         size_t for %zu format.
40902         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
40903         difference, not %ju.
40905 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
40907         * include/libc-internal.h (ignore_value): New macro.
40908         * nscd/connections.c (restart): Wrap calls to setuid and setgid
40909         with ignore_value.
40911         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
40912         definition.
40914         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
40915         pthread_cleanup_push to void *.
40917         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
40918         Undefine.
40920         [BZ #16619]
40921         [BZ #16740]
40922         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
40923         instead of 1L << 52.
40925         * libio/bug-rewind.c (do_test): Check fwscanf return values.
40926         * libio/bug-rewind2.c (do_test): Likewise.
40928         * debug/test-stpcpy_chk-ifunc.c: Remove file.
40929         * debug/test-strcpy_chk-ifunc.c: Likewise.
40930         * wcsmbs/test-wcschr-ifunc.c: Likewise.
40931         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
40932         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
40933         * wcsmbs/test-wcslen-ifunc.c: Likewise.
40934         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
40935         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
40936         * Rules [$(multi-arch) = no] (tests): Do not filter out
40937         $(tests-ifunc).
40938         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
40939         * debug/Makefile (tests-ifunc): Remove variable.
40940         (tests): Do not add $(tests-ifunc).
40941         * wcsmbs/Makefile (tests-ifunc): Remove variable.
40942         (tests): Do not add $(tests-ifunc).
40943         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
40944         [TEST_IFUNC]: Remove conditionals.
40945         * string/test-string.h (TEST_IFUNC): Remove macro.
40946         [TEST_IFUNC]: Remove conditionals.
40948         * string/test-strchr.c [!WIDE] (L): New macro.
40949         [WIDE] (L): Likewise.
40950         (check1): Use CHAR instead of char.  Use L on string and character
40951         constants.
40953 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
40955         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
40956         tests.
40957         * sysdeps/powerpc/bits/atomic.h
40958         (__arch_atomic_exchange_and_add_32_acq): Add definition.
40959         (__arch_atomic_exchange_and_add_32_rel): Likewise.
40960         (atomic_exchange_and_add_acq): Likewise.
40961         (atomic_exchange_and_add_rel): Likewise.
40962         * sysdeps/powerpc/powerpc32/bits/atomic.h
40963         (__arch_atomic_exchange_and_add_64_acq): Add definition.
40964         (__arch_atomic_exchange_and_add_64_rel): Likewise.
40965         * sysdeps/powerpc/powerpc64/bits/atomic.h
40966         (__arch_atomic_exchange_and_add_64_acq): Add definition.
40967         (__arch_atomic_exchange_and_add_64_rel): Likewise.
40969 2014-11-26  Torvald Riegel  <triegel@redhat.com>
40971         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
40972         Change synchronization of __sched_fifo_min_prio and
40973         __sched_fifo_max_prio.
40974         * nptl/pthread_mutexattr_getprioceiling.c
40975         (pthread_mutexattr_getprioceiling): Likewise.
40976         * nptl/pthread_mutexattr_setprioceiling.c
40977         (pthread_mutexattr_setprioceiling): Likewise.
40978         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
40979         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
40980         Likewise.
40982 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
40984         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
40985         void.
40987 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
40989         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
40990         third argument const.
40992 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
40994         fnmatch: work around GCC compiler warning bug with uninit var
40995         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
40996         This works around a bug with x86-64 GCC 4.9.2 and earlier
40997         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
40998         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
40999         used uninitialized in this function [-Wmaybe-uninitialized]".
41001 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
41003         * posix/bug-regex31.c (main): Return RES not 0.
41005 2014-11-25  Anton Blanchard <anton@samba.org>
41007         * sysdeps/powerpc/bits/atomic.h
41008         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
41010 2014-11-24  Sterling Augustine  <saugustine@google.com>
41012         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
41014 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
41016         [BZ #17608]
41017         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
41019 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
41021         [BZ #17633]
41022         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
41023         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
41024         variable.
41025         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
41026         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
41028 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
41030         * string/strncpy.c (strncpy): Improve performance by using memset.
41032 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
41034         * string/strcpy.c (strcpy):
41035         Improve performance by using strlen and memcpy.
41037 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
41039         * string/strcoll_l.c (get_next_seq): __always_inline.
41040         * string/strcoll_l.c (do_compare): __always_inline.
41042 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
41044         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
41045         defined.
41046         * include/mqueue.h: Likewise.
41047         * include/stdlib.h: Likewise.
41049         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
41050         (get_null_defines): Adjust.
41051         * sunrpc/Makefile: Adjust comment.
41052         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
41053         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
41054         (CFLAGS-interp.c): Likewise.
41055         (CFLAGS-ldconfig.c): Likewise.
41056         (CPPFLAGS-.os): Likewise.
41057         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
41058         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
41059         * extra-modules.mk (extra-modules.mk): Likewise.
41060         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
41061         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
41062         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
41063         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
41064         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
41065         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
41066         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
41067         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
41068         * iconvdata/Makefile (CPPFLAGS): Likewise.
41069         (cpp-srcs-left): Add libof for all iconvdata routines.
41070         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
41071         * include/assert.h: Likewise.
41072         * include/ctype.h: Likewise.
41073         * include/errno.h: Likewise.
41074         * include/libc-symbols.h: Likewise.
41075         * include/math.h: Likewise.
41076         * include/netdb.h: Likewise.
41077         * include/resolv.h: Likewise.
41078         * include/stdio.h: Likewise.
41079         * include/stdlib.h: Likewise.
41080         * include/string.h: Likewise.
41081         * include/sys/stat.h: Likewise.
41082         * include/wctype.h: Likewise.
41083         * intl/l10nflist.c: Likewise.
41084         * libidn/idn-stub.c: Likewise.
41085         * libio/libioP.h: Likewise.
41086         * nptl/libc_multiple_threads.c: Likewise.
41087         * nptl/pthreadP.h: Likewise.
41088         * posix/regex_internal.h: Likewise.
41089         * resolv/res_hconf.c: Likewise.
41090         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
41091         * sysdeps/arm/memmove.S: Likewise.
41092         * sysdeps/arm/sysdep.h: Likewise.
41093         * sysdeps/generic/_itoa.h: Likewise.
41094         * sysdeps/generic/symbol-hacks.h: Likewise.
41095         * sysdeps/gnu/errlist.awk: Likewise.
41096         * sysdeps/gnu/errlist.c: Likewise.
41097         * sysdeps/i386/i586/memcpy.S: Likewise.
41098         * sysdeps/i386/i586/memset.S: Likewise.
41099         * sysdeps/i386/i686/memcpy.S: Likewise.
41100         * sysdeps/i386/i686/memmove.S: Likewise.
41101         * sysdeps/i386/i686/mempcpy.S: Likewise.
41102         * sysdeps/i386/i686/memset.S: Likewise.
41103         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
41104         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
41105         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
41106         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
41107         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
41108         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
41109         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
41110         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
41111         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
41112         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41113         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
41114         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
41115         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
41116         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
41117         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
41118         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
41119         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
41120         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
41121         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
41122         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
41123         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
41124         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
41125         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
41126         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
41127         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
41128         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
41129         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
41130         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
41131         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
41132         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
41133         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
41134         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
41135         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
41136         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41137         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
41138         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
41139         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
41140         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
41141         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
41142         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
41143         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
41144         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
41145         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
41146         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
41147         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
41148         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
41149         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
41150         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
41151         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
41152         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
41153         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
41154         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
41155         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
41156         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
41157         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
41158         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
41159         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
41160         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
41161         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
41162         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
41163         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
41164         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
41165         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
41166         * sysdeps/nptl/bits/libc-lock.h: Likewise.
41167         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
41168         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
41169         * sysdeps/posix/closedir.c: Likewise.
41170         * sysdeps/posix/opendir.c: Likewise.
41171         * sysdeps/posix/readdir.c: Likewise.
41172         * sysdeps/posix/rewinddir.c: Likewise.
41173         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
41174         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
41175         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
41176         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
41177         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
41178         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
41179         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
41180         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
41181         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
41182         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
41183         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
41184         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
41185         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
41186         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
41187         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
41188         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
41189         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
41190         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
41191         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
41192         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
41193         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
41194         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
41195         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
41196         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
41197         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
41198         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
41199         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
41200         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
41201         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
41202         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
41203         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
41204         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
41205         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
41206         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
41207         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
41208         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
41209         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
41210         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
41211         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
41212         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
41213         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
41214         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
41215         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
41216         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
41217         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
41218         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
41219         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
41220         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
41221         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
41222         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
41223         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
41224         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
41225         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
41226         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
41227         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
41228         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
41229         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
41230         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
41231         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
41232         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
41233         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
41234         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
41235         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
41236         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
41237         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
41238         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
41239         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
41240         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
41241         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
41242         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
41243         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
41244         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
41245         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
41246         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
41247         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
41248         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
41249         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
41250         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
41251         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
41252         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
41253         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
41254         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
41255         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
41256         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
41257         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
41258         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
41259         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
41260         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
41261         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
41262         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
41263         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
41264         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
41265         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
41266         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
41267         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
41268         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
41269         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
41270         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
41271         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
41272         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
41273         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41274         * sysdeps/unix/alpha/sysdep.S: Likewise.
41275         * sysdeps/unix/alpha/sysdep.h: Likewise.
41276         * sysdeps/unix/make-syscalls.sh: Likewise.
41277         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
41278         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
41279         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
41280         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
41281         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
41282         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
41283         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
41284         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
41285         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
41286         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
41287         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
41288         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
41289         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
41290         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
41291         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
41292         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
41293         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
41294         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
41295         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
41296         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
41297         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
41298         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
41299         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
41300         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
41301         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
41302         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
41303         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
41304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
41305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
41306         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
41307         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
41308         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
41309         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
41310         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
41311         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
41312         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
41313         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
41314         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
41315         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
41316         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
41317         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
41318         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
41319         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
41320         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
41321         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
41322         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
41323         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
41324         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41325         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
41326         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41327         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
41328         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
41329         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
41330         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
41331         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
41332         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
41333         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
41334         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
41335         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
41336         * sysdeps/x86_64/memcpy.S: Likewise.
41337         * sysdeps/x86_64/memmove.c: Likewise.
41338         * sysdeps/x86_64/memset.S: Likewise.
41339         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
41340         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
41341         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
41342         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
41343         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
41344         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
41345         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
41346         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
41347         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
41348         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
41349         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
41350         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
41351         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
41352         * sysdeps/x86_64/multiarch/memset.S: Likewise.
41353         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
41354         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
41355         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
41356         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
41357         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
41358         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
41359         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
41360         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
41361         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
41362         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
41363         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
41364         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
41365         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
41366         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
41367         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
41368         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
41369         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
41370         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
41371         * sysdeps/x86_64/strcmp.S: Likewise.
41373         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
41375         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
41376         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
41377         * elf/rtld-Rules: Likewise.
41378         * elf/setup-vdso.h: Likewise.
41379         * include/assert.h: Likewise.
41380         * include/bits/stdlib-float.h: Likewise.
41381         * include/errno.h: Likewise.
41382         * include/sys/stat.h: Likewise.
41383         * include/unistd.h: Likewise.
41384         * sysdeps/aarch64/setjmp.S: Likewise.
41385         * sysdeps/alpha/setjmp.S: Likewise.
41386         * sysdeps/arm/__longjmp.S: Likewise.
41387         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
41388         * sysdeps/arm/setjmp.S: Likewise.
41389         * sysdeps/arm/sysdep.h: Likewise.
41390         * sysdeps/generic/_itoa.h: Likewise.
41391         * sysdeps/generic/dl-sysdep.h: Likewise.
41392         * sysdeps/generic/ldsodefs.h: Likewise.
41393         * sysdeps/i386/dl-tls.h: Likewise.
41394         * sysdeps/i386/setjmp.S: Likewise.
41395         * sysdeps/m68k/setjmp.c: Likewise.
41396         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
41397         * sysdeps/mach/hurd/opendir.c: Likewise.
41398         * sysdeps/posix/getcwd.c: Likewise.
41399         * sysdeps/posix/opendir.c: Likewise.
41400         * sysdeps/posix/profil.c: Likewise.
41401         * sysdeps/powerpc/dl-procinfo.h: Likewise.
41402         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
41403         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
41404         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
41405         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
41406         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
41407         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
41408         * sysdeps/s390/dl-tls.h: Likewise.
41409         * sysdeps/s390/s390-32/setjmp.S: Likewise.
41410         * sysdeps/s390/s390-64/setjmp.S: Likewise.
41411         * sysdeps/sh/sh3/setjmp.S: Likewise.
41412         * sysdeps/sh/sh4/setjmp.S: Likewise.
41413         * sysdeps/unix/alpha/sysdep.h: Likewise.
41414         * sysdeps/unix/arm/sysdep.S: Likewise.
41415         * sysdeps/unix/i386/sysdep.S: Likewise.
41416         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
41417         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
41418         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
41419         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
41420         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
41421         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
41422         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
41423         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
41424         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
41425         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
41426         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
41427         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
41428         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
41429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
41430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
41431         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
41432         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
41433         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
41434         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
41435         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
41436         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
41437         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
41438         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41439         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
41440         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
41441         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
41442         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
41443         * sysdeps/unix/x86_64/sysdep.S: Likewise.
41444         * sysdeps/x86_64/setjmp.S: Likewise.
41446         * include/math.h: Use IS_IN instead of IS_IN_libm.
41447         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
41448         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
41449         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
41450         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
41451         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
41452         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
41453         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
41454         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
41455         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
41456         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
41457         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
41458         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
41459         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
41460         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
41461         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
41462         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
41463         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
41464         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
41465         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
41466         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
41467         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
41468         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
41469         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
41470         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
41471         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
41472         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
41473         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
41474         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
41475         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
41476         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
41477         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
41478         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
41479         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
41480         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
41481         Likewise.
41482         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
41483         Likewise.
41484         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
41485         Likewise.
41486         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
41487         Likewise.
41488         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
41489         Likewise.
41490         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
41491         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
41492         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
41493         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
41494         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
41495         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
41496         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
41497         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
41498         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
41499         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
41500         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
41501         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
41502         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
41503         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
41504         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
41505         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
41506         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
41507         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
41508         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
41509         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
41510         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
41511         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
41512         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
41513         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
41514         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
41515         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
41516         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
41518         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
41519         * nptl/pthreadP.h: Likewise.
41520         * nptl_db/structs.def: Likewise.
41521         * sysdeps/arm/sysdep.h: Likewise.
41522         * sysdeps/nptl/bits/libc-lock.h: Likewise.
41523         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
41524         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
41525         * sysdeps/unix/alpha/sysdep.h: Likewise.
41526         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
41527         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
41528         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
41529         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
41530         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
41531         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
41532         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
41533         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
41534         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
41535         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
41536         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
41537         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
41538         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
41539         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
41540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
41541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
41542         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
41543         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
41544         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
41545         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
41546         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
41547         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
41548         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
41549         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
41550         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
41551         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
41553         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
41554         * nptl/pthreadP.h: Likewise.
41555         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
41556         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
41557         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
41558         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
41559         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
41560         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
41561         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
41562         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
41563         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
41564         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
41565         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
41566         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
41567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
41568         Likewise.
41569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
41570         Likewise.
41571         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
41572         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
41573         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
41574         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
41575         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
41576         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
41577         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
41578         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
41580         * dlfcn/dladdr.c: Use IS_IN.
41581         * dlfcn/dladdr1.c: Likewise.
41582         * dlfcn/dlclose.c: Likewise.
41583         * dlfcn/dlerror.c: Likewise.
41584         * dlfcn/dlinfo.c: Likewise.
41585         * dlfcn/dlmopen.c: Likewise.
41586         * dlfcn/dlopen.c: Likewise.
41587         * dlfcn/dlsym.c: Likewise.
41588         * dlfcn/dlvsym.c: Likewise.
41590         * include/ifaddrs.h: Use IS_IN.
41591         * inet/check_pf.c: Likewise.
41592         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
41593         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
41595         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
41596         IS_IN_ldconfig.
41597         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
41598         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
41600         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
41601         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
41602         IS_IN (libc).
41604         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
41606         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
41607         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
41608         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
41609         * include/libc-symbols.h (IS_IN_LIB): New macro.
41610         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
41611         * include/netdb.h: Likewise.
41612         * include/stap-probe.h: Remove all uses of IN_LIB.
41614         * Makeconfig (module-cppflags-real): Define MODULE_NAME
41615         instead of IN_MODULE.
41616         * include/libc-symbols.h (IN_MODULE): Define using
41617         MODULE_NAME.
41618         (PASTE_NAME, PASTE_NAME1): New macros.
41619         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
41620         of IN_LIB.
41621         (STAP_PROBE_ASM): Likewise.
41623 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41625         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
41626         __mach_init in dlopened libc.
41628 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
41630         * sysdeps/arm/preconfigure.ac: Delete EABI check.
41631         * sysdeps/arm/preconfigure: Regenerate.
41633 2014-11-21  Roland McGrath  <roland@hack.frob.com>
41635         * nptl/pthread_create.c (__pthread_create_2_1): Set
41636         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
41637         when copying values from IATTR into PD.
41639 2014-11-21  Will Newton  <will.newton@linaro.org>
41640             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
41642         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
41643         Refactor inline-asm.  Also add comment.
41645         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
41646         ElfW macro instead of hardcoded Elf64 types.
41647         (la_aarch64_gnu_pltenter): Likewise.
41648         * sysdeps/aarch64/dl-machine.h
41649         (elf_machine_runtime_setup): Use ElfW(Addr).
41651         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
41652         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
41653         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
41654         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
41655         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
41656         (R_AARCH64_TLS_DTPMOD64): Rename to ..
41657         (R_AARCH64_TLS_DTPMOD): This.
41658         (R_AARCH64_TLS_DTPREL64): Rename to ...
41659         (R_AARCH64_TLS_DTPREL): This.
41660         (R_AARCH64_TLS_TPREL64): Rename to ...
41661         (R_AARCH64_TLS_TPREL): This.
41662         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
41663         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
41664         R_AARCH64_TLS_TPREL64.
41665         (elf_machine_rela): Likewise.
41667 2014-11-21  Torvald Riegel  <triegel@redhat.com>
41669         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
41670         by setting it to 0.  64b atomics are not supported currently.
41672 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
41674         [BZ #16469]
41675         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
41676         search domain names.
41678 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
41680         [BZ #16469]
41681         * NEWS: Update.
41682         * resolv/res_query.c (__libc_res_nquerydomain): Retain
41683         trailing dot.
41684         * posix/tst-getaddrinfo5.c: New.
41685         * posix/Makefile (tests): Add it.
41687 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
41689         [BZ #14498]
41690         * NEWS: Fixed.
41691         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
41692         after parsing line but before break_if_match.
41693         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
41694         if there is a protocol mismatch.
41696 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
41698         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
41699         because the potential race is on the user-supplied stream.
41701 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
41703         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
41704         string literal if not passed a buffer.
41705         * manual/job.texi (ctermid): Update reasoning, note deviation
41706         from posix, suggest mtasurace when not passed a buffer, for
41707         future non-preliminary safety notes.
41709 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
41711         * manual/users.texi (cuserid): Fix MT-Safety note for the case
41712         of not passing it a buffer.
41713         Reported by Peng Haitao.
41715 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
41717         * manual/Makefile ($(objpfx)stamp-summary): Require
41718         check-safety.sh to pass.
41719         * manual/check-safety.sh: Wish for verification that every
41720         @deftypefn and @deftypefun is followed by a @safety remark.
41722 2014-11-20  Roland McGrath  <roland@hack.frob.com>
41724         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
41726         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
41727         PTHREAD_CANCEL_ASYNCHRONOUS.
41728         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
41729         send SIGCANCEL.
41731         * nptl/default-sched.h: New file.
41732         * sysdeps/unix/sysv/linux/default-sched.h: New file.
41733         * nptl/pthread_create.c: Include it.
41734         (__pthread_create_2_1): Use collect_default_sched instead of making
41735         Linux syscalls here directly.
41737 2014-11-20  Torvald Riegel  <triegel@redhat.com>
41739         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
41740         __pthread_once): Use C11 atomics.
41742 2014-11-20  Torvald Riegel  <triegel@redhat.com>
41744         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
41746 2014-11-20  Torvald Riegel  <triegel@redhat.com>
41748         * include/atomic.h (__atomic_link_error, __atomic_check_size,
41749         atomic_thread_fence_acquire, atomic_thread_fence_release,
41750         atomic_thread_fence_seq_cst, atomic_load_relaxed,
41751         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
41752         atomic_compare_exchange_weak_relaxed,
41753         atomic_compare_exchange_weak_acquire,
41754         atomic_compare_exchange_weak_release,
41755         atomic_exchange_acquire, atomic_exchange_release,
41756         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
41757         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
41758         atomic_fetch_and_acquire,
41759         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
41761 2014-11-20  Torvald Riegel  <triegel@redhat.com>
41763         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
41764         USE_ATOMIC_COMPILER_BUILTINS): Define.
41765         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
41766         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41767         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
41768         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41769         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
41770         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41771         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
41772         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41773         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
41774         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41775         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
41776         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41777         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
41778         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41779         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
41780         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41781         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
41782         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41783         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
41784         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41785         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
41786         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41787         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
41788         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41789         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
41790         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41791         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
41792         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41793         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
41794         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41795         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
41796         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41797         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
41798         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41799         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
41800         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41801         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
41802         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41803         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
41804         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41806 2014-11-19  Roland McGrath  <roland@hack.frob.com>
41808         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
41809         the sched_priority value here.  It was already checked when the user
41810         called pthread_attr_setschedparam.
41812         * nptl/tst-bad-schedattr.c: New file.
41813         * nptl/Makefile (tests): Add it.
41815 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
41816             Florian Weimer  <fweimer@redhat.com>
41817             Joseph Myers  <joseph@codesourcery.com>
41818             Adam Conrad  <adconrad@0c3.net>
41819             Andreas Schwab  <schwab@suse.de>
41820             Brooks  <bmoses@google.com>
41822         [BZ #17625]
41823         * wordexp-test.c (__dso_handle): Add prototype.
41824         (__register_atfork): Likewise.
41825         (__app_register_atfork): New function.
41826         (registered_forks): New global.
41827         (register_fork): New function.
41828         (test_case): Add 3 new tests for WRDE_CMDSUB.
41829         (main): Call __app_register_atfork.
41830         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
41831         fork count is non-zero fail the test.
41832         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
41833         is set.
41834         (parse_dollars): Remove check for WRDE_NOCMD.
41835         (parse_dquote): Likewise.
41837 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
41839         * Makeconfig (built-modules): List non-library modules to be
41840         built.
41841         (module-cppflags): Include libc-modules.h for
41842         everything except shlib-versions.v.i.
41843         (CPPFLAGS): Use it.
41844         (before-compile): Add libc-modules.h.
41845         ($(common-objpfx)libc-modules.h,
41846         $(common-objpfx)libc-modules.stmp): New targets.
41847         (common-generated): Add libc-modules.h and libc-modules.stmp.
41848         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
41849         * include/libc-symbols.h: Don't include libc-modules.h.
41850         * include/libc-modules.h: Remove file.
41851         * scripts/gen-libc-modules.awk: New script to generate
41852         libc-modules.h.
41853         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
41854         Depend on libc-modules.stmp.
41856         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
41858         * Makeconfig (in-module): Get value of libof set for the
41859         translation unit.
41860         (CPPFLAGS): Use $(in-module).
41861         * Makerules: Don't suffix routine names for nonlib.
41862         * include/libc-modules.h: New file.
41863         * include/libc-symbols.h: Include libc-modules.h
41864         (IS_IN): New macro to replace IS_IN_* macros.
41865         * elf/Makefile: Set libof-* for each routine.
41866         * elf/rtld-Rules: Likewise.
41867         * extra-modules.mk: Likewise.
41868         * iconv/Makefile: Likewise.
41869         * iconvdata/Makefile: Likewise.
41870         * locale/Makefile: Likewise.
41871         * malloc/Makefile: Likewise.
41872         * nss/Makefile: Likewise.
41873         * sysdeps/gnu/Makefile: Likewise.
41874         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
41875         * sysdeps/unix/sysv/linux/Makefile: Likewise.
41876         * sysdeps/s390/s390-64/Makefile: Likewise.
41877         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
41878         CPPFLAGS for nscd instead of nonlib.
41880 2014-11-18  Roland McGrath  <roland@hack.frob.com>
41882         * nptl/createthread.c: New file.
41884         * nptl/createthread.c: Moved ...
41885         * sysdeps/unix/sysv/linux/createthread.c: ... here.
41887         * nptl/createthread.c: Add proper top-line comment.
41888         (do_clone): Folded into ...
41889         (create_thread): ... here.  Take new arguments STOPPED_START and
41890         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
41891         increment __nptl_threads, do event-reporting logic, do
41892         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
41893         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
41894         resource cleanup if sched_setaffinity or sched_setscheduler fails,
41895         just send SIGCANCEL.
41896         * nptl/pthread_create.c: Forward-declare create_thread before
41897         including createthread.c.
41898         (start_thread): Use new macro START_THREAD_DEFN to replace defining
41899         declaration, and new macro START_THREAD_SELF to replace argument.
41900         Remove return statement.
41901         (report_thread_creation): New function.
41902         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
41903         synchronization logic, and __nptl_nthreads increment here, around
41904         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
41905         PD->parent_cancelhandling here, before create_thread.  When
41906         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
41907         __deallocate_stack, and ENOMEM translation here.
41909 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
41911         [BZ #17616]
41912         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
41913         (mptwo): Rename to __mptwo.
41914         (__inv): Use __mptwo instead of mptwo.
41915         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
41916         (mptwo): Rename to __mptwo.
41917         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
41918         of mpone and __mptwo instead of mptwo.
41919         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
41920         instead of mpone.
41921         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
41922         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
41923         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
41924         of mpone and __mptwo instead of mptwo.
41925         (__mpranred): Use __mpone instead of mpone.
41926         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
41927         variable.
41928         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
41929         (test-xfail-ISO99/math.h/linknamespace): Likewise.
41930         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
41931         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
41932         (test-xfail-ISO11/math.h/linknamespace): Likewise.
41933         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
41934         (test-xfail-XPG3/math.h/linknamespace): Likewise.
41935         (test-xfail-XPG4/math.h/linknamespace): Likewise.
41936         (test-xfail-POSIX/math.h/linknamespace): Likewise.
41937         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
41938         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
41939         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
41940         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
41941         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
41942         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
41943         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
41944         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
41945         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
41946         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
41948 2014-11-18  Tom de Vries  <tom@codesoucery.com>
41950         * manual/signal.texi (Primitives Interrupted by Signals): In section,
41951         replace BSD Handler xref with BSD Signal Handling.
41953 2014-11-17  Richard Henderson  <rth@redhat.com>
41955         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
41956         (_FP_PACK_RAW_2): Remove.
41957         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
41958         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
41959         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
41960         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
41961         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
41962         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
41963         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
41964         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
41965         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
41966         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
41967         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
41968         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
41969         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
41970         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
41971         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
41972         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
41974 2014-11-14  Roland McGrath  <roland@hack.frob.com>
41976         * signal/signal.h [__USE_MISC]
41977         (struct sigvec): Remove type.
41978         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
41979         (sigvec): Remove declaration.
41980         * sysdeps/posix/sigvec.c: Moved ...
41981         * signal/sigvec.c: ... here, replacing old file.
41982         (struct sigvec): New type, copied from old signal.h definition.
41983         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
41984         (__sigvec): Convert definition to prototype.
41985         (sigvec): Replace weak_alias with compat_symbol.
41986         * signal/Versions (libc: GLIBC_2.21): New version set.
41987         * include/signal.h: Remove __sigvec declaration.
41988         * sysdeps/unix/bsd/sigvec.c: Remove file.
41989         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
41990         * manual/signal.texi (BSD Handler): Remove subsection.
41991         Move siginterrupt up to ...
41992         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
41993         (Blocking in BSD): Fold subsection into its parent.
41994         * NEWS: Mention sigvec removal.
41996 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
41998         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
41999         (DLA_FMS): Make definition conditional only on [__FMA4__].
42000         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
42001         definition.
42003         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
42004         Make definition conditional only on [PROF].
42005         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
42006         definition.
42007         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
42008         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
42010         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
42011         !__GNUC__].
42012         * include/signal.h (__sigpause): Move declaration above call to
42013         libc_hidden_proto.
42014         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
42015         variable.
42016         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
42017         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
42019 2014-11-14  David S. Miller  <davem@davemloft.net>
42021         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
42022         Define before including <string/memcpy.c> and <string/mempcpy.c>.
42024 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
42026         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
42027         * configure: Regenerated.
42028         * manual/install.texi (Tools for Compilation): Document a
42029         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
42030         compiler verified to work.
42031         * INSTALL: Regenerated.
42033         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
42034         redeclare with asm name.
42035         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
42036         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
42037         including <string.h>.
42038         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
42039         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
42040         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
42041         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
42042         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
42043         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
42044         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
42046 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
42048         * stdlib/strtol.c (__strtol): Use prototype definition.
42050         [BZ #17594]
42051         * stdlib/strtol.c (SYM__): New macro.
42052         (SYM__1): Likewise.
42053         (__strtol): Likewise.
42054         (strtol): Rename to __strtol and define as weak alias of
42055         __strtol.  Use libc_hidden_weak.
42057 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
42059         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
42060         Use numbered labels in inline assembly.
42062 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
42064         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
42065         Add setjmp LIBC_PROBE.
42066         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
42067         Likewise.
42068         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
42069         Add longjmp, longjmp_target LIBC_PROBE.
42070         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
42071         Likewise.
42073 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
42075         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
42076         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
42077         to get rid of unused variable warning.
42079 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
42081         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
42082         Check for unwind_backtrace ==  NULL only in SHARED case.
42083         (__backchain_backtrace): Compile only in SHARED case.
42084         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
42085         Likewise.
42086         (__backchain_backtrace): Declare as static.
42088 2014-11-12  Roland McGrath  <roland@hack.frob.com>
42090         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
42091         (__libc_multiple_threads_ptr): Variable moved ...
42092         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
42094 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
42096         * conform/GlibcConform.pm: New file.
42097         * conform/conformtest.pl: Use GlibcConform module.
42098         * conform/linknamespace.pl: New file.
42099         * conform/list-header-symbols.pl: Likewise.
42100         * conform/Makefile (linknamespace-symlists-base): New variable.
42101         (linknamespace-symlists-tests): Likewise.
42102         (linknamespace-header-base): Likewise.
42103         (linknamespace-header-tests): Likewise.
42104         (tests-special): Add new tests.
42105         ($(linknamespace-symlists-tests)): New rule.
42106         (linknamespace-libs): New variable.
42107         ($(objpfx)symlist-stdlibs): New rule.
42108         ($(linknamespace-header-tests)): Likewise.
42109         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
42110         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
42111         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
42112         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
42113         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
42114         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
42115         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
42116         (test-xfail-ISO/math.h/linknamespace): Likewise.
42117         (test-xfail-ISO/signal.h/linknamespace): Likewise.
42118         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
42119         (test-xfail-ISO/time.h/linknamespace): Likewise.
42120         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
42121         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
42122         (test-xfail-ISO99/math.h/linknamespace): Likewise.
42123         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
42124         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
42125         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
42126         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
42127         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
42128         (test-xfail-ISO11/math.h/linknamespace): Likewise.
42129         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
42130         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
42131         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
42132         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
42133         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
42134         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
42135         (test-xfail-XPG3/math.h/linknamespace): Likewise.
42136         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
42137         (test-xfail-XPG3/search.h/linknamespace): Likewise.
42138         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
42139         (test-xfail-XPG3/time.h/linknamespace): Likewise.
42140         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
42141         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
42142         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
42143         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
42144         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
42145         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
42146         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
42147         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
42148         (test-xfail-XPG4/math.h/linknamespace): Likewise.
42149         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
42150         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
42151         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
42152         (test-xfail-XPG4/search.h/linknamespace): Likewise.
42153         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
42154         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
42155         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
42156         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
42157         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
42158         (test-xfail-XPG4/time.h/linknamespace): Likewise.
42159         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
42160         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
42161         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
42162         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
42163         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
42164         (test-xfail-POSIX/math.h/linknamespace): Likewise.
42165         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
42166         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
42167         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
42168         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
42169         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
42170         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
42171         (test-xfail-POSIX/time.h/linknamespace): Likewise.
42172         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
42173         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
42174         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
42175         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
42176         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
42177         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
42178         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
42179         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
42180         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
42181         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
42182         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
42183         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
42184         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
42185         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
42186         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
42187         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
42188         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
42189         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
42190         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
42191         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
42192         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
42193         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
42194         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
42195         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
42196         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
42197         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
42198         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
42199         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
42200         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
42201         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
42202         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
42203         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
42204         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
42205         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
42206         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
42207         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
42208         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
42209         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
42210         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
42211         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
42212         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
42213         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
42214         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
42215         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
42216         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
42217         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
42218         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
42219         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
42220         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
42221         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
42222         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
42223         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
42224         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
42225         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
42226         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
42227         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
42228         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
42229         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
42230         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
42231         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
42232         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
42233         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
42234         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
42235         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
42236         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
42237         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
42238         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
42239         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
42240         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
42241         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
42242         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
42243         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
42244         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
42245         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
42246         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
42247         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
42248         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
42249         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
42250         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
42251         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
42252         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
42253         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
42254         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
42255         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
42256         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
42257         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
42258         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
42259         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
42260         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
42261         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
42262         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
42263         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
42264         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
42265         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
42266         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
42267         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
42268         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
42269         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
42271         [BZ #17589]
42272         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
42273         of fgets_unlocked.
42275         [BZ #17585]
42276         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
42277         (memmem): Rename to __memmem and define as weak alias of
42278         __memmem.  Use libc_hidden_weak.
42279         (__memmem): Use libc_hidden_def.
42280         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
42281         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
42282         memmem.
42284         [BZ #17582]
42285         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
42286         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
42287         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
42288         and define as weak alias of __fgets_unlocked.  Use
42289         libc_hidden_weak.
42290         (__fgets_unlocked): Use libc_hidden_def.
42291         * include/stdio.h (__fgets_unlocked): Declare.  Use
42292         libc_hidden_proto.
42293         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
42294         __fgets_unlocked instead of fgets_unlocked.
42295         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
42296         (GET_NPROCS_CONF_PARSER): Likewise.
42297         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
42298         (GET_NPROCS_CONF_PARSER): Likewise.
42300         [BZ #17574]
42301         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
42302         weak alias of __wmemset.  Use libc_hidden_weak.
42303         (__wmemset): Use libc_hidden_def.
42304         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
42305         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
42306         of wmemset.
42308         [BZ #17573]
42309         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
42310         with asm name __mempcpy.
42311         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
42313         [BZ #17572]
42314         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
42315         and define as weak alias of __rawmemchr.
42316         (__rawmemchr): Do not define as strong alias of rawmemchr.
42318         [BZ #17571]
42319         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
42320         alias of __qsort_r.
42321         (qsort): Call __qsort_r instead of qsort_r.
42322         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
42323         (__qsort_r): Declare.  Call libc_hidden_proto.
42324         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
42325         instead of qsort_r.
42326         * nscd/gai.c (__qsort_r): Define to qsort_r.
42327         * posix/tst-rfc3484.c (__qsort_r): Likewise.
42328         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
42329         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
42331         [BZ #17570]
42332         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
42333         define as weak alias of __malloc_info.
42335         [BZ #17584]
42336         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
42337         as weak alias of __rewinddir.  Don't use libc_hidden_def.
42338         (__rewinddir): Use libc_hidden_def.
42339         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
42340         as weak alias of __rewinddir.  Don't use libc_hidden_def.
42341         (__rewinddir): Use libc_hidden_def.
42342         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
42343         weak alias of __rewinddir.  Don't use libc_hidden_def.
42344         (__rewinddir): Use libc_hidden_def.
42345         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
42346         (__rewinddir): Use libc_hidden_proto.
42347         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
42348         rewinddir.
42349         (__getcwd): Use __rewinddir instead of rewinddir.
42351         [BZ #17583]
42352         * libio/fileno.c (fileno): Rename to __fileno and define as weak
42353         alias of __fileno.  Use libc_hidden_weak.
42354         (__fileno): Use libc_hidden_def.
42355         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
42356         * libio/ftello.c (ftello): Rename to __ftello and define as weak
42357         alias of __ftello.
42358         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
42359         __ftello.
42360         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
42361         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
42362         libc_hidden_def.
42363         (fread_unlocked): Don't use libc_hidden_ver.
42364         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
42365         and define as weak alias of __fread_unlocked.  Don't use
42366         libc_hidden_def.
42367         (__fread_unlocked): Use libc_hidden_def.
42368         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
42369         (ftello): Don't use libc_hidden_proto.
42370         (__ftello): Declare.  Use libc_hidden_proto.
42371         (fread_unlocked): Don't use libc_hidden_proto.
42372         (__fread_unlocked): Declare.  Use libc_hidden_proto.
42373         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
42374         and __ftello instead of fileno, fread_unlocked and ftello.
42376 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
42378         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
42379         GOT12.
42380         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
42381         Likewise.
42382         (_dl_start_user): Likewise.
42383         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
42385 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
42386             Siddhesh Poyarekar  <siddhesh@redhat.com>
42388         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
42389         Move argv and envp down instead of moving argc up.
42390         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
42392 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
42394         [BZ #17506]
42395         * test-skeleton.c (main): Return successful if one of
42396         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
42397         * string/tst-strcoll-overflow.c: Define expected status.
42399 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
42401         [BZ #17475]
42402         * locale/iso-639.def: Define Bhili and Tulu language codes.
42404 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
42406         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
42408 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
42410         [BZ #17555]
42411         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
42413 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
42415         * configure.ac: Updated check of minimal required version to
42416         2.22.
42417         * manual/install.texi (Tools for Compilation): Updated version
42418         number.
42419         * configure: Regenerated.
42420         * INSTALL: Likewise.
42422 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
42424         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
42425         __tls_get_addr.
42427 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
42429         * include/sys/wait.h (__libc_waitpid): Remove declaration.
42430         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
42431         (__waitpid): Don't define as alias.  Use libc_hidden_def not
42432         libc_hidden_weak.
42433         (waitpid): Define as alias of __waitpid.
42434         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
42435         __waitpid.
42436         (__waitpid): Don't define as alias.  Use libc_hidden_def not
42437         libc_hidden_weak.
42438         (waitpid): Define as alias of __waitpid.
42439         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
42440         __libc_waitpid alias.
42441         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
42442         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
42443         Likewise.
42444         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
42445         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
42446         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
42447         alias.
42448         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
42449         __waitpid.
42450         (__waitpid): Don't define as alias.  Use libc_hidden_def not
42451         libc_hidden_weak.
42452         (waitpid): Define as alias of __waitpid.
42454 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
42456         * manual/llio.texi: Add comment that write safety has been
42457         fixed in Linux.
42459         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
42460         (localplt-build-dso): Add elf/ld.so.
42461         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
42462         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
42463         and free for ld.so.
42464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
42465         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
42466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
42467         Likewise.
42468         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
42469         Likewise.
42470         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
42471         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
42472         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
42473         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
42474         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
42475         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
42476         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
42477         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
42478         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
42479         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
42480         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
42482 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
42484         [BZ #14132]
42485         * include/libc-symbols.h (INTUSE): Remove macro.
42486         (INTDEF): Likewise.
42487         (INTVARDEF): Likewise.
42488         (_INTVARDEF): Likewise.
42489         (INTDEF2): Likewise.
42490         (INTVARDEF2): Likewise.
42491         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
42492         rtld_hidden_def instead of INTVARDEF.
42493         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
42494         (_dl_starting_up_internal): Remove declaration.
42495         (_dl_starting_up): Use rtld_hidden_proto.
42496         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
42497         declaration.
42498         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
42499         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
42500         _dl_starting_up.
42501         * elf/dl-writev.h (_dl_writev): Likewise.
42502         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
42503         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
42504         _dl_starting_up_internal.
42506 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42508         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
42509         test-skeleton.c.
42511 2014-11-05  Will Newton  <will.newton@linaro.org>
42513         * benchtests/Makefile: (bench-malloc): Add malloc thread
42514         scalability benchmark.
42515         * benchtests/bench-malloc-threads.c: New file.
42517 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
42519         * sysdeps/aarch64/strchrnul.S: New file.
42521 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42523         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
42524         definition.
42525         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
42526         Likewise.
42527         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
42528         Likewise.
42529         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
42530         Likewise.
42531         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
42532         Likewise.
42533         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
42534         Likewise.
42536 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
42538         * catgets/test-gencat.c: Use test-skeleton.c.
42539         * catgets/tst-catgets.c: Likewise.
42540         * csu/tst-empty.c: Likewise.
42541         * elf/tst-audit2.c: Likewise.
42542         * elf/tst-global1.c: Likewise.
42543         * elf/tst-pathopt.c: Likewise.
42544         * elf/tst-piemod1.c: Likewise.
42545         * elf/tst-tls10.c: Likewise.
42546         * elf/tst-tls11.c: Likewise.
42547         * elf/tst-tls12.c: Likewise.
42548         * gnulib/tst-gcc.c: Likewise.
42549         * iconvdata/tst-e2big.c: Likewise.
42550         * iconvdata/tst-loading.c: Likewise.
42551         * iconv/tst-iconv1.c: Likewise.
42552         * iconv/tst-iconv2.c: Likewise.
42553         * inet/test-inet6_opt.c: Likewise.
42554         * inet/tst-gethnm.c: Likewise.
42555         * inet/tst-network.c: Likewise.
42556         * inet/tst-ntoa.c: Likewise.
42557         * intl/tst-codeset.c: Likewise.
42558         * intl/tst-gettext2.c: Likewise.
42559         * intl/tst-gettext3.c: Likewise.
42560         * intl/tst-ngettext.c: Likewise.
42561         * intl/tst-translit.c: Likewise.
42562         * io/test-stat.c: Likewise.
42563         * libio/test-fmemopen.c: Likewise.
42564         * libio/tst-freopen.c: Likewise.
42565         * libio/tst-sscanf.c: Likewise.
42566         * libio/tst-ungetwc1.c: Likewise.
42567         * libio/tst-ungetwc2.c: Likewise.
42568         * libio/tst-widetext.c: Likewise.
42569         * localedata/tst-ctype.c: Likewise.
42570         * localedata/tst-digits.c: Likewise.
42571         * localedata/tst-leaks.c: Likewise.
42572         * localedata/tst-mbswcs1.c: Likewise.
42573         * localedata/tst-mbswcs2.c: Likewise.
42574         * localedata/tst-mbswcs3.c: Likewise.
42575         * localedata/tst-mbswcs4.c: Likewise.
42576         * localedata/tst-mbswcs5.c: Likewise.
42577         * localedata/tst-setlocale.c: Likewise.
42578         * localedata/tst-trans.c: Likewise.
42579         * localedata/tst-wctype.c: Likewise.
42580         * localedata/tst-xlocale1.c: Likewise.
42581         * login/tst-grantpt.c: Likewise.
42582         * malloc/tst-calloc.c: Likewise.
42583         * malloc/tst-malloc.c: Likewise.
42584         * malloc/tst-mallocstate.c: Likewise.
42585         * malloc/tst-mcheck.c: Likewise.
42586         * malloc/tst-mtrace.c: Likewise.
42587         * malloc/tst-obstack.c: Likewise.
42588         * math/atest-exp2.c: Likewise.
42589         * math/atest-exp.c: Likewise.
42590         * math/atest-sincos.c: Likewise.
42591         * math/test-matherr.c: Likewise.
42592         * math/test-misc.c: Likewise.
42593         * math/test-powl.c: Likewise.
42594         * math/tst-definitions.c: Likewise.
42595         * misc/tst-dirname.c: Likewise.
42596         * misc/tst-efgcvt.c: Likewise.
42597         * misc/tst-fdset.c: Likewise.
42598         * misc/tst-hsearch.c: Likewise.
42599         * misc/tst-mntent2.c: Likewise.
42600         * nptl/tst-sem7.c: Likewise.
42601         * nptl/tst-sem8.c: Likewise.
42602         * nptl/tst-sem9.c: Likewise.
42603         * nss/test-netdb.c: Likewise.
42604         * posix/tst-fnmatch.c: Likewise.
42605         * posix/tst-getlogin.c: Likewise.
42606         * posix/tst-gnuglob.c: Likewise.
42607         * posix/tst-mmap.c: Likewise.
42608         * pwd/tst-getpw.c: Likewise.
42609         * resolv/tst-inet_ntop.c: Likewise.
42610         * rt/tst-timer.c: Likewise.
42611         * stdio-common/test-fseek.c: Likewise.
42612         * stdio-common/test-popen.c: Likewise.
42613         * stdio-common/test-vfprintf.c: Likewise.
42614         * stdio-common/tst-cookie.c: Likewise.
42615         * stdio-common/tst-fileno.c: Likewise.
42616         * stdio-common/tst-gets.c: Likewise.
42617         * stdio-common/tst-obprintf.c: Likewise.
42618         * stdio-common/tst-perror.c: Likewise.
42619         * stdio-common/tst-sprintf2.c: Likewise.
42620         * stdio-common/tst-sprintf3.c: Likewise.
42621         * stdio-common/tst-sprintf.c: Likewise.
42622         * stdio-common/tst-swprintf.c: Likewise.
42623         * stdio-common/tst-tmpnam.c: Likewise.
42624         * stdio-common/tst-unbputc.c: Likewise.
42625         * stdio-common/tst-wc-printf.c: Likewise.
42626         * stdlib/tst-environ.c: Likewise.
42627         * stdlib/tst-fmtmsg.c: Likewise.
42628         * stdlib/tst-limits.c: Likewise.
42629         * stdlib/tst-rand48-2.c: Likewise.
42630         * stdlib/tst-rand48.c: Likewise.
42631         * stdlib/tst-random2.c: Likewise.
42632         * stdlib/tst-random.c: Likewise.
42633         * stdlib/tst-strtol.c: Likewise.
42634         * stdlib/tst-strtoll.c: Likewise.
42635         * stdlib/tst-tls-atexit.c: Likewise.
42636         * stdlib/tst-xpg-basename.c: Likewise.
42637         * string/test-ffs.c: Likewise.
42638         * string/tst-bswap.c: Likewise.
42639         * string/tst-inlcall.c: Likewise.
42640         * string/tst-strtok.c: Likewise.
42641         * string/tst-strxfrm.c: Likewise.
42642         * sysdeps/x86_64/tst-audit10.c: Likewise.
42643         * sysdeps/x86_64/tst-audit3.c: Likewise.
42644         * sysdeps/x86_64/tst-audit4.c: Likewise.
42645         * sysdeps/x86_64/tst-audit5.c: Likewise.
42646         * time/tst-ftime_l.c: Likewise.
42647         * time/tst-getdate.c: Likewise.
42648         * time/tst-mktime3.c: Likewise.
42649         * time/tst-mktime.c: Likewise.
42650         * time/tst-posixtz.c: Likewise.
42651         * time/tst-strptime2.c: Likewise.
42652         * time/tst-strptime3.c: Likewise.
42653         * wcsmbs/tst-btowc.c: Likewise.
42654         * wcsmbs/tst-mbrtowc.c: Likewise.
42655         * wcsmbs/tst-mbsrtowcs.c: Likewise.
42656         * wcsmbs/tst-wchar-h.c: Likewise.
42657         * wcsmbs/tst-wcpncpy.c: Likewise.
42658         * wcsmbs/tst-wcrtomb.c: Likewise.
42659         * wcsmbs/tst-wcsnlen.c: Likewise.
42660         * wcsmbs/tst-wcstof.c: Likewise.
42662 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
42664         [BZ #14132]
42665         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
42666         INTDEF.
42667         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
42668         declaration.
42669         (_dl_mcount): Use rtld_hidden_proto.
42670         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
42671         _dl_mcount.
42672         * elf/rtld.c (_rtld_global_ro): Likewise.
42674         [BZ #14132]
42675         * elf/dl-init.c (_dl_init): Don't use INTDEF.
42676         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
42677         of _dl_init_internal.
42678         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
42679         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
42680         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
42681         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
42682         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
42683         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
42684         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
42685         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
42686         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
42687         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
42688         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
42689         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
42690         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
42691         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
42692         * sysdeps/tile/dl-start.S (_start): Likewise.
42693         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
42694         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
42696         [BZ #14132]
42697         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
42698         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
42699         (rtld_progname): Make macro definition unconditional.
42700         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
42701         INTDEF.
42702         (dlmopen_doit): Do not use INTUSE with _dl_argv.
42703         (dl_main): Likewise.
42704         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
42705         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
42706         instead of _dl_argv_internal.
42707         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
42708         __GI__dl_argv instead of INTUSE(_dl_argv).
42709         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
42710         __GI__dl_argv instead of _dl_argv_internal.
42712         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
42713         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
42714         macro.
42715         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
42716         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
42717         New macro.
42718         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
42719         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
42720         macro.
42721         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
42722         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
42724 2014-11-04  Andreas Schwab  <schwab@suse.de>
42726         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
42728 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42730         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
42731         mtvsrd instruction in binary form.
42733 2014-11-03  Andreas Schwab  <schwab@suse.de>
42735         [BZ #17522]
42736         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
42737         for less than MB_LEN_MAX use a local buffer of that size.
42738         * libio/tst-fputws.c: New file.
42739         * libio/Makefile (tests): Add tst-fputws.
42741 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
42743         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
42744         the size of the fpu_fr.fpu_dregs[] array.
42746 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
42748         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
42749         (__nanosleep): Do not define as alias.
42750         (nanosleep): Define as alias of __nanosleep.
42751         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
42752         __libc_nanosleep name.
42754 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
42756         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
42757         install.texi in comment.
42759 2014-10-31  Torvald Riegel  <triegel@redhat.com>
42761         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
42762         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
42763         ... add here and use lwsync or sync ...
42764         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
42765         ... and add here using lwsync.
42767 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
42769         * elf/dl-machine-reject-phdr.h: New file.
42770         * elf/dl-load.c: #include that.
42771         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
42772         if that returned true.
42774 2014-10-31  Roland McGrath  <roland@hack.frob.com>
42776         [BZ #17496]
42777         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
42778         gen-as-const-headers chunk.  Add a big scare comment after the last
42779         safe place to touch before-compile.
42781 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
42783         * manual/install.texi (Tools for Compilation): Update autoconf
42784         version requirements.
42785         * INSTALL: Regenerated.
42787         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
42788         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
42789         (__libc_pselect): Likewise.
42791         [BZ #14138]
42792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
42793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
42794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
42795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
42797 2014-10-31  Torvald Riegel  <triegel@redhat.com>
42799         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
42800         correct barrier instruction.
42801         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
42802         Likewise.
42803         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
42804         Likewise.
42806 2014-10-30  Roland McGrath  <roland@hack.frob.com>
42808         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
42809         after defining inlines.  Instead, just use parens to defeat macro
42810         expansion of __isctype in its declaration.
42812 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
42814         * include/sys/uio.h (__libc_readv): Remove declaration.
42815         (__libc_writev): Likewise.
42816         * misc/readv.c (__libc_readv): Rename to __readv.
42817         (__readv): Do not define as alias.
42818         (readv): Define as alias of __readv.
42819         * misc/writev.c (__libc_writev): Rename to __writev.
42820         (__writev): Do not define as alias.
42821         (writev): Define as alias of __writev.
42822         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
42823         (__readv): Do not define as alias.
42824         (readv): Define unconditionally as alias of __readv.
42825         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
42826         (__writev): Do not define as alias.
42827         (writev): Define unconditionally as alias of __writev.
42828         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
42829         name.
42830         (writev): Do not define __libc_writev name.
42832 2014-10-30  Roland McGrath  <roland@hack.frob.com>
42834         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
42835         (convert_charseq): New function, broken out of ...
42836         (use_from_charmap): ... here.  Call it.
42837         (use_to_charmap): Use convert_charseq and free instead of duplicating
42838         its code with a variable-length stack struct.
42840 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
42842         * include/fcntl.h (__libc_creat): Remove declaration.
42843         * io/creat.c (__libc_creat): Rename to creat.
42844         (creat): Do not define as alias.
42845         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
42846         of creat instead of __libc_creat.
42847         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
42848         to creat.
42849         (creat): Do not define as alias.
42850         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
42851         __libc_creat.
42852         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
42853         __libc_creat name.
42854         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
42855         Likewise.
42857 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
42859         * manual/llio.texi: Add comments discussing why write() may be
42860         considered MT-unsafe on Linux.
42862 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
42864         * dl-load.c (local_strdup): Remove.
42865         (expand_dynamic_string_token): Use __strdup.
42866         (decompose_rpath): Likewise.
42867         (_dl_map_object): Likewise.
42869 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
42871         [BZ #14132]
42872         * sysdeps/generic/unwind-dw2-fde.c
42873         (__register_frame_info_bases_internal): Do not declare.
42874         (__register_frame_info_table_bases_internal): Likewise.
42875         (__deregister_frame_info_bases_internal): Likewise.
42876         (__register_frame_info_bases): Declare and use hidden_proto before
42877         definition.  Use hidden_def instead of INTDEF.
42878         (__register_frame_info_table_bases): Likewise.
42879         (__deregister_frame_info_bases): Likewise.
42880         (__register_frame_info): Do not use INTUSE.
42881         (__register_frame): Likewise.
42882         (__register_frame_info_table): Likewise.
42883         (__register_frame_table): Likewise.
42884         (__deregister_frame_info): Likewise.
42885         (__deregister_frame): Likewise.
42887 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
42889         * sysdeps/unix/sysv/linux/arm/kernel-features.h
42890         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
42891         not undefine.
42892         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
42893         Likewise.
42894         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
42895         Likewise.
42897 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
42899         [BZ #14138]
42900         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
42901         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
42902         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
42903         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
42904         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
42905         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
42906         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
42907         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
42908         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
42909         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
42910         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
42911         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
42912         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
42913         syscall.
42914         (setfsuid): Likewise.
42915         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
42916         (setfsuid): Likewise.
42917         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
42918         (setfsuid): Likewise.
42919         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
42920         Likewise.
42921         (setfsuid): Likewise.
42922         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
42923         (setfsuid): Likewise.
42924         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
42925         Likewise.
42926         (setfsuid): Likewise.
42928 2014-10-27  Andreas Schwab  <schwab@suse.de>
42930         [BZ #17501]
42931         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
42932         check for Slow_SSE4_2 feature bit.
42933         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
42934         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
42935         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
42936         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
42938 2014-10-24  Roland McGrath  <roland@hack.frob.com>
42940         * configure.ac: Validate compiler version with a empirical test of
42941         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
42942         $CC -v output.
42943         * configure: Regenerated.
42945         * inet/htons.c (htons): Prototypify.
42946         * inet/htonl.c (htonl): Likewise.
42948 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
42950         * string/strncat.c (strncat): Improve performance by using strlen.
42952 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
42954         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
42956 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
42958         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
42959         Call libc_fetestexcept_aarch64.
42961 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
42963         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
42964         Call libc_feholdexcept_aarch64.
42966 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
42968         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
42969         Call get_rounding_mode.
42971 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
42973         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
42974         Simplify logic.
42976 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
42978         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
42979         Simplify logic.
42981 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
42983         [BZ #14138]
42984         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
42985         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
42986         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
42987         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
42988         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
42989         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
42990         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
42991         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
42992         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
42993         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
42994         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
42995         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
42996         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
42997         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
42998         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
42999         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
43000         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
43001         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
43002         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
43003         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
43004         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
43005         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
43006         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
43007         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
43008         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
43009         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
43010         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
43011         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
43012         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
43013         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
43014         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
43015         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
43016         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
43017         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
43018         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
43019         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
43020         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
43021         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
43022         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
43023         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
43024         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
43025         syscall.
43026         (geteuid): Likewise.
43027         (getgid): Likewise.
43028         (getuid): Likewise.
43029         (getresgid): Likewise.
43030         (getresuid): Likewise.
43031         (getgroups): Likewise.
43032         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
43033         (geteuid): Likewise.
43034         (getgid): Likewise.
43035         (getuid): Likewise.
43036         (getresgid): Likewise.
43037         (getresuid): Likewise.
43038         (getgroups): Likewise.
43039         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
43040         (geteuid): Likewise.
43041         (getgid): Likewise.
43042         (getuid): Likewise.
43043         (getresgid): Likewise.
43044         (getresuid): Likewise.
43045         (getgroups): Likewise.
43046         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
43047         Likewise.
43048         (geteuid): Likewise.
43049         (getgid): Likewise.
43050         (getuid): Likewise.
43051         (getresgid): Likewise.
43052         (getresuid): Likewise.
43053         (getgroups): Likewise.
43054         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
43055         (geteuid): Likewise.
43056         (getgid): Likewise.
43057         (getuid): Likewise.
43058         (getresgid): Likewise.
43059         (getresuid): Likewise.
43060         (getgroups): Likewise.
43061         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
43062         Likewise.
43063         (geteuid): Likewise.
43064         (getgid): Likewise.
43065         (getuid): Likewise.
43066         (getgroups): Likewise.
43068         [BZ #14138]
43069         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
43070         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
43071         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
43072         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
43073         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
43074         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
43075         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
43076         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
43077         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
43078         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
43079         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
43080         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
43081         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
43082         __chown.
43083         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
43084         (lchown): Likewise.
43085         (fchown): Likewise.
43086         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
43087         Likewise.
43088         (lchown): Likewise.
43089         (fchown): Likewise.
43090         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
43091         (lchown): Likewise.
43092         (fchown): Likewise.
43093         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
43094         Likewise.
43095         (lchown): Likewise.
43096         (fchown): Likewise.
43098 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
43100         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
43101         Simplify logic.
43103 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
43105         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
43106         Cleanup logic.
43108 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
43110         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
43111         Remove unused include.
43113 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
43115         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
43116         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
43117         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
43118         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
43120 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
43121             Helge Deller <deller@gmx.de>
43123         [BZ #17508]
43124         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
43125         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
43126         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
43128 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
43130         [BZ #14132]
43131         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
43132         Remove macro definition.
43133         (__ashrdi3_v_glibc20): Likewise.
43134         (__lshrdi3_v_glibc20): Likewise.
43135         (__cmpdi2_v_glibc20): Likewise.
43136         (__ucmpdi2_v_glibc20): Likewise.
43137         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
43138         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
43139         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
43140         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
43141         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
43142         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
43144 2014-10-22  Roland McGrath  <roland@hack.frob.com>
43146         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
43147         old GNU extension [0] syntax.
43148         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
43149         alloca rather than an array member with variable length.
43150         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
43151         * nscd/nscd.c (invalidate_db): New function, broken out of ...
43152         (parse_opt): ... here.  Likewise use alloca there.
43153         Validate the -i argument before checking for rootness.
43154         (send_shutdown): New function, broken out of ...
43155         (parse_opt): ... here.
43157 2014-10-22  Roland McGrath  <roland@hack.frob.com>
43159         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
43160         macro to get at the _rt_local_ro field.
43161         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
43162         ([PIC] case) or _dl_hwcap ([!PIC] case).
43163         * sysdeps/arm/setjmp.S: Likewise.
43165         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
43166         * sysdeps/arm/configure.ac: New check to define it.
43167         * sysdeps/arm/configure: Regenerated.
43168         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
43169         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
43170         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
43171         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
43172         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
43173         Use move/movt pair instead of a load.
43174         (LDST_GLOBAL): Macro removed.
43175         (LDR_GLOBAL): New macro replaces it.
43176         (LDR_HIDDEN): New macro.
43177         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
43178         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
43180         * setjmp/tst-setjmp-static.c: New file.
43181         * setjmp/Makefile (tests): Add it.
43182         (tests-static): New variable.
43184 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
43186         [BZ #17485]
43187         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
43189 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
43191         [BZ #14132]
43192         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
43194 2014-10-21  Roland McGrath  <roland@hack.frob.com>
43196         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
43198 2014-10-20  Roland McGrath  <roland@hack.frob.com>
43200         * io/fts.c (dirent_not_directory): New function.
43201         (fts_build): Call it.
43203 2014-10-20  Roland McGrath  <roland@hack.frob.com>
43205         * nptl/version.c (__nptl_main): Use normal __write rather than
43206         INTERNAL_SYSCALL.
43207         (banner): Update copyright years.
43209         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
43210         gettimeofday.
43211         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
43212         * nptl/pthread_cond_timedwait.c: Likewise.
43213         * nptl/pthread_mutex_timedlock.c: Likewise.
43214         * nptl/sem_timedwait.c: Likewise.
43216         * sysdeps/nptl/bits/libc-lock.h
43217         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
43218         (__libc_lock_init_recursive): Return void, not 0.
43219         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
43220         (__libc_rwlock_init): Likewise.
43221         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
43223 2014-10-20  Torvald Riegel  <triegel@redhat.com>
43225         [BZ #15215]
43226         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
43227         (__pthread_once_slow): ... here.
43228         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
43229         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
43231 2014-10-20  Torvald Riegel  <triegel@redhat.com>
43233         [BZ #15215]
43234         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
43235         __PTHREAD_ONCE_FORK_GEN_INCR): New.
43236         * sysdeps/nptl/fork.c (__libc_fork): Use them.
43237         * nptl/pthread_once.c (__pthread_once): Likewise.
43238         Update comments.
43240 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
43242         [BZ #14138]
43243         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
43244         name.
43245         (writev): Use __libc_writev as strong name.
43246         * sysdeps/unix/sysv/linux/readv.c: Remove file.
43247         * sysdeps/unix/sysv/linux/writev.c: Likewise.
43249 2014-10-17  Roland McGrath  <roland@hack.frob.com>
43251         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
43253         * sysdeps/i386/nptl/tls.h
43254         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
43255         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
43256         New macros.
43257         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
43258         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
43259         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
43260         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
43261         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
43262         Call CHECK_THREAD_SYSINFO instead of doing an assert.
43264         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
43265         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
43266         on [__NR_futex].
43267         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
43268         broken out of ...
43269         (__pthread_mutex_init): ... here.  Call it.
43270         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
43271         Conditionalize PI cases on [__NR_futex].
43272         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
43273         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
43274         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
43276         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
43277         conditional on [SIGSETXID].
43278         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
43279         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
43280         is defined.  Likewise for SIGSETXID.
43281         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
43282         Conditionalize definitions on [SIGSETXID].
43283         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
43284         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
43285         unblocking on [SIGCANCEL].
43287         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
43288         [__NR_set_robust_list].
43290 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
43292         * string/strcoll_l.c (get_next_seq): Fix up formatting.
43293         (do_compare): Likewise.
43295 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
43297         [BZ #15884]
43298         * string/strcoll_l.c: Don't include stdio.h.
43299         (coll_seq): Remove members idxarr and rulearr.
43300         (get_next_seq_cached): Remove function.
43301         (get_next_seq): Likewise.
43302         (get_next_seq_nocache): Rename to get_next_seq.
43303         (do_compare): Remove function.
43304         (do_compare_nocache): Rename to do_compare.
43305         (STRCOLL): Remove weight and rules cache.
43307 2014-10-16  Roland McGrath  <roland@hack.frob.com>
43309         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
43310         * sysdeps/arm/sfp-machine.h: ... to here.
43311         * sysdeps/arm/Implies: Remove arm/soft-fp.
43313 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
43315         * conform/data/sys/utsname.h-data (*_t): Allow.
43316         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
43317         [POSIX] (WEXITED): Do not expect constant.
43318         [POSIX] (WSTOPPED): Likewise.
43319         [POSIX] (WNOHANG): Likewise.
43320         [POSIX] (WNOWAIT): Likewise.
43321         [POSIX] (siginfo_t): Do not expect type or elements.
43322         [POSIX] (pid_t): Do not expect type.
43323         [POSIX] (signal.h): Do not allow header.
43324         [POSIX] (sys/resource.h): Likewise.
43325         [POSIX] (si_*): Do not allow pattern.
43326         [POSIX] (W*): Likewise.
43327         [POSIX] (P_*): Likewise.
43328         [POSIX] (BUS_*): Likewise.
43329         [POSIX] (CLD_*): Likewise.
43330         [POSIX] (FPE_*): Likewise.
43331         [POSIX] (ILL_*): Likewise.
43332         [POSIX] (POLL_*): Likewise.
43333         [POSIX] (SEGV_*): Likewise.
43334         [POSIX] (SI_*): Likewise.
43335         [POSIX] (TRAP_*): Likewise.
43336         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
43337         variable.
43339 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
43341         [BZ #12926]
43342         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
43343         infinite loop when __recvmsg returns 0.
43345 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
43347         * CANCEL-FCT-WAIVE: Remove file.
43348         * CANCEL-FILE-WAIVE: Likewise.
43350         [BZ #14132]
43351         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
43352         instead of INTVARDEF.
43353         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
43354         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
43355         rtld_hidden_data_def instead of INTVARDEF.
43356         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
43357         * elf/dl-deps.c (expand_dst): Likewise.
43358         * elf/dl-load.c (_dl_dst_count): Likewise.
43359         (_dl_dst_substitute): Likewise.
43360         (decompose_rpath): Likewise.
43361         (_dl_init_paths): Likewise.
43362         (open_path): Likewise.
43363         (_dl_map_object): Likewise.
43364         * elf/rtld.c (dl_main): Likewise.
43365         (process_dl_audit): Likewise.
43366         (process_envvars): Likewise.
43367         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
43368         Remove declaration.
43369         (__libc_enable_secure): Use rtld_hidden_proto.
43371 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
43373         * elf/dl-load.c
43374         (add_path): New function broken out of _dl_rtld_di_serinfo.
43375         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
43377 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
43379         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
43380         parentheses around macro arguments.
43381         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
43382         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
43383         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
43384         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
43385         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
43386         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
43387         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
43388         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
43389         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
43390         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
43391         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
43392         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
43393         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
43394         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
43395         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
43396         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
43397         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
43398         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
43399         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
43400         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
43401         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
43402         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
43403         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
43404         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
43405         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
43406         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
43407         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
43408         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
43409         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
43410         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
43411         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
43412         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
43413         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
43414         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
43415         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
43416         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
43417         Likewise.
43418         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
43419         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
43420         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
43421         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
43422         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
43423         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
43424         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
43425         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
43426         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
43427         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
43428         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
43429         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
43430         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
43431         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
43432         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
43433         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
43434         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
43435         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
43436         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
43437         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
43438         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
43439         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
43440         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
43441         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
43442         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
43443         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
43444         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
43445         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
43446         (_FP_FRAC_SRS_1): Likewise.
43447         (_FP_FRAC_CLZ_1): Likewise.
43448         (_FP_MUL_MEAT_1_imm): Likewise.
43449         (_FP_MUL_MEAT_1_wide): Likewise.
43450         (_FP_MUL_MEAT_1_hard): Likewise.
43451         (_FP_SQRT_MEAT_1): Likewise.
43452         (_FP_FRAC_ASSEMBLE_1): Likewise.
43453         (_FP_FRAC_DISASSEMBLE_1): Likewise.
43454         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
43455         (__FP_CLZ_2): Likewise.
43456         (_FP_MUL_MEAT_2_wide): Likewise.
43457         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
43458         (_FP_MUL_MEAT_2_gmp): Likewise.
43459         (_FP_MUL_MEAT_2_120_240_double): Likewise.
43460         (_FP_SQRT_MEAT_2): Likewise.
43461         (_FP_FRAC_ASSEMBLE_2): Likewise.
43462         (_FP_FRAC_DISASSEMBLE_2): Likewise.
43463         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
43464         (_FP_FRAC_CLZ_4): Likewise.
43465         (_FP_MUL_MEAT_4_wide): Likewise.
43466         (_FP_MUL_MEAT_4_gmp): Likewise.
43467         (_FP_SQRT_MEAT_4): Likewise.
43468         (_FP_FRAC_ASSEMBLE_4): Likewise.
43469         (_FP_FRAC_DISASSEMBLE_4): Likewise.
43470         * soft-fp/op-common.h (_FP_CMP): Likewise.
43471         (_FP_CMP_EQ): Likewise.
43472         (_FP_CMP_UNORD): Likewise.
43473         (_FP_TO_INT): Likewise.
43474         (_FP_FROM_INT): Likewise.
43475         [!__FP_CLZ] (__FP_CLZ): Likewise.
43476         (_FP_DIV_HELP_imm): Likewise.
43477         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
43478         Likewise.
43479         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
43480         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
43481         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
43482         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
43483         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
43484         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
43485         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
43486         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
43487         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
43488         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
43489         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
43490         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
43491         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
43492         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
43493         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
43494         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
43495         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
43496         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
43497         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
43498         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
43499         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
43500         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
43501         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
43502         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
43503         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
43504         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
43505         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
43506         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
43507         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
43508         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
43509         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
43510         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
43511         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
43512         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
43513         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
43514         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
43515         (FP_UNPACK_RAW_SP): Likewise.
43516         (FP_PACK_RAW_S): Likewise.
43517         (FP_PACK_RAW_SP): Likewise.
43518         (FP_UNPACK_S): Likewise.
43519         (FP_UNPACK_SP): Likewise.
43520         (FP_UNPACK_SEMIRAW_S): Likewise.
43521         (FP_UNPACK_SEMIRAW_SP): Likewise.
43522         (FP_PACK_S): Likewise.
43523         (FP_PACK_SP): Likewise.
43524         (FP_PACK_SEMIRAW_S): Likewise.
43525         (FP_PACK_SEMIRAW_SP): Likewise.
43526         (_FP_SQRT_MEAT_S): Likewise.
43527         (FP_CMP_S): Likewise.
43528         (FP_CMP_EQ_S): Likewise.
43529         (FP_CMP_UNORD_S): Likewise.
43530         (FP_TO_INT_S): Likewise.
43531         (FP_FROM_INT_S): Likewise.
43533         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
43535         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
43536         (FP_EX_INVALID_IMZ): Likewise.
43537         (FP_EX_INVALID_IMZ_FMA): Likewise.
43538         (FP_EX_INVALID_ISI): Likewise.
43539         (FP_EX_INVALID_ZDZ): Likewise.
43540         (FP_EX_INVALID_IDI): Likewise.
43541         (FP_EX_INVALID_SQRT): Likewise.
43542         (FP_EX_INVALID_CVI): Likewise.
43543         (FP_EX_INVALID_VC): Likewise.
43544         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
43545         "invalid" exceptions.
43546         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
43547         (_FP_ADD_INTERNAL): Likewise.
43548         (_FP_MUL): Likewise.
43549         (_FP_FMA): Likewise.
43550         (_FP_DIV): Likewise.
43551         (_FP_CMP_CHECK_NAN): Likewise.
43552         (_FP_SQRT): Likewise.
43553         (_FP_TO_INT): Likewise.
43554         (FP_EXTEND): Likewise.
43556 2014-10-09  Allan McRae  <allan@archlinux.org>
43558         * po/fr.po: Update French translation from translation project.
43560 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
43562         [BZ #14132]
43563         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
43564         of INTDEF.
43565         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
43566         (__cxa_atexit): Use libc_hidden_proto.
43567         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
43569         [BZ #14132]
43570         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
43571         declaration.
43572         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
43573         [!_ISOMAC] (__iswspace_l_internal): Likewise.
43574         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
43575         [!_ISOMAC] (__iswctype_internal): Likewise.
43576         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
43577         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
43578         alias.
43579         (fcntl): Remove __fcntl_internal alias.
43580         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
43581         __connect_internal alias.
43582         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
43583         Likewise.
43585         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
43586         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
43587         FP_DENORM_ZERO.
43588         (_FP_CHECK_FLUSH_ZERO): New macro.
43589         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
43590         (_FP_CMP): Likewise.
43591         (_FP_CMP_EQ): Likewise.
43592         (_FP_TO_INT): Do not set inexact for subnormal arguments if
43593         FP_DENORM_ZERO.
43594         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
43595         (FP_TRUNC): Likewise.
43597         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
43598         treated as invalid conversion, not as normal exponent.
43600         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
43601         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
43602         (_FP_CMP_EQ): Likewise.
43603         (_FP_CMP_UNORD): Likewise.
43604         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
43605         (FP_CMP_EQ_D): Likewise.
43606         (FP_CMP_UNORD_D): Likewise.
43607         * soft-fp/extended.h (FP_CMP_E): Likewise.
43608         (FP_CMP_EQ_E): Likewise.
43609         (FP_CMP_UNORD_E): Likewise.
43610         * soft-fp/quad.h (FP_CMP_Q): Likewise.
43611         (FP_CMP_EQ_Q): Likewise.
43612         (FP_CMP_UNORD_Q): Likewise.
43613         * soft-fp/single.h (FP_CMP_S): Likewise.
43614         (FP_CMP_EQ_S): Likewise.
43615         (FP_CMP_UNORD_S): Likewise.
43616         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
43617         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
43618         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
43619         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
43620         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
43621         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
43622         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
43623         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
43624         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
43625         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
43626         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
43627         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
43628         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
43629         to FP_CMP_Q.
43630         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
43631         FP_CMP_Q.
43632         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
43633         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
43634         FP_CMP_EQ_Q.
43635         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
43636         FP_CMP_Q.
43637         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
43638         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
43639         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
43640         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
43641         FP_CMP_EQ_Q.
43642         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
43643         FP_CMP_Q.
43644         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
43645         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
43646         FP_CMP_EQ_Q.
43647         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
43648         FP_CMP_Q.
43649         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
43650         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
43651         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
43652         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
43653         FP_CMP_EQ_Q.
43655         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
43656         a subnormal result, set the underflow exception if trapping on
43657         underflow is enabled.
43658         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
43659         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
43660         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
43661         redefine to 0.
43662         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
43663         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
43664         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
43665         * soft-fp/extendxftf2.c (__extendxftf2): Use
43666         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
43668         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
43669         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
43670         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
43671         FP_HANDLE_EXCEPTIONS.
43672         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
43673         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
43674         FP_HANDLE_EXCEPTIONS.
43675         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
43676         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
43677         FP_HANDLE_EXCEPTIONS.
43678         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
43679         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
43680         FP_HANDLE_EXCEPTIONS.
43682 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
43684         [BZ #14132]
43685         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
43686         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
43687         use INTUSE.
43688         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
43689         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
43690         Remove alias.
43691         (__adjtimex): Define using libc_hidden_ver.
43692         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
43693         Remove declaration.
43694         (ntp_gettime): Call __adjtimex directly.
43695         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
43696         Remove declaration.
43697         (ntp_gettimex): Call __adjtimex directly.
43698         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
43699         __adjtimex_internal alias.
43701 2014-10-08  Roland McGrath  <roland@hack.frob.com>
43703         [BZ #17460]
43704         * nscd/nscd.c (more_help): Rewrite list of tables collection
43705         using xstrdup and asprintf.
43707         * nscd/nscd_conf.c: Remove local xstrdup declaration.
43709 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
43710             Roland McGrath  <roland@hack.frob.com>
43712         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
43713         (do_lookup_unique): ... local function 'enter' here; update callers.
43715 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
43717         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
43718         compat_symbol calls on [SHARED].
43719         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
43720         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
43721         Remove.
43722         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
43723         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
43724         (oldsetrlimit): Remove.
43725         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
43726         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
43727         (lchown): New syscall entry.
43728         (oldsetrlimit): Remove.
43729         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
43730         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
43731         (oldsetrlimit): Remove.
43732         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
43734         [BZ #14138]
43735         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
43736         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
43737         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
43738         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
43739         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
43740         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
43741         (fchown): Likewise.
43742         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
43743         (fchown): Likewise.
43744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
43745         Likewise.
43747 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43749         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
43750         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
43751         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
43752         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
43753         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
43754         Likewise.
43755         (__old_sem_post): Likewise.
43757 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
43759         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
43760         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
43761         HAVE_CLOCK_GETTIME_VSYSCALL macros.
43762         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
43763         Use INLINE_VSYSCALL macro.
43764         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
43765         __vdso_clock_gettime.
43766         * sysdeps/unix/sysv/linux/tile/init-first.c
43767         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
43768         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
43769         __vdso_clock_gettime.
43771         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
43772         to set up frame more cleanly.
43774         * sysdeps/tile/memcmp.c: New file.
43776         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
43778         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
43779         * sysdeps/tile/tilegx/strcasestr.c: New file.
43780         * sysdeps/tile/tilegx/strnlen.c: New file.
43781         * sysdeps/tile/tilegx/strstr.c: New file.
43783         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
43785 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
43787         * nptl/tst-setuid3.c: Write errors to stdout.
43789 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
43791         * elf/dl-deps.c
43792         (preload): New functions broken out of _dl_map_object_deps.
43793         (_dl_map_object_deps):  Remove a nested function. Update call sites.
43795 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
43797         [BZ #14138]
43798         * sysdeps/unix/sysv/linux/execve.c: Remove file.
43799         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
43801 2014-10-01  Steve Ellcey  <sellcey@mips.com>
43803         * sysdeps/mips/strcmp.S: New.
43805 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
43807         [BZ #14138]
43808         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
43809         (linkat): Likewise.
43810         (mkdirat): Likewise.
43811         (readlinkat): Likewise.
43812         (renameat): Likewise.
43813         (symlinkat): Likewise.
43814         (unlinkat): Likewise.
43815         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
43816         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
43817         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
43818         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
43819         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
43820         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
43821         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
43823 2014-09-30  Will Newton  <will.newton@linaro.org>
43825         * math/math.h: Define long double math functions if
43826         _LIBC_TEST is defined.
43827         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
43829         * localedata/Makefile: Move assignment to tests-special
43830         into an ifdef testing run-built-tests.
43831         * timezone/Makefile: Likewise.
43833 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
43835         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
43836         with $(BASH) not $(SHELL).
43838 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
43839             Matthew LeGendre  <legendre1@llnl.gov>
43841         [BZ #17411]
43842         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
43843         l_reloc_result.
43845 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
43847         * stdio-common/printf_fp.c
43848         (hack_digit): New function, broken out of ...
43849         (__printf_fp): ... local function here.  Update call sites.
43850         hack_digit now takes an additional parameter that is a pointer
43851         to a struct of the referenced locals.  Those locals moved inside
43852         the struct and references updated.
43854 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
43856         * aclocal.m4: Require autoconf 2.69.
43857         * configure: Regenerated.
43858         * sysdeps/aarch64/configure: Likewise.
43859         * sysdeps/alpha/configure: Likewise.
43860         * sysdeps/arm/armv7/configure: Likewise.
43861         * sysdeps/arm/configure: Likewise.
43862         * sysdeps/ia64/configure: Likewise.
43863         * sysdeps/mach/configure: Likewise.
43864         * sysdeps/mips/configure: Likewise.
43865         * sysdeps/s390/configure: Likewise.
43866         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
43867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
43869         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
43870         file.
43871         * sysdeps/ia64/configure.ac: Likewise.
43873 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
43875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
43876         specify symbol version for ld.so.  Do not include entry for
43877         libpthread.
43878         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
43879         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
43880         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
43882         [BZ #14171]
43883         * Makeconfig [$(build-shared) = yes]
43884         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
43885         makefiles.
43886         [$(build-shared) = yes && $(soversions.mk-done) = t]
43887         ($(common-objpfx)gnu/lib-names.h): Remove rule.
43888         [$(build-shared) = yes && $(soversions.mk-done) = t]
43889         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
43890         to Makerules.
43891         [$(build-shared) = yes && $(soversions.mk-done) = t]
43892         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
43893         here.
43894         [$(build-shared) = yes && $(soversions.mk-done) = t]
43895         (common-generated): Don't append gnu/lib-names.h and
43896         gnu/lib-names.stmp here.
43897         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
43898         (lib-names-h-abi): New variable.
43899         [$(build-shared) = yes && $(soversions.mk-done) = t]
43900         (lib-names-stmp-abi): Likewise.
43901         [$(build-shared) = yes && $(soversions.mk-done) = t &&
43902         abi-variants] (before-compile): Append
43903         $(common-objpfx)$(lib-names-h-abi).
43904         [$(build-shared) = yes && $(soversions.mk-done) = t &&
43905         abi-variants] (common-generated): Append gnu/lib-names.h.
43906         [$(build-shared) = yes && $(soversions.mk-done) = t &&
43907         abi-variants] (install-others-nosubdir): Depend on
43908         $(inst_includedir)/$(lib-names-h-abi).
43909         [$(build-shared) = yes && $(soversions.mk-done) = t &&
43910         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
43911         [$(build-shared) = yes && $(soversions.mk-done) = t]
43912         ($(common-objpfx)$(lib-names-h-abi)): New rule.
43913         [$(build-shared) = yes && $(soversions.mk-done) = t]
43914         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
43915         [$(build-shared) = yes && $(soversions.mk-done) = t]
43916         (common-generated): Append $(lib-names-h-abi) and
43917         $(lib-names-stmp-abi).
43918         * scripts/lib-names.awk: Do not handle multi being set.
43919         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
43920         Remove variable.
43921         (abi-lp64_be-ld-soname): Likewise.
43922         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
43923         Likewise.
43924         (abi-hard-ld-soname): Likewise.
43925         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
43926         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
43927         Remove variable.
43928         (abi-o32_hard-ld-soname): Likewise.
43929         (abi-o32_soft_2008-ld-soname): Likewise.
43930         (abi-o32_hard_2008-ld-soname): Likewise.
43931         (abi-n32_soft-ld-soname): Likewise.
43932         (abi-n32_hard-ld-soname): Likewise.
43933         (abi-n32_soft_2008-ld-soname): Likewise.
43934         (abi-n32_hard_2008-ld-soname): Likewise.
43935         (abi-n64_soft-ld-soname): Likewise.
43936         (abi-n64_hard-ld-soname): Likewise.
43937         (abi-n64_soft_2008-ld-soname): Likewise.
43938         (abi-n64_hard_2008-ld-soname): Likewise.
43939         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
43940         Likewise.
43941         (abi-64-v2-ld-soname): Likewise.
43942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
43943         ld.so entries.
43944         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
43945         variable.
43946         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
43947         entry.
43948         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
43949         variable.
43950         (abi-64-ld-soname): Likewise.
43951         (abi-x32-ld-soname): Likewise.
43952         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
43953         entry.
43954         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
43956 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
43958         [BZ #14138]
43959         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
43960         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
43961         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
43962         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
43963         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
43964         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
43965         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
43966         syscall entry for GLIBC_2.2 symbol version.
43967         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
43968         Likewise.
43969         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
43970         (setrlimit): Likewise.
43971         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
43972         Likewise.
43974 2014-09-23  Will Newton  <will.newton@linaro.org>
43976         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
43977         _LINUX_ARM_SYSDEP_H include guard too.
43978         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
43979         define.
43981 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
43983         * sysdeps/unix/sysv/linux/eventfd.c:
43984         Make first argument unsigned.
43985         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
43986         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
43988 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
43990         [BZ #16852]
43991         * socket/recvmmsg.c (recvmmsg): Drop const argument.
43992         * socket/sys/socket.h: Likewise.
43993         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
43995 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43997         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
43999 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
44001         * time/tst-ftime.c: New test.
44002         * time/Makefile (tests): Add tst-ftime.
44004 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
44006         * soft-fp/extended.h: Fix comment formatting.
44007         * soft-fp/op-1.h: Likewise.
44008         * soft-fp/op-2.h: Likewise.
44009         * soft-fp/op-4.h: Likewise.
44010         * soft-fp/op-8.h: Likewise.
44011         * soft-fp/op-common.h: Likewise.
44012         * soft-fp/soft-fp.h: Likewise.
44014         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
44016 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
44018         [BZ #6652]
44019         * Makeconfig (soversions-default-setname): Remove variable.
44020         ($(common-objpfx)soversions.i): Don't pass default_setname to
44021         soversions.awk.
44022         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
44023         oldest_abi to abi-versions.awk.
44024         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
44025         * config.make.in (oldest-abi): Remove variable.
44026         * configure.ac (--enable-oldest-abi): Remove configure option.
44027         * configure: Regenerated.
44028         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
44029         text.
44030         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
44031         * scripts/soversions.awk: Do not handle default_setname variable.
44032         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
44033         variable.
44034         * sysdeps/mach/hurd/configure: Regenerated.
44035         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
44036         variable.
44037         * sysdeps/unix/sysv/linux/configure: Regenerated.
44039 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
44041         * elf/Makefile (CFLAGS-interp.c): Remove.
44042         ($(elf-objpfx)runtime-linker.h): Generate header with linker
44043         path string.
44044         * elf/interp.c: Include generated runtime-linker.h
44046         * Makerules (lib%.so): Don't include $(+interp) in
44047         prerequisites.
44048         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
44049         * dlfcn/eval.c: Remove file.
44051         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
44052         macros.
44054         [BZ #17266]
44055         * misc/sys/cdefs.h: Define __extern_always_inline for clang
44056         4.2 and newer.
44058         [BZ #17370]
44059         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
44061 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
44062             Jakub Jelinek  <jakub@redhat.com>
44064         [BZ #17266]
44065         * libio/stdio.h: Check definition of __fortify_function
44066         instead of __extern_always_inline to include bits/stdio2.h.
44067         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
44068         check if __extern_always_inline is defined.
44069         [__USE_MISC || __USE_XOPEN]: Likewise.
44070         [__USE_ISOC99] Likewise.
44071         * misc/sys/cdefs.h (__fortify_function): Define only if
44072         __extern_always_inline is defined.
44073         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
44074         __extern_always_inline and __extern_inline only for g++-4.3
44075         and newer or a compatible gcc.
44077 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
44079         [BZ #17371]
44080         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
44081         last change to handle zero prefix length.
44083 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
44085         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
44086         _SC_REGEX_VERSION.
44088         * posix/getconf.c (vars): Add _POSIX_IPV6 and
44089         _POSIX_RAW_SOCKETS.
44091 2014-09-13  Allan McRae  <allan@archlinux.org>
44093         * po/ru.po: Update Russian translation from translation project.
44095 2014-09-12  Roland McGrath  <roland@hack.frob.com>
44097         * locale/programs/locale.c (show_locale_vars): Inline local function
44098         into its sole call site.  Clean up some style nits.
44099         (print_item): New function, broken out of ...
44100         (show_info): ... local function here.  Clean up style nits.
44102         * locale/programs/ld-ctype.c (set_one_default): New function, broken
44103         out of ...
44104         (set_class_defaults): ... local function set_default here.
44105         Define set_default as a macro locally to pass constant parameters.
44106         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
44107         rather than a shared local.
44109         * stdlib/rpmatch.c (try): New function, broken out of ...
44110         (rpmatch): ... local function here.  Also, prototypify definition.
44112 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
44114         * scripts/soversions.awk: Do not handle configuration names.
44115         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
44116         vendor and os variables to soversions.awk.
44117         * configure.ac: Do not modify gnu-* host_os.
44118         * configure: Regenerated
44119         * shlib-versions: Remove first column with configuration names.
44120         * nptl/shlib-versions: Likewise.
44121         * nptl_db/shlib-versions: Likewise.
44122         * sysdeps/hppa/shlib-versions: Likewise.
44123         * sysdeps/m68k/shlib-versions: Likewise.
44124         * sysdeps/mach/hurd/shlib-versions: Likewise.
44125         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
44126         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
44127         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
44128         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
44129         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
44130         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
44131         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
44132         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
44133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
44134         Likewise.
44135         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
44136         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
44137         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
44138         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
44139         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
44140         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
44141         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
44142         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
44144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
44145         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
44146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
44147         Regenerated.
44148         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
44149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
44150         Condition symbol version definitions on [HAVE_ELFV2_ABI].
44152         * shlib-versions: Remove OS-specific entries.  Moved to files in
44153         sysdeps.
44154         * sysdeps/mach/hurd/shlib-versions: New file.
44155         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
44157         * nptl/shlib-versions: Remove architecture-specific entries.
44158         Moved to files in sysdeps.
44159         * shlib-versions: Likewise.
44160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
44161         file.
44162         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
44163         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
44164         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
44165         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
44167         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
44168         (UDP_NO_CHECK6_RX): Likewise.
44170 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
44172         * sysdeps/posix/sysconf.c (__sysconf): Spell
44173         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
44175 2014-08-12  Florian Weimer  <fweimer@redhat.com>
44177         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
44178         loading.
44179         * iconv/Versions (__gconv_transliterate): Export for use from
44180         gconv modules.
44181         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
44182         (struct __gconv_trans_data, __gconv_trans_fct,
44183         __gconv_trans_context_fct, __gconv_trans_query_fct,
44184         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
44185         definitions.
44186         (struct __gconv_step_data): Remove __trans member.
44187         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
44188         longer hidden.  Remove unused trans_data argument.
44189         * iconv/gconv_int.h (struct trans_struct): Remove definition.
44190         (__gconv_translit_find): Remove declaration.
44191         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
44192         prototype.
44193         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
44194         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
44195         trans_data argument.  Add hidden definition.
44196         (__gconv_translit_find): Remove.
44197         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
44198         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
44199         * iconv/skeleton.c: Remove transliteration initialization.
44200         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
44201         __gconv_step_data initialization.
44202         * libio/iofwide.c (__libio_translit_): Remove.
44203         (_IO_fwide): Adjust struct __gconv_step_data initialization.
44204         * wcsmbs/btowc.c (__btowc): Likewise.
44205         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
44206         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
44207         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
44208         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
44209         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
44210         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
44211         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
44212         * wcsmbs/wctob.c (wctob): Likewise.
44214 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
44216         [BZ #16194]
44217         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
44218         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
44219         register usage.
44220         * sysdeps/x86/Makefile: Adjust.
44222 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
44223             Roland McGrath  <roland@hack.frob.com>
44225         * locale/weight.h: Add include guard.
44226         (findidx): Make static rather than auto; take new parameters
44227         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
44228         * locale/weightwc.h: Likewise.
44229         * posix/fnmatch_loop.c
44230         (FCT): Change type of EXTRA from int32_t to wint_t.
44231         Don't include either header inside the function.
44232         Call FINDIDX rather than findidx, and pass new arguments.
44233         #undef FINDIDX at the end of the file.
44234         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
44235         FINDIDX before including fnmatch_loop.c for the non-wide version.
44236         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
44237         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
44238         for the wide version.
44239         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
44240         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
44241         Pass new arguments to findidx.
44242         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
44243         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
44244         Don't #include it inside the function.  Pass new arguments to findidx.
44245         * posix/regex_internal.h
44246         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
44247         (re_string_elem_size_at): Don't #include it inside the function.
44248         Pass new arguments to findidx.
44249         * string/strcoll_l.c: #include WEIGHT_H at top level.
44250         (get_next_seq): Don't #include it inside the function.
44251         Pass new arguments to findidx.
44252         (get_next_seq_nocache): Likewise.
44253         * string/strxfrm_l.c: #include WEIGHT_H at top level.
44254         (STRXFRM): Don't #include it inside the function.
44255         Pass new arguments to findidx.
44257 2014-09-11  Florian Weimer  <fweimer@redhat.com>
44259         [BZ #17344]
44260         * malloc/malloc.c (unlink): Turn asserts into a call to
44261         malloc_printerr.
44263 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
44265         [BZ #17370]
44266         * libio/wfileops (do_ftell_wide): Free OUT.
44268 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
44270         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
44272 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
44274         [BZ #17363]
44275         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
44276         group if the current group is empty.
44278 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44280         * benchtests/bench-memset.c (test_main): Add more test from size
44281         from 32 to 512 bytes.
44282         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
44283         Add POWER8 memset object.
44284         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44285         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
44286         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
44287         implementation.
44288         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
44289         Likewise.
44290         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
44291         multiarch POWER8 memset optimization.
44292         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
44293         POWER8 memset optimization.
44295         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
44296         Remove bzero multiarch objects.
44297         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
44298         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
44299         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
44300         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
44301         Remove define.
44302         [__bzero]: Redefine to specific name.
44303         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
44304         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
44305         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
44306         define.
44307         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
44308         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
44310 2014-09-10  Florian Weimer  <fweimer@redhat.com>
44312         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
44313         warnings into errors.
44315         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
44316         __cxa_thread_atexit_impl prototype.
44318 2014-09-09  Steve Ellcey  <sellcey@mips.com>
44320         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
44321         Fix capitalization of error message.
44323 2014-09-09  Steve Ellcey  <sellcey@mips.com>
44325         * sysdeps/mips/preconfigure: Modify ABI tests.
44327 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
44329         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
44331 2014-09-07  Roland McGrath  <roland@hack.frob.com>
44332             Carlos O'Donell  <carlos@systemhalted.org>
44334         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
44335         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
44336         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
44337         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
44338         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
44339         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
44340         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
44341         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
44342         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
44343         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
44344         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
44345         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
44346         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
44347         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
44348         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
44349         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
44350         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
44351         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
44352         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
44353         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
44354         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
44355         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
44356         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
44357         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
44358         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
44359         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
44360         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
44361         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
44362         Deconditionalize the code that was previously under [RESET_PID].
44363         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
44364         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
44365         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
44366         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
44367         include sysdep.h.
44369 2014-09-08  Allan McRae  <allan@archlinux.org>
44371         * version.h (RELEASE): Set to "development".
44372         (VERSION): Set to "2.20.90"
44374 2014-09-07  Allan McRae  <allan@archlinux.org
44376         * version.h (RELEASE): Set to "stable".
44377         (VERSION): Set to "2.20"
44378         * include/features.h (__GLIBC_MINOR__): Set to 20.
44380         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
44381         Liebler.
44383         * po/ko.po: Update Korean translation from translation project.
44385 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
44387         [BZ #17354]
44388         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
44389         macro for handling signed relocations.
44391 2014-09-03  Florian Weimer  <fweimer@redhat.com>
44393         [BZ #17325]
44394         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
44395         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
44396         assert.
44397         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
44398         * iconvdata/ibm935.c (BODY): Likewise.
44399         * iconvdata/ibm937.c (BODY): Likewise.
44400         * iconvdata/ibm939.c (BODY): Likewise.
44401         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
44402         assert.
44403         * iconvdata/Makefile (iconv-test.out): Pass module list to test
44404         script.
44405         * iconvdata/run-iconv-test.sh: New test loop for checking for
44406         decoder crashers.
44408 2014-09-02  Khem Raj  <raj.khem@gmail.com>
44410         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
44411         libm_hidden_ver.
44413 2014-09-01  Allan McRae  <allan@archlinux.org>
44415         * po/eo.po: Update Esperanto translation from translation project.
44417         * po/ca.po: Update Catalan translation from translation project.
44419 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44421         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
44422         __proc_dostop call.
44424 2014-08-27  Mark Wielaard  <mjw@redhat.com>
44426         [BZ #17319]
44427         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
44428         to call set_thread_area instead of hand written asm.
44429         (__NR_set_thread_area): Removed define.
44430         (TLS_FLAG_WRITABLE): Likewise.
44431         (__ASSUME_SET_THREAD_AREA): Remove check.
44432         (TLS_EBX_ARG): Remove define.
44433         (TLS_LOAD_EBX): Likewise.
44435 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44437         Simplify atomicity of socket creation in bind.
44439         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
44440         looking up the name after linking the file.
44442 2014-08-27  Allan McRae  <allan@archlinux.org>
44444         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
44446 2014-08-26  Florian Weimer  <fweimer@redhat.com>
44448         [BZ #17187]
44449         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
44450         trans_compare, open_translit, __gconv_translit_find):
44451         Remove module loading code.
44453 2014-08-26  Allan McRae  <allan@archlinux.org>
44455         * po/vi.po: Update Vietnamese translation from translation project.
44457         * po/uk.po: Update Ukrainian translation from translation project.
44459         * po/fr.po: Update French translation from translation project.
44461         * po/ru.po: Update Russian translation from translation project.
44463         * po/pl.po: Update Polish translation from translation project.
44465         * po/cs.po: Update Czech translation from translation project.
44467         * po/de.po: Update German translation from translation project.
44469         * po/bg.po: Update Bulgarian translation from translation project.
44471         * po/sv.po: Update Sweedish translation from translation project.
44473         * po/nl.po: Update Dutch translation from translation project.
44475         * po/es.po: Update Spanish translation from translation project.
44477 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
44479         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
44481         * catgets/Makefile (CPPFLAGS-gencat): Remove.
44482         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
44483         (CPPFLAGS-iconvconfig): Likewise.
44484         * timezone/Makefile (CPPFLAGS-zic): Likewise.
44486         * include/libc-symbols.h: Remove unnecessary check for
44487         NOT_IN_libc.
44488         * nptl/pthreadP.h: Likewise.
44489         * sysdeps/aarch64/setjmp.S: Likewise.
44490         * sysdeps/alpha/setjmp.S: Likewise.
44491         * sysdeps/arm/sysdep.h: Likewise.
44492         * sysdeps/i386/setjmp.S: Likewise.
44493         * sysdeps/m68k/setjmp.c: Likewise.
44494         * sysdeps/posix/getcwd.c: Likewise.
44495         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
44496         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
44497         * sysdeps/s390/s390-32/setjmp.S: Likewise.
44498         * sysdeps/s390/s390-64/setjmp.S: Likewise.
44499         * sysdeps/sh/sh3/setjmp.S: Likewise.
44500         * sysdeps/sh/sh4/setjmp.S: Likewise.
44501         * sysdeps/unix/alpha/sysdep.h: Likewise.
44502         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
44503         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
44504         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
44505         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
44506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
44507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
44508         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
44509         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
44510         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
44511         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
44512         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44513         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
44514         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
44515         * sysdeps/x86_64/setjmp.S: Likewise.
44517 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
44519         [BZ #17263]
44520         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
44521         <stdint.h>.
44522         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
44523         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
44525 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
44527         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
44529         [BZ #17262]
44530         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
44531         and __x86_64__ when disabling x87 inline functions.
44533 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
44535         [BZ #17259]
44536         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
44537         asm statement with __cpuid_count.
44539 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
44541         * configure.ac: Change __ehdr_start code to dereference the struct.
44542         Run readelf on the output to look for relocations.
44543         * configure: Regenerated.
44545 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
44547         [BZ #17261]
44548         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
44549         value to 0.
44550         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
44552 2014-08-12  Roland McGrath  <roland@hack.frob.com>
44554         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
44556 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
44558         [BZ #16892]
44559         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
44560         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
44562 2014-08-12  Sean Anderson  <seanga2@gmail.com>
44564         * malloc/malloc.c: Fix typo in comment.
44566 2014-08-09  Allan McRae  <allan@archlinux.org>
44568         * Regenerate libc.po.
44570 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
44572         * intl/tst-gettext2.sh: Check every lang file for creation.
44574 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
44576         * sysdeps/aarch64/fpu/math_private.h
44577         (libc_feholdsetround_noex_aarch64_ctx): New function.
44579 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
44581         * sysdeps/arm/armv6/strcpy.S (strcpy):
44582         Fix performance issue in misaligned cases.
44584 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44586         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
44587         Move definition from termios.h.
44588         (struct termio): Likewise.
44589         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
44590         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
44591         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
44592         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
44593         Likewise.
44594         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
44595         Move definition to ioctl-types.h
44596         (struct termio): Likewise.
44597         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
44598         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
44599         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
44600         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
44601         Likewise.
44603 2014-08-05  Richard Henderson  <rth@redhat.com>
44605         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
44606         exceptions.
44607         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
44608         Add fraiseexcpt.
44609         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
44610         Use __feraiseexcept.
44611         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
44612         Protect libm symbols with IS_IN_libm.
44614         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
44616 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
44618         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
44620 2014-08-04  Will Newton  <will.newton@linaro.org>
44622         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
44623         file.
44625 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
44627         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
44628         variants for each function.
44630 2014-08-04  Roland McGrath  <roland@hack.frob.com>
44632         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
44633         appended ...
44634         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
44635         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
44636         appended ...
44637         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
44638         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
44639         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
44640         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
44641         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
44642         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
44643         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
44644         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
44645         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
44646         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
44647         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
44648         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
44649         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
44650         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
44651         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
44652         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
44653         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
44654         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
44655         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
44656         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
44657         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
44658         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
44659         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
44660         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
44661         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
44662         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
44663         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
44664         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
44665         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
44666         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
44667         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
44668         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
44669         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
44670         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
44671         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
44672         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
44673         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
44674         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
44675         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
44676         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
44677         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
44678         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
44679         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
44680         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
44681         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
44682         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
44683         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
44684         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
44685         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
44686         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
44687         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
44688         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
44689         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
44690         Update #include.
44691         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
44692         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
44694 2014-08-04  Roland McGrath  <roland@hack.frob.com>
44696         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
44697         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
44698         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
44699         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
44700         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
44701         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
44703 2014-08-04  Roland McGrath  <roland@hack.frob.com>
44705         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
44706         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
44707         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
44708         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
44710 2014-08-04  Roland McGrath  <roland@hack.frob.com>
44712         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
44713         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
44714         (__libc_vfork): Define function under this name.
44715         (__vfork): Define as an alias.
44716         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
44717         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
44719 2014-08-04  Roland McGrath  <roland@hack.frob.com>
44721         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
44722         that was previously under [RESET_PID].
44723         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
44725 2014-08-04  Andreas Schwab  <schwab@suse.de>
44727         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
44729 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
44731         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
44732         (main): Likewise.
44734 2014-08-01  Roland McGrath  <roland@hack.frob.com>
44736         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
44738 2014-08-01  Richard Henderon  <rth@redhat.com>
44740         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
44741         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
44742         typo in exact zero test.
44743         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44744         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
44745         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44747 2014-08-01  Roland McGrath  <roland@hack.frob.com>
44749         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
44750         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
44751         * sysdeps/arm/sysdep.h: ... here.
44752         [!__ASSEMBLER__]: Include <stdint.h>.
44754 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
44756         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
44757         (HAVE_WCTYPE_H): Likewise.
44758         (HAVE_ISWCTYPE): Likewise.
44759         (ENABLE_NLS): Likewise.
44760         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
44761         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
44763         * posix/regex_internal.c: Check if DEBUG is defined and is
44764         set.
44766         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
44767         (HAVE_MBSRTOWCS): Likewise.
44768         * posix/fnmatch.c: Include string.h unconditionally.
44770 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
44772         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
44773         reversal.
44775 2014-07-31  Roland McGrath  <roland@hack.frob.com>
44777         * sysdeps/generic/safe-fatal.h: New file.
44778         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
44779         * nptl/forward.c: Include it.
44780         (__pthread_unwind): Use __safe_fatal as default action, rather
44781         than a bogus use of INTERNAL_SYSCALL that could never work.
44783         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
44784         * configure.ac (libc_cv_builtin_trap): New test.
44785         * configure: Regenerated.
44786         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
44787         (ABORT_INSTRUCTION): Define using __builtin_trap.
44789         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
44790         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
44791         * sysdeps/nptl/nptl-signals.h: New file.
44792         * nptl/pthreadP.h: Include <nptl-signals.h>.
44794 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
44796         * sysdeps/s390/s390-64/utf16-utf32-z9.c
44797         (ONE_DIRECTION): Define.
44798         * sysdeps/s390/s390-64/utf8-utf16-z9.c
44799         (ONE_DIRECTION): Define.
44800         * sysdeps/s390/s390-64/utf8-utf32-z9.c
44801         (ONE_DIRECTION): Define.
44803 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
44805         * sysdeps/s390/Makefile: Delete file.
44806         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
44807         * sysdeps/s390/__longjmp.c: Delete file.
44808         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
44809         Remove fields __flags and __reserved.
44810         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
44811         and add versioning.
44812         * sysdeps/s390/rtld-__longjmp.c: Delete file.
44813         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
44814         * sysdeps/s390/rtld-setjmp.S: Likewise.
44815         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
44816         * sysdeps/s390/s390-32/__longjmp.c: ... here.
44817         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
44818         * sysdeps/s390/s390-32/setjmp.S: ... here.
44819         Add versioning.
44820         (__sigsetjmp): Remove setting __flags field.
44821         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
44822         * sysdeps/s390/s390-64/__longjmp.c: ... here.
44823         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
44824         * sysdeps/s390/s390-64/setjmp.S: ... here.
44825         Add versioning.
44826         (__sigsetjmp): Remove setting __flags field.
44827         * sysdeps/s390/setjmp.S: Delete file.
44828         * sysdeps/s390/sigjmp.c: Likewise.
44829         * sysdeps/s390/v1-longjmp.c: Likewise.
44830         * sysdeps/s390/v1-setjmp.h: Likewise.
44831         * sysdeps/s390/v1-sigjmp.c: Likewise.
44832         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
44833         Remove v1-longjmp_chk.
44834         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
44835         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
44836         Include debug/longjmp_chk.c and add versioning.
44837         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
44838         Include nptl/pt-longjmp.c and add versioning.
44839         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
44840         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
44841         Include __longjmp.c.
44842         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
44843         Move to ...
44844         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
44845         (__getcontext): Remove setting __flags field.
44846         Add versioning.
44847         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
44848         Don't restore upper high grps.
44849         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
44850         Likewise.
44851         (__swapcontext): Remove setting uc_flags field.
44852         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
44853         Delete file.
44854         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
44855         Include __longjmp.c.
44856         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
44857         Move to ...
44858         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
44859         (__getcontext): Remove setting __flags field.
44860         Add versioning.
44861         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
44862         (__swapcontext): Remove setting uc_flags field.
44863         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
44864         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
44865         Remove fields uc_high_gprs and __reserved.
44866         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
44867         New file with reverted content.
44868         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
44869         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
44870         Regenerated.
44871         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
44872         Regenerated.
44874 2014-07-31  Andreas Schwab  <schwab@suse.de>
44876         * config.h.in (HAVE_IFUNC): Define to 0.
44877         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
44878         definedness.
44880 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
44882         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44883         memmove-avx-unaligned, memcpy-avx-unaligned and
44884         mempcpy-avx-unaligned.
44885         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
44886         Add tests for AVX memcpy functions.
44887         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
44888         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
44889         memcpy_chk.
44890         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
44891         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
44892         memmove_chk.
44893         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
44894         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
44895         mempcpy_chk.
44896         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
44897         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
44898         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
44900 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44902         [BZ #17213]
44903         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
44904         powerpc64le.
44906 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
44908         [BZ #16839]
44909         * manual/llio.texi: Add section about open file description locks.
44910         * manual/examples/ofdlocks.c: Example of open file description
44911         lock usage.
44912         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
44913         F_OFD_SETLK, and F_OFD_SETLKW.
44915 2014-07-23  Allan McRae  <allan@archlinux.org>
44917         * po/es.po: Update Spanish translation from translation project.
44919 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
44921         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
44923 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
44925         [BZ #17078]
44926         * sysdeps/arm/dl-machine.h (elf_machine_rela)
44927         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
44928         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
44930 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
44932         [BZ #17088]
44933         * math/fesetenv.c (__fesetenv)
44934         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
44935         * math/feupdateenv.c (__feupdateenv)
44936         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
44938         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
44939         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
44940         (__ASSUME_SOCKETCALL): Do not define.
44942         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
44943         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
44944         (__ASSUME_SOCKETCALL): Do not define.
44945         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
44946         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
44947         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
44948         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
44949         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
44950         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
44951         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
44952         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
44954         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
44955         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
44956         (__ASSUME_SOCKETCALL): Do not define.
44957         (__ASSUME_IPC64): Define unconditionally.
44958         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
44959         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
44960         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
44961         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
44962         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
44963         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
44964         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
44965         Likewise.
44967         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
44968         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
44969         (__ASSUME_SOCKETCALL): Do not define.
44970         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
44971         (__ASSUME_FUTEX_LOCK_PI): Likewise.
44972         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
44973         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
44974         (__ASSUME_REQUEUE_PI): Define unconditionally.
44975         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
44976         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
44977         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
44978         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
44979         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
44980         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
44982         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
44983         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
44984         (__ASSUME_SOCKETCALL): Do not define.
44985         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
44986         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
44987         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
44988         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
44989         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
44990         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
44992         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
44993         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
44994         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
44995         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
44996         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
44997         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
44998         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
44999         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
45000         (__ASSUME_GETCPU_SYSCALL): Likewise.
45002         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
45003         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
45004         cases for individual architectures.
45005         * sysdeps/gnu/configure: Regenerated.
45006         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
45007         LIBC_SLIBDIR_RTLDDIR.
45008         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
45009         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
45010         LIBC_SLIBDIR_RTLDDIR.
45011         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
45012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
45013         LIBC_SLIBDIR_RTLDDIR.
45014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
45015         Regenerated.
45016         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
45017         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
45018         file.
45019         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
45020         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
45021         file.
45022         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
45023         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
45024         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
45025         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
45027         * sysdeps/aarch64/shlib-versions: Move to ...
45028         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
45029         * sysdeps/alpha/shlib-versions: Move to ...
45030         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
45031         * sysdeps/arm/shlib-versions: Move to ...
45032         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
45033         * sysdeps/hppa/shlib-versions: Move all contents except for
45034         libgcc_s entry to ...
45035         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
45036         entry from ...
45037         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
45038         * sysdeps/ia64/shlib-versions: Move to ...
45039         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
45040         entry from ...
45041         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
45042         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
45043         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
45044         * sysdeps/microblaze/shlib-versions: Move to ...
45045         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
45046         * sysdeps/mips/shlib-versions: Move to ...
45047         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
45048         entry from ...
45049         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
45050         * sysdeps/tile/shlib-versions: Move to ...
45051         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
45052         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
45053         from ...
45054         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
45055         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
45056         entry from ...
45057         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
45059 2014-07-17  Will Newton  <will.newton@linaro.org>
45061         * sysdeps/arm/bits/atomic.h
45062         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
45063         (__arch_compare_and_exchange_bool_16_int): Likewise.
45064         (__arch_compare_and_exchange_bool_64_int): Likewise.
45066         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
45067         into an #else block.
45069 2014-07-16  Roland McGrath  <roland@hack.frob.com>
45071         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
45072         just Linux configurations.  Test empirically that the compiler sets
45073         __ARM_EABI__, rather than using the tuple to decide.
45074         * sysdeps/arm/preconfigure: Regenerated.
45075         * sysdeps/unix/sysv/linux/arm/configure: File removed.
45076         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
45077         contents appended ...
45078         * sysdeps/arm/configure.ac: ... here.
45079         * sysdeps/arm/configure: Regenerated.
45081 2014-07-15  Roland McGrath  <roland@hack.frob.com>
45083         * nptl/pthread_kill.c: New file.
45084         * nptl/pthread_sigmask.c: New file.
45085         * nptl/pthread_sigqueue.c: New file.
45087         * sysdeps/nptl/lowlevellock.h: New file.
45088         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
45089         * sysdeps/nptl/lowlevellock-futex.h: New file.
45091         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
45092         Remove dead declarations.
45094 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
45096         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
45097         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
45098         config-cflags-avx2.
45099         * sysdeps/x86_64/configure.ac: Likewise.
45100         * sysdeps/i386/configure: Regenerated.
45101         * sysdeps/x86_64/configure: Likewise.
45102         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45103         memset-avx2 only if config-cflags-avx2 is yes.
45104         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
45105         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
45106         defined.
45107         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
45108         only if HAVE_AVX2_SUPPORT is defined.
45109         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
45111 2014-07-14  Alan Modra  <amodra@gmail.com>
45113         [BZ #17153]
45114         * elf/elf.h (DT_PPC64_NUM): Correct value.
45115         * NEWS: Add to fixed bug list.
45117 2014-07-13  Jim Meyering  <meyering@fb.com>
45119         [BZ 17150]
45120         regex: don't deref NULL upon heap allocation failure
45121         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
45122         failure in one more place.
45123         To trigger the segfault, configure grep -with-included-regex,
45124         build it, and run these commands:
45125         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
45127 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
45129         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
45131 2014-07-11  Richard Henderson  <rth@redhat.com>
45133         * sysdeps/aarch64/libm-test-ulps: Update.
45135 2014-07-10  Florian Weimer  <fweimer@redhat.com>
45137         [BZ #17135]
45138         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
45139         * nptl/allocatestack.c (__nptl_setxid_error): New function.
45140         (__nptl_setxid): Initialize error member.  Call
45141         __nptl_setxid_error.
45142         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
45143         * nptl/descr.h (struct xid_command): Add error member.
45144         * nptl/tst-setuid3.c: New file.
45145         * nptl/Makefile (tests): Add it.
45147 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45149         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
45150         New define.
45151         (__lll_trylock): Use __lll_base_trylock.
45152         (__lll_cond_trylock): Likewise.
45154 2014-07-10  Roland McGrath  <roland@hack.frob.com>
45156         * nptl/pthread_create.c (start_thread): Use atomic_or and
45157         lll_futex_wake directly rather than lll_robust_dead.
45158         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
45159         (lll_robust_dead): Macro removed.
45160         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
45161         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
45162         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
45163         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
45164         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
45165         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
45166         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
45167         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
45168         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
45169         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
45170         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
45171         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
45172         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
45173         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
45174         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
45176         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
45177         Use atomic_compare_and_exchange_val_acq directly rather than
45178         lll_robust_trylock.
45179         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
45180         (__lll_robust_trylock, lll_robust_trylock): Removed.
45181         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
45182         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
45183         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
45184         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
45185         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
45186         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
45187         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
45188         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
45189         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
45190         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
45191         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
45192         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
45193         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
45194         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
45196 2014-07-02  Florian Weimer  <fweimer@redhat.com>
45198         * manual/locale.texi (Locale Names): New section documenting
45199         locale name syntax.  Adjust menu and node chaining accordingly.
45200         (Choosing Locale): Reference Locale Names, Locale Categories.
45201         Mention setting LC_ALL=C.  Reflect that name syntax is now
45202         documented.
45203         (Locale Categories): New section title.  Reference Locale Names.
45204         LC_ALL is an environment variable, but not a category.
45205         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
45206         description, now in Locale Name.  Reference that section.  Locale
45207         name syntax is now documented.
45209 2014-07-02  Florian Weimer  <fweimer@redhat.com>
45211         [BZ #17137]
45212         * locale/findlocale.c (name_present, valid_locale_name): New
45213         functions.
45214         (_nl_find_locale): Use the loc_name variable to store name
45215         candidates.  Call name_present and valid_locale_name to check and
45216         validate locale names.  Return an error if the locale is invalid.
45218 2014-07-02  Florian Weimer  <fweimer@redhat.com>
45220         * locale/setlocale.c (setlocale): Use strdup for allocating
45221         composite name copy.
45223 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
45225         Sync up with gnulib.
45226         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
45227         [!_LIBC && ENABLE_NLS]: Include gettext.h.
45228         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
45229         and _GL_ARG_NONNULL.
45230         [USE_UNLOCKED_IO]: Include unlocked-io.h.
45231         [!_LIBC]: Include code for Windows and Cygwin.
45232         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
45233         Include prototype for int strerror_r.
45234         [!_LIBC] (is_open): New function.
45235         (flush_stdout): New function.
45236         (print_errno_message): Use it.
45237         (error): Likewise.
45238         (error_at_line): Likewise.
45239         (error_tail) Add function attribute macros.  Use
45240         __builtin_expect.
45242         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
45244         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
45246         * io/ftw.c: Include sys/param.h unconditionally.
45248         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
45250         [BZ #17125]
45251         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
45252         libc_freeres_ptr.
45253         (freecache): New function to free CACHE on exit.
45255         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
45256         initialization.
45258 2014-07-09  David S. Miller  <davem@davemloft.net>
45260         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45262         * sysdeps/sparc/nptl/internaltypes.h: Delete.
45263         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
45264         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
45265         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
45266         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
45267         * sysdeps/sparc/nptl/sem_init.c: Likewise.
45268         * sysdeps/sparc/nptl/sem_post.c: Likewise.
45269         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
45270         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
45271         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
45272         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
45273         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
45274         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
45276 2014-07-09  Andreas Schwab  <schwab@suse.de>
45278         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
45279         output.
45280         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
45281         (do_test): Likewise.
45283         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
45285 2014-07-09  Will Newton  <will.newton@linaro.org>
45287         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
45288         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
45289         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
45290         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
45291         * sysdeps/hppa/start.S (_start): Likewise.
45293 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
45295         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
45297         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
45298         defined.
45300 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
45302         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
45303         after checking that it is non-NULL.
45305         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
45307 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45309         * sysdeps/powerpc/memmove.c: Remove file.
45310         * sysdeps/powerpc/powerpc32/power4/memcopy.h
45311         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
45312         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
45313         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
45314         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
45315         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
45316         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
45317         string memmove instead of removed powerpc one.
45319         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
45320         [weak_alias]: Fix compiler warning due trailing data.
45321         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
45322         [weak_alias]: Likewise.
45323         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
45324         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
45326         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
45327         (__libc_ifunc_impl_list): Add memmove functions.
45329 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
45331         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
45332         Remove code.
45333         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
45334         Likewise.
45335         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
45336         Likewise.
45337         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
45338         Likewise.
45339         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
45340         Likewise.
45341         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
45342         Likewise.
45343         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
45344         Likewise.
45345         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
45346         Likewise.
45347         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
45348         Likewise.
45349         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
45350         Likewise.
45351         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
45352         Likewise.
45353         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
45354         Likewise.
45355         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
45356         Likewise.
45357         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
45358         Likewise.
45359         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
45360         Likewise.
45361         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
45362         Likewise.
45363         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
45364         Likewise.
45366 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45368         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
45369         to avoid alignment traps in non-cacheable memory.
45370         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
45372         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
45373         multiarch objects.
45374         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
45375         file: multiarch power7 memmove.
45376         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
45377         multiarch default memmove.
45378         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
45379         multiarch memove for powerpc32/power4.
45381         * string/bcopy.c: Use full path to include memmove.c.
45382         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
45383         multiarch objects.
45384         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
45385         bcopy for powerpc64.
45386         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
45387         bcopy for powerpc64.
45388         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
45389         and memmove implementations.
45390         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
45391         optimized multiarch memmove for POWER7/powerpc64.
45392         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
45393         default multiarch memmove for powerpc64.
45394         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
45395         multiarch for powerpc64.
45396         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
45397         for POWER7/powerpc64.
45398         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
45399         memmove for POWER7/powerpc64.
45401         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
45402         glibc default one.
45404         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
45405         __ELF_NATIVE_CLASS equal to 64.
45407 2014-07-07  Roland McGrath  <roland@hack.frob.com>
45409         * sysdeps/nptl/lowlevellock.h: File removed.
45411         * NEWS: NPTL is no longer an add-on!
45412         * nptl/internaltypes.h: Moved ...
45413         * sysdeps/nptl/internaltypes.h: ... here.
45414         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
45415         * sysdeps/nptl/fork.c: Likewise.
45416         * sysdeps/nptl/gai_misc.h: Likewise.
45417         * sysdeps/nptl/librt-cancellation.c: Likewise.
45418         * sysdeps/nptl/jmp-unwind.c: Likewise.
45419         * sysdeps/nptl/setxid.h: Likewise.
45420         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
45421         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
45422         * sysdeps/unix/sysv/linux/arm/Implies: New file.
45423         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
45424         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
45425         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
45426         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
45427         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
45428         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
45429         * sysdeps/unix/sysv/linux/mips/Implies: New file.
45430         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
45431         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
45432         * sysdeps/unix/sysv/linux/sh/Implies: New file.
45433         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
45434         * sysdeps/unix/sysv/linux/tile/Implies: New file.
45435         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
45436         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
45437         * nptl/Makeconfig: Moved ...
45438         * sysdeps/nptl/Makeconfig: ... here.
45439         * nptl/configure: File removed.
45440         * nptl/ANNOUNCE: File removed.
45441         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
45442         * sysdeps/unix/sysv/linux/configure: Regenerated.
45444         * nptl/Makefile (routines): Add libc_pthread_init,
45445         libc_multiple_threads, register-atfork and unregister-atfork.
45446         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
45447         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
45448         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
45449         pthread-pi-defines.sym, structsem.sym.
45450         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
45451         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
45452         [$(subdir) = nptl] (tests): Add tst-setgetname.
45453         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
45454         * sysdeps/unix/sysv/linux/sigaction.c: Just include
45455         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
45456         [!LIBC_SIGACTION]: Remove aliases.
45457         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
45458         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
45459         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
45460         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
45461         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
45462         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
45463         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
45464         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
45465         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
45466         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
45467         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
45468         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
45469         __libc_allocate_rtsig_private.
45470         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
45471         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
45472         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
45473         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
45474         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
45475         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
45476         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
45477         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
45478         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
45479         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
45480         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
45481         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
45482         * nptl/internaltypes.h: ... here.
45483         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
45484         * sysdeps/nptl/jmp-unwind.c: ... here.
45485         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
45486         * nptl/libc-lowlevellock.c: ... here.
45487         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
45488         * nptl/libc_multiple_threads.c: ... here.
45489         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
45490         * nptl/libc_pthread_init.c: ... here.
45491         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
45492         * nptl/lowlevelbarrier.sym: ... here.
45493         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
45494         * nptl/lowlevelcond.sym: ... here.
45495         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
45496         * nptl/lowlevellock.c: ... here.
45497         * nptl/lowlevellock.h: Moved ...
45498         * sysdeps/nptl/lowlevellock.h: ... here.
45499         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
45500         * nptl/lowlevelrobustlock.c: ... here.
45501         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
45502         * nptl/lowlevelrobustlock.sym: ... here.
45503         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
45504         * nptl/lowlevelrwlock.sym: ... here.
45505         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
45506         * nptl/pt-fork.c: ... here.
45507         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
45508         * nptl/pthread-pi-defines.sym: ... here.
45509         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
45510         * nptl/pthread_attr_getaffinity.c: ... here.
45511         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
45512         * nptl/pthread_attr_setaffinity.c: ... here.
45513         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
45514         * nptl/pthread_mutex_cond_lock.c: ... here.
45515         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
45516         Update #include.
45517         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
45518         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
45519         * nptl/pthread_once.c: ... here, replacing old file.
45520         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
45521         * nptl/pthread_yield.c: ... here.
45522         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
45523         * nptl/register-atfork.c: ... here.
45524         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
45525         * nptl/sem_post.c: ... here.
45526         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
45527         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
45528         * nptl/sem_timedwait.c: ... here.
45529         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
45530         * nptl/sem_trywait.c: ... here.
45531         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
45532         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
45533         * nptl/sem_wait.c: ... here.
45534         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
45535         * nptl/structsem.sym: ... here.
45536         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
45537         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
45538         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
45539         * nptl/unregister-atfork.c: ... here.
45540         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
45541         * nptl/unwindbuf.sym: ... here.
45542         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
45543         * sysdeps/nptl/fork.c: ... here.
45544         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
45545         * sysdeps/nptl/fork.h: ... here.
45546         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
45547         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
45548         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
45549         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
45550         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
45551         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
45552         * sysdeps/unix/sysv/linux/getpid.c: ... here.
45553         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
45554         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
45555         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
45556         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
45557         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
45558         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
45559         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
45560         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
45561         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
45562         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
45563         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
45564         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
45565         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
45566         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
45567         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
45568         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
45569         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
45570         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
45571         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
45572         * sysdeps/unix/sysv/linux/raise.c: ... here.
45573         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
45574         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
45575         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
45576         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
45577         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
45578         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
45579         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
45580         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
45581         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
45582         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
45583         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
45584         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
45585         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
45586         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
45587         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
45589 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
45591         * sysdeps/generic/memcopy.h: Add comment for
45592         MEMCPY_OK_FOR_FWD_MEMMOVE.
45594 2014-07-04  Will Newton  <will.newton@linaro.org>
45596         * string/memchr.c: Merge from gnulib.
45597         [_LIBC]: Remove conditionals.
45598         (__ptr_t): Remove define.
45599         (LONG_MAX_32_BITS): Likewise.
45600         (LONG_MAX): Likewise.
45601         (MEMCHR): Use ANSI prototype and optimize algorithm.
45603         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
45605 2014-07-03  Roland McGrath  <roland@hack.frob.com>
45607         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
45608         (lll_futex_timed_wait_bitset): Fix syscall argument count.
45610         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
45611         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
45612         in a bare environment with no <stdlib.h> installed.
45613         * sysdeps/nptl/configure: Regenerated.
45615         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
45617         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
45618         AC_EGREP_CPP for kernel header checks, so they only succeed if
45619         including <linux/version.h> actually works right.
45620         * sysdeps/unix/sysv/linux/configure: Regenerated.
45622         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
45623         value so it's not diagnosed as unused.
45625         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
45626         thing) with "ifeq ($(subdir),rt)".
45628 2014-07-03  Richard Henderson  <rth@redhat.com>
45630         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
45631         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
45632         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
45634         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
45635         (math_force_eval): New.
45637         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
45638         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
45640         * sysdeps/alpha/fpu/s_round.c: Remove file.
45641         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
45643         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
45644         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
45645         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
45646         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
45647         (_dl_start, print_statistics): Likewise.
45648         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
45649         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
45651         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
45652         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
45653         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
45654         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
45655         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
45656         (HP_SMALL_TIMING_AVAIL): Define.
45657         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
45658         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
45659         (HP_SMALL_TIMING_AVAIL): Define.
45660         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
45661         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
45663         * sysdeps/aarch64/hp-timing.h: New file.
45665         * sysdeps/generic/hp-timing.h: Remove dead comment.
45666         * sysdeps/generic/hp-timing-common.h: New file.
45667         * sysdeps/alpha/hp-timing.h: Include it.
45668         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
45669         * sysdeps/i386/i686/hp-timing.h: Likewise.
45670         * sysdeps/ia64/hp-timing.h: Likewise.
45671         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
45672         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
45673         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
45674         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
45675         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
45676         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
45677         (hp_timing_t): New.
45679         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
45680         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
45681         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
45682         * elf/rtld.c (_dl_start_final): Likewise.
45683         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
45684         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
45685         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
45686         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
45687         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
45688         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
45689         (HP_TIMING_DIFF_INIT): Remove.
45690         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
45691         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
45692         (HP_TIMING_DIFF_INIT): Remove.
45693         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
45694         * sysdeps/i386/i686/hp-timing.c: Remove file.
45695         * sysdeps/x86_64/hp-timing.c: Remove file.
45696         * sysdeps/ia64/hp-timing.c: Remove file.
45697         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
45698         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
45699         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
45700         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
45702         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
45703         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
45704         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
45705         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
45706         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
45707         (HP_TIMING_ACCUM): Remove.
45708         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
45709         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
45710         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
45712         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
45713         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
45714         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
45715         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
45716         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
45717         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
45718         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
45719         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
45721         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
45723 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
45725         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
45727 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
45729         Sync up with gettext.
45730         * intl/loadmsgcat.c: Define O_BINARY if not defined.
45731         [_MSC_VER]: Include malloc.h
45732         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
45733         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
45734         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
45735         TEMP_FAILURE_RETRY.  Cast return of alloca.
45736         [!_LIBC] Call gl_rwlock_init.
45737         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
45739 2014-07-02  Roland McGrath  <roland@hack.frob.com>
45741         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
45742         before checking its value.
45744 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
45746         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
45748         * debug/memcpy_chk.c: Don't include pagecopy.h.
45749         * debug/mempcpy_chk.c: Likewise.
45750         * string/memcpy.c: Likewise.
45751         * string/memmove.c: Likewise.
45752         * sysdeps/powerpc/memmove.c: Likewise.
45753         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
45754         definition of PAGE_COPY_FWD_MAYBE here...
45755         * sysdeps/generic/pagecopy.h: ... from here.
45756         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
45758 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
45759             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45761         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
45762         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
45763         optimizations.
45764         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
45765         (__libc_ifunc_impl_list): Likewise.
45766         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
45767         multiarch strcat for PPC64.
45768         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
45769         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
45771 2014-07-02  Roland McGrath  <roland@hack.frob.com>
45773         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
45775 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
45777         * intl/loadmsgcat.c: Remove declaration of
45778         get_sysdep_segment_value.
45779         (get_sysdep_segment_value): Use ISO C style.
45780         (_nl_load_domain): Use ISO C style.  Get rid of redundant
45781         semicolon.  Fix typo and formatting in comment.
45782         (_nl_unload_domain): Use ISO C style.
45784         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
45786 2014-07-02  Will Newton  <will.newton@linaro.org>
45788         * malloc/obstack.c: Merge from gnulib master.
45789         [HAVE_CONFIG_H]: Remove conditional code.
45790         [!_LIBC]: Include config.h.
45791         [!ELIDE_CODE]: Don't include inttypes.h, include
45792         stdint.h unconditionally.
45793         (print_and_abort): Mark as _Noreturn.
45794         (_obstack_allocated_p): Mark as __attribute_pure__.
45795         (obstack_free): Rename to __obstack_free.
45796         [!__attribute__]: Remove conditional code.
45797         * malloc/obstack.h: Merge from gnulib master.
45798         [__cplusplus]: Move conditional down.
45799         [!__attribute_pure__]: Define __attribute_pure__ here
45800         if it is not already defined.
45801         (_obstack_memory_used): Mark as __attribute_pure__.
45802         [!__obstack_free]: Define as obstack_free.
45803         [__GNUC__]: Remove check for ancient NeXT gcc.
45805 2014-07-02  Will Newton  <will.newton@linaro.org>
45806             Paul Eggert  <eggert@cs.ucla.edu>
45808         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
45810 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
45812         * resolv/gethnamaddr.c: Add comment warning that the file is
45813         not maintained.
45815 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
45817         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
45818         entries.
45820         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
45821         entry for aio_cancel and aio_cancel64.
45822         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
45823         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
45824         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
45825         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
45826         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
45827         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
45828         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
45829         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
45830         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
45831         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
45832         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
45833         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
45834         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
45836 2014-07-01  Roland McGrath  <roland@hack.frob.com>
45838         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
45839         * nptl/pthread_mutex_lock.c: Likewise.
45840         * nptl/pthread_mutex_timedlock.c: Likewise.
45841         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
45843 2014-07-01  Richard henderson  <rth@redhat.com>
45845         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
45846         (__isnan, __isnanl): Remove.
45847         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
45849         * sysdeps/alpha/fpu/libm-test-ulps: Update.
45851 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
45853         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
45855 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
45857         * resolv/nss_dns/dns-host.c (getanswer_r)
45858         [MULTI_PTRS_ARE_ALIASES]: Remove code.
45860 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
45862         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
45863         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
45864         undefine.
45865         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
45866         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
45868 2014-07-01  Roland McGrath <roland@hack.frob.com>
45870         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
45871         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
45873         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
45874         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
45876         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
45877         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
45878         ... here.
45879         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
45880         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
45882         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
45883         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
45884         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
45885         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
45887         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
45888         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
45889         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
45890         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
45891         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
45892         Moved ...
45893         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
45894         ... here.
45895         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
45896         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
45897         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
45898         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
45899         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
45900         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
45901         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
45902         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
45903         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
45904         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
45905         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
45906         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
45907         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
45908         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
45909         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
45910         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
45911         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
45912         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
45913         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
45914         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
45915         ... here.
45916         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
45917         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
45918         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
45919         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
45920         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
45921         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
45922         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
45923         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
45925 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
45927         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
45928         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
45929         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
45930         Add sysdep.
45932 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45934         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45936 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
45938         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
45939         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
45941         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
45943         * sysdeps/arm/libm-test-ulps: Regenerated.
45945 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
45946             Roland McGrath <roland@hack.frob.com>
45948         * test-skeleton.c (signal_handler): Kill the whole process group
45949         before killing the child individually.
45950         (main): Report any failure on `setpgid'.
45952 2014-06-30  Roland McGrath  <roland@hack.frob.com>
45954         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
45955         from _TLS_H to _ARM_NPTL_TLS_H.
45956         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
45957         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
45959 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
45961         [BZ #16539]
45962         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
45963         (__expm1l): Return argument unchanged when small but not
45964         subnormal.
45966         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
45967         include macro name.
45968         (_FP_UNPACK_RAW_1_P): Likewise.
45969         (_FP_PACK_RAW_1): Likewise.
45970         (_FP_PACK_RAW_1_P): Likewise.
45971         (_FP_MUL_MEAT_1_wide): Likewise.
45972         (_FP_MUL_MEAT_DW_1_hard): Likewise.
45973         (_FP_MUL_MEAT_1_hard): Likewise.
45974         (_FP_DIV_MEAT_1_imm): Likewise.
45975         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
45976         (_FP_DIV_MEAT_1_udiv): Likewise.
45977         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
45978         (_FP_UNPACK_RAW_2): Likewise.
45979         (_FP_UNPACK_RAW_2_P): Likewise.
45980         (_FP_PACK_RAW_2): Likewise.
45981         (_FP_PACK_RAW_2_P): Likewise.
45982         (_FP_MUL_MEAT_DW_2_wide): Likewise.
45983         (_FP_MUL_MEAT_2_wide): Likewise.
45984         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
45985         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
45986         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
45987         (_FP_MUL_MEAT_2_gmp): Likewise.
45988         (_FP_DIV_MEAT_2_udiv): Likewise.
45989         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
45990         (_FP_FRAC_SRL_4): Likewise.
45991         (_FP_FRAC_SRST_4): Likewise.
45992         (_FP_FRAC_SRS_4): Likewise.
45993         (_FP_UNPACK_RAW_4): Likewise.
45994         (_FP_UNPACK_RAW_4_P): Likewise.
45995         (_FP_PACK_RAW_4): Likewise.
45996         (_FP_PACK_RAW_4_P): Likewise.
45997         (_FP_MUL_MEAT_DW_4_wide): Likewise.
45998         (_FP_MUL_MEAT_4_wide): Likewise.
45999         (_FP_MUL_MEAT_4_gmp): Likewise.
46000         (umul_ppppmnnn): Likewise.
46001         (_FP_DIV_MEAT_4_udiv): Likewise.
46002         (__FP_FRAC_ADD_4): Likewise.
46003         (__FP_FRAC_SUB_3): Likewise.
46004         (__FP_FRAC_SUB_4): Likewise.
46005         (__FP_FRAC_DEC_3): Likewise.
46006         (__FP_FRAC_DEC_4): Likewise.
46007         (__FP_FRAC_ADDI_4): Likewise.
46008         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
46009         (_FP_FRAC_SRL_8): Likewise.
46010         (_FP_FRAC_SRS_8): Likewise.
46012         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
46013         include macro name.
46014         (FP_UNPACK_RAW_EP): Likewise.
46015         (FP_PACK_RAW_E): Likewise.
46016         (FP_PACK_RAW_EP): Likewise.
46017         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
46018         (_FP_ISSIGNAN): Likewise.
46019         (_FP_ADD_INTERNAL): Likewise.
46020         (_FP_FMA): Likewise.
46021         (_FP_CMP): Likewise.
46022         (_FP_SQRT): Likewise.
46023         (_FP_TO_INT): Likewise.
46024         (_FP_FROM_INT): Likewise.
46025         (FP_EXTEND): Likewise.
46026         (_FP_DIV_MEAT_N_loop): Likewise.
46028 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
46030         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
46031         throughout.
46033 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
46035         [BZ #17097]
46036         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
46037         result with correct sign in case of exponents that produce
46038         overflow except for X very close to 1.
46040 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
46042         mktime: merge #if/#ifdef usage from glibc
46043         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
46044         as that works with both Glibc's and Gnulib's style.
46045         See thread starting at Siddhesh Poyarekar's bug report at:
46046         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
46048 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
46050         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
46051         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
46052         * sysdeps/tile/tilegx/memmove.c: Remove file.
46054 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
46056         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
46057         abi-name definition.
46058         * scripts/soversions.awk: Do not handle or generate ABI lines.
46059         * shlib-versions: Remove ABI entries.
46060         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
46061         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
46063 2014-06-27  Roland McGrath  <roland@hack.frob.com>
46065         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
46066         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
46067         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
46068         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
46069         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
46070         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
46071         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
46072         Moved ...
46073         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
46074         ... here.
46075         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
46076         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
46077         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
46078         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
46079         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
46080         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
46081         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
46082         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
46083         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
46084         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
46085         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
46086         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
46087         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
46088         Moved ...
46089         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
46090         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
46091         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
46092         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
46093         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
46094         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
46095         Moved ...
46096         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
46097         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
46098         Moved ...
46099         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
46100         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
46101         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
46102         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
46103         Moved ...
46104         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
46105         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
46106         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
46107         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
46108         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
46109         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
46110         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
46111         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
46112         Moved ...
46113         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
46114         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
46115         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
46116         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
46117         Moved ...
46118         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
46119         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
46120         Moved ...
46121         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
46122         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
46123         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
46124         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
46125         Moved ...
46126         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
46127         ... here.
46128         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
46129         Identical file removed.
46130         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
46131         Moved ...
46132         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
46133         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
46134         Identical file removed.
46135         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
46136         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
46137         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
46138         Moved ...
46139         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
46140         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
46141         Identical file removed.
46142         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
46143         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
46144         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
46145         Identical file removed.
46146         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
46147         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
46148         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
46149         Identical file removed.
46150         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
46151         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
46152         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
46153         Identical file removed.
46154         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
46155         Moved ...
46156         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
46157         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
46158         Identical file removed.
46159         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
46160         Moved ...
46161         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
46162         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
46163         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
46164         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
46165         Identical file removed.
46166         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
46167         Moved ...
46168         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
46169         ... here.
46170         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
46171         Identical file removed.
46172         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
46173         Moved ...
46174         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
46175         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
46176         Identical file removed.
46177         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
46178         Moved ...
46179         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
46180         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
46181         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
46182         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
46183         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
46184         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
46185         Moved ...
46186         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
46187         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
46188         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
46190         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
46191         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
46192         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
46193         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
46194         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
46196 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
46198         [BZ #17092]
46199         * nscd/nscd.c (monitor_child): Return exit status of child
46200         instead of return value from wait syscall.
46202 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
46204         * configure.ac (libc_commonpagesize): Remove variable.
46205         (libc_relro_required): Likewise.
46206         (libc_cv_z_relro): Remove configure test.
46207         * configure: Regenerated.
46208         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
46209         variable.
46210         (libc_relro_required): Likewise.
46211         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
46212         (libc_relro_required): Likewise.
46213         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
46214         (libc_relro_required): Likewise.
46215         * sysdeps/arm/preconfigure: Regenerated.
46216         * sysdeps/ia64/preconfigure: Remove file.
46217         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
46218         variable.
46219         (libc_relro_required): Likewise.
46221         [BZ #16561]
46222         [BZ #16562]
46223         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
46224         (__ieee754_yn): Set FE_TONEAREST mode internally and then
46225         recompute overflowing results in original rounding mode.
46226         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
46227         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
46228         recompute overflowing results in original rounding mode.
46229         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
46230         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
46231         recompute overflowing results in original rounding mode.
46232         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
46233         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
46234         recompute overflowing results in original rounding mode.
46235         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
46236         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
46237         recompute overflowing results in original rounding mode.
46238         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
46239         (libc_feholdsetround_ctx): New macro.
46240         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
46241         * sysdeps/i386/fpu/libm-test-ulps: Update.
46242         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
46244 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
46246         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
46247         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
46248         corresponding .cpsetup call.
46250 2014-06-26  Roland McGrath  <roland@hack.frob.com>
46252         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
46253         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
46254         * sysdeps/arm/Makefile [$(subdir) = csu]
46255         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
46256         (static-only-routines): Add aeabi_read_tp here.
46257         (shared-only-routines): Add libc-aeabi_read_tp here.
46258         (CFLAGS-libc-start.c): Add -fexceptions here.
46259         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
46260         (sysdep_routines, static-only-routines, shared-only-routines):
46261         Don't add to these here.
46262         (CFLAGS-libc-start.c): Likewise.
46264         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
46265         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
46266         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
46267         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
46268         * sysdeps/arm/Makefile [$(subdir) = rt]
46269         (librt-sysdep_routines, librt-shared-only-routines):
46270         Append rt-aeabi_unwind_cpp_pr1 here.
46271         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
46272         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
46273         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
46274         (libpthread-sysdep_routines, libpthread-shared-only-routines):
46275         Append nptl-aeabi_unwind_cpp_pr1 here.
46276         (tests): Filter out tst-cleanupx4 here.
46277         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
46278         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
46279         Don't do those here.
46281 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
46283         * scripts/list-sources.sh: Do not handle ports specially.
46285 2014-06-26  Roland McGrath  <roland@hack.frob.com>
46287         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
46288         * sysdeps/arm/feupdateenv.c: Likewise.
46290         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
46292 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
46294         * manual/texinfo.tex: Update to version 2014-05-05.10 with
46295         trailing whitespace removed.
46296         * scripts/config.guess: Update to version 2014-03-23.
46297         * scripts/config.sub: Update to version 2014-05-01
46298         * scripts/install-sh: Update to version 2013-12-25.23.
46299         * scripts/move-if-change: Update from gnulib.
46301 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
46303         * debug/memmove_chk.c: Remove pagecopy.h include.
46305 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
46307         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
46308         identical to gnulib mktime.
46310 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
46312         * configure.ac: Do not test for machine being rs6000.  Do not test
46313         for powerpc*-*soft.
46314         * configure: Regenerated.
46316         [BZ #11505]
46317         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
46318         test.
46319         * configure: Regenerated.
46320         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
46321         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
46322         Remove configure test.
46323         * sysdeps/arm/configure: Regenerated.
46324         * sysdeps/nptl/configure.ac: Do not check
46325         libc_cv_asm_cfi_directives.
46326         * sysdeps/nptl/configure: Regenerated.
46327         * sysdeps/x86_64/nptl/configure.ac: Remove file.
46328         * sysdeps/x86_64/nptl/configure: Remove generated file.
46329         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
46330         unconditional.
46331         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
46333 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
46335         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
46336         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
46337         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
46338         it is defined.
46340         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
46341         instead of whether it is defined.
46342         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
46343         * sysdeps/hppa/dl-machine.h: Likewise.
46344         * sysdeps/ia64/dl-machine.h: Likewise.
46345         * sysdeps/m68k/dl-machine.h: Likewise.
46346         * sysdeps/microblaze/dl-machine.h: Likewise.
46347         * sysdeps/mips/dl-machine.: Likewise.
46348         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
46349         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
46350         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
46351         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
46352         * sysdeps/sh/dl-machine.h: Likewise.
46353         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
46354         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
46355         * sysdeps/tile/dl-machine.h: Likewise.
46356         * sysdeps/x86_64/dl-machine.h: Likewise.
46358         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
46359         code.
46360         (verify_persistent_db): Likewise.
46362 2014-06-26  Roland McGrath  <roland@hack.frob.com>
46364         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
46365         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
46366         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
46367         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
46368         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
46369         Moved ...
46370         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
46371         ... here.
46372         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
46373         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
46374         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
46375         Identical file removed.
46376         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
46377         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
46378         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
46379         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
46380         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
46381         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
46382         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
46383         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
46384         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
46385         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
46386         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
46387         Moved ...
46388         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
46389         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
46390         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
46391         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
46392         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
46393         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
46394         Moved ...
46395         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
46396         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
46397         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
46398         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
46399         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
46400         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
46401         Identical file removed.
46402         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
46403         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
46404         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
46405         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
46406         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
46407         Moved ...
46408         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
46409         ... here.
46410         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
46411         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
46412         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
46413         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
46414         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
46415         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
46416         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
46417         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
46418         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
46419         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
46420         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
46421         Moved ...
46422         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
46423         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
46424         Moved ...
46425         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
46426         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
46427         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
46428         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
46429         Moved ...
46430         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
46431         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
46432         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
46434         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
46435         folded into ...
46436         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
46437         * sysdeps/unix/sysv/linux/s390/Versions
46438         (libpthread: GLIBC_2.19): New version set.
46439         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
46440         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
46441         (librt: GLIBC_2.3.3): New version set.
46442         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
46443         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
46444         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
46445         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
46446         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
46447         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
46448         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
46449         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
46450         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
46451         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
46452         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
46453         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
46454         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
46455         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
46456         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
46457         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
46458         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
46459         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
46460         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
46461         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
46462         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
46463         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
46464         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
46465         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
46466         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
46467         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
46468         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
46469         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
46470         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
46471         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
46472         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
46473         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
46474         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
46475         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
46476         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
46477         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
46478         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
46479         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
46480         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
46481         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
46482         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
46483         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
46484         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
46485         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
46486         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
46488         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
46489         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
46490         (__libc_vfork): Define the function under this name.
46491         [!NOT_IN_libc] (__vfork): Make this an alias.
46492         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
46493         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
46494         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
46495         (__libc_vfork): Define the function under this name.
46496         [!NOT_IN_libc] (__vfork): Make this an alias.
46497         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
46498         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
46499         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
46500         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
46501         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
46502         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
46504         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
46505         code that was previously under [RESET_PID].
46506         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
46507         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
46508         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
46510         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
46511         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
46512         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
46513         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
46514         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
46515         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
46516         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
46517         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
46518         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
46519         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
46520         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
46521         Moved ...
46522         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
46523         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
46524         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
46525         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
46526         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
46527         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
46528         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
46529         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
46530         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
46531         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
46532         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
46533         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
46534         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
46535         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
46536         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
46537         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
46538         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
46539         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
46540         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
46541         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
46542         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
46543         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
46544         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
46545         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
46546         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
46547         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
46548         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
46549         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
46550         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
46552 2014-06-25  Roland McGrath  <roland@hack.frob.com>
46554         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
46555         that was previously under [RESET_PID].
46556         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
46558 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
46560         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
46561         not undefine and redefine.
46562         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
46563         [O_CLOEXEC]: Make code unconditional.
46564         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
46565         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
46566         <kernel-features.h>.
46567         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
46568         conditional variable definition.
46569         (shm_open) [O_CLOEXEC]: Make code unconditional.
46570         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
46571         code.
46573         * configure.ac (USE_REGPARMS): Don't define here.
46574         * configure: Regenerated.
46575         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
46576         * sysdeps/i386/configure: Regenerated.
46578         * nptl/createthread.c: Don't include kernel-features.h.
46579         * nptl/pthread_cancel.c: Likewise.
46580         * nptl/pthread_condattr_setclock.c: Likewise.
46581         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
46582         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
46583         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
46584         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
46585         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
46586         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
46587         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
46588         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
46589         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
46590         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
46591         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
46592         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
46593         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
46594         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
46595         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
46596         * nscd/gai.c: Likewise.
46597         * nss/nss_db/db-open.c: Likewise.
46598         * sysdeps/generic/ldsodefs.h: Likewise.
46599         * sysdeps/sh/nptl/tls.h: Likewise.
46600         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
46601         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
46602         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
46603         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
46604         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
46605         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
46606         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
46607         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
46608         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
46609         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
46610         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
46611         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
46612         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
46613         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
46614         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
46615         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
46616         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
46617         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
46618         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
46619         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
46620         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
46621         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
46622         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
46623         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
46624         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
46625         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
46626         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
46627         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
46628         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
46629         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
46630         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
46631         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
46632         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
46633         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
46634         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
46635         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
46636         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
46637         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
46638         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
46639         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
46640         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
46641         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
46642         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
46643         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
46644         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
46645         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
46646         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
46647         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
46648         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
46649         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
46650         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
46651         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
46652         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
46653         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
46654         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
46655         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
46656         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
46657         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
46658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
46659         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
46660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
46661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
46662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
46663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
46664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
46665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
46666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
46667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
46668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
46669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
46670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
46671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
46672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
46673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
46674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
46675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
46676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
46677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
46678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
46679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
46680         * sysdeps/unix/sysv/linux/pread.c: Likewise.
46681         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
46682         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
46683         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
46684         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
46685         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
46686         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
46687         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
46688         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
46689         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
46690         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
46691         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
46692         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
46693         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
46694         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
46695         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
46696         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
46697         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
46698         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
46699         * sysdeps/unix/sysv/linux/system.c: Likewise.
46700         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
46701         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
46702         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
46703         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
46704         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
46705         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
46706         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
46708         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
46709         * configure: Regenerated.
46710         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
46712         * configure.ac (base_machine): Do not set specially for particular
46713         machines here.
46714         * configure: Regenerated.
46715         * sysdeps/powerpc/preconfigure: Move machine and base_machine
46716         settings from configure.ac.
46717         * sysdeps/i386/preconfigure: New file.
46718         * sysdeps/s390/preconfigure: Likewise.
46719         * sysdeps/sh/preconfigure: Likewise.
46720         * sysdeps/sparc/preconfigure: Likewise.
46722 2014-06-25  Roland McGrath  <roland@hack.frob.com>
46724         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
46725         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
46726         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
46727         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
46728         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
46729         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
46730         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
46731         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
46732         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
46733         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
46734         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
46735         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
46736         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
46737         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
46738         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
46739         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
46740         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
46741         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
46742         * sysdeps/sparc/sparc64/Makefile: ... appended here.
46744         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
46745         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
46746         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
46747         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
46748         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
46749         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
46750         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
46751         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
46752         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
46753         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
46754         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
46755         * sysdeps/sparc/sparc32/sem_post.c: ... here.
46756         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
46757         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
46758         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
46759         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
46760         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
46761         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
46762         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
46763         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
46764         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
46765         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
46766         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
46767         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
46768         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
46769         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
46770         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
46771         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
46772         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
46773         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
46774         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
46775         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
46776         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
46777         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
46778         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
46779         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
46780         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
46781         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
46783         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
46784         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
46785         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
46786         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
46787         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
46788         Moved ...
46789         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
46790         ... here.
46791         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
46792         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
46793         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
46794         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
46795         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
46796         Moved ...
46797         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
46798         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
46799         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
46800         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
46801         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
46802         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
46803         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
46804         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
46805         Moved ...
46806         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
46807         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
46808         Moved ...
46809         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
46810         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
46811         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
46812         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
46813         Moved ...
46814         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
46815         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
46816         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
46817         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
46818         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
46819         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
46820         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
46821         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
46822         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
46823         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
46824         Moved ...
46825         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
46826         ... here.
46827         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
46828         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
46829         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
46830         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
46831         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
46832         Moved ...
46833         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
46834         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
46835         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
46836         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
46837         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
46838         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
46839         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
46840         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
46841         Moved ...
46842         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
46843         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
46844         Moved ...
46845         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
46846         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
46847         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
46848         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
46849         Moved ...
46850         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
46851         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
46852         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
46853         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
46854         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
46856 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
46858         * timezone/checktab.awk: Update from tzcode 2014e.
46859         * timezone/private.h: Likewise.
46860         * timezone/tzfile.h: Likewise.
46861         * timezone/zdump.c: Likewise.
46862         * timezone/zic.c: Likewise.
46864         * sysdeps/unix/sysv/linux/kernel-features.h
46865         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
46866         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
46867         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
46868         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
46869         Remove conditional code.
46871 2014-06-25  Will Newton  <will.newton@linaro.org>
46873         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
46874         (_dl_arm_cap_flags): Add HWCAP2 values.
46875         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
46876         (_DL_HWCAP_COUNT): Increase to 37.
46877         (_DL_HWCAP_LAST): New define.
46878         (_DL_HWCAP2_LAST): New define.
46879         (_dl_procinfo): Add support for printing
46880         AT_HWCAP2 entries.
46881         (_dl_string_hwcap): Use _dl_hwcap_string.
46883 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46885         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46887 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
46889         * README: Do not mention ports directory.
46891         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
46892         Remove macro.
46893         * sysdeps/unix/sysv/linux/futimes.c: Do not include
46894         <kernel-features.h>.
46895         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
46896         conditional variable definition.
46897         (__futimes): Update comment.
46898         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
46899         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
46901         [BZ #16560]
46902         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
46903         arguments close to 0.
46904         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
46905         Likewise.
46906         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
46907         Likewise.
46908         * math/auto-libm-test-in: Add more tests of exp10.
46909         * math/auto-libm-test-out: Regenerated.
46910         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46912         * sysdeps/unix/sysv/linux/kernel-features.h
46913         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
46914         * sysdeps/unix/sysv/linux/readv.c: Do not include
46915         <kernel-features.h>.
46916         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
46917         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
46918         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
46919         unconditional.
46920         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
46921         conditional code.
46922         * sysdeps/unix/sysv/linux/writev.c: Do not include
46923         <kernel-features.h>.
46924         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
46925         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
46926         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
46927         unconditional.
46928         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
46929         conditional code.
46931 2014-06-25  Will Newton  <will.newton@linaro.org>
46933         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
46934         comment changes throughout the file.  Remove checks
46935         for HAVE_*_H definitions that are not required.
46936         (__gen_tempname): Call abort if an unknown kind value is
46937         passed.
46939 2014-06-25  Andreas Schwab  <schwab@suse.de>
46941         [BZ #17086]
46942         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
46943         scalbln, scalblnf, scalblnl in libc.
46945 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
46947         [BZ #17086]
46948         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
46949         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
46950         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
46952 2014-06-24  Roland McGrath  <roland@hack.frob.com>
46954         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
46955         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
46956         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
46957         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
46958         Update #include.
46959         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
46960         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
46961         Update #include.
46962         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
46963         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
46964         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
46965         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
46966         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
46967         * sysdeps/x86/bits/pthreadtypes.h: ... here.
46968         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
46969         * sysdeps/x86/bits/semaphore.h: ... here.
46970         * sysdeps/x86/nptl/elide.h: Moved ...
46971         * sysdeps/x86/elide.h: ... here.
46972         * sysdeps/x86_64/nptl/Implies: File removed.
46973         * sysdeps/i386/nptl/Implies: File removed.
46975 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
46977         [BZ #16539]
46978         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
46979         return the argument for normal arguments with exponent below -64.
46980         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
46981         Likewise.
46982         * math/auto-libm-test-in: Add another test of expm1.
46983         * math/auto-libm-test-out: Regenerated.
46985         [BZ #16287]
46986         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
46987         calling __erfcl for arguments at least 16.
46988         * math/auto-libm-test-in: Add more tests of erf.
46989         * math/auto-libm-test-out: Regenerated.
46991         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
46992         individual architectures.
46993         * sysdeps/unix/sysv/linux/configure: Regenerated.
46994         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
46995         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
46996         * sysdeps/unix/sysv/linux/powerpc/configure.ac
46997         (ldd_rewrite_script): Define variable.
46998         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
46999         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
47000         file.
47001         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
47002         generated file.
47003         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
47004         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
47005         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
47006         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
47007         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
47008         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
47009         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
47010         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
47012 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
47014         [BZ #17084]
47015         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
47016         Rename member __data.d to __data.__elision_data.
47018 2014-06-24  Wilco  <wdijkstr@arm.com>
47020         * NEWS: Add 16918 to fixed bug list.
47022 2014-06-24  Wilco  <wdijkstr@arm.com>
47024         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
47026 2014-06-24  Wilco  <wdijkstr@arm.com>
47028         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
47029         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
47030         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
47031         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
47032         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
47033         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
47034         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
47035         Use _FPU_MASK_RM.
47037 2014-06-24  Wilco  <wdijkstr@arm.com>
47039         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
47041 2014-06-24  Wilco  <wdijkstr@arm.com>
47043         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
47044         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
47045         * sysdeps/arm/fesetround.c (fesetround): Remove space.
47046         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
47048 2014-06-24  Wilco  <wdijkstr@arm.com>
47050         [BZ #16918]
47051         * sysdeps/arm/feupdateenv.c (feupdateenv):
47052         Rewrite to reduce FPSCR accesses and fix return value.
47054 2014-06-24  Wilco  <wdijkstr@arm.com>
47056         * sysdeps/arm/fclrexcpt.c (feclearexcept):
47057         Optimize to avoid unnecessary FPSCR writes.
47058         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
47059         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
47060         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
47061         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
47063 2014-06-24  Wilco  <wdijkstr@arm.com>
47065         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
47066         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
47067         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
47068         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
47069         Call libc_fetestexcept_vfp.
47070         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
47071         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
47072         __SOFTFP__ ifdef so that they can be built for softfp.
47074 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
47076         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
47077         argument type signed char.
47079         * Makerules (check-abi): Dump diff of symlist if the test
47080         fails.
47082 2014-06-23  Roland McGrath  <roland@hack.frob.com>
47084         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
47085         using abort.
47087         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
47088         Remove unused variable ST.
47090 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
47092         [BZ #16354]
47093         [BZ #17061]
47094         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
47095         small arguments before calling __expm1.
47096         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
47097         small arguments before calling __expm1f.
47098         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
47099         small arguments before calling __expm1l.
47100         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
47101         Likewise.
47102         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
47103         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
47104         spurious underflow for some cosh tests.
47105         * math/auto-libm-test-out: Regenerated.
47106         * sysdeps/i386/fpu/libm-test-ulps: Update.
47108         [BZ #17050]
47109         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
47110         (__ieee754_y1): Set errno if return value overflows.
47111         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
47112         (__ieee754_y1f): Set errno if return value overflows.
47113         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
47114         (__ieee754_y1l): Set errno if return value overflows.
47115         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
47116         (__ieee754_y1l): Set errno if return value overflows.
47117         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
47118         * math/auto-libm-test-out: Regenerated.
47120         * math/gen-auto-libm-tests.c: Document use of
47121         ignore-zero-inf-sign.
47122         (input_flag_type): Add value flag_ignore_zero_inf_sign.
47123         (input_flags): Add ignore-zero-inf-sign.
47124         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
47125         * math/gen-libm-test.pl (generate_testfile): Handle
47126         ignore-zero-inf-sign.
47127         * math/auto-libm-test-in: Mark some cpow tests with
47128         ignore-zero-inf-sign and some with xfail-rounding.
47129         * math/auto-libm-test-out: Regenerated.
47130         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
47131         * sysdeps/i386/fpu/libm-test-ulps: Update.
47132         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47134         [BZ #16315]
47135         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
47136         overflowing or underflowing operations take place with sign of
47137         result.
47138         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
47139         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
47140         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
47141         (__ieee754_pow): Recompute overflowing and underflowing results in
47142         original rounding mode.
47143         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
47144         (__powl_helper): Allow negative argument X and scale negated value
47145         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
47146         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
47147         overflowing or underflowing operations take place with sign of
47148         result.
47149         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
47150         Include <math.h>.
47151         * math/auto-libm-test-in: Add more tests of pow.
47152         * math/auto-libm-test-out: Regenerated.
47153         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
47154         (pow_tonearest_test_data): Remove.
47155         (pow_test_tonearest): Likewise.
47156         (pow_towardzero_test_data): Likewise.
47157         (pow_test_towardzero): Likewise.
47158         (pow_downward_test_data): Likewise.
47159         (pow_test_downward): Likewise.
47160         (pow_upward_test_data): Likewise.
47161         (pow_test_upward): Likewise.
47162         (main): Don't call removed functions.
47163         * sysdeps/i386/fpu/libm-test-ulps: Update.
47164         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47166 2014-06-23  Roland McGrath  <roland@hack.frob.com>
47168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
47169         Moved ...
47170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
47171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
47172         Moved ...
47173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
47174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
47175         Moved ...
47176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
47177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
47178         Moved ...
47179         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
47180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
47181         File removed.
47182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
47183         File removed.
47184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
47185         File removed.
47186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
47187         File removed.
47188         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
47189         File removed.
47190         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
47191         File removed.
47192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
47193         File removed.
47194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
47195         File removed.
47196         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
47197         File removed.
47198         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
47199         File removed.
47200         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
47201         File removed.
47202         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
47203         File removed.
47204         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
47205         Moved ...
47206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
47207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
47208         Moved ...
47209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
47210         ... here.
47211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
47212         Moved ...
47213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
47214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
47215         Moved ...
47216         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
47217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
47218         Moved ...
47219         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
47220         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
47221         Moved ...
47222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
47223         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
47224         Moved ...
47225         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
47226         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
47227         Moved ...
47228         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
47229         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
47230         Moved ...
47231         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
47232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
47233         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
47234         ... here.
47235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
47236         Moved ...
47237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
47238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
47239         Moved ...
47240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
47241         ... here.
47242         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
47243         Moved ...
47244         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
47245         ... here.
47246         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
47247         Moved ...
47248         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
47249         ... here.
47250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
47251         Moved ...
47252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
47253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
47254         Moved ...
47255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
47256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
47257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
47258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
47259         Moved ...
47260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
47261         ... here.
47262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
47263         Moved ...
47264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
47265         ... here.
47266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
47267         Moved ...
47268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
47269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
47270         Moved ...
47271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
47272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
47273         Moved ...
47274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
47275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
47276         Moved ...
47277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
47278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
47279         Moved ...
47280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
47281         ... here.
47282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
47283         Moved ...
47284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
47285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
47286         Moved ...
47287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
47288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
47289         Moved ...
47290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
47291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
47292         Moved ...
47293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
47294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
47295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
47296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
47297         Moved ...
47298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
47299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
47300         Moved ...
47301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
47302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
47303         Moved ...
47304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
47305         ... here.
47306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
47307         Moved ...
47308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
47309         ... here.
47310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
47311         Moved ...
47312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
47313         ... here.
47314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
47315         Moved ...
47316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
47317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
47318         Moved ...
47319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
47320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
47321         Moved ...
47322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
47323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
47324         Moved ...
47325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
47326         ... here.
47327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
47328         Moved ...
47329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
47330         ... here.
47331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
47332         Moved ...
47333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
47334         ... here.
47335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
47336         Moved ...
47337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
47338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
47339         Moved ...
47340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
47342 2014-06-23  Will Newton  <will.newton@linaro.org>
47343             Wilco  <wdijkstr@arm.com>
47345         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
47346         implementation.  Include get-rounding-mode.h.
47347         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
47348         [!libc_feholdsetround_noex_ctx]: Define
47349         libc_feholdsetround_noex_ctx.
47350         [!libc_feholdsetround_noexf_ctx]: Define
47351         libc_feholdsetround_noexf_ctx.
47352         [!libc_feholdsetround_noexl_ctx]: Define
47353         libc_feholdsetround_noexl_ctx.
47354         (libc_feholdsetround_ctx): New function.
47355         (libc_feresetround_ctx): New function.
47356         (libc_feholdsetround_noex_ctx): New function.
47357         (libc_feresetround_noex_ctx): New function.
47359 2014-06-23  Roland McGrath  <roland@hack.frob.com>
47361         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
47362         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
47363         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
47364         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
47365         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
47366         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
47368         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
47369         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
47370         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
47371         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
47372         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
47373         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
47374         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
47375         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
47376         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
47377         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
47378         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
47379         Moved ...
47380         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
47381         ... here.
47382         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
47383         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
47384         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
47385         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
47386         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
47387         Moved ...
47388         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
47389         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
47390         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
47391         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
47392         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
47393         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
47394         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
47395         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
47396         Moved ...
47397         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
47398         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
47399         Moved ...
47400         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
47401         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
47402         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
47403         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
47404         Moved ...
47405         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
47406         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
47407         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
47408         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
47409         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
47410         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
47411         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
47412         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
47413         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
47414         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
47415         Moved ...
47416         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
47417         ... here.
47418         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
47419         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
47420         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
47421         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
47422         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
47423         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
47424         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
47425         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
47426         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
47427         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
47428         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
47429         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
47430         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
47431         Moved ...
47432         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
47433         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
47434         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
47435         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
47436         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
47437         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
47438         Moved ...
47439         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
47440         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
47441         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
47442         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
47443         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
47445         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
47446         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
47447         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
47448         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
47449         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
47450         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
47451         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
47452         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
47453         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
47454         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
47455         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
47456         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
47457         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
47458         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
47459         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
47460         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
47461         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
47462         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
47463         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
47464         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
47465         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
47466         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
47467         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
47468         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
47469         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
47470         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
47471         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
47472         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
47474 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
47476         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
47477         (FALLOC_FL_COLLAPSE_RANGE): New macro.
47478         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
47479         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
47480         (IPV6_PMTUDISC_INTERFACE): Likewise.
47481         (IPV6_PMTUDISC_OMIT): Likewise.
47483 2014-06-23  Andreas Schwab  <schwab@suse.de>
47485         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
47486         Remove unused errout label.
47488 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47490         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
47491         macro: hardware supports Vector Crypto instructions.
47493 2014-06-23  Will Newton  <will.newton@linaro.org>
47495         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
47496         rather than __builtin_expect.
47498         * elf/dl-lookup.c (undefined_msg): Remove variable.
47499         (_dl_lookup_symbol_x): Replace undefined_msg with string
47500         literal.
47502         * elf/dl-lookup.c (do_lookup_unique): New function.
47503         (do_lookup_x): Move STB_GNU_UNIQUE handling code
47504         to a separate function.
47506 2014-06-23  Andreas Schwab  <schwab@suse.de>
47508         [BZ #17079]
47509         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
47510         before reading the next line.
47512 2014-06-23  Will Newton  <will.newton@linaro.org>
47514         * test-skeleton.c (signal_handler): Use printf and %m
47515         rather than perror.  Use printf rather than fprintf to
47516         stderr.  Use puts rather than fputs to stderr.
47517         (main): Likewise.
47519 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
47521         * nscd/nscd.c (thread_info_t): Remove typedef.
47522         (thread_info): Remove variable.
47524 2014-06-21  Allan McRae  <allan@archlinux.org>
47526         * NEWS: Mention CVE-2014-4043.
47528 2014-06-20  Roland McGrath  <roland@hack.frob.com>
47530         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
47531         * nptl/smp.h: ... here.
47533         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
47535         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
47536         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
47537         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
47538         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
47540         * nptl/allocatestack.c: Include <stack-aliasing.h>.
47541         * nptl/stack-aliasing.h: New file.
47542         * sysdeps/i386/i686/stack-aliasing.h: New file.
47543         * sysdeps/i386/i686/nptl/Makefile: File removed.
47544         * sysdeps/x86_64/stack-aliasing.h: New file.
47545         * sysdeps/x86_64/nptl/Makefile
47546         (CFLAGS-pthread_create.c): Variable removed.
47548         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
47549         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
47550         old file.
47551         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
47552         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
47553         old file.
47555 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
47557         * sysdeps/unix/sysv/linux/arm/kernel-features.h
47558         (__ASSUME_SIGFRAME_V2): Remove macro.
47559         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
47560         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
47561         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
47562         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
47563         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
47564         Declare as function.  Remove conditional macro definitions.
47565         (__default_rt_sa_restorer): Likewise.
47566         (__default_sa_restorer_v1): Remove declaration.
47567         (__default_sa_restorer_v2): Likewise.
47568         (__default_rt_sa_restorer_v1): Likewise.
47569         (__default_rt_sa_restorer_v2): Likewise.
47570         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
47571         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
47572         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
47574 2014-06-20  Roland McGrath  <roland@hack.frob.com>
47576         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
47577         (libpthread-routines): Add sysdep.
47578         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
47579         * sysdeps/unix/sysv/linux/sparc/Versions
47580         (libpthread: GLIBC_2.3.3): New version set.
47581         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
47582         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
47583         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
47584         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
47585         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
47586         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
47587         Moved ...
47588         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
47589         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
47590         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
47591         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
47592         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
47593         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
47594         * sysdeps/sparc/nptl/sem_init.c: ... here.
47595         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
47596         * sysdeps/sparc/nptl/sem_post.c: ... here.
47597         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
47598         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
47599         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
47600         * sysdeps/sparc/nptl/sem_wait.c: ... here.
47601         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
47602         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
47603         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
47604         (libpthread-routines): Add cpu_relax.
47605         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
47606         File removed.
47607         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
47608         (librt: GLIBC_2.3.3): New version set.
47609         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
47610         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
47611         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
47612         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
47613         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
47614         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
47615         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
47616         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
47617         Moved ...
47618         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
47619         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
47620         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
47621         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
47622         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
47623         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
47624         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
47625         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
47626         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
47627         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
47628         Moved ...
47629         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
47630         Update #include.
47631         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
47632         Moved ...
47633         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
47634         Update #include.
47635         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
47636         Moved ...
47637         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
47638         Update #include.
47639         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
47640         Moved ...
47641         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
47642         Update #include.
47643         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
47644         Moved ...
47645         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
47646         Update #include.
47647         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
47648         Moved ...
47649         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
47650         Update #include.
47651         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
47652         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
47653         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
47654         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
47655         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
47656         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
47657         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
47658         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
47659         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
47660         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
47661         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
47662         Moved ...
47663         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
47664         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
47665         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
47666         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
47667         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
47669 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
47671         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
47672         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
47673         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
47674         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
47675         * nscd/nscd.c: Likewise.
47676         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
47677         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
47678         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
47679         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
47681         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
47682         <kernel-features.h>.
47683         (init_mq_netlink): Remove conditional have_sock_cloexec
47684         definitions.  Remove code conditional on have_sock_cloexec < 0.
47685         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
47686         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
47687         * sysdeps/unix/sysv/linux/opensock.c: Do not include
47688         <kernel-features.h>.
47689         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
47690         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
47692 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
47694         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
47695         Add tests for memset_chk and memset.
47697         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
47698         with AVX2_Usable.
47700 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
47702         [BZ #16046]
47703         * elf/tst-dl-iter-static.c: New file.
47704         * elf/Makefile (tests-static): Add tst-dl-iter-static.
47706         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
47707         error.
47709 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
47711         * sysdeps/unix/sysv/linux/kernel-features.h
47712         (__ASSUME_F_GETOWN_EX): Remove macro.
47713         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
47714         <kernel-features.h>.
47715         (miss_F_GETOWN_EX): Remove variable or macro.
47716         (do_fcntl): Do not check miss_F_GETOWN_EX.
47717         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
47719         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
47720         Remove macro.
47721         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
47722         [!__ASSUME_AT_RANDOM]: Remove conditional code.
47723         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
47725         * sysdeps/unix/sysv/linux/kernel-features.h
47726         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
47727         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
47728         [ADJ_OFFSET_SS_READ]: Make code unconditional.
47729         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
47731 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
47733         [BZ #17075]
47734         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
47735         Fix calculation of the symbol's value.
47736         * sysdeps/arm/tst-armtlsdescloc.c: New file.
47737         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
47738         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
47739         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
47740         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
47741         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
47742         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
47743         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
47744         (modules-names): Add `tst-armtlsdescmod',
47745         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
47746         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
47747         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
47748         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
47749         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
47750         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
47751         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
47752         ($(objpfx)tst-armtlsdescloc): New dependency.
47753         ($(objpfx)tst-armtlsdescextnow): Likewise.
47754         ($(objpfx)tst-armtlsdescextlazy): Likewise.
47755         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
47756         TLS scheme support.
47757         * sysdeps/arm/configure: Regenerate.
47759 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
47761         * include/fcntl.h (__atfct_seterrno): Remove prototype.
47762         (__atfct_seterrno_2): Likewise.
47763         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
47764         <kernel-features.h>.
47765         (__ASSUME_ATFCTS): Do not undefine and redefine.
47766         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
47767         (__have_atfcts): Remove conditional definition.
47768         (__fxstatat([__NR_fstatat64]: Make code unconditional.
47769         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
47770         unreachable if [__ASSUME_ATFCTS].
47771         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
47772         not undefine and redefine.
47773         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
47774         <kernel-features.h>.
47775         (faccessat) [__NR_faccessat]: Make code unconditional.
47776         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
47777         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
47778         <kernel-features.h>.
47779         (fchmodat) [__NR_fchmodat]: Make code unconditional.
47780         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
47781         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
47782         <kernel-features.h>.
47783         (fchownat) [__NR_fchownat]: Make code unconditional.
47784         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
47785         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
47786         <kernel-features.h>.
47787         (futimesat) [__NR_futimesat]: Make code unconditional.
47788         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
47789         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
47790         <kernel-features.h>.
47791         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
47792         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
47793         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
47794         <kernel-features.h>.
47795         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
47796         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
47797         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
47798         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
47799         <kernel-features.h>.
47800         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
47801         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
47802         * sysdeps/unix/sysv/linux/linkat.c: Do not include
47803         <kernel-features.h>.
47804         (linkat) [__NR_linkat]: Make code unconditional.
47805         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
47806         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
47807         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
47808         <kernel-features.h>.
47809         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
47810         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
47811         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
47812         <kernel-features.h>.
47813         (mkdirat) [__NR_mkdirat]: Make code unconditional.
47814         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
47815         * sysdeps/unix/sysv/linux/openat.c: Do not include
47816         <kernel-features.h>.
47817         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
47818         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
47819         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
47820         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
47821         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
47822         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
47823         <kernel-features.h>.
47824         (readlinkat) [__NR_readlinkat]: Make code unconditional.
47825         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
47826         result of INLINE_SYSCALL directly, not via int variable.
47827         * sysdeps/unix/sysv/linux/renameat.c: Do not include
47828         <kernel-features.h>.
47829         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
47830         (renameat) [__NR_renameat]: Make code unconditional.
47831         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
47832         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
47833         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
47834         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
47835         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
47836         (__ASSUME_ATFCTS): Do not undefine and redefine.
47837         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
47838         <kernel-features.h>.
47839         (symlinkat) [__NR_symlinkat]: Make code unconditional.
47840         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
47841         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
47842         <kernel-features.h>.
47843         (unlinkat) [__NR_unlinkat]: Make code unconditional.
47844         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
47845         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
47846         (__ASSUME_ATFCTS): Do not undefine and redefine.
47847         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
47848         <kernel-features.h>.
47849         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
47850         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
47851         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
47852         <kernel-features.h>.
47853         (__xmknodat) [__NR_mknodat]: Make code unconditional.
47854         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
47856 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
47858         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
47860 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
47862         [BZ #17069]
47863         * posix/regcomp.c (parse_reg_exp): Deallocate partially
47864         constructed tree before returning error.
47865         * posix/bug-regexp36.c: Expand test case.
47867 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
47869         [BZ #6803]
47870         * math/libm-test.inc (scalbln_test_date):
47871         Add errno expectations.
47872         * math/w_scalblnf.c: New File.
47873         Add wrapper which checks for setting errno to ERANGE.
47874         Add weak_alias for corresponding scalbln function.
47875         * math/w_scalbln.c: Likewise.
47876         * math/w_scalblnl.c: Likewise.
47877         * math/Makefile (libm-calls): Add w_scalbln.
47878         * sysdeps/ieee754/flt-32/s_scalblnf.c:
47879         Remove weak_alias for corresponding scalbln function.
47880         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
47881         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
47882         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
47883         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
47884         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
47885         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
47886         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
47887         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
47888         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
47889         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
47890         Remove long_double_symbol for scalblnl function in libm, libc.
47891         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
47892         Add wrapper which checks for setting errno to ERANGE.
47893         Add long_double_symbol for scalblnl function in libm, libc.
47894         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
47895         Remove long_double_symbol for scalblnl in libm.
47896         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
47897         Add wrapper which checks for setting errno to ERANGE.
47898         Add long_double_symbol for scalblnl function in libm.
47899         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
47900         Do not use wrapper because of own implementation.
47902 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
47904         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
47905         3 bytes for __pad1 for x32.
47906         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
47908 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
47909             H.J. Lu  <hongjiu.lu@intel.com>
47911         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
47912         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
47913         * sysdeps/x86_64/multiarch/memset.S: Likewise.
47914         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
47915         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
47917 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
47919         [BZ #17069]
47920         * posix/regcomp.c (parse_expression): Deallocate partially
47921         constructed tree before returning error.
47922         * posix/Makefile.c (tests): Add bug-regex36.
47923         (generated): Add bug-regex36.mtrace.
47924         (tests-special): Add $(objpfx)bug-regex36-mem.out
47925         (bug-regex36-ENV): New variable.
47926         ($(objpfx)bug-regex36-mem.out): New rule.
47927         * posix/bug-regex36.c: New file.
47929 2014-06-19  Will Newton  <will.newton@linaro.org>
47931         * malloc/malloc.c (systrim): If extra is zero then return
47932         early.
47934 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
47936         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
47938 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
47940         * sysdeps/aarch64/strchr.S: New file.
47942 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
47944         [BZ #17022]
47945         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
47946         from arguments -2 or below.
47947         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
47948         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
47950 2014-06-18  Andreas Schwab  <schwab@suse.de>
47952         [BZ #17062]
47953         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
47954         of a bracket expr not to run off the end of the string.
47955         * posix/Makefile (tests): Add tst-fnmatch3.
47956         * posix/tst-fnmatch3.c: New file.
47958 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
47960         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
47961         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
47962         [$(cross-compiling) = no]: Likewise.
47963         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
47964         [$(cross-compiling) = no]: Likewise.
47966 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
47968         [BZ #17031]
47969         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
47970         double, adjusted for any remainder from the high double.
47971         * math/libm-test.inc (nearbyint): Add tests.
47972         (rint): Likewise.
47974 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47976         * nptl/sysdeps/powerpc/Makefile: Moved ...
47977         * sysdeps/powerpc/nptl/Makefile: ... here.
47978         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
47979         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
47980         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
47981         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
47982         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
47983         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
47984         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
47985         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
47986         * nptl/sysdeps/powerpc/tls.h: Moved ...
47987         * sysdeps/powerpc/nptl/tls.h: ... here.
47989 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
47991         [BZ #16681]
47992         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
47993         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
47994         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
47995         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
47996         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
47997         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
47998         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
47999         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
48000         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
48002 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
48004         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
48006 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
48008         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
48009         defined operator.
48011         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
48012         $TIMEOUTFACTOR.
48014 2014-06-16  Florian Weimer  <fweimer@redhat.com>
48016         [BZ #17058]
48017         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
48018         non-executed part of the test.
48020 2014-06-16  Andreas Schwab  <schwab@suse.de>
48022         * string/bits/string2.h (strdup, strndup): Update feature guard.
48024 2014-06-14  David S. Miller  <davem@davemloft.net>
48026         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48028 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
48030         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
48031         that was previously under [RESET_PID].
48032         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
48034         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
48035         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
48036         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
48037         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
48038         (__libc_vfork): New strong alias.
48039         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
48041 2014-06-14 Andi Kleen  <ak@linux.intel.com>
48043         * sysdeps/generic/elide.h: New file.
48045 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
48047         * Makefile (installed-headers): Adjust path of pthread.h header.
48049 2014-06-13  Roland McGrath  <roland@hack.frob.com>
48051         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
48052         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
48053         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
48054         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
48056         * nptl/sysdeps/s390/Makefile: Moved ...
48057         * sysdeps/s390/nptl/Makefile: ... here.
48058         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
48059         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
48060         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
48061         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
48062         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
48063         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
48064         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
48065         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
48066         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
48067         * sysdeps/s390/nptl/pthreaddef.h: ... here.
48068         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
48069         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
48070         * nptl/sysdeps/s390/tls.h: Moved ...
48071         * sysdeps/s390/nptl/tls.h: ... here.
48073         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
48074         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
48076 2014-06-13  David S. Miller  <davem@davemloft.net>
48078         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
48079         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
48080         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
48081         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
48082         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
48083         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
48084         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
48085         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
48086         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
48087         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
48088         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
48089         Remove RESET_PID cpp guards.
48090         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
48091         Remove RESET_PID cpp guards.
48092         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
48094 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
48096         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
48097         __sp to uintptr_t.
48099 2014-06-13  Andi Kleen  <ak@linux.intel.com>
48101         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
48102         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
48103         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
48104         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
48105         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
48106         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
48107         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
48108         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
48109         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
48110         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
48111         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
48112         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
48113         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
48114         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
48115         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
48116         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
48117         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
48118         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
48119         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
48120         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
48122         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
48123         (pthread_rwlock_rdlock): Add elision.
48124         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
48125         (pthread_rwlock_wrlock): Add elision.
48126         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
48127         (pthread_rwlock_trywrlock): Add elision.
48128         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
48129         (pthread_rwlock_tryrdlock): Add elision.
48130         * nptl/pthread_rwlock_unlock.c: Include elide.h.
48131         (pthread_rwlock_tryrdlock): Add elision unlock.
48132         * nptl/sysdeps/pthread/pthread.h:
48133         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
48134         (PTHREAD_RWLOCK_INITIALIZER,
48135         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
48136         Handle new elision field.
48137         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
48138         * sysdeps/arm/nptl/bits/pthreadtypes.h
48139         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48140         * sysdeps/sh/nptl/bits/pthreadtypes.h
48141         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48142         * sysdeps/tile/nptl/bits/pthreadtypes.h
48143         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48144         * sysdeps/a/nptl/bits/pthreadtypes.h
48145         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48146         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
48147         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48148         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
48149         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48150         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
48151         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48152         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
48153         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48154         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
48155         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48156         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
48157         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48158         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
48159         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48160         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
48161         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48162         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
48163         (elision_init): Set try_xbegin to zero when no RTM.
48164         * sysdeps/x86/nptl/bits/pthreadtypes.h
48165         (pthread_rwlock_t): Change __pad1 to __rwelision.
48166         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48168 2014-06-13  Andi Kleen  <ak@linux.intel.com>
48170         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
48171         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
48172         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
48173         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
48175 2014-06-13  Meador Inge  <meadori@codesourcery.com>
48177         [BZ #16996]
48178         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
48179         that the cached result has been set before returning it.
48181 2014-06-12  Roland McGrath  <roland@hack.frob.com>
48183         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
48184         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
48185         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
48186         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
48187         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
48188         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
48190         * nptl/sysdeps/sparc/Makefile: Moved ...
48191         * sysdeps/sparc/nptl/Makefile: ... here.
48192         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
48193         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
48194         * nptl/sysdeps/sparc/tls.h: Moved ...
48195         * sysdeps/sparc/nptl/tls.h: ... here.
48196         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
48197         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
48198         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
48199         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
48200         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
48201         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
48202         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
48203         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
48204         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
48205         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
48206         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
48207         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
48208         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
48209         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
48210         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
48211         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
48212         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
48213         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
48214         Update #include.
48215         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
48216         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
48217         Update #include.
48218         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
48219         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
48220         Update #include.
48221         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
48222         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
48223         Update #include.
48225         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
48227         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
48228         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
48230         * sysdeps/pthread/posix-timer.h: Include <list.h>.
48231         (struct list_links): Type removed.
48232         (struct thread_node, struct timer_node): Replace struct list_links
48233         with struct list_head.
48234         (list_unlink_ip): Likewise.
48235         * sysdeps/pthread/timer_routines.c
48236         (timer_free_list, thread_free_list, thread_active_list): Likewise.
48237         (list_append, list_insbefore): Likewise.
48238         (list_init): Function removed.
48239         (thread_init, init_module): Use INIT_LIST_HEAD instead.
48240         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
48241         * sysdeps/pthread/Makefile: ... here, new file.
48243         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
48244         * sysdeps/nptl/Implies: ... here.
48245         * sysdeps/unix/sysv/linux/Implies: Add nptl.
48246         * nptl/sysdeps/pthread/list.h: Moved ...
48247         * include/list.h: ... here.
48248         * nptl/sysdeps/pthread/createthread.c: Moved ...
48249         * nptl/createthread.c: ... here.
48250         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
48251         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
48252         * nptl/pt-longjmp.c: ... here.
48253         * nptl/sysdeps/pthread/Makefile: Moved ...
48254         * sysdeps/nptl/Makefile: ... here.
48255         * nptl/sysdeps/pthread/Subdirs: Moved ...
48256         * sysdeps/nptl/Subdirs: ... here.
48257         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
48258         * sysdeps/nptl/aio_misc.h: ... here.
48259         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
48260         * sysdeps/nptl/bits/libc-lock.h: ... here.
48261         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
48262         * sysdeps/nptl/bits/libc-lockP.h: ... here.
48263         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
48264         * sysdeps/nptl/bits/stdio-lock.h: ... here.
48265         * nptl/sysdeps/pthread/configure: Moved ...
48266         * sysdeps/nptl/configure: ... here.
48267         * nptl/sysdeps/pthread/configure.ac: Moved ...
48268         * sysdeps/nptl/configure.ac: ... here.
48269         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
48270         * sysdeps/nptl/gai_misc.h: ... here.
48271         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
48272         * sysdeps/nptl/librt-cancellation.c: ... here.
48273         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
48274         * sysdeps/nptl/malloc-machine.h: ... here.
48275         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
48276         * sysdeps/nptl/pthread-functions.h: ... here.
48277         * nptl/sysdeps/pthread/pthread.h: Moved ...
48278         * sysdeps/nptl/pthread.h: ... here.
48279         * nptl/sysdeps/pthread/setxid.h: Moved ...
48280         * sysdeps/nptl/setxid.h: ... here.
48281         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
48282         * sysdeps/nptl/sigfillset.c: ... here.
48283         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
48284         * sysdeps/nptl/tcb-offsets.h: ... here.
48285         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
48286         * sysdeps/nptl/tst-mqueue8x.c: ... here.
48287         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
48288         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
48289         * nptl/sysdeps/pthread/allocalim.h: Moved ...
48290         * sysdeps/pthread/allocalim.h: ... here.
48291         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
48292         * sysdeps/pthread/bits/sigthread.h: ... here.
48293         * nptl/sysdeps/pthread/flockfile.c: Moved ...
48294         * sysdeps/pthread/flockfile.c: ... here.
48295         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
48296         * sysdeps/pthread/ftrylockfile.c: ... here.
48297         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
48298         * sysdeps/pthread/funlockfile.c: ... here.
48299         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
48300         * sysdeps/pthread/posix-timer.h: ... here.
48301         * nptl/sysdeps/pthread/timer_create.c: Moved ...
48302         * sysdeps/pthread/timer_create.c: ... here.
48303         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
48304         * sysdeps/pthread/timer_delete.c: ... here.
48305         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
48306         * sysdeps/pthread/timer_getoverr.c: ... here.
48307         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
48308         * sysdeps/pthread/timer_gettime.c: ... here.
48309         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
48310         * sysdeps/pthread/timer_routines.c: ... here.
48311         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
48312         * sysdeps/pthread/timer_settime.c: ... here.
48313         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
48314         * sysdeps/pthread/tst-timer.c: ... here.
48315         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
48316         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
48318         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
48319         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
48321         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
48322         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
48323         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
48324         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
48325         Update #include target.
48326         * nptl/sysdeps/i386/i686/Makefile: Moved ...
48327         * sysdeps/i386/i686/nptl/Makefile: ... here.
48328         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
48329         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
48330         Update #include target.
48331         * nptl/sysdeps/i386/i686/tls.h: Moved ...
48332         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
48333         * nptl/sysdeps/i386/Makefile: Moved ...
48334         * sysdeps/i386/nptl/Makefile: ... here.
48335         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
48336         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
48337         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
48338         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
48339         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
48340         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
48341         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
48342         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
48343         * sysdeps/i386/nptl/pthreaddef.h: ... here.
48344         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
48345         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
48346         * nptl/sysdeps/i386/tls.h: Moved ...
48347         * sysdeps/i386/nptl/tls.h: ... here.
48349         * sysdeps/sh/Makefile [$(subdir) = csu]
48350         (gen-as-const-headers): Add tcb-offsets.sym.
48351         * nptl/sysdeps/sh/Makefile: File removed.
48352         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
48353         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
48354         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
48355         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
48356         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
48357         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
48358         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
48359         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
48360         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
48361         * sysdeps/sh/nptl/pthreaddef.h: ... here.
48362         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
48363         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
48364         * nptl/sysdeps/sh/tls.h: Moved ...
48365         * sysdeps/sh/nptl/tls.h: ... here.
48366         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
48367         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
48368         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
48369         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
48370         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
48371         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
48372         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
48373         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
48374         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
48375         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
48376         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
48377         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
48378         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
48379         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
48380         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
48381         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
48382         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
48383         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
48384         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
48385         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
48386         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
48387         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
48388         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
48389         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
48390         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
48391         Moved ...
48392         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
48393         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
48394         Moved ...
48395         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
48396         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
48397         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
48398         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
48399         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
48400         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
48401         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
48402         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
48403         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
48404         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
48405         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
48406         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
48407         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
48408         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
48409         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
48410         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
48411         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
48412         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
48413         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
48415 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
48417         * posix/spawn_faction_addopen.c: Include string.h.
48419 2014-06-11  Roland McGrath  <roland@hack.frob.com>
48421         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
48422         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
48423         * nptl/sysdeps/x86_64/Makefile: Moved ...
48424         * sysdeps/x86_64/nptl/Makefile: ... here.
48425         * nptl/sysdeps/x86_64/configure: Moved ...
48426         * sysdeps/x86_64/nptl/configure: ... here.
48427         * nptl/sysdeps/x86_64/configure.ac: Moved ...
48428         * sysdeps/x86_64/nptl/configure.ac: ... here.
48429         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
48430         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
48431         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
48432         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
48433         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
48434         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
48435         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
48436         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
48437         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
48438         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
48439         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
48440         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
48441         * nptl/sysdeps/x86_64/tls.h: Moved ...
48442         * sysdeps/x86_64/nptl/tls.h: ... here.
48443         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
48444         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
48445         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
48446         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
48448         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
48450 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48452         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48454 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
48456         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
48457         type.
48458         [POSIX] (off_t): Likewise.
48459         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
48460         [POSIX] (S_ISBLK): Require macro.
48461         [POSIX] (S_ISCHR): Likewise.
48462         [POSIX] (S_ISDIR): Likewise.
48463         [POSIX] (S_ISFIFO): Likewise.
48464         [POSIX] (S_ISREG): Likewise.
48465         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
48466         optional-macro.
48467         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
48468         type.
48469         [POSIX] (time_t): Likewise.
48470         [POSIX] (timer_t): Likewise.
48472 2014-06-11  Florian Weimer  <fweimer@redhat.com>
48474         [BZ #17048]
48475         * posix/spawn_int.h (struct __spawn_action): Make the path string
48476         non-const to support deallocation.
48477         * posix/spawn_faction_addopen.c
48478         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
48479         * posix/spawn_faction_destroy.c
48480         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
48481         path in all spawn_do_open actions.
48482         * posix/tst-spawn.c (do_test): Exercise the copy operation in
48483         posix_spawn_file_actions_addopen.
48485 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
48487         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
48488         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
48489         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
48490         conditional code always true.
48491         (__libc_vfork): New alias.
48493 2014-06-11  Roland McGrath  <roland@hack.frob.com>
48495         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
48496         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
48498         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
48500         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
48501         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
48503         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
48504         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
48506         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
48507         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
48509 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
48511         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
48512         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
48513         multiarch strcmp for PPC64.
48514         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
48515         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
48516         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
48517         multiarch optimizations.
48518         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
48519         (__libc_ifunc_impl_list): Likewise.
48521 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
48523         * benchtests/scripts/validate_benchout.py: New script.
48524         * benchtests/Makefile (bench-func): Call it.
48525         * benchtests/scripts/benchout.schema.json: New file.
48527 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
48529         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
48530         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
48531         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
48532         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
48533         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
48534         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
48535         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
48536         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
48537         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
48538         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
48539         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
48540         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
48541         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
48542         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
48543         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
48544         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
48545         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
48546         Moved ...
48547         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
48548         ... here.
48549         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
48550         Moved ...
48551         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
48552         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
48553         Moved ...
48554         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
48555         ... here.
48556         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
48557         Moved ...
48558         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
48559         ... here.
48560         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
48561         Moved ...
48562         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
48563         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
48564         Moved ...
48565         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
48566         ... here.
48567         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
48568         Moved ...
48569         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
48570         ... here.
48571         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
48572         Moved ...
48573         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
48574         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
48575         Moved ...
48576         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
48577         ... here.
48578         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
48579         Moved ...
48580         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
48581         ... here.
48582         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
48583         Moved ...
48584         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
48585         ... here.
48586         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
48587         Moved ...
48588         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
48589         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
48590         Moved ...
48591         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
48592         ... here.
48593         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
48594         Moved ...
48595         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
48596         ... here.
48597         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
48598         Moved ...
48599         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
48600         ... here.
48601         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
48602         Moved ...
48603         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
48604         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
48605         Moved ...
48606         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
48607         ... here.
48608         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
48609         Moved ...
48610         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
48611         ... here.
48612         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
48613         Moved ...
48614         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
48615         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
48616         Moved ...
48617         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
48618         ... here.
48619         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
48620         Moved ...
48621         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
48622         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
48623         Moved ...
48624         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
48625         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
48626         Moved ...
48627         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
48628         ... here.
48629         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
48630         Moved ...
48631         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
48632         ... here.
48633         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
48634         Moved ...
48635         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
48636         ... here.
48637         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
48638         Moved ...
48639         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
48640         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
48641         Moved ...
48642         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
48643         ... here.
48644         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
48645         Moved ...
48646         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
48647         ... here.
48648         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
48649         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
48650         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
48651         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
48652         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
48653         Moved ...
48654         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
48655         ... here.
48656         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
48657         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
48658         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
48659         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
48660         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
48661         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
48662         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
48663         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
48664         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
48665         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
48666         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
48667         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
48668         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
48669         Moved ...
48670         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
48671         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
48672         Moved ...
48673         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
48674         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
48675         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
48676         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
48677         Moved ...
48678         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
48679         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
48680         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
48681         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
48682         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
48683         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
48684         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
48686 2014-06-10  Wilco  <wdijkstr@arm.com>
48688         * math/test-fenv-return.c: New file.
48689         * math/Makefile: Add new test test-fenv-return.
48691 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
48693         [BZ #17042]
48694         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
48695         when x - 1 is zero.
48696         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
48697         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
48698         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
48699         0.0L for an argument of 1.0L.
48700         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
48701         Likewise.
48702         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
48703         value when x - 1 is zero.
48704         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
48705         * sysdeps/i386/fpu/libm-test-ulps: Update.
48706         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48708 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
48710         [BZ #15119]
48711         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
48713 2014-06-09  Roland McGrath  <roland@hack.frob.com>
48715         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
48716         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
48718 2014-06-09  Roland McGrath  <roland@hack.frob.com>
48720         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
48721         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
48723         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
48724         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
48726         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
48727         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
48729         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
48730         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
48732         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
48733         if not already defined.
48734         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
48735         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
48736         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
48737         (TLS_INIT_TP): Use it.
48738         (TLS_DEFINE_INIT_TP): New macro.
48739         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
48741 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
48743         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
48744         constant.
48745         [POSIX] (IXANY): Likewise.
48746         [POSIX] (OLCUC): Likewise.
48747         [POSIX || POSIX2008] (CBAUD): Do not allow.
48748         [POSIX || POSIX2008] (DEFECHO): Likewise.
48749         [POSIX || POSIX2008] (ECHOCTL): Likewise.
48750         [POSIX || POSIX2008] (ECHOKE): Likewise.
48751         [POSIX || POSIX2008] (ECHOPRT): Likewise.
48752         [POSIX || POSIX2008] (EXTA): Likewise.
48753         [POSIX || POSIX2008] (EXTB): Likewise.
48754         [POSIX || POSIX2008] (FLUSHO): Likewise.
48755         [POSIX || POSIX2008] (LOBLK): Likewise.
48756         [POSIX || POSIX2008] (PENDIN): Likewise.
48757         [POSIX || POSIX2008] (SWTCH): Likewise.
48758         [POSIX || POSIX2008] (VDISCARD): Likewise.
48759         [POSIX || POSIX2008] (VDSUSP): Likewise.
48760         [POSIX || POSIX2008] (VLNEXT): Likewise.
48761         [POSIX || POSIX2008] (VREPRINT): Likewise.
48762         [POSIX || POSIX2008] (VSTATUS): Likewise.
48763         [POSIX || POSIX2008] (VWERASE): Likewise.
48764         (B*): Change to B[0123456789]*.
48765         * conform/data/time.h-data [POSIX || UNIX98]
48766         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
48767         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
48768         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
48769         [POSIX] (tm_*): Do not allow.
48771 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
48773         * Makefile (install): Don't set LANGUAGE.
48774         * Makefile.in (install): Likewise.
48775         * assert/Makefile (test-assert-ENV): Remove variable.
48776         (test-assert-perr-ENV): Likewise.
48777         * elf/Makefile (neededtest4-ENV): Likewise.
48778         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
48779         [$(cross-compiling) = no]: Don't set LANGUAGE.
48780         * io/ftwtest-sh (LANG): Remove variable.
48781         * libio/Makefile (tst-widetext-ENV): Likewise.
48782         * manual/install.texi (Running make install): Don't refer to
48783         environment settings for make install.
48784         * INSTALL: Regenerated.
48785         * nptl/tst-tls6.sh: Don't set LANG.
48786         * posix/globtest.sh (LANG): Remove variable.
48787         * string/Makefile (tester-ENV): Likewise.
48788         (inl-tester-ENV): Likewise.
48789         (noinl-tester-ENV): Likewise.
48790         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
48791         [$(cross-compiling) = no]: Don't set LANGUAGE.
48792         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
48793         without explicit environment settings.
48795 2014-06-06  Roland McGrath  <roland@hack.frob.com>
48797         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
48798         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
48799         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
48800         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
48802 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
48804         * crypt/crypt-private.h [DOS]: Add some includes taken from the
48805         other files in the crypt directory.
48806         * crypt/crypt.c: Remove duplicate includes.
48807         * crypt/crypt-entry.c: Likewise.
48808         * crypt/crypt_util.c: Likewise.
48810 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
48812         * Makeconfig (run-program-env): New variable.
48813         (run-program-prefix-before-env): Likewise.
48814         (run-program-prefix-after-env): Likewise.
48815         (run-program-prefix): Define in terms of new variables.
48816         (built-program-cmd-before-env): New variable.
48817         (built-program-cmd-after-env): Likewise.
48818         (built-program-cmd): Define in terms of new variables.
48819         (test-program-prefix-before-env): New variable.
48820         (test-program-prefix-after-env): Likewise.
48821         (test-program-prefix): Define in terms of new variables.
48822         (test-program-cmd-before-env): New variable.
48823         (test-program-cmd-after-env): Likewise.
48824         (test-program-cmd): Define in terms of new variables.
48825         * Rules (make-test-out): Use $(run-program-env).
48826         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
48827         (help): Do not mention environment variables.  Mention
48828         --timeoutfactor option.
48829         (timeoutfactor): New variable.
48830         (blacklist_exports): Remove function.
48831         (exports): Remove variable.
48832         (command): Do not include ${exports}.
48833         * manual/install.texi (Configuring and compiling): Do not mention
48834         test wrappers preserving environment variables.  Mention that last
48835         assignment to a variable must take precedence.
48836         * INSTALL: Regenerated.
48837         * benchtests/Makefile (run-bench): Use $(run-program-env).
48838         * catgets/Makefile ($(objpfx)test1.cat): Use
48839         $(built-program-cmd-before-env), $(run-program-env) and
48840         $(built-program-cmd-after-env).
48841         ($(objpfx)test2.cat): Do not specify environment variables
48842         explicitly.
48843         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
48844         $(run-program-env) and $(built-program-cmd-after-env).
48845         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
48846         $(run-program-env) and $(test-program-cmd-after-env).
48847         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
48848         explicitly.
48849         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
48850         run_program_env and test_program_cmd_after_env arguments.
48851         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
48852         * elf/tst-pathopt.sh: Use run_program_env argument.
48853         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
48854         $(test-wrapper-env) and $(run-program-env).
48855         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
48856         run_program_env arguments.
48857         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
48858         * intl/Makefile ($(objpfx)tst-gettext.out): Use
48859         $(test-program-prefix-before-env), $(run-program-env) and
48860         $(test-program-prefix-after-env).
48861         ($(objpfx)tst-gettext2.out): Likewise.
48862         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
48863         run_program_env and test_program_prefix_after_env arguments.
48864         * intl/tst-gettext2.sh: Likewise.
48865         * intl/tst-gettext4.sh: Do not set environment variables
48866         explicitly.
48867         * intl/tst-gettext6.sh: Likewise.
48868         * intl/tst-translit.sh: Likewise.
48869         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
48870         $(test-program-prefix-before-env), $(run-program-env) and
48871         $(test-program-prefix-after-env).
48872         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
48873         run_program_env and test_program_prefix_after_env arguments.
48874         * math/Makefile (run-regen-ulps): Use $(run-program-env).
48875         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
48876         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
48877         explicitly with each use of ${test_wrapper_env}.
48878         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
48879         $(test-program-prefix-before-env), $(run-program-env) and
48880         $(test-program-prefix-after-env).
48881         * posix/tst-getconf.sh: Do not set environment variables
48882         explicitly.
48883         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
48884         run_program_env and test_program_prefix_after_env arguments.
48885         * stdio-common/tst-printf.sh: Do not set environment variables
48886         explicitly.
48887         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
48888         $(test-program-prefix-before-env), $(run-program-env) and
48889         $(test-program-prefix-after-env).
48890         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
48891         run_program_env and test_program_prefix_after_env arguments.
48892         Split $test calls into $test_pre and $test.
48893         * timezone/Makefile (build-testdata): Use
48894         $(built-program-cmd-before-env), $(run-program-env) and
48895         $(built-program-cmd-after-env).
48897 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48899         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
48900         strlen for non SHARED builds.
48902 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
48904         * nptl/allocatestack.c (check_list): Inlined function...
48905         (__reclaim_stacks): ... here.
48907 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
48909         [BZ #15698]
48910         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
48911         memory overrun.
48913 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
48915         * Rules (make-test-out): Include
48916         LOCPATH=$(common-objpfx)localedata in default environment.
48917         * debug/Makefile (tst-chk1-ENV): Remove variable.
48918         (tst-chk2-ENV): Likewise.
48919         (tst-chk3-ENV): Likewise.
48920         (tst-chk4-ENV): Likewise.
48921         (tst-chk5-ENV): Likewise.
48922         (tst-chk6-ENV): Likewise.
48923         (tst-lfschk1-ENV): Likewise.
48924         (tst-lfschk2-ENV): Likewise.
48925         (tst-lfschk3-ENV): Likewise.
48926         (tst-lfschk4-ENV): Likewise.
48927         (tst-lfschk5-ENV): Likewise.
48928         (tst-lfschk6-ENV): Likewise.
48929         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
48930         (tst-iconv7-ENV): Likewise.
48931         * intl/Makefile (LOCPATH-ENV): Likewise.
48932         (tst-codeset-ENV): Likewise.
48933         (tst-gettext3-ENV): Likewise.
48934         (tst-gettext5-ENV): Likewise.
48935         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
48936         (tst-fopenloc-ENV): Likewise.
48937         (tst-fgetws-ENV): Remove variable.
48938         (tst-ungetwc1-ENV): Likewise.
48939         (tst-ungetwc2-ENV): Likewise.
48940         (bug-ungetwc2-ENV): Likewise.
48941         (tst-swscanf-ENV): Likewise.
48942         (bug-ftell-ENV): Likewise.
48943         (tst-fgetwc-ENV): Likewise.
48944         (tst-fseek-ENV): Likewise.
48945         (tst-ftell-partial-wide-ENV): Likewise.
48946         (tst-ftell-active-handler-ENV): Likewise.
48947         (tst-ftell-append-ENV): Likewise.
48948         * posix/Makefile (tst-fnmatch-ENV): Likewise.
48949         (tst-regexloc-ENV): Likewise.
48950         (bug-regex1-ENV): Likewise.
48951         (tst-regex-ENV): Likewise.
48952         (tst-regex2-ENV): Likewise.
48953         (bug-regex5-ENV): Likewise.
48954         (bug-regex6-ENV): Likewise.
48955         (bug-regex17-ENV): Likewise.
48956         (bug-regex18-ENV): Likewise.
48957         (bug-regex19-ENV): Likewise.
48958         (bug-regex20-ENV): Likewise.
48959         (bug-regex22-ENV): Likewise.
48960         (bug-regex23-ENV): Likewise.
48961         (bug-regex25-ENV): Likewise.
48962         (bug-regex26-ENV): Likewise.
48963         (bug-regex30-ENV): Likewise.
48964         (bug-regex32-ENV): Likewise.
48965         (bug-regex33-ENV): Likewise.
48966         (bug-regex34-ENV): Likewise.
48967         (bug-regex35-ENV): Likewise.
48968         (tst-rxspencer-ENV): Likewise.
48969         (tst-rxspencer-no-utf8-ENV): Likewise.
48970         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
48971         (tst-sscanf-ENV): Likewise.
48972         (tst-swprintf-ENV): Likewise.
48973         (tst-swscanf-ENV): Likewise.
48974         (test-vfprintf-ENV): Likewise.
48975         (scanf13-ENV): Likewise.
48976         (bug14-ENV): Likewise.
48977         (tst-grouping-ENV): Likewise.
48978         * stdlib/Makefile (tst-strtod-ENV): Likewise.
48979         (tst-strtod3-ENV): Likewise.
48980         (tst-strtod4-ENV): Likewise.
48981         (tst-strtod5-ENV): Likewise.
48982         (testmb2-ENV): Likewise./
48983         * string/Makefile (tst-strxfrm-ENV): Likewise.
48984         (tst-strxfrm2-ENV): Likewise.
48985         (bug-strcoll1-ENV): Likewise.
48986         (test-strcasecmp-ENV): Likewise.
48987         (test-strncasecmp-ENV): Likewise.
48988         * time/Makefile (tst-strptime-ENV): Likewise.
48989         (tst-ftime_l-ENV): Likewise.
48990         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
48991         (tst-mbrtowc-ENV): Likewise.
48992         (tst-wcrtomb-ENV): Likewise.
48993         (tst-mbrtowc2-ENV): Likewise.
48994         (tst-c16c32-1-ENV): Likewise.
48995         (tst-mbsnrtowcs-ENV): Likewise.
48997 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
48999         * manual/resource.texi (How to get information about the memory
49000         subsystem?): Fix typo.
49001         Reported by Peon de la Parra Ivan <peon@keba.com>
49003 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
49005         [BZ #16882]
49006         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
49007         (pthread_spin_lock): Branch out of spin loop to proper location.
49008         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
49009         (pthread_spin_lock): Likewise.
49011         * nptl/tst-spin4.c: New test.
49012         * nptl/Makefile (tests): Add tst-spin4.
49014 2014-06-03  Andreas Schwab  <schwab@suse.de>
49016         [BZ #15946]
49017         * resolv/res_send.c (send_dg): Reload file descriptor after
49018         calling reopen.
49020 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
49022         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
49024 2014-06-03  Richard Henderson  <rth@redhat.com>
49026         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
49027         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
49028         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
49029         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
49030         in the SAVE_PID block.
49031         (__libc_vfork): New alias.
49032         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
49034         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
49035         child in registers, not on the stack.  Remove RESET_PID conditionals.
49036         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
49038 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
49040         * sysdeps/aarch64/libm-test-ulps: Regenerate.
49042 2014-06-03  Wilco  <wdijkstr@arm.com>
49044         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
49045         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
49046         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
49047         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
49048         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
49049         Likewise.
49051 2014-06-03  Wilco  <wdijkstr@arm.com>
49053         * sysdeps/aarch64/fpu/math_private.h
49054         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
49055         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
49056         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
49057         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
49058         Fix declarations.
49060 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
49062         * crypt/crypt-private.h: Include ufc-crypt.h.
49063         (__b64_from_24bit): Declare extern.
49064         * crypt/crypt_util.c(__b64_from_24bit): New function.
49065         (b64t): New static const variable.
49066         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
49067         (b64t): Remove variable.
49068         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
49069         * crypt/sha256-crypt.c: Include crypt-private.h.
49070         (b64t): Remove variable.
49071         (__sha256_crypt_r): Remove b64_from_24bit and replace
49072         with __b64_from_24bit.
49073         * crypt/sha512-crypt.c: Likewise.
49075 2014-06-02  Roland McGrath  <roland@hack.frob.com>
49077         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
49078         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
49079         Label the code __libc_vfork rather than __vfork.
49080         [!NOT_IN_libc] (vfork): Define as weak alias.
49081         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
49082         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
49083         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
49085 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
49087         * malloc/malloc.c (malloc_info): Fix format specifier for
49088         n_mmaps.
49090 2014-06-02  Wilco  <wdijkstr@arm.com>
49092         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
49093         FPCR write.
49095 2014-06-02  Wilco  <wdijkstr@arm.com>
49097         [BZ #17009]
49098         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
49099         Rewrite to reduce FPCR/FPSR accesses.
49101 2014-06-01  David S. Miller  <davem@davemloft.net>
49103         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49105 2014-05-31  David S. Miller  <davem@davemloft.net>
49107         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
49108         to occur in round to nearest mode when |x| >= 2.0
49110 2014-05-30  Richard Henderson  <rth@twiddle.net>
49112         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
49113         (PSEUDO_RET_NOERRNO): Remove.
49114         (ret): Don't redefine.
49115         (ret_NOERRNO): Define in terms of ret.
49116         (ret_ERRVAL): Likewise.
49118         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
49119         use of PSEUDO_RET; perform the error check directly.
49121 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
49123         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
49124         with __int128_t.
49126 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
49128         * malloc/malloc (malloc_info): Fix formatting.
49130 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
49131             Roland McGrath  <roland@hack.frob.com>
49133         * malloc/malloc (malloc_info): Also print mmapped statistics.
49135 2014-05-30  Roland McGrath  <roland@hack.frob.com>
49137         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
49138         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
49140 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
49142         * malloc/malloc.c (malloc_info): Inline mi_arena.
49144 2014-05-29  Richard Henderson  <rth@twiddle.net>
49146         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
49147         Remove comma before expanding ASM_ARGS_##nr.
49148         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
49149         Make _x0 a strict output; make _x8 a strict input; adjust expansion
49150         of ASM_ARGS_##nr.
49151         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
49152         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
49153         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
49154         (ASM_ARGS_1): Add leading comma.
49156         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
49157         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
49158         to __errno_location.
49159         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
49160         Remove the expected plt for __errno_location.
49162         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
49163         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
49164         call to __read_tp.
49166         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
49167         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
49168         it and break it down.
49169         (DOCARGS_0, DOCARGS_1): Do nothing.
49170         (DOCARGS_2): Update to store into the new stack frame.
49171         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
49172         (UNDOCARGS_1): Update to restore from the new stack frame.
49173         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
49174         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
49176         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
49177         (SINGLE_THREAD_P): New parameter for result regno.
49178         (PSEUDO): Update to match; use cbz instead of beq.
49180         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
49181         Use ENTRY to define the _nocancel entry point.  Share the syscall
49182         and syscall error check paths with the cancel path.
49183         (PSEUDO_END): New.
49185         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
49186         whitespace; tabs before and after asm mnemonics.
49188 2014-05-29  Eric Wong  <normalperson@yhbt.net>
49190         [BZ #15132]
49191         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49192         Call fstat64 or stat64 internally, depending on arguments passed.
49193         Replace stat buffer argument with file descriptor argument.
49194         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
49195         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
49196         Pass fd to __internal_statvfs instead of calling fstat64.
49197         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
49198         Pass fd to __internal_statvfs64 instead of calling fstat64.
49199         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
49200         Pass -1 to __internal_statvfs instead of calling stat64.
49201         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
49202         Pass -1 to __internal_statvfs64 instead of calling stat64.
49204 2014-05-28  Roland McGrath  <roland@hack.frob.com>
49206         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
49207         that was previously under [RESET_PID].
49208         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
49210         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
49211         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
49213 2014-05-27  Roland McGrath  <roland@hack.frob.com>
49215         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
49217         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
49218         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
49220 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
49222         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
49224 2014-05-27  Andreas Schwab  <schwab@suse.de>
49226         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
49227         TLS_INIT_TP macro.
49228         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
49229         * elf/rtld.c (init_tls, dl_main): Likewise.
49230         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
49231         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
49232         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
49233         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
49234         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
49235         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
49236         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
49237         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
49238         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
49239         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
49240         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
49241         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
49242         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
49243         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
49244         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
49245         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
49246         * sysdeps/generic/tls.h: Update description.
49248 2014-05-27  Will Newton  <will.newton@linaro.org>
49250         [BZ #16990]
49251         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
49252         and restore r2 rather than just restoring.
49254 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
49256         [BZ #16724]
49257         * libio/tst-ftell-append.c: New test case.
49258         * libio/Makefile (tests): Add test case.
49259         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
49260         append mode.
49261         * libio/wfileops.c (do_ftell_wide): Likewise.
49263 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49265         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49267         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
49268         ...
49269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
49270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
49271         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
49272         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
49273         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
49274         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
49275         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
49276         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
49277         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
49278         Moved ...
49279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
49280         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
49281         Moved ...
49282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
49283         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
49284         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
49285         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
49286         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
49287         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
49288         ...
49289         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
49290         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
49291         Moved ...
49292         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
49293         here.
49294         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
49295         ...
49296         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
49297         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
49298         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
49300         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
49301         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
49302         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
49303         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
49305         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
49306         merge into ...
49307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
49308         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
49309         ...
49310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
49311         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
49312         ...
49313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
49314         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
49315         Moved ...
49316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
49317         here.
49318         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
49319         Moved ...
49320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
49321         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
49322         Moved ...
49323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
49325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
49326         conditional [RESET_PID].
49327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
49328         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
49329         removed.
49330         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
49331         removed.
49333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
49334         <tcb-offsets.h>.
49335         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
49336         (__libc_vfork): New strong alias.
49337         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
49338         removed.
49339         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
49340         Removed.
49342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
49343         <tcb-offsets.h>.
49344         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
49345         (__libc_vfork): New strong alias.
49346         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
49347         removed.
49348         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
49349         removed.
49351 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
49353         * malloc/malloc.c (mi_arena): New function.
49354         (malloc_info): Remove nested function mi_arena. Call non-nosted
49355         function mi_arena.
49357 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49359         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
49360         by insrwi.
49361         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
49362         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
49363         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
49364         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
49365         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
49366         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
49367         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
49369 2014-05-26  Andreas Schwab  <schwab@suse.de>
49371         [BZ #16984]
49372         * locale/programs/repertoire.c (repertoire_read): Add slash
49373         between I18NPATH element and file name.
49374         * locale/programs/locfile.c (locfile_read): Likewise.
49376 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
49378         * nptl/pthread_mutexattr_settype.c
49379         (__pthread_mutexattr_settype):
49380         Disable lock elision for PTHREAD_MUTEX_NORMAL.
49382 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
49384         * nptl/tst-mutex5 (do_test):
49385         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
49387 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
49389         * benchtests/README: Document 'init' directive.
49390         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
49391         BENCH_INIT.
49392         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
49393         (parse_file): Recognize 'init' directive.
49395 2014-05-26  Kyle McMartin  <kyle@redhat.com>
49397         [BZ #16796]
49398         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
49399         alignment of struct pthread.
49401 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
49403         [BZ #16878]
49404         * nscd/netgroupcache.c (addgetnetgrentX): Look for
49405         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
49406         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
49407         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
49409 2014-05-25  Richard Henderson  <rth@twiddle.net>
49411         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
49412         (SINGLE_THREAD_P_PIC): Remove.
49413         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
49414         (SINGLE_THREAD_P_PIC): Remove.
49416         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
49417         branch to syscall error ...
49418         (PSEUDO): ... here.
49419         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
49420         from __local_syscall_error to .Lsyscall_error.
49421         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
49422         (SYSCALL_ERROR): Update label name.
49424         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
49425         Do not use DOARGS/UNDOARGS.
49426         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
49427         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
49428         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
49429         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
49430         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
49432         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
49433         block comment.
49435         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
49436         define if !NOT_IN_libc.
49437         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
49438         define with non-default symbol versions.
49440 2014-05-23  Richard Henderson  <rth@twiddle.net>
49442         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
49443         (vfork, __vfork): Define via compat_symbol.
49445         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
49446         [!HAVE_IFUNC] (vfork_compat): Remove.
49447         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
49449 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
49451         [BZ #16978]
49452         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
49453         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
49454         variable.
49456 2014-05-23  Richard Henderson  <rth@twiddle.net>
49458         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
49459         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
49460         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
49461         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
49463         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
49464         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
49465         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
49466         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
49467         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
49468         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
49469         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
49470         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
49471         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
49472         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
49473         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
49474         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
49475         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
49476         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
49477         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
49478         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
49479         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
49480         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
49481         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
49482         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
49483         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
49484         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
49485         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
49486         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
49487         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
49488         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
49489         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
49490         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
49491         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
49492         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
49493         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
49494         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
49495         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
49496         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
49497         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
49498         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
49499         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
49500         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
49501         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
49502         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
49503         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
49504         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
49505         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
49506         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
49507         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
49508         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
49509         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
49510         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
49511         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
49512         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
49513         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
49514         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
49515         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
49516         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
49517         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
49518         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
49520         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
49521         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
49522         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
49523         before exiting on error.
49524         (__libc_vfork): New strong alias.
49525         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
49526         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
49528         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
49529         that was previously under [RESET_PID].
49530         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
49532         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
49534 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
49536         [BZ #16977]
49537         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
49538         value when x - 1 is zero.
49539         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
49540         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
49541         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
49542         0.0L for an argument of 1.0L.
49543         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
49544         Likewise.
49545         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
49546         value when x - 1 is zero.
49547         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
49548         * sysdeps/i386/fpu/libm-test-ulps: Update.
49549         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49551 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
49553         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
49554         alphasort and versionsort.
49556 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49558         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
49559         macro.
49560         [copysignf]: Likewise.
49562 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
49564         * crypt/md5-crypt.c: Fix formatting.
49566 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
49568         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
49569         (b64_from_24bit): New function.
49571 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49573         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
49574         libc_hidden_builtin_def to ifunc.
49575         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
49576         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
49578 2014-05-21  Roland McGrath  <roland@hack.frob.com>
49580         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
49581         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
49583 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
49585         * nscd/Depend (linuxthreads): Remove.
49586         (nptl): Add.
49587         * resolv/Depend (linuxthreads): Remove.
49588         * rt/Depend (linuxthreads): Remove.
49590         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
49591         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
49592         $(common-objpfx)elf/.
49593         (link-libc-before-gnulib): Likewise.
49594         (elfobjdir): Remove variable.
49595         * Makefile (install): Use $(elf-objpfx) instead of
49596         $(common-objpfx)elf/.
49597         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
49598         $(elfobjdir)/.
49599         (link-libc-deps): Likewise.
49600         ($(common-objpfx)libc.so): Likewise.
49601         ($(common-objpfx)linkobj/libc.so): Likewise.
49602         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
49603         instead of $(common-objpfx)elf/.
49604         (symbolic-link-list): Likewise.
49605         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
49606         [$(cross-compiling) = no]: Likewise.
49607         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
49608         $(elfobjdir)/.
49609         (static-gnulib-arch): Likewise.
49610         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
49611         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
49612         $(common-objpfx)elf/.
49614 2014-05-21  Richard Henderson  <rth@redhat.com>
49616         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
49617         (SINGLE_THREAD_P): Use the correct width load.  Fold
49618         into the ldr offset.
49620         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
49621         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
49623 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
49625         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
49626         (libgcc_s_resume): Use __attribute_used__.
49627         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
49628         Likewise.
49630 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49632         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
49633         optimization when used with float constants.
49635         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49637 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
49639         [BZ #16915]
49640         * locale/nl_langinfo_l.c: Make direct reference to every
49641         _nl_current_CATEGORY symbol.
49642         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
49643         (tests-static): Add tst-langinfo-static.
49644         (tests-special): Add tst-langinfo-static.out.
49645         ($(objpfx)tst-langinfo.out): Redirect output.
49646         ($(objpfx)tst-langinfo-static.out): New.
49647         * localedata/tst-langinfo.sh: Send output to stdout.
49648         * localedata/tst-langinfo-static.c: New file.
49650         [BZ #16965]
49651         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
49652         when the shift amount is modulo the limb size.
49654 2014-05-20  Richard Henderson  <rth@redhat.com>
49656         [BZ #16967]
49657         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
49658         Change type of sa_flags from unsigned int to int.
49660         [BZ #16966]
49661         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
49663         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
49665 2014-05-20  Will Newton  <will.newton@linaro.org>
49667         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
49668         Test the return value of the system call in the nocancel case.
49670 2014-05-20  Will Newton  <will.newton@linaro.org>
49671             Yvan Roux  <yvan.roux@linaro.org>
49673         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
49674         #include of asm/ptrace.h.
49675         (PTRACE_GET_THREAD_AREA): Remove #undef.
49676         (PTRACE_GETHBPREGS): Likewise.
49677         (PTRACE_SETHBPREGS): Likewise.
49678         (struct user_regs_struct): New structure.
49679         (struct user_fpsimd_struct): New structure.
49680         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
49681         #include of asm/ptrace.h and second #include of sys/user.h.
49682         (PTRACE_GET_THREAD_AREA): Remove #undef.
49683         (PTRACE_GETHBPREGS): Likewise.
49684         (PTRACE_SETHBPREGS): Likewise.
49685         (ELF_NGREG): Use new struct user_regs_struct.
49686         (elf_fpregset_t): Use new struct user_fpsimd_struct.
49688 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49690         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
49691         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
49693 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
49695         [BZ #16958]
49696         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
49697         membar to avoid block loads/stores to overlap previous stores.
49699 2014-05-17  Richard Henderson  <rth@redhat.com>
49701         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
49702         Create the __##syscall_name##_nocancel entry point.
49703         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
49704         Remove; let the sysdep-cancel.h code create it.
49706 2014-05-17  David S. Miller  <davem@davemloft.net>
49708         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
49709         Protect with __USE_GNU.
49710         (TIOCSET_TEMPT): Likewise.
49711         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
49712         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
49713         these are already provided in bits/ioctl-types.h
49715 2014-05-16  Roland McGrath  <roland@hack.frob.com>
49717         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
49718         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
49720         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
49721         Use wait4 regardless of [__NR_waitpid].
49723 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
49725         PR libgcc/60166
49726         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
49727         (_FP_NANSIGN_Q): Set the quiet bit.
49729 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
49731         * benchtests/Makefile
49732         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
49733         not $(common-objpfx)math/libm.so.
49734         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
49735         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
49736         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
49737         $(common-objpfx)dlfcn/libdl.so.
49738         ($(objpfx)tst-audit8): Depend on $(libm), not
49739         $(common-objpfx)math/libm.so.
49740         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
49741         not $(common-objpfx)dlfcn/libdl.so.
49742         * math/Makefile
49743         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
49744         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
49745         [$(build-shared) = yes].
49746         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
49747         $(common-objpfx)nptl/libpthread.so.
49748         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
49749         $(common-objpfx)math/libm.so$(libm.so-version) or
49750         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
49751         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
49752         $(common-objpfx)dlfcn/libdl.so.
49753         * setjmp/Makefile (link-libm): Remove variable.
49754         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
49755         * stdio-common/Makefile (link-libm): Remove variable.
49756         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
49757         * stdlib/Makefile (link-libm): Remove variable.
49758         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
49759         ($(objpfx)tst-strtod-round): Likewise.
49760         ($(objpfx)tst-tininess): Likewise.
49761         ($(objpfx)tst-strtod-underflow): Likewise.
49762         ($(objpfx)tst-strtod6): Likewise.
49763         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
49764         $(libdl), not $(common-objpfx)nptl/libpthread.so and
49765         $(common-objpfx)dlfcn/libdl.so.
49767 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49769         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
49770         BSD terminal modes definitions.
49772 2014-05-16  Roland McGrath  <roland@hack.frob.com>
49774         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
49775         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
49777         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
49778         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
49779         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
49780         Don't do #include_next.
49781         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
49782         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
49783         Don't do #include_next.
49784         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
49785         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
49786         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
49787         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
49789 2014-05-16  Allan McRae  <allan@archlinux.org>
49791         * po/sv.po: Update Swedish translation from translation project.
49793         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
49794         in sed expression.
49796 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
49798         [BZ #16917]
49799         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
49800         errno if the TIOCGPTN ioctl fails with an error different than
49801         EINVAL.
49802         * login/tst-ptsname.c: New file.
49803         * login/Makefile (tests): Add tst-ptsname.
49805         [BZ #16943]
49806         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
49807         and prlimit64.
49809 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
49811         [BZ #16849]
49812         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
49813         herrno to return EAI_AGAIN.
49815 2014-05-14  Roland McGrath  <roland@hack.frob.com>
49817         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
49818         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
49819         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
49820         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
49821         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
49822         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
49823         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
49824         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
49825         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
49826         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
49827         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
49828         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
49829         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
49830         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
49831         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
49832         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
49833         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
49834         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
49835         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
49836         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
49837         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
49838         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
49839         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
49840         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
49841         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
49842         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
49843         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
49844         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
49845         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
49846         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
49847         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
49848         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
49849         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
49850         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
49851         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
49852         Moved ...
49853         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
49854         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
49855         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
49856         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
49857         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
49858         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
49859         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
49860         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
49861         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
49862         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
49863         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
49864         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
49865         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
49866         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
49867         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
49868         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
49869         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
49870         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
49871         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
49872         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
49873         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
49874         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
49875         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
49876         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
49877         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
49878         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
49879         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
49880         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
49881         Moved ...
49882         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
49883         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
49884         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
49885         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
49886         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
49887         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
49888         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
49889         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
49890         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
49891         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
49892         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
49893         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
49894         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
49895         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
49896         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
49897         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
49898         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
49899         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
49900         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
49901         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
49902         Moved ...
49903         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
49904         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
49905         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
49907         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
49908         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
49909         (libpthread-sysdep_routines): Add elision-related stuff here instead.
49910         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
49911         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
49912         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
49913         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
49914         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
49915         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
49916         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
49917         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
49918         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
49919         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
49920         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
49921         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
49922         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
49923         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
49924         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
49925         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
49926         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
49927         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
49928         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
49929         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
49930         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
49931         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
49932         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
49933         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
49934         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
49935         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
49936         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
49937         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
49939         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
49940         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
49942         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
49943         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
49944         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
49945         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
49946         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
49947         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
49948         Moved ...
49949         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
49950         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
49951         Moved ...
49952         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
49953         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
49954         Moved ...
49955         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
49956         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
49957         Moved ...
49958         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
49959         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
49960         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
49961         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
49962         Moved ...
49963         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
49964         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
49965         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
49966         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
49967         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
49968         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
49969         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
49970         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
49971         Moved ...
49972         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
49973         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
49974         Moved ...
49975         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
49976         ... here.
49977         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
49978         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
49979         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
49980         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
49981         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
49982         Moved ...
49983         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
49984         ... here.
49985         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
49986         Moved ...
49987         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
49988         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
49989         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
49990         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
49991         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
49992         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
49993         Moved ...
49994         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
49995         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
49996         Moved ...
49997         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
49998         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
49999         Moved ...
50000         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
50001         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
50002         Moved ...
50003         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
50004         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
50005         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
50006         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
50007         Moved ...
50008         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
50009         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
50010         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
50011         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
50012         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
50013         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
50014         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
50015         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
50016         Moved ...
50017         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
50018         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
50019         Moved ...
50020         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
50021         ... here.
50022         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
50023         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
50024         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
50025         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
50026         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
50027         Moved ...
50028         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
50029         ... here.
50030         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
50031         Moved ...
50032         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
50033         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
50034         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
50035         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
50036         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
50037         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
50038         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
50039         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
50040         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
50041         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
50042         Moved ...
50043         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
50044         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
50045         Moved ...
50046         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
50047         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
50048         Moved ...
50049         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
50050         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
50051         Moved ...
50052         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
50053         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
50054         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
50055         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
50056         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
50057         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
50058         Moved ...
50059         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
50060         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
50061         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
50062         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
50063         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
50064         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
50065         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
50066         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
50067         Moved ...
50068         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
50069         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
50070         Moved ...
50071         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
50072         ... here.
50073         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
50074         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
50075         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
50076         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
50077         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
50078         Moved ...
50079         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
50080         ... here.
50081         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
50082         Moved ...
50083         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
50084         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
50085         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
50086         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
50087         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
50088         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
50089         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
50090         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
50091         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
50092         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
50093         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
50095         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
50096         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
50098         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
50099         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
50101         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
50102         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
50103         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
50104         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
50105         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
50106         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
50107         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
50108         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
50109         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
50110         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
50111         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
50112         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
50113         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
50114         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
50115         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
50116         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
50117         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
50118         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
50119         Moved ...
50120         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
50121         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
50122         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
50123         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
50124         Moved ...
50125         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
50126         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
50127         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
50128         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
50129         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
50130         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
50131         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
50132         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
50133         Moved ...
50134         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
50135         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
50136         Moved ...
50137         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
50138         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
50139         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
50140         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
50141         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
50142         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
50143         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
50144         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
50145         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
50146         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
50147         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
50148         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
50149         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
50150         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
50151         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
50152         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
50153         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
50155         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
50156         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
50157         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
50158         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
50159         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
50161         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
50162         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
50163         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
50164         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
50165         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
50166         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
50167         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
50168         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
50169         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
50170         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
50172         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
50173         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
50175         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
50176         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
50177         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
50178         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
50179         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
50180         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
50181         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
50182         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
50183         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
50184         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
50185         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
50186         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
50187         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
50188         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
50189         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
50190         Update #include.
50191         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
50192         Likewise.
50193         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
50194         Likewise.
50195         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
50196         Likewise.
50197         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
50198         Likewise.
50199         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
50200         Likewise.
50201         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
50202         Likewise.
50203         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
50204         Likewise.
50205         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
50206         Likewise.
50207         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
50208         Likewise.
50209         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
50210         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
50211         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
50212         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
50213         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
50214         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
50215         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
50216         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
50217         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
50218         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
50219         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
50220         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
50221         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
50222         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
50223         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
50225         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
50226         that was previously under [RESET_PID].
50227         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
50228         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
50229         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
50231         * sysdeps/i386/nptl/Implies: New file.
50232         * sysdeps/x86_64/nptl/Implies: New file.
50233         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
50234         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
50235         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
50236         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
50238         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
50239         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
50240         (__libc_vfork): New strong alias.
50241         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
50242         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
50244         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
50245         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
50246         (__libc_vfork): New strong alias.
50247         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
50248         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
50250         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
50251         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
50252         (__libc_vfork): New strong alias.
50253         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
50254         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
50255         * nptl/pt-vfork.c: New file.
50256         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
50257         (libpthread: GLIBC_2.20): New version set (empty).
50259 2014-05-14  Will Newton  <will.newton@linaro.org>
50261         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
50262         rather than #if.
50264 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
50266         [BZ #16564]
50267         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
50268         arguments with exponent 65 or above.
50269         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
50270         arguments 0x1p113L or above.
50271         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
50272         to arguments 0x1p107L or above.
50273         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
50274         positive arguments with exponent 65 or above.
50275         * math/auto-libm-test-in: Add more tests of log1p.
50276         * math/auto-libm-test-out: Regenerated.
50278         [BZ #16928]
50279         * math/s_cacos.c (__cacos): Ensure zero real part of result from
50280         non-finite arguments is +0.
50281         * math/s_cacosf.c (__cacosf): Likewise.
50282         * math/s_cacosl.c (__cacosl): Likewise.
50283         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
50284         * sysdeps/i386/fpu/libm-test-ulps: Update.
50285         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50287         [BZ #16927]
50288         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
50289         value.
50290         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
50291         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
50292         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
50293         for explicit high bit of mantissa when testing for argument equal
50294         to 1.
50295         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
50296         * sysdeps/i386/fpu/libm-test-ulps: Update.
50297         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50299         [BZ #16516]
50300         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
50301         (__erf): Scale by 16 instead of 8 in potentially underflowing
50302         case.  Ensure exception if result actually underflows.
50303         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
50304         (__erff): Scale by 16 instead of 8 in potentially underflowing
50305         case.  Ensure exception if result actually underflows.
50306         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
50307         (efx8): Remove variable.
50308         (__erfl): Scale by 16 instead of 8 in potentially underflowing
50309         case.  Ensure exception if result actually underflows.
50310         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
50311         (efx8): Remove variable.
50312         (__erfl): Scale by 16 instead of 8 in potentially underflowing
50313         case.  Ensure exception if result actually underflows.
50314         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
50315         (efx8): Remove variable.
50316         (__erfl): Scale by 16 instead of 8 in potentially underflowing
50317         case.  Ensure exception if result actually underflows.
50318         * math/auto-libm-test-in: Add more tests of erf.
50319         * math/auto-libm-test-out: Regenerated.
50321 2014-05-14  Andreas Schwab  <schwab@suse.de>
50323         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
50324         Remove code conditionalized on USE___THREAD.
50326         * config.h.in (HAVE_PT_CHOWN): Define as 0.
50327         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
50328         not definedness.
50330 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
50332         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
50333         Define unconditionally.
50334         (__ASSUME_O_CLOEXEC): Likewise.
50335         (__ASSUME_SOCK_CLOEXEC): Likewise.
50336         (__ASSUME_IN_NONBLOCK): Likewise.
50337         (__ASSUME_PIPE2): Likewise.
50338         (__ASSUME_EVENTFD2): Likewise.
50339         (__ASSUME_SIGNALFD4): Likewise.
50340         (__ASSUME_DUP3): Likewise.
50341         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
50342         (__ASSUME_DUP3): Do not define.
50343         (__ASSUME_EVENTFD2): Likewise.
50344         (__ASSUME_IN_NONBLOCK): Likewise.
50345         (__ASSUME_O_CLOEXEC): Likewise.
50346         (__ASSUME_PIPE2): Likewise.
50347         (__ASSUME_SIGNALFD4): Likewise.
50348         (__ASSUME_SOCK_CLOEXEC): Likewise.
50349         (__ASSUME_UTIMES): Undefine.
50350         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
50351         (__ASSUME_UTIMES): Do not define.
50352         (__ASSUME_O_CLOEXEC): Likewise.
50353         (__ASSUME_SOCK_CLOEXEC): Likewise.
50354         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
50355         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
50356         0x020621].
50357         (__ASSUME_PIPE2): Likewise.
50358         (__ASSUME_EVENTFD2): Likewise.
50359         (__ASSUME_SIGNALFD4): Likewise.
50360         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
50361         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
50362         Do not define.
50363         (__ASSUME_EVENTFD2): Likewise.
50364         (__ASSUME_SIGNALFD4): Likewise.
50365         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
50366         (__ASSUME_32BITUIDS): Likewise.
50367         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
50368         (__ASSUME_IPC64): Likewise.
50369         (__ASSUME_ST_INO_64_BIT): Likewise.
50370         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
50371         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
50372         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
50373         (__ASSUME_UTIMES): Do not define.
50374         (__ASSUME_PSELECT): Likewise.
50375         (__ASSUME_PPOLL): Likewise.
50376         (__ASSUME_O_CLOEXEC): Likewise.
50377         (__ASSUME_SOCK_CLOEXEC): Likewise.
50378         (__ASSUME_IN_NONBLOCK): Likewise.
50379         (__ASSUME_PIPE2): Likewise.
50380         (__ASSUME_EVENTFD2): Likewise.
50381         (__ASSUME_SIGNALFD4): Likewise.
50382         (__ASSUME_DUP3): Likewise.
50383         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
50384         (__ASSUME_UTIMES): Likewise.
50385         (__ASSUME_O_CLOEXEC): Likewise.
50386         (__ASSUME_SOCK_CLOEXEC): Likewise.
50387         (__ASSUME_IN_NONBLOCK): Likewise.
50388         (__ASSUME_PIPE2): Likewise.
50389         (__ASSUME_EVENTFD2): Likewise.
50390         (__ASSUME_SIGNALFD4): Likewise.
50391         (__ASSUME_DUP3): Likewise.
50392         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
50393         (__ASSUME_UTIMES): Likewise.
50394         (__ASSUME_O_CLOEXEC): Likewise.
50395         (__ASSUME_SOCK_CLOEXEC): Likewise.
50396         (__ASSUME_IN_NONBLOCK): Likewise.
50397         (__ASSUME_PIPE2): Likewise.
50398         (__ASSUME_EVENTFD2): Likewise.
50399         (__ASSUME_SIGNALFD4): Likewise.
50400         (__ASSUME_DUP3): Likewise.
50401         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
50402         Likewise.
50403         (__ASSUME_UTIMES): Likewise.
50404         (__ASSUME_EVENTFD2): Likewise.
50405         (__ASSUME_SIGNALFD4): Likewise.
50406         * sysdeps/unix/sysv/linux/tile/kernel-features.h
50407         (__ASSUME_O_CLOEXEC): Likewise.
50408         (__ASSUME_SOCK_CLOEXEC): Likewise.
50409         (__ASSUME_IN_NONBLOCK): Likewise.
50410         (__ASSUME_PIPE2): Likewise.
50411         (__ASSUME_EVENTFD2): Likewise.
50412         (__ASSUME_SIGNALFD4): Likewise.
50413         (__ASSUME_DUP3): Likewise.
50414         (__ASSUME_UTIMES): Undefine.
50416         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
50417         feclearexcept.  Remove symbol versioning code.
50418         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
50419         symbol versioning code.
50420         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
50421         symbol versioning code.
50422         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
50423         feupdateenv.  Remove symbol versioning code.
50424         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
50425         fegetexceptflag.  Remove symbol versioning code.
50426         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
50427         fesetexceptflag.  Remove symbol versioning code.
50428         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
50429         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
50430         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
50431         (__posix_fadvise64_l32): Remove prototype.
50432         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
50433         code.
50435 2014-05-13  Roland McGrath  <roland@hack.frob.com>
50437         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
50438         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
50439         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
50440         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
50442 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
50444         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
50445         current working directory
50447 2014-05-13  Roland McGrath  <roland@hack.frob.com>
50449         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
50450         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
50451         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
50452         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
50453         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
50454         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
50455         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
50456         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
50457         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
50458         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
50459         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
50460         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
50461         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
50462         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
50463         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
50464         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
50465         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
50466         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
50467         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
50468         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
50469         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
50470         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
50471         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
50472         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
50473         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
50474         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
50475         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
50476         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
50477         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
50478         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
50479         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
50480         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
50481         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
50482         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
50483         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
50484         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
50485         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
50486         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
50487         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
50488         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
50489         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
50490         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
50492         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
50493         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
50495         * sysdeps/unix/sysv/linux/arm/Makefile
50496         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
50497         Add rt-aeabi_unwind_cpp_pr1.
50498         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
50499         Add nptl-aeabi_unwind_cpp_pr1.
50500         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
50501         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
50502         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
50503         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
50504         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
50505         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
50507         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
50508         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
50509         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
50510         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
50512         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
50513         Deconditionalize the code that was previously under [RESET_PID].
50514         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
50516         * sysdeps/generic/exit-thread.h: New file.
50517         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
50518         * include/unistd.h (__exit_thread): Remove declaration.
50519         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
50520         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
50521         * csu/libc-start.c: Include <exit-thread.h>.
50522         (LIBC_START_MAIN): Pass no argument to __exit_thread.
50523         * nptl/pthread_create.c: Include <exit-thread.h>.
50524         (start_thread): Call __exit_thread in place of __exit_thread_inline.
50525         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
50526         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
50527         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
50528         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
50529         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
50530         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
50531         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
50532         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
50533         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
50534         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
50535         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
50536         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
50537         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
50538         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
50539         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
50540         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
50542 2014-05-13  Andreas Schwab  <schwab@suse.de>
50544         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
50546 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
50548         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
50549         (__ASSUME_UTIMES): Do not condition on kernel version.
50550         (__ASSUME_PSELECT): Define unconditionally.
50551         (__ASSUME_PPOLL): Likewise.
50552         (__ASSUME_ATFCTS): Likewise.
50553         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
50554         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
50555         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
50556         (__ASSUME_UTIMENSAT): Define unconditionally.
50557         (__ASSUME_PRIVATE_FUTEX): Likewise.
50558         (__ASSUME_FALLOCATE): Likewise.
50559         (__ASSUME_O_CLOEXEC): Likewise.
50560         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
50561         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
50562         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
50563         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
50564         (__ASSUME_IN_NONBLOCK): Likewise.
50565         (__ASSUME_PIPE2): Likewise.
50566         (__ASSUME_EVENTFD2): Likewise.
50567         (__ASSUME_SIGNALFD4): Likewise.
50568         (__ASSUME_DUP3): Likewise.
50569         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
50570         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
50571         (__ASSUME_AT_RANDOM): Likewise.
50572         (__ASSUME_PREADV): Likewise.
50573         (__ASSUME_PWRITEV): Likewise.
50574         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
50575         (__ASSUME_F_GETOWN_EX): Define unconditionally.
50576         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
50577         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
50578         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
50579         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
50580         (__ASSUME_O_CLOEXEC): Define unconditionally.
50581         (__ASSUME_PSELECT): Do not undefine conditionally.
50582         (__ASSUME_PPOLL): Likewise.
50583         (__ASSUME_ATFCTS): Likewise.
50584         (__ASSUME_SET_ROBUST_LIST): Likewise.
50585         (__ASSUME_UTIMENSAT): Likewise.
50586         (__ASSUME_FDATASYNC): Define unconditionally.
50587         * sysdeps/unix/sysv/linux/arm/kernel-features.h
50588         (__ASSUME_SIGFRAME_V2): Likewise.
50589         )__ASSUME_EVENTFD2): Likewise.
50590         (__ASSUME_SIGNALFD4): Likewise.
50591         (__ASSUME_PSELECT): Do not undefine conditionally.
50592         (__ASSUME_PPOLL): Likewise.
50593         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
50594         (__ASSUME_PSELECT): Define unconditionally.
50595         (__ASSUME_PPOLL): Likewise.
50596         (__ASSUME_O_CLOEXEC): Likewise.
50597         (__ASSUME_SOCK_CLOEXEC): Likewise.
50598         (__ASSUME_IN_NONBLOCK): Likewise.
50599         (__ASSUME_PIPE2): Likewise.
50600         (__ASSUME_EVENTFD2): Likewise.
50601         (__ASSUME_SIGNALFD4): Likewise.
50602         (__ASSUME_DUP3): Likewise.
50603         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
50604         (__ASSUME_O_CLOEXEC): Likewise.
50605         (__ASSUME_SOCK_CLOEXEC): Likewise.
50606         (__ASSUME_IN_NONBLOCK): Likewise.
50607         (__ASSUME_PIPE2): Likewise.
50608         (__ASSUME_EVENTFD2): Likewise.
50609         (__ASSUME_SIGNALFD4): Likewise.
50610         (__ASSUME_DUP3): Likewise.
50611         * sysdeps/unix/sysv/linux/mips/kernel-features.h
50612         (__ASSUME_EVENTFD2): Likewise.
50613         (__ASSUME_SIGNALFD4): Likewise.
50614         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
50616 2014-05-12  Andreas Schwab  <schwab@suse.de>
50618         [BZ #16932]
50619         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
50620         (_nss_nis_gethostbyname4_r): Return error if item length is larger
50621         than maximum RPC packet size.
50622         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
50623         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
50624         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
50625         (_nss_nis_getservbyport_r): Likewise.
50627 2014-05-12  Will Newton  <will.newton@linaro.org>
50629         * malloc/Makefile (tests): Add tst-mallopt.
50630         * malloc/tst-mallopt.c: New file.
50632 2014-05-09  Roland McGrath  <roland@hack.frob.com>
50634         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
50635         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
50637 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50639         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
50640         (tst-tlsmod6.so): Likewise.
50642 2014-05-09  Roland McGrath  <roland@hack.frob.com>
50644         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
50646 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
50648         [BZ #16064]
50649         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
50650         and <dl-procinfo.h>.
50651         (__fegetenv): Save SSE state in envp->__eip if supported.
50652         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
50653         envp->__eip if supported.
50654         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
50655         and <dl-procinfo.h>.
50656         (__fesetenv): Always set __eip, __cs_selector, __opcode,
50657         __data_offset and __data_selector in environment to 0.  Set SSE
50658         state if supported.
50659         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
50660         test-fenv-sse.
50661         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
50662         -mfpmath=sse.
50663         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
50665 2014-05-09  Will Newton  <will.newton@linaro.org>
50667         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
50668         and libc_relro_required for ARM.
50669         * sysdeps/arm/preconfigure: Regenerate.
50671 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
50672             Stefan Liebler  <stli@linux.vnet.ibm.com>
50674         * config.make.in (enable-lock-elision): New Makefile variable.
50675         * configure.ac: Likewise.
50676         * configure: Regenerate.
50677         * sysdeps/s390/configure.ac:
50678         Add check for gcc transactions support.
50679         * sysdeps/s390/configure: Regenerate.
50680         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
50681         Build elision files if enabled.
50682         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
50683         Add lock elision support for s390.
50684         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
50685         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
50686         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
50687         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
50688         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
50689         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
50690         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
50691         Likewise.
50692         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
50693         Likewise.
50694         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
50695         Likewise.
50696         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
50697         Likewise.
50698         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
50699         (__lll_timedlock_elision, __lll_lock_elision)
50700         (__lll_unlock_elision, __lll_trylock_elision)
50701         (lll_timedlock_elision, lll_lock_elision)
50702         (lll_unlock_elision, lll_trylock_elision): Add.
50703         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
50704         (pthread_mutex_t): Add lock elision support for s390.
50706 2014-05-14  Wilco  <wdijkstr@arm.com>
50708         * sysdeps/arm/fclrexcpt.c: Cleanup.
50709         * sysdeps/arm/fedisblxcpt.c: Cleanup.
50710         * sysdeps/arm/feenablxcpt.c: Cleanup.
50711         * sysdeps/arm/fegetenv.c: Cleanup.
50712         * sysdeps/arm/fegetexcept.c: Cleanup.
50713         * sysdeps/arm/fegetround.c: Cleanup.
50714         * sysdeps/arm/feholdexcpt.c: Cleanup.
50715         * sysdeps/arm/fesetenv.c: Cleanup.
50716         * sysdeps/arm/fesetround.c: Cleanup.
50717         * sysdeps/arm/feupdateenv.c: Cleanup.
50718         * sysdeps/arm/fgetexcptflg.c: Cleanup.
50719         * sysdeps/arm/fraiseexcpt.c: Cleanup.
50720         * sysdeps/arm/fsetexcptflg.c: Cleanup.
50721         * sysdeps/arm/ftestexcept.c: Cleanup.
50722         * sysdeps/arm/get-rounding-mode.h: Cleanup.
50723         * sysdeps/arm/setfpucw.c: Cleanup.
50725 2014-05-09  Will Newton  <will.newton@linaro.org>
50727         * sysdeps/arm/armv7/strcmp.S: New file.
50728         * NEWS: Mention addition of ARMv7 optimized strcmp.
50730 2014-05-08  Roland McGrath  <roland@hack.frob.com>
50732         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
50733         look for %.ac rather than %.in.
50735         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
50736         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
50737         * sysdeps/mach/hurd/configure: Regenerated.
50738         * sysdeps/unix/sysv/linux/configure: Regenerated.
50740         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
50742 2014-05-07  Steve Ellcey  <sellcey@mips.com>
50744         [BZ #16922]
50745         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
50746         (LONG_SUB): Ditto.
50747         (PTR_SUB): Ditto.
50749 2014-05-07  Andreas Schwab  <schwab@suse.de>
50751         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
50752         when skipping over non-matching result from nscd.
50754 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
50756         [BZ #16876]
50757         * nptl/sockperf.c (client): Check socket return value.
50759         [BZ #16877]
50760         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
50761         nscd security class.
50763 2014-05-06  Roland McGrath  <roland@hack.frob.com>
50765         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
50766         * sysdeps/arm/unwind.h: ... here.
50768 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
50770         [BZ #16916]
50771         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
50772         Define.
50774 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
50776         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
50777         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
50778         multiarch strncpy for PPC64.
50779         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
50780         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
50781         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
50782         multiarch optimizations.
50783         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
50784         (__libc_ifunc_impl_list): Likewise.
50785         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
50786         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
50787         multiarch stpncpy for PPC64.
50788         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
50789         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
50791 2014-05-06  Andreas Schwab  <schwab@suse.de>
50793         [BZ #16912]
50794         * gmon/mcount.c (_MCOUNT_DECL): Use
50795         atomic_compare_and_exchange_bool_acq instead of
50796         catomic_compare_and_exchange_bool_acq.
50798 2014-05-05  Roland McGrath  <roland@hack.frob.com>
50800         * elf/Makefile (others, install-bin): Remove pldd.
50801         (pldd-modules): Variable removed.
50802         ($(objpfx)pldd): Target removed.
50803         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
50804         (others, install-bin): Append pldd here.
50805         ($(objpfx)pldd): New target.
50807         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
50808         to 0, so the first #if test emitted later doesn't see it undefined.
50809         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
50810         * sysdeps/gnu/errlist.c: Regenerated.
50812 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50814         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
50815         [libc_hidden_builtin_def]: Define to empty value.
50816         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
50817         [libc_hidden_builtin_def]: Likewise.
50818         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
50819         [libc_hidden_builtin_def]: Likewise.
50820         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
50821         [libc_hidden_builtin_def]: Likewise.
50822         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
50823         __redirect_memcpy and define ifunc as default hidden symbol.
50824         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
50825         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
50827 2014-05-04  Adam Conrad  <adconrad@0c3.net>
50829         * locale/iso-4217.def: Reintroduce XDR currency.
50831 2014-05-04  Allan McRae  <allan@archlinux.org>
50833         * po/eo.po: Update Esperanto translation from translation project.
50835 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
50837         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
50838         and FEATURE_INDEX_MAX to 1.
50839         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
50841 2014-05-01  Steve Ellcey  <sellcey@mips.com>
50843         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
50844         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
50845         * iconvdata/big5.c (ONE_DIRECTION): Define.
50846         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
50847         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
50848         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
50849         * iconvdata/cp932.c (ONE_DIRECTION): Define.
50850         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
50851         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
50852         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
50853         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
50854         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
50855         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
50856         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
50857         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
50858         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
50859         * iconvdata/gbk.c (ONE_DIRECTION): Define.
50860         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
50861         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
50862         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
50863         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
50864         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
50865         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
50866         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
50867         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
50868         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
50869         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
50870         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
50871         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
50872         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
50873         * iconvdata/iso646.c (ONE_DIRECTION): Define.
50874         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
50875         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
50876         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
50877         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
50878         * iconvdata/johab.c (ONE_DIRECTION): Define.
50879         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
50880         * iconvdata/sjis.c (ONE_DIRECTION): Define.
50881         * iconvdata/t.61.c (ONE_DIRECTION): Define.
50882         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
50883         * iconvdata/tscii.c (ONE_DIRECTION): Define.
50884         * iconvdata/uhc.c (ONE_DIRECTION): Define.
50885         * iconvdata/unicode.c (ONE_DIRECTION): Define.
50886         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
50887         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
50888         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
50890 2014-05-01  Roland McGrath  <roland@hack.frob.com>
50892         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
50893         (_IO_JUMPS_OFFSET): Define to 0.
50895         * nptl/sysdeps/pthread/bits/libc-lock.h
50896         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
50897         (__libc_lock_define_initialized_recursive): Always define using
50898         initializer.  Modern compilers treat uninitialized (implicit zero) and
50899         explicit zero initializers the same (i.e. put the datum in bss).
50901 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
50903         * nscd/nscd-client.h: Include <string.h>.
50905 2014-05-01  David S. Miller  <davem@davemloft.net>
50907         [BZ #16885]
50908         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
50909         multiple zero bytes exist at the end of a string.
50910         Reported by Aurelien Jarno <aurelien@aurel32.net>
50912         * string/test-strcmp.c (check): Add explicit test for situations where
50913         there are multiple zero bytes after the first.
50915 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
50917         [BZ #16890]
50918         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
50919         when compiling wprintf.
50920         * stdio-common/tstdiomisc.c (t3): New function.
50921         (main): Call it.
50923 2014-05-01  Steve Ellcey  <sellcey@mips.com>
50925         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
50926         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
50927         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
50928         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
50930 2014-05-01  Steve Ellcey  <sellcey@mips.com>
50932         * stdlib/longlong.h: Updated from GCC.
50934 2014-05-01  Will Newton  <will.newton@linaro.org>
50935             Bernard Ogden  <bernie.ogden@linaro.org>
50937         * NEWS: Update fixed bug list.
50939         [BZ #15119]
50940         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
50942 2014-04-30  David S. Miller  <davem@davemloft.net>
50944         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
50945         (libc_feholdexcept_setround_sparc_ctx): New function.
50946         (libc_fesetenv_sparc_ctx): Likewise.
50947         (libc_feupdateenv_sparc_ctx): Likewise.
50948         (libc_feholdsetround_sparc_ctx): Likewise.
50949         (libc_feholdexcept_setround_ctx): Define.
50950         (libc_feholdexcept_setroundf_ctx): Likewise.
50951         (libc_feholdexcept_setroundl_ctx): Likewise.
50952         (libc_fesetenv_ctx): Likewise.
50953         (libc_fesetenvf_ctx): Likewise.
50954         (libc_fesetenvl_ctx): Likewise.
50955         (libc_feupdateenv_ctx): Likewise.
50956         (libc_feupdateenvf_ctx): Likewise.
50957         (libc_feupdateenvl_ctx): Likewise.
50958         (libc_feresetround_ctx): Likewise.
50959         (libc_feresetroundf_ctx): Likewise.
50960         (libc_feresetroundl_ctx): Likewise.
50961         (libc_feholdsetround_ctx): Likewise.
50962         (libc_feholdsetroundf_ctx): Likewise.
50963         (libc_feholdsetroundl_ctx): Likewise.
50965         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
50966         with __USE_GNU instead of XOPEN cpp guards.
50968         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
50969         0.
50971         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
50972         with XOPEN cpp guards.
50974 2014-04-30  Julian Brown  <julian@codesourcery.com>
50976         [BZ #16888]
50977         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
50978         handling.
50980 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
50982         [BZ #9894]
50983         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
50984         Change to 2.6.32.
50985         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
50986         * sysdeps/unix/sysv/linux/configure: Regenerated.
50987         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
50988         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
50989         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
50990         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
50991         * README: Update reference to required Linux kernel version.
50992         * manual/install.texi (Linux): Update reference to required Linux
50993         kernel headers version.
50994         * INSTALL: Regenerated.
50996         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
50997         header inclusion.
50998         [POSIX] (limits.h): Likewise.
50999         [POSIX] (math.h): Likewise.
51000         [POSIX] (sys/wait.h): Likewise.
51001         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
51002         function.
51003         [POSIX] (stddef.h): Do not allow header inclusion.
51005 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51007         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
51009 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
51011         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
51012         Return immediately after lll_futex_wake.
51014 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
51016         [BZ #16791]
51017         * nscd/nscd-client.h (datahead_init_common): Initialize entire
51018         structure.
51019         (datahead_init_pos): Call datahead_init_common early.
51020         (datahead_init_neg): Likewise.
51022         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
51023         datahead_init_neg): New functions.
51024         * nscd/aicache.c (addhstaiX): Use them.
51025         * nscd/grpcache.c (cache_addgr): Likewise.
51026         * nscd/hstcache.c (cache_addhst): Likewise.
51027         * nscd/initgrcache.c (addinitgroupsX): Likewise.
51028         * nscd/netgroupcache.c (do_notfound): Likewise.
51029         (addgetnetgrentX): Likewise.
51030         (addinnetgrX): Likewise.
51031         * nscd/pwdcache.c (cache_addpw): Likewise.
51032         * nscd/servicescache.c (cache_addserv): Likewise.
51034 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
51035             Atsushi Onoe  <atsushi@onoe.org>
51037         [BZ #14308]
51038         [BZ #12994]
51039         [BZ #13651]
51040         * resolv/res_query.c (__libc_res_nsearch): Return if at least
51041         one response is valid.
51042         * resolv/res_send.c (send_dg): Check for validity of other
51043         response if the current response is a referral.
51045 2014-04-29  Steve Ellcey  <sellcey@mips.com>
51047         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
51049 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
51051         [BZ #16823]
51052         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
51053         Always divide by positive zero when computing -Inf result.
51054         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
51055         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
51057 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51059         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
51060         FPSCR if value do not change.
51061         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
51062         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
51063         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
51064         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
51065         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
51066         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
51067         function.
51069 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
51071         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
51072         * sysdeps/unix/sysv/linux/hppa: Move directory from
51073         ports/systeps/unix/sysv/linux/hppa.
51074         * README: Update listing for hppa-*-linux-gnu.
51076 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
51078         [BZ #16754]
51079         * manual/stdio.texi (Hook functions): Fix types of stream hook
51080         functions.
51081         [BZ #16854]
51082         * socket/sys/socket.h: Fix typo in comment.
51084 2014-04-28  Wilco  <wdijkstr@arm.com>
51086         * sysdeps/arm/fenv_private.h: New file.
51087         * sysdeps/arm/math_private.h: New file.
51088         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
51090 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
51092         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
51093         with __int128_t.
51094         (La_x86_64_retval): Likewise.
51096 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
51098         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
51099         fpsr if value didn't change.
51100         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
51101         to fpcr if value didn't change.
51102         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
51103         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
51104         fpsr or fpcr if value didn't change.
51105         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
51106         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
51107         fpcr if value didn't change.
51108         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
51109         to fpsr if value didn't change.
51111 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
51113         * nptl/tst-sem3.c: Use test-skeleton.c
51114         (main): Rename to do_test.  Use return instead of
51115         exit.
51116         * nptl/tst-sem4.c: Use test-skeleton.c
51117         (main): Rename to do_test.
51119 2014-04-22  David S. Miller  <davem@davemloft.net>
51121         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
51122         (struct sigaction): New struct member __glibc_reserved0, change
51123         type of sa_flags to int.
51125 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
51127         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
51128         (COUNT_LEADING_ZEROS_0): Define for AArch64.
51130 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
51132         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
51133         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
51135 2014-04-22  Will Newton  <will.newton@linaro.org>
51136             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
51138         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
51139         (__longjmp): Add longjmp and longjmp_target SystemTap
51140         probes.
51141         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
51142         (__sigsetjmp): Add setjmp SystemTap probe.
51144 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
51146         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
51147         match manual order.
51149 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51151         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
51153         * sysdeps/powerpc/fpu/fenv_private.h
51154         (libc_feholdexcept_setroundl_ctx): Define to
51155         libc_feholdexcept_setround_ppc_ctx.
51156         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
51157         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
51158         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
51159         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
51161 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
51163         * sysdeps/aarch64/math-tests.h: New file.
51165 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
51167         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
51168         New.
51169         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51170         Check and set bit_AVX2_Usable.
51171         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
51172         macro.
51173         (bit_AVX2): Likewise.
51174         (index_AVX2_Usable): Likewise.
51175         (CPUID_AVX2): Likewise.
51176         (HAS_AVX2): Likewise.
51178 2014-04-17  Will Newton  <will.newton@linaro.org>
51180         * manual/setjmp.texi (System V contexts): Add note that
51181         calling setcontext on a context created by a call to a
51182         signal handler is undefined.  Update text to note that
51183         setcontext from a signal handler is possible but not
51184         recommended.
51186         [BZ #16629]
51187         * stdlib/tst-setcontext.c: Include signal.h.
51188         (main): Check that the signal stack before and
51189         after swapcontext is the same.
51191         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
51192         Re-implement to restore registers in user code and avoid
51193         rt_sigreturn system call.
51195 2014-04-17  Wilco  <wdijkstr@arm.com>
51197         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
51198         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
51199         * math/test-fenv.c: Skip exception trap tests on targets which only
51200         support non-stop mode.
51202 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
51203             Wilco Dijkstra  <wilco.dijkstra@arm.com>
51205         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
51206         (libc_feholdsetround_aarch64_ctx)
51207         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
51208         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
51209         (libc_feresetround_ctx, libc_feresetroundf_ctx)
51210         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
51211         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
51212         (libc_feresetround_noexl_ctx): Define.
51214 2014-04-16  Richard Henderson  <rth@redhat.com>
51216         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
51218         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
51219         unwind tables.
51221         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
51222         const from the non-libc, non-ldso copy.
51224         * sysdeps/alpha/libm-test-ulps: Regenerate.
51226 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
51227             Wilco Dijkstra  <wilco.dijkstra@arm.com>
51229         * sysdeps/aarch64/fpu/math_private.h: New file.
51231 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
51233         * sysdeps/aarch64/libm-test-ulps: Regenerate.
51235 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
51237         [BZ #16275]
51238         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
51239         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
51240         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
51241         Intel MPX bound registers before _dl_profile_fixup.
51242         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
51243         registers after _dl_profile_fixup.  Save and restore bound
51244         registers bnd0/bnd1 when calling _dl_call_pltexit.
51245         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
51246         (LR_BND_OFFSET): Likewise.
51247         (LRV_BND0_OFFSET): Likewise.
51248         (LRV_BND1_OFFSET): Likewise.
51250 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51252         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
51253         to...
51254         * sysdeps/mach/hurd/i386/tls.h: ... here.
51255         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
51256         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
51257         fields.
51259 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51261         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
51263 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
51265         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
51267 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
51269         [BZ #14770]
51270         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
51271         * sysdeps/s390/configure: Regenerate.
51273         [BZ #16824]
51274         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
51275         Set round-to-nearest internally to reduce error accumulation.
51277 2014-04-16  Alan Modra  <amodra@gmail.com>
51279         [BZ #16740]
51280         [BZ #16619]
51281         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
51282         * math/libm-test.inc (frexp_test_data): Add tests.
51283         * NEWS: Update fixed bug list.
51285 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
51287         * benchtests/Makefile: Depend on libraries in build directory.
51288         (bench-math): Separate out math tests.
51289         (bench-pthread): Separate out pthread tests.
51290         (bench): Include math and pthread tests.
51292 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
51294         [BZ #16831]
51295         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
51296         _dl_debug_initialize.
51298         * configure.ac: Remove SELinux header check.
51299         * configure: Regenerate.
51300         * nscd/selinux.c (perms): Array of const char* to permission names.
51301         (nscd_request_avc_has_perm): Call security_deny_unknown to find
51302         default policy. Call string_to_security_class and string_to_av_perm to
51303         translate strings. Enforce default policy and call avs_has_perm with
51304         results of translated strings.
51306 2014-04-13  David S. Miller  <davem@davemloft.net>
51308         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51310 2014-04-12  Allan McRae  <allan@archlinux.org>
51312         [BZ #16838]
51313         * manual/string.texi (Collation Functions): Fix qsort argument
51314         order in example.
51315         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
51317 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
51319         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
51320         Make the test a no-op if there are no exceptions defined.
51322 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
51324         * elf/Makefile (tests): make tst-dlopen-aout conditional on
51325         enable-hardcoded-path-in-tests
51327 2014-04-11  Will Newton  <will.newton@linaro.org>
51329         * benchtests/Makefile (extra-objs): Add json-lib.o.
51330         (bench-func): Tidy up JSON output.
51331         * benchtests/bench-skeleton.c: Include json-lib.h.
51332         (main): Use JSON library functions to do output of
51333         benchmark results.
51334         * benchtests/bench-timing-type.c (main): Output the
51335         timing type simply, leaving formatting to the user.
51336         * benchtests/json-lib.c: New file.
51337         * benchtests/json-lib.h: Likewise.
51339 2014-04-11  Torvald Riegel  <triegel@redhat.com>
51341         [BZ #15215]
51342         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
51343         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
51344         memory barriers.  Add comments.
51345         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
51346         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
51347         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
51348         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
51349         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
51350         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
51352 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
51354         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
51355         * sysdeps/s390/s390-64/configure.ac: ... this ...
51356         * sysdeps/s390/configure.ac: ... to here.
51357         * sysdeps/s390/s390-32/configure: Delete file.
51358         * sysdeps/s390/s390-64/configure: Delete file.
51359         * sysdeps/s390/configure: Regenerate.
51361 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
51363         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
51365 2014-04-11  Will Newton  <will.newton@linaro.org>
51367         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
51368         to zero if it is not defined elsewhere.  (mtrim): Test
51369         the value of MALLOC_DEBUG with #if rather than #ifdef.
51371 2014-04-10 Torvald Riegel  <triegel@redhat.com>
51373         * benchtests/pthread_once-inputs: New file.
51374         * benchtests/pthread_once-source.c: New file.
51375         * benchtests/README: Update documentation.
51377 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
51378             H.J. Lu  <hongjiu.lu@intel.com>
51380         [BZ #16275]
51381         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
51382         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
51383         * sysdeps/x86_64/configure: Regenerated.
51384         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
51385         macro.
51386         (REGISTER_SAVE_RAX): Likewise.
51387         (REGISTER_SAVE_RCX): Likewise.
51388         (REGISTER_SAVE_RDX): Likewise.
51389         (REGISTER_SAVE_RSI): Likewise.
51390         (REGISTER_SAVE_RDI): Likewise.
51391         (REGISTER_SAVE_R8): Likewise.
51392         (REGISTER_SAVE_R9): Likewise.
51393         (REGISTER_SAVE_BND0): Likewise.
51394         (REGISTER_SAVE_BND1): Likewise.
51395         (REGISTER_SAVE_BND2): Likewise.
51396         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
51397         bound registers when calling _dl_fixup.
51399 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51401         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
51402         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
51403         of its definition.
51404         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
51405         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
51406         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
51407         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
51408         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
51409         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
51410         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
51412 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
51414         [BZ #15514]
51415         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
51416         pathconf(_PC_NAME_MAX).
51418 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51420         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
51421         Remove macro usage.
51422         (__PTHREAD_SPINS): Move definition to ...
51423         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
51424         (__PTHREAD_SPINS): ... here.
51425         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
51426         (__PTHREAD_SPIN): Likewise.
51427         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
51428         (__PTHREAD_SPIN): Likewise.
51429         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
51430         (__PTHREAD_SPIN): Likewise.
51431         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
51432         (__PTHREAD_SPIN): Likewise.
51433         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
51434         (__PTHREAD_SPIN): Likewise.
51435         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
51436         (__PTHREAD_SPIN): Likewise.
51437         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
51438         (__PTHREAD_SPIN): Likewise.
51439         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
51440         (__PTHREAD_SPIN): Likewise.
51441         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
51442         (__PTHREAD_SPIN): Likewise.
51443         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
51444         (__PTHREAD_SPIN): Likewise.
51445         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
51446         (__PTHREAD_SPIN): Likewise.
51447         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
51448         (__PTHREAD_SPIN): Likewise.
51450         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
51451         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
51452         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
51453         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
51454         imply folder.
51455         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
51456         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
51457         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
51458         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
51459         correct imply path.
51460         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
51461         strlen symbol for non multi-arch builds.
51462         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
51463         missing hidden_def and weak_alias.
51465 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
51467         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
51469 2014-04-07  Will Newton  <will.newton@linaro.org>
51471         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
51472         and contents.  [!_LIBC] Remove #ifndef and contents.
51473         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
51474         * string/memccpy.c (__memccpy): Use ANSI prototype.
51475         * string/memfrob.c (memfrob): Likewise.
51476         * string/strcoll.c (STRCOLL): Likewise.
51477         * string/strlen.c (strlen): Likewise.
51478         * string/strtok.c (STRTOK): Likewise.
51479         * string/strcat.c: Remove unused #include of memcopy.h.
51480         (strcat): Use ANSI prototype.
51481         * string/strchr.c: Remove unused #include of memcopy.h.
51482         (strchr): Use ANSI prototype.
51483         * string/strcmp.c: Remove unused #include of memcopy.h.
51484         (strcmp): Use ANSI prototype.
51485         * string/strcpy.c: Remove unused #include of memcopy.h.
51486         (strcpy): Use ANSI prototype.
51488 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51490         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
51491         * config.make.in (config-extra-cppflags): Set it from
51492         libc_extra_cppflags.
51493         * configure.ac (libc_extra_cflags): Make it accumulate over
51494         configure fragments.
51495         (libc_extra_cppflags): New flag.
51496         * configure. Regenerate.
51497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
51498         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
51499         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
51500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
51502         [BZ #16815]
51503         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
51504         result for FE_DOWNWARD rounding mode.
51505         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
51506         Likewise.
51507         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51509 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
51511         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
51512         in function argument name.
51514 2014-04-03  David Svoboda  <svoboda@cert.org>
51516         [BZ #5666]
51517         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
51518         explicitly.
51520 2014-04-03  Roland McGrath  <roland@hack.frob.com>
51522         * elf/dl-unmap-segments.h: New file.
51523         * sysdeps/generic/ldsodefs.h
51524         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
51525         * elf/dl-close.c: Include <dl-unmap-segments.h>.
51526         * elf/dl-fptr.c: Likewise.
51527         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
51528         * sysdeps/aarch64/tlsdesc.c: Likewise.
51529         * sysdeps/arm/tlsdesc.c: Likewise.
51530         * sysdeps/i386/tlsdesc.c: Likewise.
51531         * sysdeps/tile/dl-runtime.c: Likewise.
51532         * sysdeps/x86_64/tlsdesc.c: Likewise.
51533         * elf/dl-load.h: New file.
51534         * elf/dl-load.c: Include it.
51535         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
51536         Macros moved to dl-load.h.
51537         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
51538         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
51539         Use _dl_unmap_segments in place of __munmap.
51540         Break out segment-mapping loop into ...
51541         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
51543 2014-04-03  Will Newton  <will.newton@linaro.org>
51545         * elf/dl-lookup.c (do_lookup_x): Remove comment
51546         referring to nested function and move variable
51547         declarations down to before first use.
51549 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
51551         [BZ #16799]
51552         [BZ #16800]
51553         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
51554         with 0 numerator.
51555         * math/s_catanf.c (__catanf): Likewise.
51556         * math/s_catanh.c (__catanh): Likewise.
51557         * math/s_catanhf.c (__catanhf): Likewise.
51558         * math/s_catanhl.c (__catanhl): Likewise.
51559         * math/s_catanl.c (__catanl): Likewise.
51560         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
51561         by positive zero when computing -Inf result.
51562         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
51563         (catanh_test): Likewise.
51564         * sysdeps/i386/fpu/libm-test-ulps: Update.
51565         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51567         [BZ #16789]
51568         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
51569         instead of using underflowing value in computing result.
51570         * math/s_clog10.c (__clog10): Likewise.
51571         * math/s_clog10f.c (__clog10f): Likewise.
51572         * math/s_clog10l.c (__clog10l): Likewise.
51573         * math/s_clogf.c (__clogf): Likewise.
51574         * math/s_clogl.c (__clogl): Likewise.
51575         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
51576         (clog10_test): Likewise.
51577         * sysdeps/i386/fpu/libm-test-ulps: Update.
51578         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51580 2014-04-02  Alan Modra  <amodra@gmail.com>
51582         [BZ #16739]
51583         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
51584         output when value is near a power of two.  Use int64_t for lx and
51585         remove casts.  Use decimal rather than hex exponent constants.
51586         Don't use long double multiplication when double will suffice.
51587         * math/libm-test.inc (nextafter_test_data): Add tests.
51588         * NEWS: Add 16739 and 16786 to bug list.
51590         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
51592         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
51594 2014-04-01  Will Newton  <will.newton@linaro.org>
51596         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
51597         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
51599 2014-04-01  Florian Weimer  <fweimer@redhat.com>
51601         [BZ #13347]
51602         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
51603         * nptl/tst-setuid2.c: New file.
51604         * nptl/Makefile (xtests): Add tst-setuid2.
51606 2014-04-01  Alan Modra  <amodra@gmail.com>
51608         [BZ #16786]
51609         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
51611 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
51613         [BZ #6803]
51614         [BZ #6804]
51615         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
51616         set errno as appropriate.
51617         * math/w_scalbf.c (__scalbf): Likewise.
51618         * math/w_scalbl.c (__scalbl): Likewise.
51619         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
51620         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
51621         * math/libm-test.inc (scalb_test_data): Add errno expectations.
51622         Add more NaN tests.
51624         [BZ #16349]
51625         * math/w_atan2.c: Include <errno.h>.
51626         (__atan2): Set errno for result underflowing to zero.
51627         * math/w_atan2f.c: Include <errno.h>.
51628         (__atan2f): Set errno for result underflowing to zero.
51629         * math/w_atan2l.c: Include <errno.h>.
51630         (__atan2l): Set errno for result underflowing to zero.
51631         * math/auto-libm-test-in: Don't allow missing errno for some atan2
51632         tests.
51633         * math/auto-libm-test-out: Regenerated.
51635 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51637         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
51638         Encode instruction correctly in little endian.
51639         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
51640         Likewise.
51641         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
51642         Likewise.
51643         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
51644         Likewise.
51645         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
51646         Likewise.
51648 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
51650         [BZ #9894]
51651         * sysdeps/unix/sysv/linux/kernel-features.h
51652         [__sparc__ && !__arch64__ && !__sparc_v9__]
51653         (__ASSUME_SET_ROBUST_LIST): Do not define.
51654         [__sparc__ && !__arch64__ && !__sparc_v9__]
51655         (__ASSUME_FUTEX_LOCK_PI): Likewise.
51656         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
51657         Likewise.
51658         * sysdeps/unix/sysv/linux/arm/kernel-features.h
51659         (__ASSUME_FUTEX_LOCK_PI): Undefine.
51660         (__ASSUME_REQUEUE_PI): Likewise.
51661         (__ASSUME_SET_ROBUST_LIST): Likewise.
51662         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
51663         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
51664         Undefine.
51665         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
51666         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
51667         Likewise.
51668         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
51669         Likewise.
51670         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
51671         Likewise.
51672         * sysdeps/unix/sysv/linux/mips/kernel-features.h
51673         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
51674         Undefine.
51675         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
51676         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
51677         Likewise.
51679         [BZ #16648]
51680         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
51681         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
51682         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
51684 2014-03-31  Will Newton  <will.newton@linaro.org>
51686         * benchtests/Makefile (bench): Add ffs and ffsll to list
51687         of tests.
51688         * benchtests/ffs-inputs: New file.
51689         * benchtests/ffsll-inputs: Likewise.
51691 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
51693         [BZ #16770]
51694         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
51695         too large before casting to int.
51696         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
51697         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
51698         * math/libm-test.inc (scalb_test_data): Add more tests.
51700 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
51702         * benchtests/Makefile (DETAILED_OPT): New make option.
51703         (bench-func): Run benchmark program with -d if DETAILED_OPT is
51704         set.
51705         * benchtests/bench-skeleton.c: Include stdbool.h.
51706         (main): Store and print timings per input.
51707         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
51708         member to each argument value.
51709         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
51710         (_print_arg_data): Initialize per-input timing to 0.
51712         * benchtests/Makefile (timing-type): New binary.
51713         (bench-clean): Also remove bench-timing-type.
51714         (bench): New target for timing-type.
51715         (bench-func): Print output in JSON format.
51716         * benchtests/bench-skeleton.c (main): Print output in JSON
51717         format.
51718         * benchtests/bench-timing-type.c: New file.
51719         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
51720         (TIMING_PRINT_STATS): Remove.
51721         * benchtests/scripts/bench.py (_print_arg_data): Store variant
51722         name separately.
51724         * benchtests/bench-modf.c: Remove.
51725         * benchtests/modf-inputs: New inputs file.
51727 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
51729         [BZ #16362]
51730         * math/s_clog10.c (M_PI_LOG10E): New macro.
51731         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
51732         imaginary parts are 0.
51733         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
51734         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
51735         imaginary parts are 0.
51736         * math/s_clog10l.c (M_PI_LOG10El): New macro.
51737         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
51738         imaginary parts are 0.
51739         * math/libm-test.inc (clog10_test_data): Update expected results
51740         for when real and imaginary parts are 0.
51742 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
51744         * elf/dl-load.c: Finish conversion of __builtin_expect into
51745         __glibc_{un}likely.
51747 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
51749         [BZ #16348]
51750         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
51751         1+x for argument with exponent below -67.
51752         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
51753         Likewise.
51754         * math/auto-libm-test-in: Add more tests of exp.
51755         * math/auto-libm-test-out: Regenerated.
51757 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
51759         [BZ #16759]
51760         * inet/getnetgrent_r.c (get_nonempty_val): New function.
51761         (nscd_getnetgrent): Use it.
51763         [BZ #16760]
51764         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
51765         of stpcpy.
51767 2014-03-27  Andi Kleen  <ak@linux.intel.com>
51769         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
51770         (lll_robust_lock, lll_cond_lock, lll_timedlock)
51771         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
51772         (lll_robust_unlock): Remove out of line section. Use cfi
51773         intrinsics.
51774         (LLL_STUB_UNWIND_INFO*): Remove.
51775         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
51776         (lll_robust_lock, lll_cond_lock, lll_timedlock)
51777         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
51778         (lll_robust_unlock): Remove out of line section. Use cfi
51779         intrinsics.
51780         (LLL_STUB_UNWIND_INFO*): Remove.
51782 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
51784         [BZ #16758]
51785         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
51786         blank values.
51788 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
51790         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
51792 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
51794         [BZ #16198]
51795         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
51796         fnstenv.
51797         * math/test-fenv-preserve.c: New file.
51798         * math/Makefile (tests): Add test-fenv-preserve.
51800 2014-03-26  Will Newton <will.newton@linaro.org>
51802         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
51804 2014-03-25  Roland McGrath  <roland@hack.frob.com>
51806         * scripts/versionlist.awk: Partition the version sets and emit all
51807         GLIBC_* (sorted) before all others (sorted).
51809 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
51811         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
51812         GLIBC_2.2.5 version.
51814 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51816         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
51817         calls.
51819         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
51820         previous change.
51822         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51824 2014-03-25  Andreas Schwab  <schwab@suse.de>
51826         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
51827         label to be used after in6ailist is initialized.
51829 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51831         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
51832         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
51834 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
51836         [BZ #16357]
51837         [BZ #16599]
51838         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
51839         min_plus_half.
51840         (fp_formats): Update initializers.
51841         (init_fp_formats): Initialize new field.
51842         (output_for_one_input_case): Allow underflow for results up to
51843         min_plus_half.
51844         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
51845         * math/auto-libm-test-in: Don't mark some underflows from asin and
51846         atanh as spurious.
51847         * math/auto-libm-test-out: Regenerated.
51848         * sysdeps/i386/fpu/libm-test-ulps: Update.
51849         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51851 2014-03-25  Andreas Schwab  <schwab@suse.de>
51853         * libio/Makefile (tst-ftell-partial-wide-ENV)
51854         (tst-ftell-active-handler-ENV): Define.
51856 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
51858         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
51860 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
51862         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
51864 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
51866         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
51867         * sysdeps/x86_64/fpu/multiarch/e_exp.c
51868         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
51870 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
51872         [BZ #16634]
51873         * elf/dl-load.c (open_verify): Add mode parameter.
51874         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
51875         (open_path): Change from boolean 'secure' to complete flag 'mode'
51876         (_dl_map_object): Adjust.
51877         * elf/Makefile (tests): Add tst-dlopen-aout.
51878         * elf/tst-dlopen-aout.c: New test.
51880 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
51882         [BZ #16714]
51883         * sysdeps/unix/sysv/linux/s390/bits/stat.h
51884         (struct stat): Rename member pad0 to __glibc_reserved0.
51886         [BZ #16712]
51887         * sysdeps/s390/s390-32/bits/wordsize.h
51888         (__WORDSIZE32_SIZE_ULONG): New define.
51889         * sysdeps/s390/s390-64/bits/wordsize.h
51890         (__WORDSIZE32_SIZE_ULONG): Likewise.
51891         * sysdeps/generic/stdint.h (SIZE_MAX):
51892         Define as UL if __WORDSIZE32_SIZE_ULONG.
51894         [BZ #16713]
51895         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
51896         (__glibc_reserved0): New variable.
51897         (sa_flags): Change type to int.
51899         * posix/Makefile (before-compile): Use += before-compile instead
51900         of a :=.
51902         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
51903         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
51905 2014-03-20  Andreas Schwab  <schwab@suse.de>
51907         [BZ #16743]
51908         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
51909         non-matching result from nscd.
51911 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
51913         * scripts/bench.py: Moved to ...
51914         * benchtests/scripts/bench.py: ... here.
51915         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
51917 2014-03-24  Andreas Schwab  <schwab@suse.de>
51919         [BZ #16002]
51920         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
51921         alloca_account and account alloca use for struct in6ailist.
51923 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
51925         [BZ #16284]
51926         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
51927         rounding mode to recompute results that overflow to infinity or
51928         underflow to zero.
51929         * math/auto-libm-test-in: Don't mark tests as expected to fail for
51930         bug 16284.
51931         * math/auto-libm-test-out: Regenerated.
51932         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
51933         (ccosh_test): Likewise.
51934         (csin_test_data): Use plus_oflow.
51935         (csin_test): Use ALL_RM_TEST.
51936         (csinh_test_data): Use plus_oflow.
51937         (csinh_test): Use ALL_RM_TEST.
51938         * sysdeps/i386/fpu/libm-test-ulps: Update.
51939         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51941 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
51943         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
51944         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
51945         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
51947         [BZ #16731]
51948         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
51949         when x - 1 is zero.
51950         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
51951         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
51952         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
51953         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
51954         argument is 1.
51955         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
51956         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
51957         zero.
51958         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
51959         * sysdeps/i386/fpu/libm-test-ulps: Update.
51960         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51962 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
51964         * scripts/bench.pl: Remove file.
51965         * scripts/bench.py: New benchmark script.
51966         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
51967         * benchtests/README: Mention python dependency.
51968         * scripts/pylintrc: New file.
51969         * scripts/pylint: New file.
51971         * bits/mathdef.h: Use #ifdef instead of #if.
51972         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
51973         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
51974         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
51975         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
51976         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
51977         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
51979 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51980             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
51982         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
51983         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
51984         and strpbrk-ppc64 objects.
51985         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51986         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
51987         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
51988         multiarch strpbrk for POWER7.
51989         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
51990         multiarch strpbrk for PPC64.
51991         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
51992         ifunc selector.
51993         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
51994         strpbrk for POWER7.
51996 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
51998         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
51999         (atan_test): Likewise.
52000         (atanh_test_data): Use NO_TEST_INLINE for two tests.
52001         (atanh_test): Use ALL_RM_TEST.
52002         (atan2_test_data): Likewise.
52003         (cabs_test): Likewise.
52004         (cacosh_test): Likewise.
52005         (carg_test): Likewise.
52006         (casin_test): Likewise.
52007         (casinh_test): Likewise.
52008         (cbrt_test): Likewise.
52009         (csqrt_test): Likewise.
52010         (erf_test): Likewise.
52011         (erfc_test): Likewise.
52012         (pow10_test): Likewise.
52013         (exp2_test): Likewise.
52014         (hypot_test): Likewise.
52015         (j0_test): Likewise.
52016         (j1_test): Likewise.
52017         (lgamma_test): Likewise.
52018         (gamma_test): Likewise.
52019         (sincos_test): Likewise.
52020         (tanh_test): Likewise.
52021         (y0_test): Likewise.
52022         (y1_test): Likewise.
52023         * sysdeps/i386/fpu/libm-test-ulps: Update.
52024         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52026 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52028         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
52029         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
52030         and strcspn-ppc64 objects.
52031         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52032         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
52033         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
52034         multiarch strcspn for POWER7.
52035         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
52036         multiarch strcspn for PPC64.
52037         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
52038         ifunc selector.
52039         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
52040         strcspn for POWER7.
52042 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
52044         * math/gen-libm-test.pl (generate_testfile): Expect only function
52045         name as argument to AUTO_TESTS_* and pass results for all rounding
52046         modes to parse_args.
52047         (parse_auto_input): Separate inputs of automatic tests from
52048         outputs before storing in %auto_tests.
52049         * math/libm-test.inc (acos_test_data): Update call to
52050         AUTO_TESTS_f_f.
52051         (acos_test): Use ALL_RM_TEST.
52052         (acos_tonearest_test_data): Remove.
52053         (acos_test_tonearest): Likewise.
52054         (acos_towardzero_test_data): Likewise.
52055         (acos_test_towardzero): Likewise.
52056         (acos_downward_test_data): Likewise.
52057         (acos_test_downward): Likewise.
52058         (acos_upward_test_data): Likewise.
52059         (acos_test_upward): Likewise.
52060         (acosh_test_data): Update call to AUTO_TESTS_f_f.
52061         (asin_test_data): Likewise.
52062         (asin_test): Use ALL_RM_TEST.
52063         (asin_tonearest_test_data): Remove.
52064         (asin_test_tonearest): Likewise.
52065         (asin_towardzero_test_data): Likewise.
52066         (asin_test_towardzero): Likewise.
52067         (asin_downward_test_data): Likewise.
52068         (asin_test_downward): Likewise.
52069         (asin_upward_test_data): Likewise.
52070         (asin_test_upward): Likewise.
52071         (asinh_test_data): Update call to AUTO_TESTS_f_f.
52072         (atan_test_data): Likewise.
52073         (atanh_test_data): Likewise.
52074         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
52075         (cabs_test_data): Update call to AUTO_TESTS_c_f.
52076         (carg_test_data): Likewise.
52077         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
52078         (ccos_test_data): Update call to AUTO_TESTS_c_c.
52079         (ccosh_test_data): Likewise.
52080         (cexp_test_data): Likewise.
52081         (clog_test_data): Likewise.
52082         (clog10_test_data): Likewise.
52083         (cos_test_data): Update call to AUTO_TESTS_f_f.
52084         (cos_test): Use ALL_RM_TEST.
52085         (cos_tonearest_test_data): Remove.
52086         (cos_test_tonearest): Likewise.
52087         (cos_towardzero_test_data): Likewise.
52088         (cos_test_towardzero): Likewise.
52089         (cos_downward_test_data): Likewise.
52090         (cos_test_downward): Likewise.
52091         (cos_upward_test_data): Likewise.
52092         (cos_test_upward): Likewise.
52093         (cosh_test_data): Update call to AUTO_TESTS_f_f.
52094         (cosh_test): Use ALL_RM_TEST.
52095         (cosh_tonearest_test_data): Remove.
52096         (cosh_test_tonearest): Likewise.
52097         (cosh_towardzero_test_data): Likewise.
52098         (cosh_test_towardzero): Likewise.
52099         (cosh_downward_test_data): Likewise.
52100         (cosh_test_downward): Likewise.
52101         (cosh_upward_test_data): Likewise.
52102         (cosh_test_upward): Likewise.
52103         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
52104         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
52105         (ctan_test_data): Likewise.
52106         (ctan_test): Use ALL_RM_TEST.
52107         (ctan_tonearest_test_data): Remove.
52108         (ctan_test_tonearest): Likewise.
52109         (ctan_towardzero_test_data): Likewise.
52110         (ctan_test_towardzero): Likewise.
52111         (ctan_downward_test_data): Likewise.
52112         (ctan_test_downward): Likewise.
52113         (ctan_upward_test_data): Likewise.
52114         (ctan_test_upward): Likewise.
52115         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
52116         (ctanh_test): Use ALL_RM_TEST.
52117         (ctanh_tonearest_test_data): Remove.
52118         (ctanh_test_tonearest): Likewise.
52119         (ctanh_towardzero_test_data): Likewise.
52120         (ctanh_test_towardzero): Likewise.
52121         (ctanh_downward_test_data): Likewise.
52122         (ctanh_test_downward): Likewise.
52123         (ctanh_upward_test_data): Likewise.
52124         (ctanh_test_upward): Likewise.
52125         (erf_test_data): Update call to AUTO_TESTS_f_f.
52126         (erfc_test_data): Likewise.
52127         (exp_test_data): Likewise.
52128         (exp_test): Use ALL_RM_TEST.
52129         (exp_tonearest_test_data): Remove.
52130         (exp_test_tonearest): Likewise.
52131         (exp_towardzero_test_data): Likewise.
52132         (exp_test_towardzero): Likewise.
52133         (exp_downward_test_data): Likewise.
52134         (exp_test_downward): Likewise.
52135         (exp_upward_test_data): Likewise.
52136         (exp_test_upward): Likewise.
52137         (exp10_test_data): Update call to AUTO_TESTS_f_f.
52138         (exp10_test): Use ALL_RM_TEST.
52139         (exp10_tonearest_test_data): Remove.
52140         (exp10_test_tonearest): Likewise.
52141         (exp10_towardzero_test_data): Likewise.
52142         (exp10_test_towardzero): Likewise.
52143         (exp10_downward_test_data): Likewise.
52144         (exp10_test_downward): Likewise.
52145         (exp10_upward_test_data): Likewise.
52146         (exp10_test_upward): Likewise.
52147         (exp2_test_data): Update call to AUTO_TESTS_f_f.
52148         (expm1_test_data): Likewise.
52149         (expm1_test): Use ALL_RM_TEST.
52150         (expm1_tonearest_test_data): Remove.
52151         (expm1_test_tonearest): Likewise.
52152         (expm1_towardzero_test_data): Likewise.
52153         (expm1_test_towardzero): Likewise.
52154         (expm1_downward_test_data): Likewise.
52155         (expm1_test_downward): Likewise.
52156         (expm1_upward_test_data): Likewise.
52157         (expm1_test_upward): Likewise.
52158         (fma_test_data): Update call to AUTO_TESTS_fff_f.
52159         (fma_test): Use ALL_RM_TEST.
52160         (fma_towardzero_test_data): Remove.
52161         (fma_test_towardzero): Likewise.
52162         (fma_downward_test_data): Likewise.
52163         (fma_test_downward): Likewise.
52164         (fma_upward_test_data): Likewise.
52165         (fma_test_upward): Likewise.
52166         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
52167         (j0_test_data): Update call to AUTO_TESTS_f_f.
52168         (j1_test_data): Likewise.
52169         (jn_test_data): Update call to AUTO_TESTS_if_f.
52170         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
52171         (log_test_data): Update call to AUTO_TESTS_f_f.
52172         (log10_test_data): Likewise.
52173         (log1p_test_data): Likewise.
52174         (log2_test_data): Likewise.
52175         (pow_test_data): Update call to AUTO_TESTS_ff_f.
52176         (pow_tonearest_test_data): Likewise.
52177         (sin_test_data): Update call to AUTO_TESTS_f_f.
52178         (sin_test): Use ALL_RM_TEST.
52179         (sin_tonearest_test_data): Remove.
52180         (sin_test_tonearest): Likewise.
52181         (sin_towardzero_test_data): Likewise.
52182         (sin_test_towardzero): Likewise.
52183         (sin_downward_test_data): Likewise.
52184         (sin_test_downward): Likewise.
52185         (sin_upward_test_data): Likewise.
52186         (sin_test_upward): Likewise.
52187         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
52188         (sinh_test_data): Update call to AUTO_TESTS_f_f.
52189         (sinh_test): Use ALL_RM_TEST.
52190         (sinh_tonearest_test_data): Remove.
52191         (sinh_test_tonearest): Likewise.
52192         (sinh_towardzero_test_data): Likewise.
52193         (sinh_test_towardzero): Likewise.
52194         (sinh_downward_test_data): Likewise.
52195         (sinh_test_downward): Likewise.
52196         (sinh_upward_test_data): Likewise.
52197         (sinh_test_upward): Likewise.
52198         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
52199         (sqrt_test): Use ALL_RM_TEST.
52200         (sqrt_tonearest_test_data): Remove.
52201         (sqrt_test_tonearest): Likewise.
52202         (sqrt_towardzero_test_data): Likewise.
52203         (sqrt_test_towardzero): Likewise.
52204         (sqrt_downward_test_data): Likewise.
52205         (sqrt_test_downward): Likewise.
52206         (sqrt_upward_test_data): Likewise.
52207         (sqrt_test_upward): Likewise.
52208         (tan_test_data): Update call to AUTO_TESTS_f_f.
52209         (tan_test): Use ALL_RM_TEST.
52210         (tan_tonearest_test_data): Remove.
52211         (tan_test_tonearest): Likewise.
52212         (tan_towardzero_test_data): Likewise.
52213         (tan_test_towardzero): Likewise.
52214         (tan_downward_test_data): Likewise.
52215         (tan_test_downward): Likewise.
52216         (tan_upward_test_data): Likewise.
52217         (tan_test_upward): Likewise.
52218         (tanh_test_data): Update call to AUTO_TESTS_f_f.
52219         (tgamma_test_data): Likewise.
52220         (y0_test_data): Likewise.
52221         (y1_test_data): Likewise.
52222         (yn_test_data): Update call to AUTO_TESTS_if_f.
52223         (main): Do not call removed functions.
52225 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
52227         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
52228         (ldexp_test_data): Remove.
52229         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
52230         scalbn_test_data.
52231         (scalb_test): Use ALL_RM_TEST.
52233 2014-03-19  Andreas Schwab  <schwab@suse.de>
52235         * nscd/nscd.service: Also invalidate netgroup cache on reload.
52237 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
52239         [BZ #16649]
52240         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
52241         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
52242         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
52243         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
52244         (__ASSUME_PREADV): Undefine.
52245         (__ASSUME_PWRITEV): Likewise.
52247 2014-03-18  Roland McGrath  <roland@hack.frob.com>
52249         * bits/mman-linux.h: Add comment about non-Linux use.
52250         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
52251         bits/mman-linux.h resting place.
52253         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
52254         * bits/mman-linux.h: ... here.
52256 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52258         * conform/conformtest.pl: Add standard definition when calling C
52259         preprocessor on data files.
52260         (checknamespace): Remove unused variable.
52262 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
52264         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
52265         minus_oflow, plus_uflow and minus_uflow in expected results.
52266         * math/libm-test.inc (scalbn_test_data): Add more tests of
52267         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
52268         minus_uflow.
52269         (scalbn_test): Use ALL_RM_TEST.
52270         (scalbln_test_data): Add more tests of negative arguments.  Use
52271         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
52272         (scalbln_test): Use ALL_RM_TEST.
52274 2014-03-18  Roland McGrath  <roland@hack.frob.com>
52276         * scripts/abilist.awk: Ignore symbols marked with .hidden.
52278 2014-03-18  Will Newton  <will.newton@linaro.org>
52280         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
52281         inaccurate comment.
52283 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
52285         * Makerules [!subdir] (check-abi): Exit with error status if a
52286         test failed.
52288 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
52290         * math/libm-test.inc (nearbyint_test_data): Include all tests used
52291         for rint.  Include results for all rounding modes.
52292         (nearbyint_test): Use ALL_RM_TEST.
52293         (rint_test_data): Include all tests used for nearbyint.
52295 2014-03-17  Will Newton  <will.newton@linaro.org>
52297         * nptl/sysdeps/pthread/pthread.h: Revert previous
52298         change.
52300         * sysdeps/generic/ldsodefs.h: Revert previous
52301         change.
52303         * libio/genops.c: Revert previous change.
52304         * libio/libioP.h: Likewise.
52305         * stdio-common/vfprintf.c: Likewise.
52307         * sysdeps/generic/math_private.h: Revert previous
52308         change.
52310         * sysdeps/generic/math_private.h: Check whether
52311         HAVE_RM_CTX is defined with #ifdef rather
52312         than #if.
52314         * argp/argp-fmtstream.h: Check whether
52315         __STRICT_ANSI__ is defined with #ifdef rather
52316         than #if.
52317         * argp/argp.h: Likewise.
52319         * libio/genops.c: Check whether
52320         _IO_JUMPS_OFFSET is defined with #ifdef rather
52321         than #if.
52322         * libio/libioP.h: Likewise.
52323         * stdio-common/vfprintf.c: Likewise.
52325         * sysdeps/generic/ldsodefs.h: Check whether
52326         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
52327         than #if.
52329         * nptl/sysdeps/pthread/pthread.h: Check
52330         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
52331         its value.
52333 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
52335         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
52336         setting O_APPEND.
52337         * libio/tst-ftell-active-handler.c (do_append_test): Add a
52338         test case.
52340         [BZ #16680]
52341         * libio/fileops.c (_IO_file_open): Seek to end of file but
52342         don't cache the offset.
52343         (get_file_offset): Remove function.
52344         (do_ftell): Use cached offset when available.
52345         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
52346         don't cache the offset.
52347         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
52348         case.
52349         (do_one_test): Call it.
52350         (do_ftell_test): Fix up expected old offset for a+ mode.
52351         * libio/wfileops.c (do_ftell_wide): Used cached offset when
52352         available.
52354         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
52355         up test status with function return status.
52356         (do_write_test): Likewise.
52357         (do_append_test): Likewise.
52359         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
52360         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
52361         Remove.
52363 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
52365         * math/gen-libm-test.pl (parse_args): Handle results specified for
52366         each rounding mode separately.
52367         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
52368         tests and results from lrint_tonearest_test_data,
52369         lrint_towardzero_test_data, lrint_downward_test_data and
52370         lrint_upward_test_data.
52371         (lrint_test): Use ALL_RM_TEST.
52372         (lrint_tonearest_test_data): Remove.
52373         (lrint_test_tonearest): Likewise.
52374         (lrint_towardzero_test_data): Likewise.
52375         (lrint_test_towardzero): Likewise.
52376         (lrint_downward_test_data): Likewise.
52377         (lrint_test_downward): Likewise.
52378         (lrint_upward_test_data): Likewise.
52379         (lrint_test_upward): Likewise.
52380         (llrint_test_data): Merge in per-rounding-mode tests and results
52381         from llrint_tonearest_test_data, llrint_towardzero_test_data,
52382         llrint_downward_test_data and llrint_upward_test_data.
52383         (llrint_test): Use ALL_RM_TEST.
52384         (llrint_tonearest_test_data): Remove.
52385         (llrint_test_tonearest): Likewise.
52386         (llrint_towardzero_test_data): Likewise.
52387         (llrint_test_towardzero): Likewise.
52388         (llrint_downward_test_data): Likewise.
52389         (llrint_test_downward): Likewise.
52390         (llrint_upward_test_data): Likewise.
52391         (llrint_test_upward): Likewise.
52392         (rint_test_data): Merge in per-rounding-mode tests and results
52393         from rint_tonearest_test_data, rint_towardzero_test_data,
52394         rint_downward_test_data and rint_upward_test_data.  Add
52395         per-rounding-mode results for tests not in those arrays.
52396         (rint_test): Use ALL_RM_TEST.
52397         (rint_tonearest_test_data): Remove.
52398         (rint_test_tonearest): Likewise.
52399         (rint_towardzero_test_data): Likewise.
52400         (rint_test_towardzero): Likewise.
52401         (rint_downward_test_data): Likewise.
52402         (rint_test_downward): Likewise.
52403         (rint_upward_test_data): Likewise.
52404         (rint_test_upward): Likewise.
52405         (main): Don't call removed functions.
52407 2014-03-14  Roland McGrath  <roland@hack.frob.com>
52409         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
52410         "Compiled on ..." crapola.  It is anti-useful.
52412 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
52414         * scripts/evaluate-test.sh: Handle fourth argument to determine
52415         whether test run should stop on failure.
52416         * Makeconfig (stop-on-test-failure): New variable.
52417         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
52418         $(stop-on-test-failure).
52419         * Makefile (tests): Give a summary of results from testing and
52420         exit with failure status if they include an ERROR or FAIL.
52421         (xtests): Likewise.
52422         * manual/install.texi (Configuring and compiling): Mention
52423         stop-on-test-failure=y.
52424         * INSTALL: Regenerated.
52426 2014-03-14  Roland McGrath  <roland@hack.frob.com>
52428         * scripts/versionlist.awk: New file.
52429         * Makerules [$(build-shared) = yes]
52430         (postclean-generated): Add Versions.def, not Versions.def.v and
52431         Versions.def.v.i.
52432         ($(common-objpfx)Versions.def.v.i): Target removed.
52433         ($(common-objpfx)Versions.def): New target.
52434         ($(common-objpfx)Versions.all): Depend on that rather that
52435         $(common-objpfx)Versions.def.v.
52436         * Versions.def: File removed.
52438         * Makeconfig (+gccwarn): Add -Wundef.
52439         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
52440         a dl-sysdep.h breaking its contract.
52441         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
52442         * include/stackinfo.h: New file.
52443         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
52444         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
52445         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
52446         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
52447         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
52448         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
52449         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
52450         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
52451         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
52452         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
52453         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
52454         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
52455         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
52456         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
52457         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
52459 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52461         [BZ #16707]
52462         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
52463         implementation.
52464         * math/libm-test.inc (round_test_data): Add more tests.
52466         [BZ #16706]
52467         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
52468         implementation.
52469         * math/libm-test.inc (nearbyint_test_data): Add more tests.
52471         [BZ #16701]
52472         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
52473         implementation.
52474         * math/libm-test.inc (ceil_test_data): Add more tests.
52476         * math/libm-test.inc (trunc_test_data): Add more tests related to
52477         BZ#16414.
52479 2014-03-14  Roland McGrath  <roland@hack.frob.com>
52481         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
52482         with #if rather than #ifdef.
52483         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
52485 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
52487         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
52488         first.  Disable AVX-512 GCC support if assembler doesn't support
52489         it.
52490         * sysdeps/x86_64/configure: Regenerated.
52492 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
52494         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
52495         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
52496         (__old_pthread_attr_setstack): Likewise.
52497         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
52498         [!_STACK_GROWS_DOWN]: Likewise.
52500 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
52502         * config.make.in (have-bash2): Delete.
52503         * configure.ac (libc_cv_have_bash2): Delete.
52504         * configure: Regenerate.
52505         * elf/Makefile (common-ldd-rewrite): Rename to ...
52506         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
52507         (sh-ldd-rewrite): Delete.
52508         (bash-ldd-rewrite): Delete.
52509         (have-bash2): Delete checks.
52510         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
52511         ldd-rewrite.
52513         * config.make.in (have-ksh): Delete.
52514         (KSH): Delete.
52515         * configure.ac (libc_cv_have_ksh): Delete.
52516         * configure: Regenerate.
52518         * elf/Makefile: Delete $(have-ksh) check.
52519         ($(objpfx)sotruss): Change KSH to BASH.
52520         * elf/sotruss.ksh: Rename to ...
52521         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
52522         function style to match POSIX.  Drop ksh vim mode setting.
52524         * manual/time.texi (Specifying the Time Zone with TZ): Change
52525         Tuesday to Thursday.
52527         * debug/tst-longjmp_chk2.c: Update header comment.
52528         (stackoverflow_handler): Add comment.  Call assert on pass value.
52530 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
52532         [BZ #16194]
52533         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
52534         (HAVE_AVX512_ASM_SUPPORT): Likewise.
52535         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
52536         (La_x86_64_vector): Add zmm.
52537         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
52538         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
52539         ($(objpfx)tst-audit10): New target.
52540         ($(objpfx)tst-audit10.out): Likewise.
52541         (tst-audit10-ENV): New.
52542         (AVX512-CFLAGS): Likewise.
52543         (CFLAGS-tst-audit10.c): Likewise.
52544         (CFLAGS-tst-auditmod10a.c): Likewise.
52545         (CFLAGS-tst-auditmod10b.c): Likewise.
52546         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
52547         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
52548         * sysdeps/x86_64/configure: Regenerated.
52549         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
52550         AVX-512 zmm register support.
52551         (_dl_x86_64_save_sse): Likewise.
52552         (_dl_x86_64_restore_sse): Likewise.
52553         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
52554         size vector registers.
52555         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
52556         (ZMM_SIZE): Likewise.
52557         * sysdeps/x86_64/tst-audit10.c: New file.
52558         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
52559         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
52561 2014-03-13  Roland McGrath  <roland@hack.frob.com>
52563         * configure.ac (HAVE_EHDR_START): New check.
52564         * configure: Regenerated.
52565         * config.h.in (HAVE_EHDR_START): New #undef.
52566         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
52567         assuming the lowest-addressed segment maps the start of the file.
52569 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
52571         * INSTALL: Regenerated.
52573 2014-03-13  Will Newton  <will.newton@linaro.org>
52575         * manual/setjmp.texi (System V contexts): Improve
52576         clarity and grammar of documentation.
52578 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
52580         [BZ #16381]
52581         * elf/Makefile (tests): Add tst-pie2.
52582         (tests-pie): Add tst-pie2.
52583         * elf/tst-pie2.c: New file.
52584         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
52585         for ET_EXEC.
52586         * elf/rtld.c (map_doit): Load executable as lt_executable.
52587         (dl_main): Likewise.
52589 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
52591         [BZ #16642]
52592         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
52593         (__ASSUME_PSELECT): Undefine.
52595 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52597         [BZ #16689]
52598         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
52599         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
52600         static build.
52601         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
52602         selector for static builds.
52604 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
52606         [BZ #16695]
52607         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
52608         key in the buffer.
52610 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52612         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
52613         IFUNC selector for static builds.
52615 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
52617         * sysdeps/mips/math_private.h [__mips_hard_float]
52618         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
52619         libc_feresetround_mips_ctx.
52620         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
52621         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
52622         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
52624         [BZ #16677]
52625         * math/s_nextafter.c (__nextafter): Do not return value from
52626         overflowing computation.
52627         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
52628         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
52629         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
52630         Likewise.
52631         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
52632         Likewise.
52633         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
52634         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
52636 2014-03-11  Roland McGrath  <roland@hack.frob.com>
52638         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
52639         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
52640         Move sfi_sp use from the load-multiple (that no longer sets sp) to
52641         the new mov targetting sp.
52643 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52645         [BZ #16683]
52646         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
52647         Define it for static builds as well.
52648         (NO_BZERO_IMPL): Likewise.
52650 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
52652         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
52653         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
52654         multiarch strspn for PPC64.
52655         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
52656         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
52657         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
52658         (__libc_ifunc_impl_list): Likewise.
52659         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
52660         multiarch optimizations
52661         * string/strspn.c (strspn): Using macro to redefine symbol name.
52663 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
52664             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52666         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
52667         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
52668         multiarch strncat for PPC64.
52669         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
52670         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
52671         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
52672         (__libc_ifunc_impl_list): Likewise.
52673         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
52674         multiarch optimizations
52676 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
52678         [BZ #16639]
52679         * nscd/nscd.service: Make service type forking.
52681 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52683         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
52684         sign in non default rounding modes.
52685         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
52687 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
52689         * math/libm-test.inc (ALL_RM_TEST): New macro.
52690         (ceil_test): Use ALL_RM_TEST.
52691         (cimag_test): Likewise.
52692         (conj_test): Likewise.
52693         (copysign_test): Likewise.
52694         (cproj_test): Likewise.
52695         (creal_test): Likewise.
52696         (fabs_test): Likewise.
52697         (floor_test): Likewise.
52698         (fmax_test): Likewise.
52699         (fmin_test): Likewise.
52700         (fmod_test): Likewise.
52701         (fpclassify_test): Likewise.
52702         (frexp_test): Likewise.
52703         (ilogb_test): Likewise.
52704         (isfinite_test): Likewise.
52705         (finite_test): Likewise.
52706         (isgreater_test): Likewise.
52707         (isgreaterequal_test): Likewise.
52708         (isinf_test): Likewise.
52709         (isless_test): Likewise.
52710         (islessequal_test): Likewise.
52711         (islessgreater_test): Likewise.
52712         (isnan_test): Likewise.
52713         (isnormal_test): Likewise.
52714         (issignaling_test): Likewise.
52715         (isunordered_test): Likewise.
52716         (logb_test): Likewise.
52717         (logb_downward_test_data): Remove.
52718         (logb_test_downward): Likewise.
52719         (lround_test): Use ALL_RM_TEST.
52720         (llround_test): Likewise.
52721         (modf_test): Likewise.
52722         (nexttoward_test): Likewise.
52723         (remainder_test): Likewise.
52724         (drem_test): Likewise.
52725         (remainder_tonearest_test_data): Likewise.
52726         (remainder_test_tonearest): Likewise.
52727         (drem_test_tonearest): Likewise.
52728         (remainder_towardzero_test_data): Likewise.
52729         (remainder_test_towardzero): Likewise.
52730         (drem_test_towardzero): Likewise.
52731         (remainder_downward_test_data): Likewise.
52732         (remainder_test_downward): Likewise.
52733         (drem_test_downward): Likewise.
52734         (remainder_upward_test_data): Likewise.
52735         (remainder_test_upward): Likewise.
52736         (drem_test_upward): Likewise.
52737         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
52738         (round_test): Use ALL_RM_TEST.
52739         (signbit_test): Likewise.
52740         (trunc_test): Likewise.
52741         (significand_test): Likewise.
52742         (main): Don't call removed functions.
52744 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
52746         [BZ #16674]
52747         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
52748         || __USE_XOPEN2K8].
52749         (ILL_ILLOPN): Likewise.
52750         (ILL_ILLADR): Likewise.
52751         (ILL_ILLTRP): Likewise.
52752         (ILL_PRVOPC): Likewise.
52753         (ILL_PRVREG): Likewise.
52754         (ILL_COPROC): Likewise.
52755         (ILL_BADSTK): Likewise.
52756         (FPE_INTDIV): Likewise.
52757         (FPE_INTOVF): Likewise.
52758         (FPE_FLTDIV): Likewise.
52759         (FPE_FLTOVF): Likewise.
52760         (FPE_FLTUND): Likewise.
52761         (FPE_FLTRES): Likewise.
52762         (FPE_FLTINV): Likewise.
52763         (FPE_FLTSUB): Likewise.
52764         (SEGV_MAPERR): Likewise.
52765         (SEGV_ACCERR): Likewise.
52766         (BUS_ADRALN): Likewise.
52767         (BUS_ADRERR): Likewise.
52768         (BUS_OBJERR): Likewise.
52769         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
52770         (TRAP_TRACE): Likewise.
52771         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
52772         __USE_XOPEN2K8].
52773         (CLD_KILLED): Likewise.
52774         (CLD_DUMPED): Likewise.
52775         (CLD_TRAPPED): Likewise.
52776         (CLD_STOPPED): Likewise.
52777         (CLD_CONTINUED): Likewise.
52778         (POLL_IN): Likewise.
52779         (POLL_OUT): Likewise.
52780         (POLL_MSG): Likewise.
52781         (POLL_ERR): Likewise.
52782         (POLL_PRI): Likewise.
52783         (POLL_HUP): Likewise.
52784         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
52785         Likewise.
52786         (ILL_ILLOPN): Likewise.
52787         (ILL_ILLADR): Likewise.
52788         (ILL_ILLTRP): Likewise.
52789         (ILL_PRVOPC): Likewise.
52790         (ILL_PRVREG): Likewise.
52791         (ILL_COPROC): Likewise.
52792         (ILL_BADSTK): Likewise.
52793         (FPE_INTDIV): Likewise.
52794         (FPE_INTOVF): Likewise.
52795         (FPE_FLTDIV): Likewise.
52796         (FPE_FLTOVF): Likewise.
52797         (FPE_FLTUND): Likewise.
52798         (FPE_FLTRES): Likewise.
52799         (FPE_FLTINV): Likewise.
52800         (FPE_FLTSUB): Likewise.
52801         (SEGV_MAPERR): Likewise.
52802         (SEGV_ACCERR): Likewise.
52803         (BUS_ADRALN): Likewise.
52804         (BUS_ADRERR): Likewise.
52805         (BUS_OBJERR): Likewise.
52806         (BUS_MCEERR_AR): Likewise.
52807         (BUS_MCEERR_AO): Likewise.
52808         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
52809         (TRAP_TRACE): Likewise.
52810         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
52811         __USE_XOPEN2K8].
52812         (CLD_KILLED): Likewise.
52813         (CLD_DUMPED): Likewise.
52814         (CLD_TRAPPED): Likewise.
52815         (CLD_STOPPED): Likewise.
52816         (CLD_CONTINUED): Likewise.
52817         (POLL_IN): Likewise.
52818         (POLL_OUT): Likewise.
52819         (POLL_MSG): Likewise.
52820         (POLL_ERR): Likewise.
52821         (POLL_PRI): Likewise.
52822         (POLL_HUP): Likewise.
52823         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
52824         (ILL_ILLOPN): Likewise.
52825         (ILL_ILLADR): Likewise.
52826         (ILL_ILLTRP): Likewise.
52827         (ILL_PRVOPC): Likewise.
52828         (ILL_PRVREG): Likewise.
52829         (ILL_COPROC): Likewise.
52830         (ILL_BADSTK): Likewise.
52831         (FPE_INTDIV): Likewise.
52832         (FPE_INTOVF): Likewise.
52833         (FPE_FLTDIV): Likewise.
52834         (FPE_FLTOVF): Likewise.
52835         (FPE_FLTUND): Likewise.
52836         (FPE_FLTRES): Likewise.
52837         (FPE_FLTINV): Likewise.
52838         (FPE_FLTSUB): Likewise.
52839         (SEGV_MAPERR): Likewise.
52840         (SEGV_ACCERR): Likewise.
52841         (BUS_ADRALN): Likewise.
52842         (BUS_ADRERR): Likewise.
52843         (BUS_OBJERR): Likewise.
52844         (BUS_MCEERR_AR): Likewise.
52845         (BUS_MCEERR_AO): Likewise.
52846         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
52847         (TRAP_TRACE): Likewise.
52848         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
52849         __USE_XOPEN2K8].
52850         (CLD_KILLED): Likewise.
52851         (CLD_DUMPED): Likewise.
52852         (CLD_TRAPPED): Likewise.
52853         (CLD_STOPPED): Likewise.
52854         (CLD_CONTINUED): Likewise.
52855         (POLL_IN): Likewise.
52856         (POLL_OUT): Likewise.
52857         (POLL_MSG): Likewise.
52858         (POLL_ERR): Likewise.
52859         (POLL_PRI): Likewise.
52860         (POLL_HUP): Likewise.
52861         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
52862         Likewise.
52863         (ILL_ILLOPN): Likewise.
52864         (ILL_ILLADR): Likewise.
52865         (ILL_ILLTRP): Likewise.
52866         (ILL_PRVOPC): Likewise.
52867         (ILL_PRVREG): Likewise.
52868         (ILL_COPROC): Likewise.
52869         (ILL_BADSTK): Likewise.
52870         (ILL_BADIADDR): Likewise.
52871         (ILL_BREAK): Likewise.
52872         (FPE_INTDIV): Likewise.
52873         (FPE_INTOVF): Likewise.
52874         (FPE_FLTDIV): Likewise.
52875         (FPE_FLTOVF): Likewise.
52876         (FPE_FLTUND): Likewise.
52877         (FPE_FLTRES): Likewise.
52878         (FPE_FLTINV): Likewise.
52879         (FPE_FLTSUB): Likewise.
52880         (FPE_DECOVF): Likewise.
52881         (FPE_DECDIV): Likewise.
52882         (FPE_DECERR): Likewise.
52883         (FPE_INVASC): Likewise.
52884         (FPE_INVDEC): Likewise.
52885         (SEGV_MAPERR): Likewise.
52886         (SEGV_ACCERR): Likewise.
52887         (SEGV_PSTKOVF): Likewise.
52888         (BUS_ADRALN): Likewise.
52889         (BUS_ADRERR): Likewise.
52890         (BUS_OBJERR): Likewise.
52891         (BUS_MCEERR_AR): Likewise.
52892         (BUS_MCEERR_AO): Likewise.
52893         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
52894         (TRAP_TRACE): Likewise.
52895         (TRAP_BRANCH): Likewise.
52896         (TRAP_HWBKPT): Likewise.
52897         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
52898         __USE_XOPEN2K8].
52899         (CLD_KILLED): Likewise.
52900         (CLD_DUMPED): Likewise.
52901         (CLD_TRAPPED): Likewise.
52902         (CLD_STOPPED): Likewise.
52903         (CLD_CONTINUED): Likewise.
52904         (POLL_IN): Likewise.
52905         (POLL_OUT): Likewise.
52906         (POLL_MSG): Likewise.
52907         (POLL_ERR): Likewise.
52908         (POLL_PRI): Likewise.
52909         (POLL_HUP): Likewise.
52910         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
52911         (ILL_ILLOPN): Likewise.
52912         (ILL_ILLADR): Likewise.
52913         (ILL_ILLTRP): Likewise.
52914         (ILL_PRVOPC): Likewise.
52915         (ILL_PRVREG): Likewise.
52916         (ILL_COPROC): Likewise.
52917         (ILL_BADSTK): Likewise.
52918         (FPE_INTDIV): Likewise.
52919         (FPE_INTOVF): Likewise.
52920         (FPE_FLTDIV): Likewise.
52921         (FPE_FLTOVF): Likewise.
52922         (FPE_FLTUND): Likewise.
52923         (FPE_FLTRES): Likewise.
52924         (FPE_FLTINV): Likewise.
52925         (FPE_FLTSUB): Likewise.
52926         (SEGV_MAPERR): Likewise.
52927         (SEGV_ACCERR): Likewise.
52928         (BUS_ADRALN): Likewise.
52929         (BUS_ADRERR): Likewise.
52930         (BUS_OBJERR): Likewise.
52931         (BUS_MCEERR_AR): Likewise.
52932         (BUS_MCEERR_AO): Likewise.
52933         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
52934         (TRAP_TRACE): Likewise.
52935         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
52936         __USE_XOPEN2K8].
52937         (CLD_KILLED): Likewise.
52938         (CLD_DUMPED): Likewise.
52939         (CLD_TRAPPED): Likewise.
52940         (CLD_STOPPED): Likewise.
52941         (CLD_CONTINUED): Likewise.
52942         (POLL_IN): Likewise.
52943         (POLL_OUT): Likewise.
52944         (POLL_MSG): Likewise.
52945         (POLL_ERR): Likewise.
52946         (POLL_PRI): Likewise.
52947         (POLL_HUP): Likewise.
52948         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
52949         (ILL_ILLOPN): Likewise.
52950         (ILL_ILLADR): Likewise.
52951         (ILL_ILLTRP): Likewise.
52952         (ILL_PRVOPC): Likewise.
52953         (ILL_PRVREG): Likewise.
52954         (ILL_COPROC): Likewise.
52955         (ILL_BADSTK): Likewise.
52956         (FPE_INTDIV): Likewise.
52957         (FPE_INTOVF): Likewise.
52958         (FPE_FLTDIV): Likewise.
52959         (FPE_FLTOVF): Likewise.
52960         (FPE_FLTUND): Likewise.
52961         (FPE_FLTRES): Likewise.
52962         (FPE_FLTINV): Likewise.
52963         (FPE_FLTSUB): Likewise.
52964         (SEGV_MAPERR): Likewise.
52965         (SEGV_ACCERR): Likewise.
52966         (BUS_ADRALN): Likewise.
52967         (BUS_ADRERR): Likewise.
52968         (BUS_OBJERR): Likewise.
52969         (BUS_MCEERR_AR): Likewise.
52970         (BUS_MCEERR_AO): Likewise.
52971         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
52972         (TRAP_TRACE): Likewise.
52973         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
52974         __USE_XOPEN2K8].
52975         (CLD_KILLED): Likewise.
52976         (CLD_DUMPED): Likewise.
52977         (CLD_TRAPPED): Likewise.
52978         (CLD_STOPPED): Likewise.
52979         (CLD_CONTINUED): Likewise.
52980         (POLL_IN): Likewise.
52981         (POLL_OUT): Likewise.
52982         (POLL_MSG): Likewise.
52983         (POLL_ERR): Likewise.
52984         (POLL_PRI): Likewise.
52985         (POLL_HUP): Likewise.
52986         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
52987         (ILL_ILLOPN): Likewise.
52988         (ILL_ILLADR): Likewise.
52989         (ILL_ILLTRP): Likewise.
52990         (ILL_PRVOPC): Likewise.
52991         (ILL_PRVREG): Likewise.
52992         (ILL_COPROC): Likewise.
52993         (ILL_BADSTK): Likewise.
52994         (FPE_INTDIV): Likewise.
52995         (FPE_INTOVF): Likewise.
52996         (FPE_FLTDIV): Likewise.
52997         (FPE_FLTOVF): Likewise.
52998         (FPE_FLTUND): Likewise.
52999         (FPE_FLTRES): Likewise.
53000         (FPE_FLTINV): Likewise.
53001         (FPE_FLTSUB): Likewise.
53002         (SEGV_MAPERR): Likewise.
53003         (SEGV_ACCERR): Likewise.
53004         (BUS_ADRALN): Likewise.
53005         (BUS_ADRERR): Likewise.
53006         (BUS_OBJERR): Likewise.
53007         (BUS_MCEERR_AR): Likewise.
53008         (BUS_MCEERR_AO): Likewise.
53009         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
53010         (TRAP_TRACE): Likewise.
53011         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
53012         __USE_XOPEN2K8].
53013         (CLD_KILLED): Likewise.
53014         (CLD_DUMPED): Likewise.
53015         (CLD_TRAPPED): Likewise.
53016         (CLD_STOPPED): Likewise.
53017         (CLD_CONTINUED): Likewise.
53018         (POLL_IN): Likewise.
53019         (POLL_OUT): Likewise.
53020         (POLL_MSG): Likewise.
53021         (POLL_ERR): Likewise.
53022         (POLL_PRI): Likewise.
53023         (POLL_HUP): Likewise.
53024         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
53025         (ILL_ILLOPN): Likewise.
53026         (ILL_ILLADR): Likewise.
53027         (ILL_ILLTRP): Likewise.
53028         (ILL_PRVOPC): Likewise.
53029         (ILL_PRVREG): Likewise.
53030         (ILL_COPROC): Likewise.
53031         (ILL_BADSTK): Likewise.
53032         (ILL_DBLFLT): Likewise.
53033         (ILL_HARDWALL): Likewise.
53034         (FPE_INTDIV): Likewise.
53035         (FPE_INTOVF): Likewise.
53036         (FPE_FLTDIV): Likewise.
53037         (FPE_FLTOVF): Likewise.
53038         (FPE_FLTUND): Likewise.
53039         (FPE_FLTRES): Likewise.
53040         (FPE_FLTINV): Likewise.
53041         (FPE_FLTSUB): Likewise.
53042         (SEGV_MAPERR): Likewise.
53043         (SEGV_ACCERR): Likewise.
53044         (BUS_ADRALN): Likewise.
53045         (BUS_ADRERR): Likewise.
53046         (BUS_OBJERR): Likewise.
53047         (BUS_MCEERR_AR): Likewise.
53048         (BUS_MCEERR_AO): Likewise.
53049         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
53050         (TRAP_TRACE): Likewise.
53051         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
53052         __USE_XOPEN2K8].
53053         (CLD_KILLED): Likewise.
53054         (CLD_DUMPED): Likewise.
53055         (CLD_TRAPPED): Likewise.
53056         (CLD_STOPPED): Likewise.
53057         (CLD_CONTINUED): Likewise.
53058         (POLL_IN): Likewise.
53059         (POLL_OUT): Likewise.
53060         (POLL_MSG): Likewise.
53061         (POLL_ERR): Likewise.
53062         (POLL_PRI): Likewise.
53063         (POLL_HUP): Likewise.
53064         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
53065         (ILL_ILLOPN): Likewise.
53066         (ILL_ILLADR): Likewise.
53067         (ILL_ILLTRP): Likewise.
53068         (ILL_PRVOPC): Likewise.
53069         (ILL_PRVREG): Likewise.
53070         (ILL_COPROC): Likewise.
53071         (ILL_BADSTK): Likewise.
53072         (FPE_INTDIV): Likewise.
53073         (FPE_INTOVF): Likewise.
53074         (FPE_FLTDIV): Likewise.
53075         (FPE_FLTOVF): Likewise.
53076         (FPE_FLTUND): Likewise.
53077         (FPE_FLTRES): Likewise.
53078         (FPE_FLTINV): Likewise.
53079         (FPE_FLTSUB): Likewise.
53080         (SEGV_MAPERR): Likewise.
53081         (SEGV_ACCERR): Likewise.
53082         (BUS_ADRALN): Likewise.
53083         (BUS_ADRERR): Likewise.
53084         (BUS_OBJERR): Likewise.
53085         (BUS_MCEERR_AR): Likewise.
53086         (BUS_MCEERR_AO): Likewise.
53087         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
53088         (TRAP_TRACE): Likewise.
53089         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
53090         __USE_XOPEN2K8].
53091         (CLD_KILLED): Likewise.
53092         (CLD_DUMPED): Likewise.
53093         (CLD_TRAPPED): Likewise.
53094         (CLD_STOPPED): Likewise.
53095         (CLD_CONTINUED): Likewise.
53096         (POLL_IN): Likewise.
53097         (POLL_OUT): Likewise.
53098         (POLL_MSG): Likewise.
53099         (POLL_ERR): Likewise.
53100         (POLL_PRI): Likewise.
53101         (POLL_HUP): Likewise.
53102         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
53103         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
53105         [BZ #16670]
53106         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
53107         before #include of <time.h>.
53108         [!__USE_XOPEN2K] (__need_timespec): Likewise.
53109         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
53110         (test-xfail-UNIX98/sched.h/conform): Likewise.
53112 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
53114         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
53115         error absence of trapping exception support.
53116         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
53118 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
53120         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
53121         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
53122         * timezone/Makefile (testdata): Move definition above include of
53123         Rules.
53124         (test-zones): New variable.
53125         (tests-special): Add zone files.
53126         (build-testdata): Use $(evaluate-test).
53128         * elf/Makefile (tests-special): Rename tests to end with .out.
53129         ($(objpfx)noload-mem): Likewise.
53130         ($(objpfx)tst-leaks1-mem): Likewise.
53131         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
53132         * iconv/Makefile (xtests-special): Change test-iconvconfig to
53133         $(objpfx)test-iconvconfig.out.
53134         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
53135         set -e inside subshell and redirect output to file.
53136         * iconvdata/Makefile (generated): Rename tests to end with .out.
53137         Correct type.
53138         (tests-special): Rename tests to end with .out.
53139         ($(objpfx)mtrace-tst-loading): Likewise.
53140         * intl/Makefile (generated): Likewise.
53141         (tests-special): Likewise.
53142         ($(objpfx)mtrace-tst-gettext): Likewise.
53143         * misc/Makefile (generated): Likewise.
53144         (tests-special): Likewise.
53145         ($(objpfx)tst-error1-mem): Likewise.
53146         * nptl/Makefile (tests-special): Likewise.
53147         ($(objpfx)tst-stack3-mem): Likewise.
53148         (generated): Likewise.
53149         * posix/Makefile (generated): Likewise.
53150         (tests-special): Likewise.
53151         (xtests-special): Likewise.
53152         ($(objpfx)tst-fnmatch-mem): Likewise.
53153         ($(objpfx)bug-regex2-mem): Likewise.
53154         ($(objpfx)bug-regex14-mem): Likewise.
53155         ($(objpfx)bug-regex21-mem): Likewise.
53156         ($(objpfx)bug-regex31-mem): Likewise.
53157         ($(objpfx)tst-vfork3-mem): Likewise.
53158         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
53159         ($(objpfx)tst-pcre-mem): Likewise.
53160         ($(objpfx)tst-boost-mem): Likewise.
53161         ($(objpfx)bug-ga2-mem): Likewise.
53162         ($(objpfx)bug-glob2-mem): Likewise.
53163         * resolv/Makefile (generate): Likewise.
53164         (tests-special): Likewise.
53165         (xtests-special): Likewise.
53166         (generated): Likewise.
53167         ($(objpfx)mtrace-tst-leaks): Likewise.
53168         ($(objpfx)mtrace-tst-leaks2): Likewise.
53170         * scripts/merge-test-results.sh: New file.
53171         * Makefile (tests-special-notdir): New variable.
53172         (tests): Run merge-test-results.sh.
53173         (xtests): Likewise.
53174         * Rules (tests-special-notdir): New variable.
53175         (xtests-special-notdir): Likewise.
53176         (tests): Run merge-test-results.sh
53177         (xtests): Likewise.
53179         * Makeconfig (test-xfail-name): New variable.
53180         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
53181         compute variable name for expected failures.
53182         * conform/Makefile (conformtest-headers-data): New variable.
53183         (conformtest-standards): Likewise.
53184         (conformtest-headers-ISO): Likewise.
53185         (conformtest-headers-ISO99): Likewise.
53186         (conformtest-headers-ISO11): Likewise.
53187         (conformtest-headers-POSIX): Likewise.
53188         (conformtest-headers-XPG3): Likewise.
53189         (conformtest-headers-XPG4): Likewise.
53190         (conformtest-headers-UNIX98): Likewise.
53191         (conformtest-headers-XOPEN2K): Likewise.
53192         (conformtest-headers-POSIX2008): Likewise.
53193         (conformtest-headers-XOPEN2K8): Likewise.
53194         (conformtest-header-list-base): Likewise.
53195         (conformtest-header-list-tests): Likewise.
53196         (conformtest-header-base): Likewise.
53197         (conformtest-header-tests): Likewise.
53198         (tests-special): Add $(conformtest-header-list-tests).  If
53199         [$(fast-check) && !$(cross-compiling)], add
53200         $(conformtest-header-tests) instead of
53201         $(objpfx)run-conformtest.out.
53202         (generated): Add $(conformtest-header-list-base).  If
53203         [$(fast-check) && !$(cross-compiling)], add
53204         $(conformtest-header-base).  Remove previous setting.
53205         ($(conformtest-header-list-tests)): New target.
53206         (test-xfail-run-conformtest): Remove variable.
53207         ($(objpfx)run-conformtest.out): Remove target.
53208         (test-xfail-ISO11/complex.h/conform): New variable.
53209         (test-xfail-ISO11/stdalign.h/conform): Likewise.
53210         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
53211         (test-xfail-XPG3/varargs.h/conform): Likewise.
53212         (test-xfail-XPG4/varargs.h/conform): Likewise.
53213         (test-xfail-UNIX98/varargs.h/conform): Likewise.
53214         (test-xfail-XPG4/ndbm.h/conform): Likewise.
53215         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
53216         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
53217         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
53218         (test-xfail-XPG3/fcntl.h/conform): Likewise.
53219         (test-xfail-XPG3/ftw.h/conform): Likewise.
53220         (test-xfail-XPG3/grp.h/conform): Likewise.
53221         (test-xfail-XPG3/langinfo.h/conform): Likewise.
53222         (test-xfail-XPG3/limits.h/conform): Likewise.
53223         (test-xfail-XPG3/pwd.h/conform): Likewise.
53224         (test-xfail-XPG3/search.h/conform): Likewise.
53225         (test-xfail-XPG3/signal.h/conform): Likewise.
53226         (test-xfail-XPG3/stdio.h/conform): Likewise.
53227         (test-xfail-XPG3/stdlib.h/conform): Likewise.
53228         (test-xfail-XPG3/string.h/conform): Likewise.
53229         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
53230         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
53231         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
53232         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
53233         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
53234         (test-xfail-XPG3/sys/types.h/conform): Likewise.
53235         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
53236         (test-xfail-XPG3/termios.h/conform): Likewise.
53237         (test-xfail-XPG3/time.h/conform): Likewise.
53238         (test-xfail-XPG3/unistd.h/conform): Likewise.
53239         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
53240         (test-xfail-XPG4/fcntl.h/conform): Likewise.
53241         (test-xfail-XPG4/langinfo.h/conform): Likewise.
53242         (test-xfail-XPG4/netdb.h/conform): Likewise.
53243         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
53244         (test-xfail-XPG4/signal.h/conform): Likewise.
53245         (test-xfail-XPG4/stdio.h/conform): Likewise.
53246         (test-xfail-XPG4/stdlib.h/conform): Likewise.
53247         (test-xfail-XPG4/stropts.h/conform): Likewise.
53248         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
53249         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
53250         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
53251         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
53252         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
53253         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
53254         (test-xfail-XPG4/sys/time.h/conform): Likewise.
53255         (test-xfail-XPG4/sys/types.h/conform): Likewise.
53256         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
53257         (test-xfail-XPG4/termios.h/conform): Likewise.
53258         (test-xfail-XPG4/ucontext.h/conform): Likewise.
53259         (test-xfail-XPG4/unistd.h/conform): Likewise.
53260         (test-xfail-XPG4/utmpx.h/conform): Likewise.
53261         (test-xfail-POSIX/sched.h/conform): Likewise.
53262         (test-xfail-POSIX/signal.h/conform): Likewise.
53263         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
53264         (test-xfail-POSIX/tar.h/conform): Likewise.
53265         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
53266         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
53267         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
53268         (test-xfail-UNIX98/netdb.h/conform): Likewise.
53269         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
53270         (test-xfail-UNIX98/sched.h/conform): Likewise.
53271         (test-xfail-UNIX98/signal.h/conform): Likewise.
53272         (test-xfail-UNIX98/stdio.h/conform): Likewise.
53273         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
53274         (test-xfail-UNIX98/stropts.h/conform): Likewise.
53275         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
53276         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
53277         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
53278         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
53279         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
53280         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
53281         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
53282         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
53283         (test-xfail-UNIX98/unistd.h/conform): Likewise.
53284         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
53285         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
53286         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
53287         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
53288         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
53289         (test-xfail-XOPEN2K/math.h/conform): Likewise.
53290         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
53291         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
53292         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
53293         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
53294         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
53295         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
53296         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
53297         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
53298         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
53299         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
53300         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
53301         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
53302         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
53303         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
53304         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
53305         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
53306         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
53307         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
53308         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
53309         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
53310         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
53311         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
53312         (test-xfail-POSIX2008/signal.h/conform): Likewise.
53313         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
53314         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
53315         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
53316         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
53317         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
53318         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
53319         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
53320         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
53321         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
53322         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
53323         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
53324         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
53325         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
53326         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
53327         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
53328         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
53329         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
53330         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
53331         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
53332         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
53333         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
53334         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
53335         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
53336         (conformtest-cc-flags): Likewise.
53337         ($(conformtest-header-tests): New target.
53338         * conform/check-header-lists.sh: New file.
53339         * conform/run-conformtest.sh: Remove.
53341         * conform/conformtest.pl: Allow ' and \ in values given for
53342         constants.
53343         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
53344         inclusion.
53345         [POSIX] (sys/types.h): Likewise.
53346         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
53347         inclusion.
53348         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
53349         inclusion.
53350         * conform/data/signal.h-data (SIGIO): Remove expectation.
53351         [XPG3] (SIGBUS): Do not expect.
53352         [POSIX || XPG3] (SIGPOLL): Likewise.
53353         [POSIX || XPG3] (SIGPROF): Likewise.
53354         [POSIX || XPG3] (SIGSYS): Likewise.
53355         [XPG3] (SIGTRAP): Likewise.
53356         [POSIX || XPG3] (SIGURG): Likewise.
53357         [POSIX || XPG3] (SIGVTALRM): Likewise.
53358         [POSIX || XPG3] (SIGXCPU): Likewise.
53359         [POSIX || XPG3] (SIGXFSZ): Likewise.
53360         [POSIX] (SA_SIGINFO): Expect.
53361         [XPG3] (siginfo_t): Do not expect type or contents.
53362         [POSIX] (si_pid): Do not expect element.
53363         [POSIX] (si_uid): Likewise.
53364         [POSIX] (si_addr): Likewise.
53365         [POSIX] (si_status): Likewise.
53366         [POSIX] (si_band): Likewise.
53367         [XPG4] (si_value): Likewise.
53368         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
53369         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
53370         [POSIX || XPG3] (ILL_ILLADR): Likewise.
53371         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
53372         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
53373         [POSIX || XPG3] (ILL_PRVREG): Likewise.
53374         [POSIX || XPG3] (ILL_COPROC): Likewise.
53375         [POSIX || XPG3] (ILL_BADSTK): Likewise.
53376         [POSIX || XPG3] (FPE_INTDIV): Likewise.
53377         [POSIX || XPG3] (FPE_INTOVF): Likewise.
53378         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
53379         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
53380         [POSIX || XPG3] (FPE_FLTUND): Likewise.
53381         [POSIX || XPG3] (FPE_FLTRES): Likewise.
53382         [POSIX || XPG3] (FPE_FLTINV): Likewise.
53383         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
53384         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
53385         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
53386         [POSIX || XPG3] (BUS_ADRALN): Likewise.
53387         [POSIX || XPG3] (BUS_ADRERR): Likewise.
53388         [POSIX || XPG3] (BUS_OBJERR): Likewise.
53389         [POSIX || XPG3] (CLD_EXITED): Likewise.
53390         [POSIX || XPG3] (CLD_KILLED): Likewise.
53391         [POSIX || XPG3] (CLD_DUMPED): Likewise.
53392         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
53393         [POSIX || XPG3] (CLD_STOPPED): Likewise.
53394         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
53395         [POSIX || XPG3] (POLL_IN): Likewise.
53396         [POSIX || XPG3] (POLL_OUT): Likewise.
53397         [POSIX || XPG3] (POLL_MSG): Likewise.
53398         [POSIX || XPG3] (POLL_ERR): Likewise.
53399         [POSIX || XPG3] (POLL_PRI): Likewise.
53400         [POSIX || XPG3] (POLL_HUP): Likewise.
53401         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
53402         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
53403         (SIG*): Do not allow.
53404         [XPG3] (si_*): Likewise.
53405         [XPG3] (SI_*): Likewise.
53406         [XPG3 || XPG4] (sigev_*): Likewise.
53407         [XPG3 || XPG4] (SIGEV_*): Likewise.
53408         [XPG3 || XPG4] (sival_*): Likewise.
53409         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
53410         [POSIX || XPG3] (BUS_*): Likewise.
53411         [POSIX || XPG3] (CLD_*): Likewise.
53412         [POSIX || XPG3] (FPE_*): Likewise.
53413         [POSIX || XPG3] (ILL_*): Likewise.
53414         [POSIX || XPG3] (POLL_*): Likewise.
53415         [POSIX || XPG3] (SEGV_*): Likewise.
53416         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
53417         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
53418         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
53419         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
53420         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
53421         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
53422         Specify type and value.
53423         (TVERSLEN): Likewise.
53424         (REGTYPE): Likewise.
53425         (AREGTYPE): Likewise.
53426         (LNKTYPE): Likewise.
53427         (SYMTYPE): Likewise.
53428         (CHRTYPE): Likewise.
53429         (BLKTYPE): Likewise.
53430         (DIRTYPE): Likewise.
53431         (FIFOTYPE): Likewise.
53432         (CONTTYPE): Likewise.
53433         (TSUID): Likewise.
53434         (TSGID): Likewise.
53435         (TSVTX): Likewise.
53436         (TUREAD): Likewise.
53437         (TUWRITE): Likewise.
53438         (TUEXEC): Likewise.
53439         (TGREAD): Likewise.
53440         (TGWRITE): Likewise.
53441         (TGEXEC): Likewise.
53442         (TOREAD): Likewise.
53443         (TOWRITE): Likewise.
53444         (TOEXEC): Likewise.
53445         [POSIX] (TSVTX): Expect constant.
53447 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
53449         * Makefile (tests): Change dependencies to ....
53450         (tests-special): ... additions to this variable.
53451         (tests): Depend on $(tests-special).
53452         * Makerules (check-abi-list): New variable.
53453         (check-abi): Depend on $(check-abi-list).
53454         [$(subdir) = elf] (tests-special): Add
53455         $(objpfx)check-abi-libc.out.
53456         [$(build-shared) = yes && subdir] (tests-special): Add
53457         $(check-abi-list).
53458         [$(build-shared) = yes && subdir] (tests): Do not depend on
53459         check-abi.
53460         * Rules (tests): Depend on $(tests-special).
53461         (xtests): Depend on $(xtests-special).
53462         * catgets/Makefile (tests): Change dependencies to ....
53463         (tests-special): ... additions to this variable.
53464         * conform/Makefile (tests): Change dependencies to ....
53465         (tests-special): ... additions to this variable.
53466         * elf/Makefile (tests): Change dependencies to ....
53467         (tests-special): ... additions to this variable.
53468         * grp/Makefile (tests): Change dependencies to ....
53469         (tests-special): ... additions to this variable.
53470         * iconv/Makefile (xtests): Change dependencies to ....
53471         (xtests-special): ... additions to this variable.
53472         * iconvdata/Makefile (tests): Change dependencies to ....
53473         (tests-special): ... additions to this variable.
53474         * intl/Makefile (tests): Change dependencies to ....
53475         (tests-special): ... additions to this variable.  Also add
53476         $(objpfx)tst-gettext.out.
53477         * io/Makefile (tests): Change dependencies to ....
53478         (tests-special): ... additions to this variable.
53479         * libio/Makefile (tests): Change dependencies to ....
53480         (tests-special): ... additions to this variable.
53481         * malloc/Makefile (tests): Change dependencies to ....
53482         (tests-special): ... additions to this variable.
53483         * misc/Makefile (tests): Change dependencies to ....
53484         (tests-special): ... additions to this variable.
53485         * nptl/Makefile (tests): Change dependencies to ....
53486         (tests-special): ... additions to this variable.
53487         * nptl_db/Makefile (tests): Change dependencies to ....
53488         (tests-special): ... additions to this variable.
53489         * posix/Makefile (tests): Change dependencies to ....
53490         (tests-special): ... additions to this variable.
53491         (xtests): Change dependencies to ....
53492         (xtests-special): ... additions to this variable.
53493         * resolv/Makefile (tests): Change dependencies to ....
53494         (tests-special): ... additions to this variable.
53495         (xtests): Change dependencies to ....
53496         (xtests-special): ... additions to this variable.
53497         * stdio-common/Makefile (tests): Change dependencies to ....
53498         (tests-special): ... additions to this variable.
53499         (do-tst-unbputc): Remove target.
53500         (do-tst-printf): Likewise.
53501         * stdlib/Makefile (tests): Change dependencies to ....
53502         (tests-special): ... additions to this variable.
53503         * string/Makefile (tests): Change dependencies to ....
53504         (tests-special): ... additions to this variable.
53505         * sysdeps/x86/Makefile (tests): Change dependencies to ....
53506         (tests-special): ... additions to this variable.
53508         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
53509         whole file.
53510         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
53511         whole file.
53512         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
53513         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
53515         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
53516         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
53517         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
53518         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
53519         * conform/data/libgen.h-data [XPG3]: Likewise.
53520         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
53521         * conform/data/ndbm.h-data [XPG3]: Likewise.
53522         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
53523         * conform/data/netdb.h-data [XPG3]: Likewise.
53524         * conform/data/netinet/in.h-data [XPG3]: Likewise.
53525         * conform/data/poll.h-data [XPG3]: Likewise.
53526         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
53527         * conform/data/strings.h-data [XPG3]: Likewise.
53528         * conform/data/stropts.h-data [XPG3]: Likewise.
53529         * conform/data/sys/mman.h-data [XPG3]: Likewise.
53530         * conform/data/sys/resource.h-data [XPG3]: Likewise.
53531         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
53532         Likewise.
53533         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
53534         * conform/data/sys/time.h-data [XPG3]: Likewise.
53535         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
53536         * conform/data/sys/uio.h-data [XPG3]: Likewise.
53537         * conform/data/sys/un.h-data [XPG3]: Likewise.
53538         * conform/data/syslog.h-data [XPG3]: Likewise.
53539         * conform/data/ucontext.h-data [XPG3]: Likewise.
53540         * conform/data/utmpx.h-data [XPG3]: Likewise.
53541         * conform/data/varargs.h-data [UNIX98]: Enable file.
53543         * manual/Makefile (INSTALL_INFO): Remove variable setting.
53545         * math/libm-test.inc (struct test_f_f_data): Move expected results
53546         into structure for each rounding mode.
53547         (struct test_ff_f_data): Likewise.
53548         (struct test_ff_f_data_nexttoward): Likewise.
53549         (struct test_fi_f_data): Likewise.
53550         (struct test_fl_f_data): Likewise.
53551         (struct test_if_f_data): Likewise.
53552         (struct test_fff_f_data): Likewise.
53553         (struct test_c_f_data): Likewise.
53554         (struct test_f_f1_data): Likewise.
53555         (struct test_fF_f1_data): Likewise.
53556         (struct test_ffI_f1_data): Likewise.
53557         (struct test_c_c_data): Likewise.
53558         (struct test_cc_c_data): Likewise.
53559         (struct test_f_i_data): Likewise.
53560         (struct test_ff_i_data): Likewise.
53561         (struct test_f_l_data): Likewise.
53562         (struct test_f_L_data): Likewise.
53563         (struct test_fFF_11_data): Likewise.
53564         (RM_): New macro.
53565         (RM_FE_DOWNWARD): Likewise.
53566         (RM_FE_TONEAREST): Likewise.
53567         (RM_FE_TOWARDZERO): Likewise.
53568         (RM_FE_UPWARD): Likewise.
53569         (RUN_TEST_LOOP_f_f): Update references to expected results.
53570         (RUN_TEST_LOOP_2_f): Likewise.
53571         (RUN_TEST_LOOP_fff_f): Likewise.
53572         (RUN_TEST_LOOP_c_f): Likewise.
53573         (RUN_TEST_LOOP_f_f1): Likewise.
53574         (RUN_TEST_LOOP_fF_f1): Likewise.
53575         (RUN_TEST_LOOP_fI_f1): Likewise.
53576         (RUN_TEST_LOOP_ffI_f1): Likewise.
53577         (RUN_TEST_LOOP_c_c): Likewise.
53578         (RUN_TEST_LOOP_cc_c): Likewise.
53579         (RUN_TEST_LOOP_f_i): Likewise.
53580         (RUN_TEST_LOOP_f_i_tg): Likewise.
53581         (RUN_TEST_LOOP_ff_i_tg): Likewise.
53582         (RUN_TEST_LOOP_f_b): Likewise.
53583         (RUN_TEST_LOOP_f_b_tg): Likewise.
53584         (RUN_TEST_LOOP_f_l): Likewise.
53585         (RUN_TEST_LOOP_f_L): Likewise.
53586         (RUN_TEST_LOOP_fFF_11): Likewise.
53587         * math/gen-libm-test.pl (parse_args): Output four copies of
53588         expected results for each test.
53590         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
53591         (__ASSUME_UTIMES): Remove.
53592         * sysdeps/unix/sysv/linux/tile/kernel-features.h
53593         (__ASSUME_UTIMES): Likewise.
53595         * math/gen-auto-libm-tests.c: Update comment on output format.
53596         (output_for_one_input_case): Generate before-rounding and
53597         after-rounding information as conditions on output flags not
53598         floating-point format.
53599         * math/auto-libm-test-out: Regenerated.
53600         * math/gen-libm-test.pl (cond_value): New function.
53601         (or_cond_value): Use cond_value.
53602         (generate_testfile): Handle conditional exceptions.
53604 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
53606         * math/libm-test.inc (max_valid_error): New variable.
53607         (init_max_error): Take new argument specifying whether function
53608         results are exactly determined.  Set max_valid_error and bound
53609         other variables for errors based on this argument.
53610         (set_max_error): Do not record results above max_valid_error.
53611         (check_float_internal): Only accept errors of up to 0.5ulps if
53612         also at most max_valid_error.
53613         (START): Take new argument EXACT and pass it to init_max_error.
53614         (acos_test): Update call to START.
53615         (acos_test_tonearest): Likewise.
53616         (acos_test_towardzero): Likewise.
53617         (acos_test_downward): Likewise.
53618         (acos_test_upward): Likewise.
53619         (acosh_test): Likewise.
53620         (asin_test): Likewise.
53621         (asin_test_tonearest): Likewise.
53622         (asin_test_towardzero): Likewise.
53623         (asin_test_downward): Likewise.
53624         (asin_test_upward): Likewise.
53625         (asinh_test): Likewise.
53626         (atan_test): Likewise.
53627         (atanh_test): Likewise.
53628         (atan2_test): Likewise.
53629         (cabs_test): Likewise.
53630         (cacos_test): Likewise.
53631         (cacosh_test): Likewise.
53632         (carg_test): Likewise.
53633         (casin_test): Likewise.
53634         (casinh_test): Likewise.
53635         (catan_test): Likewise.
53636         (catanh_test): Likewise.
53637         (cbrt_test): Likewise.
53638         (ccos_test): Likewise.
53639         (ccosh_test): Likewise.
53640         (ceil_test): Likewise.
53641         (cexp_test): Likewise.
53642         (cimag_test): Likewise.
53643         (clog_test): Likewise.
53644         (clog10_test): Likewise.
53645         (conj_test): Likewise.
53646         (copysign_test): Likewise.
53647         (cos_test): Likewise.
53648         (cos_test_tonearest): Likewise.
53649         (cos_test_towardzero): Likewise.
53650         (cos_test_downward): Likewise.
53651         (cos_test_upward): Likewise.
53652         (cosh_test): Likewise.
53653         (cosh_test_tonearest): Likewise.
53654         (cosh_test_towardzero): Likewise.
53655         (cosh_test_downward): Likewise.
53656         (cosh_test_upward): Likewise.
53657         (cpow_test): Likewise.
53658         (cproj_test): Likewise.
53659         (creal_test): Likewise.
53660         (csin_test): Likewise.
53661         (csinh_test): Likewise.
53662         (csqrt_test): Likewise.
53663         (ctan_test): Likewise.
53664         (ctan_test_tonearest): Likewise.
53665         (ctan_test_towardzero): Likewise.
53666         (ctan_test_downward): Likewise.
53667         (ctan_test_upward): Likewise.
53668         (ctanh_test): Likewise.
53669         (ctanh_test_tonearest): Likewise.
53670         (ctanh_test_towardzero): Likewise.
53671         (ctanh_test_downward): Likewise.
53672         (ctanh_test_upward): Likewise.
53673         (erf_test): Likewise.
53674         (erfc_test): Likewise.
53675         (exp_test): Likewise.
53676         (exp_test_tonearest): Likewise.
53677         (exp_test_towardzero): Likewise.
53678         (exp_test_downward): Likewise.
53679         (exp_test_upward): Likewise.
53680         (exp10_test): Likewise.
53681         (exp10_test_tonearest): Likewise.
53682         (exp10_test_towardzero): Likewise.
53683         (exp10_test_downward): Likewise.
53684         (exp10_test_upward): Likewise.
53685         (pow10_test): Likewise.
53686         (exp2_test): Likewise.
53687         (expm1_test): Likewise.
53688         (expm1_test_tonearest): Likewise.
53689         (expm1_test_towardzero): Likewise.
53690         (expm1_test_downward): Likewise.
53691         (expm1_test_upward): Likewise.
53692         (fabs_test): Likewise.
53693         (fdim_test): Likewise.
53694         (floor_test): Likewise.
53695         (fma_test): Likewise.
53696         (fma_test_towardzero): Likewise.
53697         (fma_test_downward): Likewise.
53698         (fma_test_upward): Likewise.
53699         (fmax_test): Likewise.
53700         (fmin_test): Likewise.
53701         (fmod_test): Likewise.
53702         (fpclassify_test): Likewise.
53703         (frexp_test): Likewise.
53704         (hypot_test): Likewise.
53705         (ilogb_test): Likewise.
53706         (isfinite_test): Likewise.
53707         (finite_test): Likewise.
53708         (isgreater_test): Likewise.
53709         (isgreaterequal_test): Likewise.
53710         (isinf_test): Likewise.
53711         (isless_test): Likewise.
53712         (islessequal_test): Likewise.
53713         (islessgreater_test): Likewise.
53714         (isnan_test): Likewise.
53715         (isnormal_test): Likewise.
53716         (issignaling_test): Likewise.
53717         (isunordered_test): Likewise.
53718         (j0_test): Likewise.
53719         (j1_test): Likewise.
53720         (jn_test): Likewise.
53721         (ldexp_test): Likewise.
53722         (lgamma_test): Likewise.
53723         (gamma_test): Likewise.
53724         (lrint_test): Likewise.
53725         (lrint_test_tonearest): Likewise.
53726         (lrint_test_towardzero): Likewise.
53727         (lrint_test_downward): Likewise.
53728         (lrint_test_upward): Likewise.
53729         (llrint_test): Likewise.
53730         (llrint_test_tonearest): Likewise.
53731         (llrint_test_towardzero): Likewise.
53732         (llrint_test_downward): Likewise.
53733         (llrint_test_upward): Likewise.
53734         (log_test): Likewise.
53735         (log10_test): Likewise.
53736         (log1p_test): Likewise.
53737         (log2_test): Likewise.
53738         (logb_test): Likewise.
53739         (logb_test_downward): Likewise.
53740         (lround_test): Likewise.
53741         (llround_test): Likewise.
53742         (modf_test): Likewise.
53743         (nearbyint_test): Likewise.
53744         (nextafter_test): Likewise.
53745         (nexttoward_test): Likewise.
53746         (pow_test): Likewise.
53747         (pow_test_tonearest): Likewise.
53748         (pow_test_towardzero): Likewise.
53749         (pow_test_downward): Likewise.
53750         (pow_test_upward): Likewise.
53751         (remainder_test): Likewise.
53752         (drem_test): Likewise.
53753         (remainder_test_tonearest): Likewise.
53754         (drem_test_tonearest): Likewise.
53755         (remainder_test_towardzero): Likewise.
53756         (drem_test_towardzero): Likewise.
53757         (remainder_test_downward): Likewise.
53758         (drem_test_downward): Likewise.
53759         (remainder_test_upward): Likewise.
53760         (drem_test_upward): Likewise.
53761         (remquo_test): Likewise.
53762         (rint_test): Likewise.
53763         (rint_test_tonearest): Likewise.
53764         (rint_test_towardzero): Likewise.
53765         (rint_test_downward): Likewise.
53766         (rint_test_upward): Likewise.
53767         (round_test): Likewise.
53768         (scalb_test): Likewise.
53769         (scalbn_test): Likewise.
53770         (scalbln_test): Likewise.
53771         (signbit_test): Likewise.
53772         (sin_test): Likewise.
53773         (sin_test_tonearest): Likewise.
53774         (sin_test_towardzero): Likewise.
53775         (sin_test_downward): Likewise.
53776         (sin_test_upward): Likewise.
53777         (sincos_test): Likewise.
53778         (sinh_test): Likewise.
53779         (sinh_test_tonearest): Likewise.
53780         (sinh_test_towardzero): Likewise.
53781         (sinh_test_downward): Likewise.
53782         (sinh_test_upward): Likewise.
53783         (sqrt_test): Likewise.
53784         (sqrt_test_tonearest): Likewise.
53785         (sqrt_test_towardzero): Likewise.
53786         (sqrt_test_downward): Likewise.
53787         (sqrt_test_upward): Likewise.
53788         (tan_test): Likewise.
53789         (tan_test_tonearest): Likewise.
53790         (tan_test_towardzero): Likewise.
53791         (tan_test_downward): Likewise.
53792         (tan_test_upward): Likewise.
53793         (tanh_test): Likewise.
53794         (tgamma_test): Likewise.
53795         (trunc_test): Likewise.
53796         (y0_test): Likewise.
53797         (y1_test): Likewise.
53798         (yn_test): Likewise.
53799         (significand_test): Likewise.
53801         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
53802         individual tests in comment.
53803         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
53804         (prev_max_error): New variable.
53805         (prev_real_max_error): Likewise.
53806         (prev_imag_max_error): Likewise.
53807         (compare_ulp_data): Don't refer to test names in comment.
53808         (find_test_ulps): Remove function.
53809         (find_function_ulps): Likewise.
53810         (find_complex_function_ulps): Likewise.
53811         (init_max_error): Take function name as argument.  Look up ulps
53812         for that function.
53813         (print_ulps): Remove function.
53814         (print_max_error): Use prev_max_error instead of calling
53815         find_function_ulps.
53816         (print_complex_max_error): Use prev_real_max_error and
53817         prev_imag_max_error instead of calling find_complex_function_ulps.
53818         (check_float_internal): Take max_ulp parameter instead of calling
53819         find_test_ulps.  Don't call print_ulps.
53820         (check_float): Update call to check_float_internal.
53821         (check_complex): Update calls to check_float_internal.
53822         (START): Pass argument to init_max_error.
53823         * math/gen-libm-test.pl (%results): Don't include "kind"
53824         information.
53825         (parse_ulps): Don't handle ulps of individual tests.
53826         (print_ulps_file): Likewise.
53827         (output_ulps): Likewise.
53828         * math/README.libm-test: Update.
53829         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
53830         individual tests.
53831         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
53832         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
53833         * sysdeps/arm/libm-test-ulps: Likewise.
53834         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
53835         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
53836         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
53837         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
53838         * sysdeps/microblaze/libm-test-ulps: Likewise.
53839         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
53840         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
53841         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
53842         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
53843         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
53844         * sysdeps/sh/libm-test-ulps: Likewise.
53845         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
53846         * sysdeps/tile/libm-test-ulps: Likewise.
53847         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53849 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
53851         * math/libm-test.inc (print_complex_max_error): Check separately
53852         whether real and imaginary errors are within allowed range and
53853         pass 0 to print_complex_function_ulps instead of value within
53854         allowed range.
53856 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
53858         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
53859         formatting.
53860         (get_handles_fopen): Likewise.
53861         (do_write_test): Likewise.
53863         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
53865         * libio/fileops.c (do_ftell): Use cached offset when
53866         available.
53867         * libio/iofwide.c (do_ftell_wide): Likewise.
53868         * libio/iofdopen.c (_IO_new_fdopen): Don't use
53869         _IO_file_attach.
53870         * libio/wfileops.c (_IO_fwide): Don't cache offset.
53872         [BZ #16532]
53873         * libio/libioP.h (get_file_offset): New function.
53874         * libio/fileops.c (get_file_offset): Likewise.
53875         (do_ftell): Likewise.
53876         (_IO_new_file_seekoff): Split out ftell logic.
53877         * libio/wfileops.c (do_ftell_wide): Likewise.
53878         (_IO_wfile_seekoff): Split out ftell logic.
53879         * libio/tst-ftell-active-handler.c: New test case.
53880         * libio/Makefile (tests): Add it.
53882 2014-03-03  Roland McGrath  <roland@hack.frob.com>
53884         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
53885         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
53887 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
53889         [BZ #16639]
53890         * nscd/connections.c (nscd_init): Call do_exit.
53891         (start_threads): Call do_exit and notify_parent.
53892         (begin_drop_privileges): Call do_exit.
53893         (finish_drop_privileges): Likewise.
53894         * nscd/selinux.c (preserve_capabilities): Likewise.
53895         (install_real_capabilities): Likewise.
53896         (nscd_selinux_enabled): Likewise.
53897         (avc_create_thread): Likewise.
53898         (avc_alloc_lock): Likewise.
53899         (nscd_avc_init): Likewise.
53900         * nscd/nscd.c (parent_fd): New static variable.
53901         (main): Create a pipe between parent and child processes.
53902         Skip closing parent_fd.
53903         (monitor_child): New function.
53904         (do_exit): Likewise.
53905         (notify_parent): Likewise.
53906         * nscd/nscd.h (notify_parent): Likewise.
53907         (do_exit): Likewise.
53909 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
53911         * malloc/malloc.c (__libc_calloc): Revert last change.
53913 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53915         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53917 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
53919         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
53920         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
53921         implementation.
53922         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
53923         (__libc_ifunc_impl_list): Likewise.
53924         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
53925         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
53926         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
53927         * string/strrchr.c: Define STRRCHR.
53929 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
53931         * benchtest/bench-strtok.c (simple_strtok): Delete.
53932         (strtok_string): Use as benchmark.
53933         * string/strtok (STRTOK): New macro.
53935 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
53937         * manual/threads.texi: Add header and standard comments to all
53938         functions.
53940         * elf/dl-lookup.c (check_match): New function.
53941         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
53942         (do_lookup_x): Remove nested function check_match. Use non-nested
53943         function check_match.
53945 2014-02-28  Roland McGrath  <roland@hack.frob.com>
53947         * csu/Makefile (generated, before-compile): Use += rather than =.
53948         * catgets/Makefile (generated, generated-dirs): Likewise.
53949         * debug/Makefile (generated): Likewise.
53950         * dlfcn/Makefile (generated): Likewise.
53951         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
53952         * iconvdata/Makefile (before-compile, generated): Likewise.
53953         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
53954         * libio/Makefile (generated): Likewise.
53955         * malloc/Makefile (generated): Likewise.
53956         * manual/Makefile (generated, generated-dirs): Likewise.
53957         * misc/Makefile (generated): Likewise.
53958         * posix/Makefile (generated): Likewise.
53959         * resolv/Makefile (generated): Likewise.
53960         * sunrpc/Makefile (generated, generated-dirs): Likewise.
53961         * timezone/Makefile (generated, generated-dirs): Likewise.
53963         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
53965 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53967         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
53968         power8 implementation.
53969         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
53970         file: POWER8 llround ifunc implementation.
53971         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
53972         (__lllround): Add POWER8 implementation.
53973         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
53974         POWER8 llround implementation.
53976         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
53977         power8 implementation.
53978         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
53979         file: POWER8 llrint ifunc implementation.
53980         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
53981         Add POWER8 implementation.
53982         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
53983         POWER8 llrint implementation.
53985         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
53986         power8 implementation.
53987         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
53988         file: POWER8 finite ifunc implementation.
53989         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
53990         Add POWER8 implementation.
53991         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
53992         Likewise.
53993         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
53994         POWER8 finite implementation.
53995         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
53997         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
53998         power8 implementation.
53999         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
54000         file: POWER8 isinf ifunc implementation.
54001         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
54002         POWER8 implementation.
54003         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
54004         Likewise.
54005         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
54006         isinf implementation.
54007         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
54009         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
54010         (INIT_ARCH): Add hwcap2 initialization.
54011         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
54012         power8 implementation.
54013         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
54014         file: POWER8 isnan ifunc implementation.
54015         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
54016         POWER8 implementation.
54017         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
54018         Likewise.
54019         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
54020         isnan implementation.
54021         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
54023 2014-02-27  Joey Ye  <joey.ye@arm.com>
54025         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
54026         (_FP_NANFRAC_Q): Set to zero.
54028 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
54030         [BZ #16623]
54031         * math/auto-libm-test-in: New test inputs.
54032         * math/auto-libm-test-out: Regenerate.
54033         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
54034         and DA.
54035         (__cos): Likewise.
54036         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
54038 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
54040         * scripts/evaluate-test.sh: Take new argument indicating whether
54041         failure is expected.
54042         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
54043         indicating whether failure is expected.
54044         * conform/Makefile (test-xfail-run-conformtest): New variable.
54045         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
54046         level.
54047         * posix/Makefile (test-xfail-annexc): New variable.
54048         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
54050 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
54052         * argp/Makefile: Include Makeconfig immediately after defining
54053         subdir.
54054         * assert/Makefile: Likewise.
54055         * benchtests/Makefile: Likewise.
54056         * catgets/Makefile: Likewise.
54057         * conform/Makefile: Likewise.
54058         * crypt/Makefile: Likewise.
54059         * csu/Makefile: Likewise.
54060         (all): Remove target.
54061         * ctype/Makefile: Include Makeconfig immediately after defining
54062         subdir.
54063         * debug/Makefile: Likewise.
54064         * dirent/Makefile: Likewise.
54065         * dlfcn/Makefile: Likewise.
54066         * gmon/Makefile: Likewise.
54067         * gnulib/Makefile: Likewise.
54068         * grp/Makefile: Likewise.
54069         * gshadow/Makefile: Likewise.
54070         * hesiod/Makefile: Likewise.
54071         * hurd/Makefile: Likewise.
54072         (all): Remove target.
54073         * iconvdata/Makefile: Include Makeconfig immediately after
54074         defining subdir.
54075         * inet/Makefile: Likewise.
54076         * intl/Makefile: Likewise.
54077         * io/Makefile: Likewise.
54078         * libio/Makefile: Likewise.
54079         (all): Remove target.
54080         * locale/Makefile: Include Makeconfig immediately after defining
54081         subdir.
54082         * login/Makefile: Likewise.
54083         * mach/Makefile: Likewise.
54084         (all): Remove target.
54085         * malloc/Makefile: Include Makeconfig immediately after defining
54086         subdir.
54087         (all): Remove target.
54088         * manual/Makefile: Include Makeconfig immediately after defining
54089         subdir.
54090         * math/Makefile: Likewise.
54091         * misc/Makefile: Likewise.
54092         * nis/Makefile: Likewise.
54093         * nss/Makefile: Likewise.
54094         * po/Makefile: Likewise.
54095         (all): Remove target.
54096         * posix/Makefile: Include Makeconfig immediately after defining
54097         subdir.
54098         * pwd/Makefile: Likewise.
54099         * resolv/Makefile: Likewise.
54100         * resource/Makefile: Likewise.
54101         * rt/Makefile: Likewise.
54102         * setjmp/Makefile: Likewise.
54103         * shadow/Makefile: Likewise.
54104         * signal/Makefile: Likewise.
54105         * socket/Makefile: Likewise.
54106         * soft-fp/Makefile: Likewise.
54107         * stdio-common/Makefile: Likewise.
54108         * stdlib/Makefile: Likewise.
54109         * streams/Makefile: Likewise.
54110         * string/Makefile: Likewise.
54111         * sunrpc/Makefile: Likewise.
54112         (all): Remove target.
54113         * sysvipc/Makefile: Include Makeconfig immediately after defining
54114         subdir.
54115         * termios/Makefile: Likewise.
54116         * time/Makefile: Likewise.
54117         * timezone/Makefile: Likewise.
54118         (all): Remove target.
54119         * wcsmbs/Makefile: Include Makeconfig immediately after defining
54120         subdir.
54121         * wctype/Makefile: Likewise.
54123 2014-02-26  Steve Ellcey  <sellcey@mips.com>
54125         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
54126         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
54127         (libc_feholdexcept_setround_mips): Ditto.
54128         (libc_feholdsetround): New.
54129         (libc_feholdsetroundf): New.
54130         (libc_feholdsetroundl): New.
54131         (libc_feupdateenv_test_mips): New.
54132         (libc_feupdateenv_test): New.
54133         (libc_feupdateenv_testf): New.
54134         (libc_feupdateenv_testl): New.
54135         (libc_feresetround): New.
54136         (libc_feresetroundf): New.
54137         (libc_feresetroundl): New.
54138         (libc_fetestexcept_mips): New.
54139         (libc_fetestexcept): New.
54140         (libc_fetestexceptf): New.
54141         (libc_fetestexceptl): New.
54142         (HAVE_RM_CTX): New.
54143         (libc_feholdexcept_setround_mips_ctx): New.
54144         (libc_feholdexcept_setround_ctx): New.
54145         (libc_feholdexcept_setroundf_ctx): New.
54146         (libc_feholdexcept_setroundl_ctx): New.
54147         (libc_fesetenv_mips_ctx): New.
54148         (libc_fesetenv_ctx): New.
54149         (libc_fesetenv_ctxf): New.
54150         (libc_fesetenv_ctxl): New.
54151         (libc_feupdateenv_mips_ctx): New.
54152         (libc_feupdateenv_ctx): New.
54153         (libc_feupdateenvf_ctx): New.
54154         (libc_feupdateenvl_ctx): New.
54155         (libc_feholdsetround_mips_ctx): New.
54156         (libc_feholdsetround_ctx): New.
54157         (libc_feholdsetroundf_ctx): New.
54158         (libc_feholdsetroundl_ctx): New.
54159         (libc_feresetround_mips_ctx): New.
54160         (libc_feresetround_ctx): New.
54161         (libc_feresetroundf_ctx): New.
54162         (libc_feresetroundl_ctx): New.
54164 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
54166         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
54168         * manual/ipc.texi: New file.
54169         * manual/Makefile (chapters): Add ipc.
54170         * manual/job.texi: Add "Inter-Process Communication" to next.
54171         * manual/process.texi: Add "Inter-Process Communication" to prev.
54173 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54175         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54177 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
54179         * malloc/malloc.c (__libc_calloc): Simplify implementation.
54181         * manual/arith.texi: Fix spaces after sentences.
54182         * manual/charset.texi: Likewise.
54183         * manual/errno.texi: Likewise.
54184         * manual/install.texi: Likewise.
54185         * manual/llio.texi: Likewise.
54186         * manual/locale.texi: Likewise.
54187         * manual/maint.texi: Likewise.
54188         * manual/math.texi: Likewise.
54189         * manual/memory.texi: Likewise.
54190         * manual/message.texi: Likewise.
54191         * manual/probes.texi: Likewise.
54192         * manual/resource.texi: Likewise.
54193         * manual/signal.texi: Likewise.
54194         * manual/socket.texi: Likewise.
54195         * manual/stdio.texi: Likewise.
54196         * manual/string.texi: Likewise.
54197         * manual/time.texi: Likewise.
54198         * manual/users.texi: Likewise.
54200 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
54202         [BZ #16632]
54203         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
54204         _DEFAULT_SOURCE is defined.
54206 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
54207             Carlos O'Donell  <carlos@redhat.com>
54209         [BZ #16613]
54210         * elf/dl-tls.c (_dl_count_modids): New function.
54211         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
54212         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
54213         audit library and increment generation counter.
54214         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
54215         * elf/tst-audit9.c: New file.
54216         * elf/tst-auditmod9a.c: New file.
54217         * elf/tst-auditmod9b.c: New file.
54218         * elf/Makefile: Add rules to build and run tst-audit9.
54220 2014-02-25  Florian Weimer  <fweimer@redhat.com>
54222         [BZ #15347]
54223         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
54225 2014-02-25  Will Newton  <will.newton@linaro.org>
54227         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
54228         (__longjmp): Restore sp and lr before restoring callee
54229         saved registers.  Add longjmp and longjmp_target
54230         SystemTap probe point.
54231         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
54232         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
54233         Define to zero to match jmpbuf layout.
54234         * sysdeps/arm/setjmp.S: Include stap-probe.h.
54235         (__sigsetjmp): Save sp and lr before saving callee
54236         saved registers.  Add setjmp SystemTap probe point.
54238 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
54240         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
54242 2014-02-24  Andreas Schwab  <schwab@suse.de>
54244         [BZ #15804]
54245         * elf/pldd.c (wait_for_ptrace_stop): New function.
54246         (main): Call it after attaching.
54248 2014-02-22  Roland McGrath  <roland@hack.frob.com>
54250         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
54251         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
54252         Versions files is now verboten.
54253         * hurd/Versions (libc: GLIBC_2.0):
54254         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
54255         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
54256         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
54257         * mach/Versions: Likewise.
54259         * csu/Versions: Remove unused %include.
54260         * resolv/Versions: Likewise.
54262 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
54264         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
54265         ($(objpfx)check-local-headers.out): Likewise.
54266         ($(objpfx)begin-end-check.out): Likewise.
54267         * Makerules (check-abi-%.out): Likewise.
54268         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
54269         ($(objpfx)test2.cat): Likewise.
54270         ($(objpfx)de/libc.cat): Likewise.
54271         ($(objpfx)test-gencat.out): Likewise.
54272         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
54273         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
54274         ($(objpfx)noload-mem): Likewise.
54275         ($(objpfx)tst-pathopt.out): Likewise.
54276         ($(objpfx)tst-rtld-load-self.out): Likewise.
54277         ($(objpfx)tst-array1-cmp.out): Likewise.
54278         ($(objpfx)tst-array1-static-cmp.out): Likewise.
54279         ($(objpfx)tst-array2-cmp.out): Likewise.
54280         ($(objpfx)tst-array3-cmp.out): Likewise.
54281         ($(objpfx)tst-array4-cmp.out): Likewise.
54282         ($(objpfx)tst-array5-cmp.out): Likewise.
54283         ($(objpfx)tst-array5-static-cmp.out): Likewise.
54284         ($(objpfx)check-textrel.out): Likewise.
54285         ($(objpfx)check-execstack.out): Likewise.
54286         ($(objpfx)check-localplt.out): Likewise.
54287         ($(objpfx)order2-cmp.out): Likewise.
54288         ($(objpfx)tst-leaks1-mem): Likewise.
54289         ($(objpfx)tst-leaks1-static-mem): Likewise.
54290         ($(objpfx)tst-initorder-cmp.out): Likewise.
54291         ($(objpfx)tst-initorder2-cmp.out): Likewise.
54292         ($(objpfx)tst-unused-dep.out): Likewise.
54293         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
54294         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
54295         * iconv/Makefile (test-iconvconfig): Likewise.
54296         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
54297         ($(objpfx)iconv-test.out): Likewise.
54298         ($(objpfx)tst-tables.out): Likewise.
54299         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
54300         ($(objpfx)tst-gettext.out): Likewise.
54301         ($(objpfx)tst-translit.out): Likewise.
54302         ($(objpfx)tst-gettext2.out): Likewise.
54303         ($(objpfx)tst-gettext4.out): Likewise.
54304         ($(objpfx)tst-gettext6.out): Likewise.
54305         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
54306         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
54307         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
54308         ($(objpfx)tst-fopenloc-mem.out): Likewise.
54309         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
54310         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
54311         * posix/Makefile ($(objpfx)globtest.out): Likewise.
54312         ($(objpfx)wordexp-tst.out): Likewise.
54313         ($(objpfx)annexc.out): Likewise.
54314         ($(objpfx)tst-fnmatch-mem): Likewise.
54315         ($(objpfx)bug-regex2-mem): Likewise.
54316         ($(objpfx)bug-regex14-mem): Likewise.
54317         ($(objpfx)bug-regex21-mem): Likewise.
54318         ($(objpfx)bug-regex31-mem): Likewise.
54319         ($(objpfx)tst-vfork3-mem): Likewise.
54320         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
54321         ($(objpfx)tst-pcre-mem): Likewise.
54322         ($(objpfx)tst-boost-mem): Likewise.
54323         ($(objpfx)tst-getconf.out): Likewise.
54324         ($(objpfx)bug-ga2-mem): Likewise.
54325         ($(objpfx)bug-glob2-mem): Likewise.
54326         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
54327         ($(objpfx)mtrace-tst-leaks2): Likewise.
54328         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
54329         ($(objpfx)tst-printf.out): Likewise.
54330         ($(objpfx)tst-setvbuf1.out): Likewise.
54331         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
54332         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
54333         ($(objpfx)tst-fmtmsg.out): Likewise.
54334         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
54335         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
54337         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
54338         * bits/sigaction.h [__USE_MISC]: Likewise.
54339         * bits/waitstatus.h: Update #endif comments.
54340         * ctype/ctype.h: Likewise.
54341         * dirent/dirent.h: Likewise.
54342         [__USE_MISC]: Remove redundant conditionals.
54343         * grp/grp.h: Update #endif comments.
54344         [__USE_GNU]: Remove redundant conditionals.
54345         [__USE_MISC]: Likewise.
54346         * inet/netinet/in.h [__USE_GNU]: Likewise.
54347         * io/sys/stat.h [__USE_MISC]: Likewise.
54348         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
54349         * libio/bits/stdio.h: Update #endif comments.
54350         [__USE_MISC]: Remove redundant conditionals.
54351         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
54352         * libio/stdio.h: Update #endif comments.
54353         [__USE_MISC]: Remove redundant conditionals.
54354         * math/bits/math-finite.h [__USE_MISC]: Likewise.
54355         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
54356         * math/math.h: Update #else and #endif comments.
54357         [__USE_MISC]: Remove redundant conditionals.
54358         * misc/sys/uio.h: Update #endif comments.
54359         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
54360         * posix/glob.h [__USE_MISC]: Likewise.
54361         * posix/sys/types.h: Update #endif comments.
54362         [__USE_MISC]: Remove redundant conditionals.
54363         * posix/sys/wait.h: Update #endif comments.
54364         [__USE_MISC]: Remove redundant conditionals.
54365         * posix/unistd.h: Update #endif comments.
54366         [__USE_MISC]: Remove redundant conditionals.
54367         * pwd/pwd.h [__USE_GNU]: Likewise.
54368         [__USE_MISC]: Likewise.
54369         * resolv/netdb.h [__USE_GNU]: Likewise.
54370         * signal/signal.h: Update #endif comments.
54371         [__USE_MISC]: Remove redundant conditionals.
54372         * stdlib/stdlib.h: Update #else and #endif comments.
54373         [__USE_MISC]: Remove redundant conditionals.
54374         [__USE_GNU]: Likewise.
54375         * string/bits/string2.h [__USE_MISC]: Likewise.
54376         * string/string.h: Update #endif comments.
54377         [__USE_MISC]: Remove redundant conditionals.
54378         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
54379         Likewise.
54380         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
54381         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
54382         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
54383         Likewise.
54384         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
54385         Likewise.
54386         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
54387         comments.
54388         [__USE_MISC]: Remove redundant conditionals.
54389         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
54390         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
54391         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
54392         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
54393         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
54394         Likewise.
54395         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
54396         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
54397         Likewise.
54398         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
54399         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
54400         Likewise.
54401         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
54402         Likewise.
54403         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
54404         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
54405         Likewise.
54406         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
54407         Likewise.
54408         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
54409         * sysdeps/x86/bits/string.h: Update #endif comments.
54410         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
54411         conditionals.
54412         * time/sys/time.h: Update #endif comments.
54413         * time/time.h: Likewise.
54414         [__USE_MISC]: Remove redundant conditionals.
54416 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
54418         [BZ #16600]
54419         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
54421 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
54423         * Versions.def (librt): Add GLIBC_2.17.
54425 2014-02-21  Adam Conrad  <adconrad@0c3.net>
54427         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
54428         synonym for _SYS_AUXV_H to allow direct inclusion.
54429         * sysdeps/sparc/bits/hwcap.h: Likewise.
54430         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
54431         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
54432         * sysdeps/sparc/sysdep.h: Likewise.
54434 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
54436         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
54438 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
54440         * benchtests/bench-strrchr.c: Print length instead of position.
54442 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
54444         [BZ #16611]
54445         * sysdeps/unix/sysv/linux/kernel-features.h
54446         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
54447         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
54448         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
54449         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
54450         Likewise.
54451         [__i386__ || __powerpc__ || __sh__ || __sparc__]
54452         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
54453         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
54454         (__ASSUME_SENDMMSG): Define instead of using previous
54455         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
54456         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
54457         (__ASSUME_SENDMMSG_SYSCALL): Define.
54458         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
54459         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
54460         Likewise.
54461         * sysdeps/unix/sysv/linux/arm/kernel-features.h
54462         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
54463         Likewise.
54464         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
54465         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
54466         Likewise.
54467         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
54468         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
54469         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
54470         [__ASSUME_SENDMMSG]: Change conditionals to
54471         [__ASSUME_SENDMMSG_SOCKETCALL].
54472         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
54473         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
54474         Define.
54475         * sysdeps/unix/sysv/linux/mips/kernel-features.h
54476         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
54477         Likewise.
54478         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
54479         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
54480         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
54481         [!__ASSUME_SENDMMSG]: Change conditional to
54482         [!__ASSUME_SENDMMSG_SOCKETCALL].
54483         * sysdeps/unix/sysv/linux/tile/kernel-features.h
54484         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
54485         Define.
54487         [BZ #16610]
54488         * sysdeps/unix/sysv/linux/kernel-features.h
54489         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
54490         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
54491         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
54492         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
54493         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
54494         [__i386__ || __sparc__]
54495         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
54496         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
54497         (__ASSUME_RECVMMSG): Define instead of using previous
54498         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
54499         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
54500         (__ASSUME_RECVMMSG_SYSCALL): Define.
54501         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
54502         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
54503         Likewise.
54504         * sysdeps/unix/sysv/linux/arm/kernel-features.h
54505         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
54506         Likewise.
54507         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
54508         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
54509         Likewise.
54510         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
54511         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
54512         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
54513         [__ASSUME_RECVMMSG]: Change condition to
54514         [__ASSUME_RECVMMSG_SOCKETCALL].
54515         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
54516         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
54517         Define.
54518         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
54519         * sysdeps/unix/sysv/linux/mips/kernel-features.h
54520         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
54521         Likewise.
54522         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
54523         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
54524         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
54525         [!__ASSUME_RECVMMSG]: Change condition to
54526         [!__ASSUME_RECVMMSG_SOCKETCALL].
54527         * sysdeps/unix/sysv/linux/tile/kernel-features.h
54528         (__ASSUME_RECVMMSG_SYSCALL): Define.
54530         [BZ #16609]
54531         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
54532         __powerpc__ || __s390__ || __sh__ || __sparc__]
54533         (__ASSUME_SOCKETCALL): Define.
54534         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
54535         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
54536         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
54537         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
54538         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
54539         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
54540         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
54541         (__ASSUME_ACCEPT4): Define instead of using previous
54542         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
54543         __powerpc__ || __sparc__ || __s390__)] condition.
54544         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
54545         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
54546         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
54547         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
54548         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
54549         [!__ASSUME_ACCEPT4]: Change condition to
54550         [!__ASSUME_ACCEPT4_SOCKETCALL].
54551         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
54552         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
54553         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
54554         * sysdeps/unix/sysv/linux/arm/kernel-features.h
54555         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
54556         __ASSUME_ACCEPT4_SYSCALL.
54557         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
54558         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
54559         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
54560         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
54561         __ASSUME_ACCEPT4_SYSCALL.
54562         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
54563         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
54564         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
54565         [__ASSUME_ACCEPT4]: Change condition to
54566         [__ASSUME_ACCEPT4_SOCKETCALL].
54567         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
54568         (__ASSUME_SOCKETCALL): Define.
54569         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
54570         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
54571         (__ASSUME_SOCKETCALL): Define.
54572         (__ASSUME_ACCEPT4): Remove.
54573         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
54574         Define.
54575         * sysdeps/unix/sysv/linux/mips/kernel-features.h
54576         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
54577         Likewise.
54578         * sysdeps/unix/sysv/linux/tile/kernel-features.h
54579         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
54581         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
54582         macro.
54583         (HWCAP_ARM_LPAE): Likewise.
54584         (HWCAP_ARM_EVTSTRM): Likewise.
54585         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
54586         Add vpfd32, lpae and evtstrm.
54587         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
54588         Increase to 22.
54590 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
54592         * math/auto-libm-test-in: Add tests of clog10.
54593         * math/auto-libm-test-out: Regenerated.
54594         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
54595         * sysdeps/i386/fpu/libm-test-ulps: Update.
54596         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54598 2014-02-18  Andreas Schwab  <schwab@suse.de>
54600         [BZ #16574]
54601         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
54602         Store non-zero if the second buffer was newly allocated.
54603         (send_dg): Likewise.
54604         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
54605         to send_vc and send_dg.
54606         (res_nsend): Pass NULL for ansp2_malloced.
54607         * resolv/res_query.c (__libc_res_nquery): Add parameter
54608         answerp2_malloced and pass it down to __libc_res_nsend.
54609         (res_nquery): Pass additional NULL to __libc_res_nquery.
54610         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
54611         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
54612         second answer buffer if answerp2_malloced was set.
54613         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
54614         (__libc_res_nquerydomain): Add parameter
54615         answerp2_malloced and pass it down to __libc_res_nquery.
54616         (res_nquerydomain): Pass additional NULL to
54617         __libc_res_nquerydomain.
54618         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
54619         additional NULL to __libc_res_nsend and __libc_res_nquery.
54620         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
54621         additional NULL to __libc_res_nsearch.
54622         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
54623         parameter of __libc_res_nsearch to check for separately allocated
54624         second buffer.
54625         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
54626         __libc_res_nquery.
54627         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
54628         additional NULL to __libc_res_nquery.
54629         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
54630         __libc_res_nsearch.
54631         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
54632         * include/resolv.h: Update prototypes of __libc_res_nquery,
54633         __libc_res_nsearch, __libc_res_nsend.
54635 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
54637         * math/auto-libm-test-in: Add tests of fma.
54638         * math/auto-libm-test-out: Regenerated.
54639         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
54640         (fma_towardzero_test_data): Likewise.
54641         (fma_downward_test_data): Likewise.
54642         (fma_upward_test_data): Likewise.
54643         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
54644         mpc_mode.
54645         (rounding_modes): Add values for new field.
54646         (func_calc_method): Add value mpfr_fff_f.
54647         (func_calc_desc): Add mpfr_fff_f union field.
54648         (test_function): Add field exact_args.
54649         (FUNC): Add macro argument EXACT_ARGS.
54650         (FUNC_mpfr_f_f): Update call to FUNC.
54651         (FUNC_mpfr_f_f): Likewise.
54652         (FUNC_mpfr_ff_f): Likewise.
54653         (FUNC_mpfr_if_f): Likewise.
54654         (FUNC_mpc_c_f): Likewise.
54655         (FUNC_mpc_c_c): Likewise.
54656         (test_functions): Add fma.  Update calls to FUNC.
54657         (handle_input_arg): Add argument exact_args.
54658         (add_test): Update call to handle_input_arg.
54659         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
54660         (output_for_one_input_case): Update call to calc_generic_results.
54661         Recalculate exact zero results in each rounding mode.
54663         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
54664         non-negative before setting low bit.
54665         * math/auto-libm-test-in: Mark one asin test possibly having
54666         spurious underflow.
54667         * math/auto-libm-test-out: Regenerated.
54668         * sysdeps/i386/fpu/libm-test-ulps: Update.
54669         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54671 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
54673         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
54674         * sysdeps/unix/sysv/linux/microblaze: Move directory from
54675         ports/sysdeps/unix/sysv/linux/microblaze.
54676         * README: Add missing listing for microblaze*-*-linux-gnu.
54678 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
54680         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
54681         duplicate code
54683 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
54685         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
54686         * sysdeps/unix/sysv/linux/ia64: Move directory from
54687         ports/sysdeps/unix/sysv/linux/ia64.
54688         * README: Update listing for ia64-*-linux-gnu.
54690 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
54691             Joseph Myers  <joseph@codesourcery.com>
54693         * Makeconfig (test-name): New variable.
54694         (evaluate-test): Likewise.
54695         * Makerules (do-test-clean): Remove .test-result files.
54696         (common-mostlyclean): Likewise.
54697         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
54698         * scripts/evaluate-test.sh: New file.
54700 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
54702         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
54703         separate $(objpfx)tst-fopenloc-cmp.out and
54704         $(objpfx)tst-fopenloc-mem.out targets.
54705         (tests): Update dependencies.
54706         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
54707         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
54708         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
54709         (tst-rxspencer-no-utf8-ARGS): New variable.
54710         (tst-rxspencer-no-utf8-ENV): Likewise.
54711         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
54712         instead of $(objpfx)tst-rxspencer-mem.
54713         ($(objpfx)tst-rxspencer-mem): Change target to
54714         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
54715         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
54716         * posix/tst-rxspencer-no-utf8.c: New file.
54718         * elf/Makefile ($(objpfx)order.out): Remove rule.
54719         [$(run-built-tests) = yes] (tests): Depend on
54720         $(objpfx)order-cmp.out.
54721         ($(objpfx)order-cmp.out): New rule.
54722         [$(run-built-tests) = yes] (tests): Depend on
54723         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
54724         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
54725         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
54726         $(objpfx)tst-array5-static-cmp.out.
54727         ($(objpfx)tst-array1.out): Remove rule.
54728         ($(objpfx)tst-array1-cmp.out): New rule.
54729         ($(objpfx)tst-array1-static.out): Remove rule.
54730         ($(objpfx)tst-array1-static-cmp.out): New rule.
54731         ($(objpfx)tst-array2.out): Remove rule.
54732         ($(objpfx)tst-array2-cmp.out): New rule.
54733         ($(objpfx)tst-array3.out): Remove rule.
54734         ($(objpfx)tst-array3-cmp.out): New rule.
54735         ($(objpfx)tst-array4.out): Remove rule.
54736         ($(objpfx)tst-array4-cmp.out): New rule.
54737         ($(objpfx)tst-array5.out): Remove rule.
54738         ($(objpfx)tst-array5-cmp.out): New rule.
54739         ($(objpfx)tst-array5-static.out): Remove rule.
54740         ($(objpfx)tst-array5-static-cmp.out): New rule.
54741         [$(run-built-tests) = yes] (tests): Depend on
54742         $(objpfx)order2-cmp.out.
54743         ($(objpfx)order2.out): Remove rule.
54744         ($(objpfx)order2-cmp.out): New rule.
54745         ($(objpfx)tst-initorder.out): Remove rule.
54746         [$(run-built-tests) = yes] (tests): Depend on
54747         $(objpfx)tst-initorder-cmp.out.
54748         ($(objpfx)tst-initorder-cmp.out): New rule.
54749         ($(objpfx)tst-initorder2.out): Remove rule.
54750         [$(run-built-tests) = yes] (tests): Depend on
54751         $(objpfx)tst-initorder2-cmp.out.
54752         ($(objpfx)tst-initorder2-cmp.out): New rule.
54753         [$(run-built-tests) = yes] (tests): Depend on
54754         $(objpfx)tst-unused-dep-cmp.out.
54755         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
54756         ($(objpfx)tst-unused-dep-cmp.out): New rule.
54757         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
54758         on $(objpfx)tst-setvbuf1-cmp.out.
54759         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
54760         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
54761         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
54762         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
54763         ($(objpfx)tst-svc.out): Remove rule.
54764         ($(objpfx)tst-svc-cmp.out): New rule.
54766 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
54768         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
54769         * ctype/ctype.h [__USE_MISC]: Likewise.
54770         * dirent/dirent.h [__USE_MISC]: Likewise.
54771         * grp/grp.h [__USE_MISC]: Likewise.
54772         * io/fcntl.h [__USE_MISC]: Likewise.
54773         * io/sys/stat.h [__USE_MISC]: Likewise.
54774         * libio/stdio.h [__USE_MISC]: Likewise.
54775         * posix/unistd.h [__USE_MISC]: Likewise.
54776         * pwd/pwd.h [__USE_MISC]: Likewise.
54777         * stdlib.h [__USE_MISC]: Likewise.
54778         * string/bits/string2.h [__USE_MISC]: Likewise.
54779         * string/string.h [__USE_MISC]: Likewise.
54780         * time/time.h [__USE_MISC]: Likewise.
54782 2014-02-13  Andreas Schwab  <schwab@suse.de>
54784         [BZ #16574]
54785         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
54786         second answer buffer if it was separately allocated.
54788 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
54790         * sysdeps/mips/math-tests.h: Include <features.h>.
54791         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
54792         (ROUNDING_TESTS_long_double): Do not define.
54793         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
54794         (EXCEPTION_TESTS_long_double): Likewise.
54795         * sysdeps/mips/mips64/libm-test-ulps: Update.
54797         * include/features.h (__USE_BSD): Remove macro definitions.
54798         (__USE_SVID): Likewise.
54799         (_BSD_SOURCE): Likewise.
54800         (_SVID_SOURCE): Likewise.
54801         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
54802         from definition of _DEFAULT_SOURCE.
54803         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
54804         [_DEFAULT_SOURCE].
54805         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
54806         * bits/mman.h [__USE_BSD]: Likewise.
54807         * bits/termios.h [__USE_BSD]: Likewise.
54808         * bits/waitstatus.h [__USE_BSD]: Likewise.
54809         * ctype/ctype.h [__USE_SVID]: Likewise.
54810         * dirent/dirent.h [__USE_BSD]: Likewise.
54811         * grp/grp.h [__USE_SVID]: Likewise.
54812         [__USE_BSD]: Likewise.
54813         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
54814         * io/fcntl.h [__USE_BSD]: Likewise.
54815         * io/ftw.h [__USE_BSD]: Likewise.
54816         * io/sys/stat.h [__USE_BSD]: Likewise.
54817         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
54818         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
54819         * libio/stdio.h [__USE_SVID]: Likewise.
54820         [__USE_BSD]: Likewise.
54821         * math/math.h [__USE_SVID]: Likewise.
54822         [__USE_BSD]: Likewise.
54823         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
54824         * misc/bits/syslog.h [__USE_BSD]: Likewise.
54825         * misc/search.h [__USE_SVID]: Likewise.
54826         * misc/sys/mman.h [__USE_BSD]: Likewise.
54827         * misc/sys/syslog.h [__USE_BSD]: Likewise.
54828         * misc/sys/uio.h [__USE_BSD]: Likewise.
54829         * posix/bits/unistd.h [__USE_BSD]: Likewise.
54830         * posix/glob.h [__USE_BSD]: Likewise.
54831         * posix/regex.h [__USE_BSD]: Likewise.
54832         * posix/sys/types.h [__USE_BSD]: Likewise.
54833         [__USE_SVID]: Likewise.
54834         * posix/sys/utsname.h [__USE_SVID]: Likewise.
54835         * posix/sys/wait.h [__USE_BSD]: Likewise.
54836         [__USE_SVID]: Likewise.
54837         * posix/unistd.h [__USE_BSD]: Likewise.
54838         [__USE_SVID]: Likewise.
54839         * pwd/pwd.h [__USE_SVID]: Likewise.
54840         * resolv/netdb.h [__USE_BSD]: Likewise.
54841         * setjmp/setjmp.h [__USE_BSD]: Likewise.
54842         * signal/signal.h [__USE_BSD]: Likewise.
54843         [__USE_SVID]: Likewise.
54844         * socket/sys/socket.h [__USE_BSD]: Likewise.
54845         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
54846         * stdlib/stdlib.h [__USE_BSD]: Likewise.
54847         [__USE_SVID]: Likewise.
54848         * string/bits/string2.h [__USE_BSD]: Likewise.
54849         [__USE_SVID]: Likewise.
54850         * string/bits/string3.h [__USE_BSD]: Likewise.
54851         * string/endian.h [__USE_BSD]: Likewise.
54852         * string/string.h [__USE_SVID]: Likewise.
54853         [__USE_BSD]: Likewise.
54854         * string/strings.h [__USE_BSD]: Likewise.
54855         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
54856         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
54857         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
54858         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
54859         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
54860         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
54861         Likewise.
54862         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
54863         Likewise.
54864         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
54865         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
54866         Likewise.
54867         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
54868         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
54869         Likewise.
54870         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
54871         Likewise.
54872         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
54873         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
54874         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
54875         Likewise.
54876         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
54877         Likewise.
54878         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
54879         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
54880         * termios/termios.h [__USE_BSD]: Likewise.
54881         * time/sys/time.h [__USE_BSD]: Likewise.
54882         * time/time.h [__USE_BSD]: Likewise.
54883         [__USE_SVID]: Likewise.
54885         * Makefile (subdir_targets): Remove subdir_lint.out.
54887         * stdio-common/Makefile (do-tst-unbputc): Remove target.
54888         (do-tst-printf): Likewise.
54889         (tests): Depend directly on $(objpfx)tst-unbputc.out and
54890         $(objpfx)tst-printf.out.
54892         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
54894         * Makerules (check-abi-%): Change target to
54895         $(objpfx)check-abi-%.out.
54896         (check-abi target): Update dependencies.
54897         (check-abi-pattern variable): Redirect output of diff to $@.
54898         (check-abi variable): Likewise.
54899         * elf/Makefile (check-abi): Update dependencies.
54901         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
54902         unused.
54903         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
54904         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
54905         subnormal range.
54906         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
54907         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
54908         value has largest subnormal exponent.
54909         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
54910         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
54911         * sysdeps/aarch64/soft-fp/sfp-machine.h
54912         (_FP_TININESS_AFTER_ROUNDING): New macro.
54913         * sysdeps/alpha/soft-fp/sfp-machine.h
54914         (_FP_TININESS_AFTER_ROUNDING): Likewise.
54915         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
54916         Likewise.
54917         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
54918         (_FP_TININESS_AFTER_ROUNDING): Likewise.
54919         * sysdeps/mips/soft-fp/sfp-machine.h
54920         (_FP_TININESS_AFTER_ROUNDING): Likewise.
54921         * sysdeps/powerpc/soft-fp/sfp-machine.h
54922         (_FP_TININESS_AFTER_ROUNDING): Likewise.
54923         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
54924         Likewise.
54925         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
54926         (_FP_TININESS_AFTER_ROUNDING): Likewise.
54927         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
54928         (_FP_TININESS_AFTER_ROUNDING): Likewise.
54929         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
54930         Likewise.
54932 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
54934         [BZ #16545]
54935         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
54936         model 1.
54938 2014-02-12  Richard Henderson  <rth@redhat.com>
54940         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
54941         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
54942         * sysdeps/unix/sysv/linux/alpha: Move directory from
54943         ports/sysdeps/unix/sysv/linux/alpha.
54944         * README: Update listing for alpha-*-linux-gnu.
54946 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
54948         * include/features.h: Update comment documenting feature test
54949         macros.
54950         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
54951         _DEFAULT_SOURCE.
54952         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
54953         (_SVID_SOURCE): Likewise.
54954         (_DEFAULT_SOURCE): Update description of default features.
54955         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
54956         with _GNU_SOURCE.
54957         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
54958         (S_ISVTX): Likewise.
54959         * manual/math.texi (Mathematical Constants): Likewise.
54960         * manual/signal.texi (Interrupted Primitives): Likewise.
54961         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
54962         * math/test-matherr.c (_SVID_SOURCE): Do not define.
54963         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
54964         Don't refer to _SVID_SOURCE in warning text.
54966         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54968         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
54969         already defined.
54970         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
54971         * sysdeps/mips/dl-lookup.c: Remove.
54972         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
54974 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
54976         [BZ #16447]
54977         * math/auto-libm-test-in: Add testcase for expl.
54978         * math/auto-libm-test-out: Regenerate.
54979         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
54980         calculation of unsafe.
54981         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
54983 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
54985         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
54986         * sysdeps/unix/sysv/linux/aarch64: Move directory from
54987         ports/sysdeps/unix/sysv/linux/aarch64.
54988         * README: Update listing for aarch64*-*-linux-gnu.
54990 2014-02-11  Will Newton  <will.newton@linaro.org>
54992         * manual/probes.texi (Mathematical Function Probes): Use
54993         "triggered" instead of "hit".
54995         * manual/probes.texi (Internal Probes): Add documentation
54996         of setjmp, longjmp and longjmp_target probes.
54998         * include/stap-probe.h: Add comment about probe argument
54999         format.
55001         * malloc/mtrace.c (attribute_hidden): Remove unused macro
55002         definition.  (tr_where, tr_freehook, tr_mallochook,
55003         tr_reallochook, tr_memalignhook): Use ANSI protoype.
55005 2014-02-11  David S. Miller  <davem@davemloft.net>
55007         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
55008         processing int_tests.
55010 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
55012         * sysdeps/mips: Move directory from ports/sysdeps/mips.
55013         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
55014         * sysdeps/unix/sysv/linux/mips: Move directory from
55015         ports/sysdeps/unix/sysv/linux/mips.
55016         * README: Update listing for mips-*-linux-gnu and
55017         mips64-*-linux-gnu.
55019 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
55021         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
55022         * sysdeps/unix/sysv/linux/m68k: Move directory from
55023         ports/sysdeps/unix/sysv/linux/m68k.
55024         * README: Update listing for m68k-*-linux-gnu.
55026 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
55028         * sysdeps/tile: Move directory from ports/sysdeps/tile.
55029         * sysdeps/unix/sysv/linux/generic: Move directory from
55030         ports/sysdeps/unix/sysv/linux/generic.
55031         * sysdeps/unix/sysv/linux/tile: Move directory from
55032         ports/sysdeps/unix/sysv/linux/tile.
55033         * README: Update listing for tile*-*-linux-gnu.
55035 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
55037         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
55038         __builtin_expect.
55039         * benchtests/bench-memmem.c (simple_memmem): Likewise.
55040         * catgets/open_catalog.c (__open_catalog): Likewise.
55041         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
55042         * debug/confstr_chk.c: Likewise.
55043         * debug/fread_chk.c (__fread_chk): Likewise.
55044         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
55045         * debug/getgroups_chk.c: Likewise.
55046         * debug/mbsnrtowcs_chk.c: Likewise.
55047         * debug/mbsrtowcs_chk.c: Likewise.
55048         * debug/mbstowcs_chk.c: Likewise.
55049         * debug/memcpy_chk.c: Likewise.
55050         * debug/memmove_chk.c: Likewise.
55051         * debug/mempcpy_chk.c: Likewise.
55052         * debug/memset_chk.c: Likewise.
55053         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
55054         * debug/strcat_chk.c (__strcat_chk): Likewise.
55055         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
55056         * debug/strncat_chk.c (__strncat_chk): Likewise.
55057         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
55058         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
55059         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
55060         * debug/wcpncpy_chk.c: Likewise.
55061         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
55062         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
55063         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
55064         * debug/wcsncpy_chk.c: Likewise.
55065         * debug/wcsnrtombs_chk.c: Likewise.
55066         * debug/wcsrtombs_chk.c: Likewise.
55067         * debug/wcstombs_chk.c: Likewise.
55068         * debug/wmemcpy_chk.c: Likewise.
55069         * debug/wmemmove_chk.c: Likewise.
55070         * debug/wmempcpy_chk.c: Likewise.
55071         * debug/wmemset_chk.c: Likewise.
55072         * dirent/scandirat.c (SCANDIRAT): Likewise.
55073         * dlfcn/dladdr1.c (dladdr1): Likewise.
55074         * dlfcn/dladdr.c (dladdr): Likewise.
55075         * dlfcn/dlclose.c (dlclose_doit): Likewise.
55076         * dlfcn/dlerror.c (__dlerror): Likewise.
55077         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
55078         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
55079         * dlfcn/dlopen.c (dlopen_doit): Likewise.
55080         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
55081         * dlfcn/dlsym.c (dlsym_doit): Likewise.
55082         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
55083         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
55084         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
55085         Likewise.
55086         * elf/dl-conflict.c: Likewise.
55087         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
55088         * elf/dl-dst.h: Likewise.
55089         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
55090         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
55091         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
55092         * elf/dl-init.c (call_init, _dl_init): Likewise.
55093         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
55094         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
55095         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
55096         Likewise.
55097         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
55098         Likewise.
55099         * elf/dl-minimal.c (__libc_memalign): Likewise.
55100         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
55101         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
55102         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
55103         * elf/dl-sym.c (do_sym): Likewise.
55104         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
55105         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
55106         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
55107         * elf/dl-writev.h (_dl_writev): Likewise.
55108         * elf/ldconfig.c (search_dir): Likewise.
55109         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
55110         (dl_main): Likewise.
55111         * elf/setup-vdso.h (setup_vdso): Likewise.
55112         * grp/compat-initgroups.c (compat_call): Likewise.
55113         * grp/fgetgrent.c (fgetgrent): Likewise.
55114         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
55115         * grp/putgrent.c (putgrent): Likewise.
55116         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
55117         Likewise.
55118         * hurd/hurdinit.c: Likewise.
55119         * iconvdata/8bit-gap.c (struct): Likewise.
55120         * iconvdata/ansi_x3.110.c : Likewise.
55121         * iconvdata/big5.c : Likewise.
55122         * iconvdata/big5hkscs.c : Likewise.
55123         * iconvdata/cp1255.c: Likewise.
55124         * iconvdata/cp1258.c : Likewise.
55125         * iconvdata/cp932.c : Likewise.
55126         * iconvdata/euc-cn.c: Likewise.
55127         * iconvdata/euc-jisx0213.c : Likewise.
55128         * iconvdata/euc-jp.c: Likewise.
55129         * iconvdata/euc-jp-ms.c : Likewise.
55130         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
55131         * iconvdata/gb18030.c : Likewise.
55132         * iconvdata/gbbig5.c (const): Likewise.
55133         * iconvdata/gbgbk.c: Likewise.
55134         * iconvdata/gbk.c : Likewise.
55135         * iconvdata/ibm1364.c : Likewise.
55136         * iconvdata/ibm930.c : Likewise.
55137         * iconvdata/ibm932.c: Likewise.
55138         * iconvdata/ibm933.c : Likewise.
55139         * iconvdata/ibm935.c : Likewise.
55140         * iconvdata/ibm937.c : Likewise.
55141         * iconvdata/ibm939.c : Likewise.
55142         * iconvdata/ibm943.c: Likewise.
55143         * iconvdata/iso_11548-1.c: Likewise.
55144         * iconvdata/iso-2022-cn.c : Likewise.
55145         * iconvdata/iso-2022-cn-ext.c : Likewise.
55146         * iconvdata/iso-2022-jp-3.c: Likewise.
55147         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
55148         * iconvdata/iso-2022-kr.c : Likewise.
55149         * iconvdata/iso646.c (gconv_end): Likewise.
55150         * iconvdata/iso_6937-2.c : Likewise.
55151         * iconvdata/iso_6937.c : Likewise.
55152         * iconvdata/iso8859-1.c: Likewise.
55153         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
55154         * iconvdata/shift_jisx0213.c : Likewise.
55155         * iconvdata/sjis.c : Likewise.
55156         * iconvdata/t.61.c : Likewise.
55157         * iconvdata/tcvn5712-1.c : Likewise.
55158         * iconvdata/tscii.c: Likewise.
55159         * iconvdata/uhc.c : Likewise.
55160         * iconvdata/unicode.c (gconv_end): Likewise.
55161         * iconvdata/utf-16.c (gconv_end): Likewise.
55162         * iconvdata/utf-32.c (gconv_end): Likewise.
55163         * iconvdata/utf-7.c (base64): Likewise.
55164         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
55165         * iconv/gconv_close.c (__gconv_close): Likewise.
55166         * iconv/gconv_open.c (__gconv_open): Likewise.
55167         * iconv/gconv_simple.c (internal_ucs4_loop_single)
55168         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
55169         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
55170         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
55171         (ucs4le_internal_loop_single): Likewise.
55172         * iconv/iconv.c (iconv): Likewise.
55173         * iconv/iconv_close.c: Likewise.
55174         * iconv/loop.c (SINGLE): Likewise.
55175         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
55176         * include/atomic.h: Likewise.
55177         * inet/inet6_option.c (option_alloc): Likewise.
55178         * intl/bindtextdom.c (set_binding_values): Likewise.
55179         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
55180         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
55181         * intl/localealias.c (read_alias_file): Likewise.
55182         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
55183         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
55184         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
55185         * libio/fmemopen.c (fmemopen): Likewise.
55186         * libio/iofgets.c (_IO_fgets): Likewise.
55187         * libio/iofgets_u.c (fgets_unlocked): Likewise.
55188         * libio/iofgetws.c (fgetws): Likewise.
55189         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
55190         * libio/iogetdelim.c (_IO_getdelim): Likewise.
55191         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
55192         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
55193         * locale/findlocale.c (_nl_find_locale): Likewise.
55194         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
55195         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
55196         Likewise.
55197         * locale/setlocale.c (setlocale): Likewise.
55198         * login/programs/pt_chown.c (main): Likewise.
55199         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
55200         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
55201         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
55202         (mmap, mmap64, mremap, munmap): Likewise.
55203         * math/e_exp2l.c: Likewise.
55204         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
55205         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
55206         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
55207         * math/s_catan.c (__catan): Likewise.
55208         * math/s_catanf.c (__catanf): Likewise.
55209         * math/s_catanh.c (__catanh): Likewise.
55210         * math/s_catanhf.c (__catanhf): Likewise.
55211         * math/s_catanhl.c (__catanhl): Likewise.
55212         * math/s_catanl.c (__catanl): Likewise.
55213         * math/s_ccosh.c (__ccosh): Likewise.
55214         * math/s_ccoshf.c (__ccoshf): Likewise.
55215         * math/s_ccoshl.c (__ccoshl): Likewise.
55216         * math/s_cexp.c (__cexp): Likewise.
55217         * math/s_cexpf.c (__cexpf): Likewise.
55218         * math/s_cexpl.c (__cexpl): Likewise.
55219         * math/s_clog10.c (__clog10): Likewise.
55220         * math/s_clog10f.c (__clog10f): Likewise.
55221         * math/s_clog10l.c (__clog10l): Likewise.
55222         * math/s_clog.c (__clog): Likewise.
55223         * math/s_clogf.c (__clogf): Likewise.
55224         * math/s_clogl.c (__clogl): Likewise.
55225         * math/s_csin.c (__csin): Likewise.
55226         * math/s_csinf.c (__csinf): Likewise.
55227         * math/s_csinh.c (__csinh): Likewise.
55228         * math/s_csinhf.c (__csinhf): Likewise.
55229         * math/s_csinhl.c (__csinhl): Likewise.
55230         * math/s_csinl.c (__csinl): Likewise.
55231         * math/s_csqrt.c (__csqrt): Likewise.
55232         * math/s_csqrtf.c (__csqrtf): Likewise.
55233         * math/s_csqrtl.c (__csqrtl): Likewise.
55234         * math/s_ctan.c (__ctan): Likewise.
55235         * math/s_ctanf.c (__ctanf): Likewise.
55236         * math/s_ctanh.c (__ctanh): Likewise.
55237         * math/s_ctanhf.c (__ctanhf): Likewise.
55238         * math/s_ctanhl.c (__ctanhl): Likewise.
55239         * math/s_ctanl.c (__ctanl): Likewise.
55240         * math/w_pow.c: Likewise.
55241         * math/w_powf.c: Likewise.
55242         * math/w_powl.c: Likewise.
55243         * math/w_scalb.c (sysv_scalb): Likewise.
55244         * math/w_scalbf.c (sysv_scalbf): Likewise.
55245         * math/w_scalbl.c (sysv_scalbl): Likewise.
55246         * misc/error.c (error_tail): Likewise.
55247         * misc/pselect.c (__pselect): Likewise.
55248         * nis/nis_callback.c (__nis_create_callback): Likewise.
55249         * nis/nis_call.c (__nisfind_server): Likewise.
55250         * nis/nis_creategroup.c (nis_creategroup): Likewise.
55251         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
55252         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
55253         * nis/nis_getservlist.c (nis_getservlist): Likewise.
55254         * nis/nis_lookup.c (nis_lookup): Likewise.
55255         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
55256         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
55257         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
55258         * nis/nis_xdr.c (xdr_endpoint): Likewise.
55259         * nis/nss_compat/compat-grp.c (getgrent_next_file)
55260         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
55261         * nis/nss_compat/compat-initgroups.c (add_group)
55262         (internal_getgrent_r): Likewise.
55263         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
55264         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
55265         * nis/nss_compat/compat-spwd.c (getspent_next_file)
55266         (internal_getspnam_r): Likewise.
55267         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
55268         (_nss_nis_getaliasbyname_r): Likewise.
55269         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
55270         (_nss_nis_getntohost_r): Likewise.
55271         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
55272         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
55273         (_nss_nis_getgrgid_r): Likewise.
55274         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
55275         (internal_nis_gethostent_r, internal_gethostbyname2_r)
55276         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
55277         (_nss_nis_gethostbyname4_r): Likewise.
55278         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
55279         (initgroups_netid): Likewise.
55280         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
55281         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
55282         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
55283         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
55284         (_nss_nis_getprotobynumber_r): Likewise.
55285         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
55286         (_nss_nis_getsecretkey): Likewise.
55287         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
55288         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
55289         (_nss_nis_getpwuid_r): Likewise.
55290         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
55291         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
55292         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
55293         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
55294         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
55295         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
55296         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
55297         Likewise.
55298         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
55299         (_nss_nisplus_getntohost_r): Likewise.
55300         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
55301         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
55302         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
55303         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
55304         Likewise.
55305         * nis/nss_nisplus/nisplus-initgroups.c
55306         (_nss_nisplus_initgroups_dyn): Likewise.
55307         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
55308         (_nss_nisplus_getnetbyaddr_r): Likewise.
55309         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
55310         (_nss_nisplus_getprotobynumber_r): Likewise.
55311         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
55312         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
55313         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
55314         Likewise.
55315         * nis/nss_nisplus/nisplus-service.c
55316         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
55317         (_nss_nisplus_getservbyport_r): Likewise.
55318         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
55319         (_nss_nisplus_getspnam_r): Likewise.
55320         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
55321         Likewise.
55322         * nscd/aicache.c (addhstaiX): Likewise.
55323         * nscd/cache.c (cache_search, prune_cache): Likewise.
55324         * nscd/connections.c (register_traced_file, send_ro_fd)
55325         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
55326         (main_loop_epoll): Likewise.
55327         * nscd/grpcache.c (addgrbyX): Likewise.
55328         * nscd/hstcache.c (addhstbyX): Likewise.
55329         * nscd/initgrcache.c (addinitgroupsX): Likewise.
55330         * nscd/mem.c (gc, mempool_alloc): Likewise.
55331         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
55332         (addinnetgrX): Likewise.
55333         * nscd/nscd-client.h (__nscd_acquire_maplock)
55334         (__nscd_drop_map_ref): Likewise.
55335         * nscd/nscd_getai.c (__nscd_getai): Likewise.
55336         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
55337         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
55338         Likewise.
55339         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
55340         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
55341         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
55342         (__nscd_get_map_ref): Likewise.
55343         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
55344         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
55345         Likewise.
55346         * nscd/pwdcache.c (addpwbyX): Likewise.
55347         * nscd/selinux.c (preserve_capabilities): Likewise.
55348         * nscd/servicescache.c (addservbyX): Likewise.
55349         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
55350         * posix/fnmatch.c (fnmatch): Likewise.
55351         * posix/getopt.c (_getopt_internal_r): Likewise.
55352         * posix/glob.c (glob, glob_in_dir): Likewise.
55353         * posix/wordexp.c (exec_comm_child): Likewise.
55354         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
55355         (getanswer_r, gaih_getanswer_slice): Likewise.
55356         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
55357         * resolv/res_init.c: Likewise.
55358         * resolv/res_mkquery.c (res_nmkquery): Likewise.
55359         * resolv/res_query.c (__libc_res_nquery): Likewise.
55360         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
55361         Likewise.
55362         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
55363         * stdio-common/perror.c (perror): Likewise.
55364         * stdio-common/printf_fp.c (___printf_fp): Likewise.
55365         * stdio-common/tmpnam.c (tmpnam): Likewise.
55366         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
55367         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
55368         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
55369         Likewise.
55370         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
55371         * stdlib/putenv.c (putenv): Likewise.
55372         * stdlib/setenv.c (__add_to_environ): Likewise.
55373         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
55374         * stdlib/strtol_l.c (INTERNAL): Likewise.
55375         * string/memmem.c (memmem): Likewise.
55376         * string/strerror.c (strerror): Likewise.
55377         * string/strnlen.c (__strnlen): Likewise.
55378         * string/test-memmem.c (simple_memmem): Likewise.
55379         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
55380         * sunrpc/pm_getport.c (__get_socket): Likewise.
55381         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
55382         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
55383         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
55384         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
55385         Likewise.
55386         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
55387         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
55388         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
55389         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
55390         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
55391         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
55392         Likewise.
55393         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
55394         Likewise.
55395         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
55396         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
55397         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
55398         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
55399         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
55400         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
55401         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
55402         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
55403         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
55404         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
55405         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
55406         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
55407         Likewise.
55408         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
55409         Likewise.
55410         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
55411         Likewise.
55412         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
55413         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
55414         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
55415         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
55416         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
55417         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
55418         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
55419         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
55420         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
55421         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
55422         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
55423         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
55424         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
55425         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
55426         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
55427         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
55428         Likewise.
55429         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
55430         Likewise.
55431         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
55432         Likewise.
55433         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
55434         Likewise.
55435         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
55436         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
55437         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
55438         Likewise.
55439         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
55440         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
55441         * sysdeps/posix/opendir.c (__opendirat): Likewise.
55442         * sysdeps/posix/sleep.c: Likewise.
55443         * sysdeps/posix/tempname.c: Likewise.
55444         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
55445         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
55446         Likewise.
55447         * sysdeps/powerpc/powerpc32/dl-machine.h
55448         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
55449         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
55450         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
55451         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
55452         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
55453         Likewise.
55454         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
55455         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
55456         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
55457         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
55458         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
55459         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
55460         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
55461         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
55462         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
55463         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
55464         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
55465         (elf_machine_lazy_rel): Likewise.
55466         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
55467         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
55468         (elf_machine_lazy_rel): Likewise.
55469         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
55470         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
55471         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
55472         * sysdeps/unix/grantpt.c (grantpt): Likewise.
55473         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
55474         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
55475         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
55476         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55477         Likewise.
55478         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
55479         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
55480         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
55481         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
55482         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
55483         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
55484         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
55485         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
55486         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
55487         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
55488         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
55489         Likewise.
55490         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
55491         (__posix_fallocate64_l64): Likewise.
55492         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
55493         (posix_fallocate): Likewise.
55494         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
55495         Likewise.
55496         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
55497         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
55498         (getifaddrs_internal): Likewise.
55499         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
55500         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
55501         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
55502         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
55503         * sysdeps/unix/sysv/linux/posix_fallocate64.c
55504         (__posix_fallocate64_l64): Likewise.
55505         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
55506         Likewise.
55507         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
55508         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
55509         (__get_clockfreq): Likewise.
55510         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
55511         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
55512         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
55513         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
55514         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
55515         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
55516         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
55517         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
55518         Likewise.
55519         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
55520         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
55521         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
55522         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
55523         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
55524         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
55525         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
55526         Likewise.
55527         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
55528         (posix_fallocate): Likewise.
55529         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
55530         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
55531         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
55532         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
55533         (elf_machine_rela, elf_machine_rela_relative)
55534         (elf_machine_lazy_rel): Likewise.
55535         * time/asctime.c (asctime_internal): Likewise.
55536         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
55537         * time/tzset.c (__tzset_parse_tz): Likewise.
55538         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
55539         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
55540         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
55541         * wcsmbs/wcsmbsload.h: Likewise.
55543         [BZ #15894]
55544         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
55546         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
55547         (arena_get2): Remove THREAD_STATS conditionals.
55548         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
55549         (__malloc_stats, int): Likewise.
55551 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
55553         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
55554         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
55556         * manual/setjmp.texi: Fix typos/grammar errors.
55558         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
55559         Only return early when n is <= 0.  Delete unused return statement.
55561         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
55562         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
55563         * debug/tst-longjmp_chk3.c: New file.
55565         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
55566         (test_main): Replace code with set_fortify_handler call.
55567         * debug/test-strcpy_chk.c: Likewise.
55568         * debug/tst-chk1.c: Likewise.
55569         * debug/tst-longjmp_chk.c: Likewise.
55570         * test-skeleton.c: Include fcntl.h & paths.h
55571         (set_fortify_handler): Define.
55573         * debug/tst-longjmp_chk.c: Add header comment and include
55574         ../test-skeleton.c.
55575         (do_test): Mark static.
55576         (TEST_FUNCTION): Define.
55578         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
55579         (IP_PMTUDISC_INTERFACE): Likewise.
55580         (IP_MULTICAST_IF): Likewise.
55581         (IP_MULTICAST_TTL): Likewise.
55582         (IP_MULTICAST_LOOP): Likewise.
55583         (IP_ADD_MEMBERSHIP): Likewise.
55584         (IP_DROP_MEMBERSHIP): Likewise.
55585         (IP_UNBLOCK_SOURCE): Likewise.
55586         (IP_BLOCK_SOURCE): Likewise.
55587         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
55588         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
55589         (IP_MSFILTER): Likewise.
55590         (MCAST_JOIN_GROUP): Likewise.
55591         (MCAST_BLOCK_SOURCE): Likewise.
55592         (MCAST_UNBLOCK_SOURCE): Likewise.
55593         (MCAST_LEAVE_GROUP): Likewise.
55594         (MCAST_JOIN_SOURCE_GROUP): Likewise.
55595         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
55596         (MCAST_MSFILTER): Likewise.
55597         (IP_MULTICAST_ALL): Likewise.
55598         (IP_UNICAST_IF): Likewise.
55600         * timezone/Makefile: Delete $(have-ksh) check.
55601         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
55602         * timezone/tzselect.ksh: Add +x mode bits.
55604         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
55605         (ANON_INODE_FS_MAGIC): Likewise.
55606         (BDEVFS_MAGIC): Likewise.
55607         (BINFMTFS_MAGIC): Likewise.
55608         (BTRFS_TEST_MAGIC): Likewise.
55609         (CRAMFS_MAGIC_WEND): Likewise.
55610         (DEBUGFS_MAGIC): Likewise.
55611         (ECRYPTFS_SUPER_MAGIC): Likewise.
55612         (EXT3_SUPER_MAGIC): Likewise.
55613         (EXT4_SUPER_MAGIC): Likewise.
55614         (FUTEXFS_SUPER_MAGIC): Likewise.
55615         (HOSTFS_SUPER_MAGIC): Likewise.
55616         (HUGETLBFS_MAGIC): Likewise.
55617         (MINIX3_SUPER_MAGIC): Likewise.
55618         (MTD_INODE_FS_MAGIC): Likewise.
55619         (NILFS_SUPER_MAGIC): Likewise.
55620         (OPENPROM_SUPER_MAGIC): Likewise.
55621         (PIPEFS_MAGIC): Likewise.
55622         (PSTOREFS_MAGIC): Likewise.
55623         (QNX6_SUPER_MAGIC): Likewise.
55624         (RAMFS_MAGIC): Likewise.
55625         (REISERFS_SUPER_MAGIC_STRING): Likewise.
55626         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
55627         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
55628         (SECURITYFS_MAGIC): Likewise.
55629         (SELINUX_MAGIC): Likewise.
55630         (SMACK_MAGIC): Likewise.
55631         (SOCKFS_MAGIC): Likewise.
55632         (SQUASHFS_MAGIC): Likewise.
55633         (STACK_END_MAGIC): Likewise.
55634         (TMPFS_MAGIC): Likewise.
55635         (USBDEVICE_SUPER_MAGIC): Likewise.
55636         (V9FS_MAGIC): Likewise.
55637         (XENFS_SUPER_MAGIC): Likewise.
55638         (CRAMFS_MAGIC): Fix typo in comment.
55639         (EXT2_SUPER_MAGIC): Update comment.
55640         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
55642 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
55644         * sysdeps/arm: Move directory from ports/sysdeps/arm.
55645         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
55646         * sysdeps/unix/sysv/linux/arm: Move directory from
55647         ports/sysdeps/unix/sysv/linux/arm.
55648         * README: Update listing for arm-*-linux-gnueabi.
55650         * README: Remove mention of am33.
55652 2014-02-07  Roland McGrath  <roland@hack.frob.com>
55654         * bits/sigset.h (__sigemptyset): Use a statement expression rather
55655         than the comma operator, to avoid "rhs of comma has no effect"
55656         compiler warnings.
55657         (__sigfillset, __sigandset, __sigorset): Likewise.
55658         * include/signal.h (__sigemptyset): Likewise.
55659         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
55661 2014-02-07  Allan McRae  <allan@archlinux.org>
55663         * version.h (RELEASE): Set to "development".
55664         (VERSION): Set to "2.19.90"
55665         * NEWS: Add 2.20 section.
55667 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
55669         [BZ #16529]
55670         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
55672 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
55674         * manual/contrib.texi: Update entry for Carlos O'Donell,
55675         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
55677 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
55679         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
55681         * sysdeps/unix/sysv/linux/kernel-features.h
55682         [__LINUX_KERNEL_VERSION >= 0x020621]
55683         (__ASSUME_PROC_PID_TASK_COMM): Define.
55685 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
55687         [BZ #16398]
55688         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
55689         conversion when destination buffer does not have enough space.
55690         * libio/tst-ftell-partial-wide.c: New test case.
55691         * libio/Makefile (tests): Add tst-ftell-partial-wide.
55693         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
55694         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
55695         Leonard and Allan McRae.
55697 2014-02-04  David S. Miller  <davem@davemloft.net>
55699         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
55700         32-bit.
55702 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
55705         New file
55706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
55707         New file
55708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
55709         New file.
55710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
55711         New file.
55712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
55713         New file.
55714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
55715         New file.
55716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
55717         New file.
55718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
55719         New file.
55720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
55721         New file.
55722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
55723         New file.
55724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
55725         New file.
55726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
55727         New file.
55728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
55729         New file.
55731 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55733         * nptl/shlib-versions: Change powerpc*le start to 2.17.
55734         * shlib-versions: Likewise.
55736 2014-02-04  Roland McGrath  <roland@hack.frob.com>
55737             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55739         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
55740         (abilist-pattern): New variable, set to %-le.abilist.
55742         * Makerules (abilist-pattern): New variable.
55743         (vpath): Use $(abilist-pattern) in place of %.abilist.
55744         (check-abi-% pattern rule): Likewise.
55745         (check-abi, update-abi): Likewise.
55747 2014-02-04  Eric Wong  <normalperson@yhbt.net>
55749         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55751 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
55753         * manual/startup.texi: Add next, previous, and top entries for
55754         the `Program Arguments' and `Environment Variables' nodes.
55756 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
55758         * manual/macros.texi: Add comments before MTASC-safety macros.
55760         * manual/users.texi: Document MTASC-safety properties.
55762         * manual/threads.texi (pthread_key_create, pthread_key_delete)
55763         (pthread_getspecific, pthread_setspecific): Format with
55764         @deftypefun, and add @safety note.
55765         * manual/signal.texi: Move comments that analyze the above
55766         functions to their home place.
55768 2014-02-03  Allan McRae  <allan@archlinux.org>
55770         * po/sl.po: Update Slovenian translation from translation project.
55772 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
55774         * manual/time.texi (timegm): Add missing blank after @c.
55775         Reported by Joseph Myers <joseph@codesourcery.com>.
55777 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
55779         * manual/check-safety.sh: New.
55780         * manual/Makefile ($(objpfx)stamp-summary): Run it.
55782         * manual/terminal.texi: Document MTASC-safety properties.
55784         * manual/filesys.texi: Document MTASC-safety properties.
55786         * manual/errno.texi: Document MTASC-safety properties.
55788         * manual/intro.texi: Document safety identifiers and
55789         conditionals.
55791         * manual/string.texi (wcstok): Fix prototype.
55792         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
55794         * manual/time.texi: Document MTASC-safety properties.
55796         * manual/string.texi: Document MTASC-safety properties.
55798         * manual/threads.texi: Document MTASC-safety properties.
55800         * manual/stdio.texi: Document MTASC-safety properties.
55802         * manual/syslog.texi: Document MTASC-safety properties.
55804         * manual/sysinfo.texi: Document MTASC-safety properties.
55806         * manual/startup.texi: Document MTASC-safety properties.
55808         * manual/socket.texi: Document MTASC-safety properties.
55810         * manual/signal.texi: Document MTASC-safety properties.
55812 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
55814         * manual/setjmp.texi: Document MTASC-safety properties.
55816         * manual/search.texi: Document MTASC-safety properties.
55818         * manual/resource.texi: Document MTASC-safety properties.
55820         * manual/process.texi: Document MTASC-safety properties.
55822         * manual/platform.texi: Document MTASC-safety properties.
55824         * manual/pipe.texi: Document MTASC-safety properties.
55826         * manual/pattern.texi: Document MTASC-safety properties.
55828         * manual/message.texi: Document MTASC-safety properties.
55830         [BZ #12751]
55831         * manual/memory.texi: Document MTASC-safety properties.
55833         * manual/math.texi: Document MTASC-safety properties.
55835         * manual/locale.texi: Document MTASC-safety properties.
55837         * manual/llio.texi: Document MTASC-safety properties.
55839         * manual/libdl.texi: New.
55841         * manual/lang.texi: Document MTASC-safety properties.
55843         * manual/job.texi: Document MTASC-safety properties.
55845         * manual/getopt.texi: Document MTASC-safety properties.
55847         * manual/ctype.texi: Document MTASC-safety properties.
55849 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
55851         [BZ #16046]
55852         * csu/libc-tls.c (static_map): Remove variable.
55853         (__libc_setup_tls): Use main executable's link map for TLS data.
55854         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
55855         casing for LM_ID_BASE and GL(dl_nns).
55856         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
55857         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
55858         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
55859         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
55860         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
55861         member.
55862         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
55863         l_phnum members.
55865 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
55867         * manual/debug.texi: Document MTASC-safety properties.
55869 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
55871         [BZ #16510]
55872         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
55873         of __x86_64__ when disabling x87 inline functions.
55875 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
55877         * manual/charset.texi: Document MTASC-safety properties.
55879         * manual/crypt.texi: Document MTASC-safety properties.
55881         * manual/conf.texi: Document MTASC-safety properties.
55883         * manual/arith.texi: Document MTASC-safety properties.
55885         * manual/argp.texi: Document MTASC-safety properties.
55887         * manual/macros.texi: Introduce macros to document multi
55888         thread, asynchronous signal and asynchronous cancellation
55889         safety properties.
55890         * manual/intro.texi: Introduce the properties themselves.
55892 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55894         * sysdeps/sh/sh4/Makefile: New file.
55896 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
55898         * math/gen-libm-test.pl ($srcdir): New variable.
55899         ($auto_input): Use it.
55901 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
55903         [BZ #16506]
55904         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
55905         access beyond array bounds when parsing netgroups file.
55907         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
55908         the old buffer before realloc.
55910 2014-01-27  Allan McRae  <allan@archlinux.org>
55912         * po/fr.po: Update French translation from translation project.
55914 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55916         * sysdeps/sh/libm-test-ulps: Regenerate.
55918 2014-01-24  David S. Miller  <davem@davemloft.net>
55920         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
55922 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55924         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
55925         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
55927 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
55929         [BZ #16474]
55930         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
55931         string pointers after reallocation.
55933 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55935         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
55936         __SH4A__ instead of __SH_FPU_ANY__.
55938 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55940         * sysdeps/sh/fpu_control.h: New file.
55941         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
55942         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
55943         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
55944         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
55945         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
55946         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
55947         * sysdeps/sh/sys/ucontext.h: Remove.
55948         * sysdeps/sh/sys: Remove directory.
55950 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55952         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
55953         s390/sys/ucontext.h.
55954         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
55955         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
55957 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
55959         [BZ #15605]
55960         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
55962 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55964         [BZ #16431]
55965         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
55966         Adjust the vDSO correctly for internal calls.
55967         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
55969 2014-01-20  Allan McRae  <allan@archlinux.org>
55971         * po/ca.po: Update Catalan translation from translation project.
55973 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
55975         * sysdeps/s390/sotruss-lib.c: New file.
55977 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55979         [BZ #16430]
55980         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
55981         (__GI___gettimeofday): Alias for a different internal symbol to avoid
55982         local calls issues by not having a PLT stub required for IFUNC calls.
55983         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
55985 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
55987         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
55988         * math/test-fpucw-static.c: Likewise.
55990 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
55992         [BZ #16453]
55993         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
55995 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55997         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
55998         implementation for powerpc.
56000 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
56002         [BZ #14782]
56003         * sysdeps/posix/system.c (__libc_system): Do not enable
56004         asynchronous cancellation.
56006 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56008         [BZ #16427]
56009         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
56010         handling only for numbers special also in the IEEE case.
56012 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56014         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
56016 2014-01-11  Allan McRae  <allan@archlinux.org>
56018         * po/bg.po: Update Bulgarian translation from translation project.
56020         * po/de.po: Update German translation from translation project.
56022 2014-01-10  Roland McGrath  <roland@hack.frob.com>
56024         * sysdeps/generic/gcc-compat.h: New file.
56026 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
56028         * benchtests/asin-inputs: Correct slow inputs.
56029         * benchtests/acos-inputs: Likewise.
56031 2014-01-10  Allan McRae  <allan@archlinux.org>
56033         * po:sv.po: Update Swedish translation from translation project.
56035         * po/vi.po: Update Vietnamese translation from translation project.
56037         * po/eo.po: Update Esperanto translation from translation project.
56039         * po/cs.po: Update Czech translation from translation project.
56041         * po/nl.po: Update Dutch translation from translation project.
56043         * po/pl.po: Update Polish translation from translation project.
56045         * po/ru.po: Update Russian translation from translation project.
56047         * po/uk.po: Update Ukrainian translation from translation project.
56049 2014-01-08  Brooks Moses  <bmoses@google.com>
56051         * elf/dl-load.c: Fix comment typo.
56053 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
56055         * po/header.pot: Rename to...
56056         * po/pot.header: ... this.
56057         * po/Makefile: Use pot.header.
56059 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
56060             Maxim Kuvyrkov  <maxim@kugelworks.com>
56062         [BZ #16394]
56063         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
56064         SRC and DEST against LEN.
56066 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56068         [BZ #16414]
56069         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
56070         implementation.
56071         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
56073 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56075         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56077 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
56079         [BZ #16408]
56080         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
56081         for large positive arguments.
56083 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
56085         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
56087         * math/auto-libm-test-in: Mark various tests with
56088         xfail-rounding:ldbl-128ibm.
56089         * math/auto-libm-test-out: Regenerated.
56091         [BZ #16407]
56092         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
56093         Increase overflow threshold.
56095 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
56097         [BZ #14286]
56098         * stdio-common/vfprintf.c: Check for integer overflow.
56100 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56102         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
56103         the first argument and return value of __tls_get_addr_internal.
56105 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56107         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
56108         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
56110 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56112         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
56113         * sysdeps/s390/rtld-global-offsets.sym: New file.
56114         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
56115         GLIBC_2.19 symbol.
56116         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
56117         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
56118         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
56119         ... this.
56120         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
56121         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
56122         ... this.
56123         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
56124         Regenerate.
56125         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
56126         Regenerate.
56127         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
56128         halfs of GPRs for high_gprs contexts.
56129         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
56130         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
56131         field.
56132         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
56133         uc_flags field.
56134         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
56135         64 bit versions:
56136         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
56137         for high GPRs (uc_high_gprs) and for future extensions
56138         (__reserved).
56139         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
56140         for future extensions (__reserved).
56141         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
56142         64 bit versions:
56143         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
56144         SC_HIGHGPRS offset definition.
56145         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
56146         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
56148         * Versions.def: Add GLIBC_2.19 for libpthread.
56149         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
56150         siglongjmp for libpthread with GLIBC_2.19 symver.
56151         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
56152         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
56153         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
56154         * sysdeps/s390/__longjmp.c: New file.
56155         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
56156         * sysdeps/s390/longjmp.c: New file.
56157         * sysdeps/s390/setjmp.S: New file.
56158         * sysdeps/s390/sigjmp.S: New file.
56159         * sysdeps/s390/v1-longjmp.c: New file.
56160         * sysdeps/s390/v1-setjmp.h: New file.
56161         * sysdeps/s390/v1-sigjmp.c: New file.
56162         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
56163         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
56164         GLIBC_2.19 version.
56165         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
56166         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
56167         versioned symbols for ____longjmp_chk.
56168         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
56169         Likewise.
56170         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
56171         Regenerate.
56172         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
56173         Regenerate.
56174         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
56175         Regenerate.
56176         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
56177         Regenerate.
56178         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
56179         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
56180         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
56181         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
56182         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
56183         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
56184         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
56185         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
56186         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
56187         * sysdeps/s390/rtld-__longjmp.c: New file.
56188         * sysdeps/s390/rtld-setjmp.S: New file.
56190 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
56192         [BZ #16400]
56193         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
56194         Return -__logl (x) for small positive arguments without evaluating
56195         a polynomial.
56197 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
56199         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
56200         Rename to ...
56201         (__ptrace_peeksiginfo_args): ... this.
56202         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
56203         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
56204         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
56206 2014-01-06  Allan McRae  <allan@archlinux.org>
56208         * inet/netinet/in.h: Fix typo in comment.
56210 2014-01-05  Andreas Jaeger  <aj@suse.de>
56212         * sysdeps/i386/fpu/libm-test-ulps: Update.
56214 2014-01-05  Allan McRae  <allan@archlinux.org>
56216         * po/libc.pot: Regenerated.
56218         * malloc/memusagestat.c: Fix gettext call formatting.
56220 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
56222         * nscd/nscd.c: Improve usage() output.
56224 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
56226         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
56227         * sysdeps/unix/sysv/linux/configure: Regenerated.
56228         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
56229         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
56231 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
56233         [BZ #16390]
56234         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
56235         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
56237 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56239         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
56240         extra tokens at end of #undef directive.
56241         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
56242         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
56243         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
56245 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
56247         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
56249         * math/auto-libm-test-in: Mark various tests with
56250         xfail-rounding:ldbl-128ibm.
56251         * math/auto-libm-test-out: Regenerated.
56253 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
56255         [BZ #16386]
56256         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
56257         numbers with subnormal high part when calculating exponent.
56259         [BZ #16385]
56260         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
56261         fabs.
56263         [BZ #16384]
56264         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
56265         M_LN2l.
56266         (__ieee754_acoshl): Use __log1pl not __log1p.
56268 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
56270         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
56271         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
56272         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
56273         (grow_heap, heap_trim, _int_new_arena, get_free_list)
56274         (reused_arena, arena_get2): Convert to GNU style.
56275         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
56276         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
56277         (memalign_check, __malloc_set_state): Likewise.
56278         * malloc/mallocbug.c (main): Likewise.
56279         * malloc/malloc.c (__malloc_assert, malloc_init_state)
56280         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
56281         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
56282         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
56283         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
56284         (__posix_memalign, malloc_info): Likewise.
56285         * malloc/malloc.h: Likewise.
56286         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
56287         (mallochook, memalignhook, reallochook, mabort): Likewise.
56288         * malloc/mcheck.h: Likewise.
56289         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
56290         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
56291         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
56292         * malloc/morecore.c (__default_morecore): Likewise.
56293         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
56294         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
56295         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
56296         (print_and_abort): Likewise.
56297         * malloc/obstack.h: Likewise.
56298         * malloc/set-freeres.c (__libc_freeres): Likewise.
56299         * malloc/tst-mallocstate.c (main): Likewise.
56300         * malloc/tst-mtrace.c (main): Likewise.
56301         * malloc/tst-realloc.c (do_test): Likewise.
56303 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
56305         [BZ #16366]
56306         * nscd/netgroupcache.c (do_notfound): New function.
56307         (addgetnetgrentX): Use it.
56309         [BZ # 16365]
56310         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
56311         NSS_STATUS_NOTFOUND.
56313 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
56315         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
56316         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56318 2014-01-01  Allan McRae  <allan@archlinux.org>
56320         * scripts/update-copyrights: Update configure input file suffix.
56322         * NEWS: Update copyright year.
56323         * catgets/gencat.c: Likewise.
56324         * csu/version.c: Likewise.
56325         * debug/catchsegv.sh: Likewise.
56326         * debug/pcprofiledump.c: Likewise.
56327         * debug/xtrace.sh: Likewise.
56328         * elf/ldconfig.c: Likewise.
56329         * elf/ldd.bash.in: Likewise.
56330         * elf/pldd.c: Likewise.
56331         * elf/sotruss.ksh: Likewise.
56332         * elf/sprof.c: Likewise.
56333         * iconv/iconv_prog.c: Likewise.
56334         * iconv/iconvconfig.c: Likewise.
56335         * locale/programs/locale.c: Likewise.
56336         * locale/programs/localedef.c: Likewise.
56337         * login/programs/pt_chown.c: Likewise.
56338         * malloc/memusage.sh: Likewise.
56339         * malloc/memusagestat.c: Likewise.
56340         * malloc/mtrace.pl: Likewise.
56341         * manual/libc.texinfo: Likewise.
56342         * nscd/nscd.c: Likewise.
56343         * nss/getent.c: Likewise.
56344         * nss/makedb.c: Likewise.
56345         * posix/getconf.c: Likewise.
56346         * scripts/test-installation.pl: Likewise.
56348         * All files with FSF copyright notices: Update copyright dates
56349         using scripts/update-copyrights.
56350         * intl/plural.c: Regenerated.
56351         * locale/programs/charmap-kw.h: Likewise.
56352         * locale/programs/locfile-kw.h: Likewise.
56354 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
56356         * sysdeps/unix/sysv/linux/configure: Regenerated.
56357         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
56358         the linux/fanotify.h header.
56359         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
56360         HAVE_LINUX_FANOTIFY_H is defined.
56362 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
56364         * benchtests/cos-inputs: New inputs.
56365         * benchtests/sin-inputs: Likewise.
56367         * benchtests/atan-inputs: New inputs. Fix name of multiple
56368         precision fallback inputs.
56370         * benchtests/atanh-inputs: New inputs.
56371         * benchtests/tanh-inputs: Likewise.
56373         * benchtests/acosh-inputs: New inputs.
56374         * benchtests/asinh-inputs: Likewise.
56376         * benchtests/cosh-inputs: New inputs.
56377         * benchtests/sinh-inputs: Likewise.
56379         * benchtests/acos-inputs: Add more inputs.
56380         * benchtests/asin-inputs: Likewise.
56382 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
56384         [BZ #16375]
56385         * manual/arith.texi: Fix spelling.
56386         * manual/charset.texi: Likewise.
56387         * manual/errno.texi: Likewise.
56388         * manual/filesys.texi: Likewise.
56389         * manual/lang.texi: Likewise.
56390         * manual/llio.texi: Likewise.
56391         * manual/locale.texi: Likewise.
56392         * manual/message.texi: Likewise.
56393         * manual/resource.texi: Likewise.
56394         * manual/search.texi: Likewise.
56395         * manual/setjmp.texi: Likewise.
56396         * manual/stdio.texi: Likewise.
56397         * manual/string.texi: Likewise.
56398         * manual/sysinfo.texi: Likewise.
56399         * manual/time.texi: Likewise.
56401 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
56403         * po/sl.po: New file.
56405 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
56407         * .gitignore: Add core/.gdbinit/.gdb_history.
56409 2013-12-27  Allan McRae  <allan@archlinux.org>
56411         [BZ #16369]
56412         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
56413         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
56415 2013-12-24  Brooks Moses  <bmoses@google.com>
56417         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
56418         all compilers that claim C++98 compliance, not just GCC.
56419         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
56420         Likewise.
56422 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
56424         * NEWS: Restore accidentally deleted bug-fix entries.
56426 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
56427             Ondřej Bílka  <neleai@seznam.cz>
56429         [BZ #15073]
56430         * malloc/malloc.c (_int_free): Perform sanity check only if we
56431         have_lock.
56433 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
56435         [BZ #12986]
56436         * manual/stdio.texi (String Input Conversions): Clarify that character
56437         classes are not supported.
56439 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56441         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56443 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
56445         [BZ #16337]
56446         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
56447         Calculate results for small negative arguments directly rather
56448         than using reflection formula with special underflow handling.
56450         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
56451         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
56452         sysdeps/unix/bsd/bsd4.4/syscalls.list.
56453         (fchflags): Likewise.
56454         (revoke): Likewise.
56455         (setlogin): Likewise.
56456         (sigaltstack): Likewise.
56457         (wait4): Likewise.
56458         (sigblock): Remove.
56459         (sigsetmask): Likewise.
56460         (wait3): Likewise.
56461         (waitpid): Likewise.
56462         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
56463         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
56464         file.
56465         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
56466         * sysdeps/unix/bsd/Makefile: ... here.
56467         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
56468         * sysdeps/unix/bsd/Versions: ... here.
56469         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
56470         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
56471         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
56472         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
56473         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
56474         * sysdeps/unix/bsd/sigblock.c: ... here.
56475         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
56476         * sysdeps/unix/bsd/sigsetmask.c: ... here.
56477         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
56478         * sysdeps/unix/bsd/sigvec.c: ... here.
56479         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
56480         * sysdeps/unix/bsd/tcdrain.c: ... here.
56481         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
56482         * sysdeps/unix/bsd/tcgetattr.c: ... here.
56483         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
56484         * sysdeps/unix/bsd/tcsetattr.c: ... here.
56485         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
56486         * sysdeps/unix/bsd/wait.c: ... here.
56487         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
56488         * sysdeps/unix/bsd/wait3.c: ... here.
56489         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
56490         * sysdeps/unix/bsd/waitpid.c: ... here.
56492 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
56494         [BZ #16356]
56495         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
56496         round-to-nearest for [!USE_AS_EXPM1L].
56497         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
56498         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
56499         more tests of exp and exp10.  Expect some exp10 tests to miss
56500         exceptions or fail in directed rounding modes.
56501         * math/auto-libm-test-out: Regenerated.
56502         * math/libm-test.inc (exp10_tonearest_test_data): New array.
56503         (exp10_test_tonearest): New function.
56504         (exp10_towardzero_test_data): New array.
56505         (exp10_test_towardzero): New function.
56506         (exp10_downward_test_data): New array.
56507         (exp10_test_downward): New function.
56508         (exp10_upward_test_data): New array.
56509         (exp10_test_upward): New function.
56510         (main): Call the new functions.
56511         * sysdeps/i386/fpu/libm-test-ulps: Update.
56512         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56514 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
56516         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
56517         asinh, atan, atan2, atanh, cbrt, cos and cosh.
56518         * math/auto-libm-test-out: Regenerated.
56519         * math/libm-test.inc (acosh_test_data): Add more tests.
56520         (atanh_test_data): Likewise.
56521         (ceil_test_data): Likewise.
56522         (copysign_test_data): Likewise.
56523         * sysdeps/i386/fpu/libm-test-ulps: Update.
56524         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56526         * timezone/checktab.awk: Update from tzcode 2013i.
56527         * timezone/private.h: Likewise.
56528         * timezone/scheck.c: Likewise.
56529         * timezone/tzfile.h: Likewise.
56530         * timezone/tzselect.ksh: Likewise.
56531         * timezone/zdump.c: Likewise.
56532         * timezone/zic.c: Likewise.
56534         * math/auto-libm-test-in: Add tests of cpow.
56535         * math/auto-libm-test-out: Regenerated.
56536         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
56537         * math/gen-auto-libm-tests.c (func_calc_method): Add value
56538         mpc_cc_c.
56539         (func_calc_desc): Add mpc_cc_c union field.
56540         (test_functions): Add cpow.
56541         (special_fill_2pi): New function.
56542         (special_real_inputs): Add 2pi.
56543         (calc_generic_results): Handle mpc_cc_c.
56544         * sysdeps/i386/fpu/libm-test-ulps: Update.
56545         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56547         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
56548         csqrt, ctan and ctanh.
56549         * math/auto-libm-test-out: Regenerated.
56550         * math/libm-test.inc (TEST_COND_x86_64): New macro.
56551         (TEST_COND_x86): Likewise.
56552         (ccos_test_data): Use AUTO_TESTS_c_c.
56553         (ccosh_test_data): Likewise.
56554         (cexp_test_data): Likewise.
56555         (clog_test_data): Likewise.
56556         (csqrt_test_data): Likewise.
56557         (ctan_test_data): Likewise.
56558         (ctan_tonearest_test_data): Likewise.
56559         (ctan_towardzero_test_data): Likewise.
56560         (ctan_downward_test_data): Likewise.
56561         (ctan_upward_test_data): Likewise.
56562         (ctanh_test_data): Likewise.
56563         (ctanh_tonearest_test_data): Likewise.
56564         (ctanh_towardzero_test_data): Likewise.
56565         (ctanh_downward_test_data): Likewise.
56566         (ctanh_upward_test_data): Likewise.
56567         * math/gen-auto-libm-tests.c (func_calc_method): Add value
56568         mpc_c_c.
56569         (func_calc_desc): Add mpc_c_c union field.
56570         (FUNC_mpc_c_c): New macro.
56571         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
56572         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
56573         ctanh.
56574         (special_fill_min_subnorm_p120): New function.
56575         (special_real_inputs): Add min_subnorm_p120.
56576         (calc_generic_results): Handle mpc_c_c.
56577         * sysdeps/i386/fpu/libm-test-ulps: Update.
56578         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56580 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
56582         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
56583         (do_sin_slow): New functions.
56584         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
56585         (cslow2, csloww1, csloww2): Use the new functions.
56587         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
56588         Use M to change sign of result instead of X.  Assume X is
56589         positive.
56590         (csloww1): Likewise.
56591         (__sin): Adjust.
56592         (__cos): Adjust.
56594         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
56595         arguments A and DA.
56596         (__sin): Adjust.
56597         (__cos): Likewise.
56599         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
56600         (__cos): Likewise.
56601         (sloww1): Don't adjust sign of DX.
56602         (csloww1): Likewise.
56603         (sloww2): Use X directly and don't adjust sign of DX.
56604         (csloww2): Likewise.
56606 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
56608         * math/auto-libm-test-in: Add tests of cabs and carg.
56609         * math/auto-libm-test-out: Regenerated.
56610         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
56611         (carg_test_data): Likewise.
56612         * math/gen-auto-libm-tests.c (func_calc_method): Add value
56613         mpc_c_f.
56614         (func_calc_desc): Add mpc_c_f union field.
56615         (test_functions): Add cabs and carg.
56616         (calc_generic_results): Handle mpc_c_f.
56618         * sysdeps/powerpc/powerpc32/libgcc-compat.S
56619         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
56620         as a macro and a compat symbol.
56621         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
56622         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
56623         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
56624         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
56625         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
56626         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
56627         not use .hidden.
56628         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
56629         Likewise.
56630         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
56631         Likewise.
56632         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
56633         Likewise.
56634         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
56635         Likewise.
56636         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
56637         Likewise.
56638         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
56639         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
56640         from GLIBC_2.3.2.
56642 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56644         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56646 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
56648         * manual/texinfo.tex: Update to version 2013-11-26.10 with
56649         trailing whitespace removed.
56650         * scripts/config.guess: Update to version 2013-11-29.
56651         * scripts/config.sub: Update to version 2013-10-01.
56653         * math/auto-libm-test-in: Add tests of sincos.
56654         * math/auto-libm-test-out: Regenerated.
56655         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
56656         * math/gen-auto-libm-tests.c (func_calc_method): Add value
56657         mpfr_f_11.
56658         (func_calc_desc): Add mpfr_f_11 union field.
56659         (test_functions): Add sincos.
56660         (calc_generic_results): Handle mpfr_f_11.
56661         * sysdeps/i386/fpu/libm-test-ulps: Update.
56662         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56664 2013-12-19  Andreas Schwab  <schwab@suse.de>
56666         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
56667         CALL_MCOUNT.
56668         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
56669         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
56670         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
56672 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
56674         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
56675         * sysdeps/i386/fpu/libm-test-ulps: Update.
56676         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56678         [BZ #16293]
56679         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
56680         round-to-nearest mode when using frndint.
56681         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
56682         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
56683         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
56684         Likewise.
56685         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
56686         sinh test to fail.
56687         * math/auto-libm-test-out: Regenerated.
56688         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
56689         (TEST_COND_x86): Likewise.
56690         (expm1_tonearest_test_data): New array.
56691         (expm1_test_tonearest): New function.
56692         (expm1_towardzero_test_data): New array.
56693         (expm1_test_towardzero): New function.
56694         (expm1_downward_test_data): New array.
56695         (expm1_test_downward): New function.
56696         (expm1_upward_test_data): New array.
56697         (expm1_test_upward): New function.
56698         (main): Run the new test functions.
56699         * sysdeps/i386/fpu/libm-test-ulps: Update.
56700         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56702         * include/features.h: Update comment documenting feature test
56703         macros.  Mention _DEFAULT_SOURCE in comment.
56704         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
56705         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
56706         _BSD_SOURCE and _SVID_SOURCE.
56707         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
56708         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
56709         !_SVID_SOURCE]: Likewise.
56710         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
56711         (__USE_POSIX_IMPLICITLY): Define.
56712         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
56713         (_POSIX_SOURCE): Undefine and redefine.
56714         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
56715         (_POSIX_C_SOURCE): Likewise.
56716         * manual/creature.texi (_DEFAULT_SOURCE): Document.
56717         (Feature Test Macros): Update documentation of default features.
56719 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
56721         * benchtests/Makefile: Add bench-strtok.
56722         * benchtests/bench-strtok.c: New file: strtok benchtest.
56724 2013-12-19  Allan McRae  <allan@archlinux.org>
56726         * manual/install.texi: Suppress menu for plain text output.
56727         * INSTALL: Regenerated.
56729 2013-12-18  Brooks Moses  <bmoses@google.com>
56731         [BZ #15846]
56732         * misc/getauxval.c: Include errno.h.
56733         (__getauxval): Set errno to ENOENT if the requested type is not
56734         found.
56735         * misc/sys/auxv.h (getauxval): Document that it may set errno;
56736         don't declare with __attribute_const__.
56737         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
56738         * manual/startup.texi: Document that getauxval sets errno.
56740 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
56742         * math/auto-libm-test-in: Add tests of jn and yn.
56743         * math/auto-libm-test-out: Regenerated.
56744         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
56745         (yn_test_data): Likewise.
56746         * math/gen-auto-libm-tests.c (func_calc_method): Add value
56747         mpfr_if_f.
56748         (func_calc_desc): Add mpfr_if_f union field.
56749         (FUNC_mpfr_if_f): New macro.
56750         (test_functions): Add jn and yn.
56751         (calc_generic_results): Assert type of second input for
56752         mpfr_ff_f.  Handle mpfr_if_f.
56753         (output_for_one_input_case): Disable all checking for arguments
56754         fitting floating-point types in case of an integer argument.
56755         * sysdeps/i386/fpu/libm-test-ulps: Update.
56756         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
56759         Don't expect fegetround reference in libm.so.
56761 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
56763         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
56764         $(config-cflags-nofma).
56766 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
56768         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
56769         * math/auto-libm-test-out: Regenerated.
56771         [BZ #16338]
56772         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
56773         to determine exponent and adjust argument to have exponent of -1.
56774         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
56775         log2.
56776         * math/auto-libm-test-out: Regenerated.
56777         * sysdeps/i386/fpu/libm-test-ulps: Update.
56778         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56780 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
56782         * manual/probes.texi: Remove cases when per-thread arenas are
56783         disabled.
56785 2013-12-18  Andreas Schwab  <schwab@suse.de>
56787         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
56788         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
56789         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
56790         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
56791         * sysdeps/i386/i686/multiarch/Makefile: Update.
56792         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
56794 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
56796         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
56797         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
56799 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
56801         [BZ #15968]
56802         Support TZ transition times < 00:00:00.
56803         This is needed for version-3 tz-format files; it supports time
56804         stamps past 2037 for America/Godthab (the only entry in the tz
56805         database for which this change is relevant).
56806         * manual/time.texi (TZ Variable): Document transition times
56807         from -167:59:59 through -00:00:01.
56808         * time/tzset.c (tz_rule): Time of day is now signed.
56809         (__tzset_parse_tz): Parse negative time of day.
56811         Document TZ transition times >= 25:00:00.
56812         * manual/time.texi (TZ Variable): Document transition times from
56813         25:00:00 through 167:59:59.  These are already supported, and this
56814         support will help with version-3 tz-format files.
56816         * manual/time.texi (TZ Variable): Modernize North America example
56817         to reflect current (i.e., 2007-and-later) daylight saving rules.
56819         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
56821 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
56823         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
56824         * sysdeps/unix/bsd/bits/stat.h: Likewise.
56825         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
56826         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
56827         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
56828         * sysdeps/unix/bsd/bsdstat.h: Likewise.
56829         * sysdeps/unix/bsd/clock.c: Likewise.
56830         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
56831         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
56832         * sysdeps/unix/bsd/init-posix.c: Likewise.
56833         * sysdeps/unix/bsd/poll.c: Likewise.
56834         * sysdeps/unix/bsd/ptsname.c: Likewise.
56835         * sysdeps/unix/bsd/seekdir.c: Likewise.
56836         * sysdeps/unix/bsd/setegid.c: Likewise.
56837         * sysdeps/unix/bsd/seteuid.c: Likewise.
56838         * sysdeps/unix/bsd/setgid.c: Likewise.
56839         * sysdeps/unix/bsd/setrgid.c: Likewise.
56840         * sysdeps/unix/bsd/setruid.c: Likewise.
56841         * sysdeps/unix/bsd/setsid.c: Likewise.
56842         * sysdeps/unix/bsd/setuid.c: Likewise.
56843         * sysdeps/unix/bsd/sigaction.c: Likewise.
56844         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
56845         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
56846         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
56847         * sysdeps/unix/bsd/telldir.c: Likewise.
56848         * sysdeps/unix/bsd/times.c: Likewise.
56849         * sysdeps/unix/bsd/usleep.c: Likewise.
56851         * misc/Makefile (install-lib): Remove libbsd-compat.a.
56852         ($(objpfx)libbsd-compat.a): Remove rule.
56854         * include/features.h (__FAVOR_BSD): Do not define.
56855         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
56856         features conflicting with POSIX.
56857         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
56858         (_BSD_SOURCE): Remove description of not being a subset of other
56859         feature test macros.
56860         * manual/job.texi (getpgrp): Do not document BSD version.
56861         (getpgid): Do not document by reference to BSD getpgrp.
56862         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
56863         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
56864         * signal/signal.h [__FAVOR_BSD]: Likewise.
56865         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
56866         instead of making contents conditional on [__FAVOR_BSD].
56867         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
56869 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56871         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56873 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
56875         [BZ #16314]
56876         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
56877         values below 2**-450, not 2**-500.
56878         * math/auto-libm-test-in: Don't allow spurious underflow from
56879         hypot.
56880         * math/auto-libm-test-out: Regenerated.
56882         [BZ #16316]
56883         [BZ #16330]
56884         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
56885         values of ha and hb and sort them after adjusting subnormal
56886         arguments.
56887         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
56888         Likewise.
56889         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
56890         values of ea and eb and sort them after adjusting subnormal
56891         arguments.
56892         * math/auto-libm-test-in: Do not expect some hypot tests of
56893         subnormals to fail.  Add more hypot tests.
56894         * math/auto-libm-test-out: Regenerated.
56896 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56898         [BZ #13304]
56899         * sysdeps/sh/s_fma.c: New file.
56900         * sysdeps/sh/s_fmaf.c: New file.
56901         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
56902         version.
56903         * sysdeps/sh/Implies: Add sh/soft-fp.
56905 2013-12-16  Roland McGrath  <roland@hack.frob.com>
56907         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
56908         level of indirection to members `objname', `errstring', `malloced'.
56909         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
56910         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
56911         it as the __longjmp argument (just pass 1 instead).
56912         (_dl_catch_error): Initialize C with argument pointers and address of
56913         volatile local ERRCODE rather than copying values out of C at return.
56915 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
56917         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
56918         * math/auto-libm-test-out: Regenerated.
56919         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
56920         (hypot_test_data): Likewise.
56921         (pow_test_data): Likewise.
56922         (pow_tonearest_test_data): Likewise.
56923         * math/gen-auto-libm-tests.c (func_calc_method): Add value
56924         mpfr_ff_f.
56925         (func_calc_desc): Add mpfr_ff_f union field.
56926         (FUNC_mpfr_ff_f): New macro.
56927         (test_functions): Add atan2, hypot and pow.
56928         (special_fill_min): New function.
56929         (special_fill_minus_min): Likewise.
56930         (special_fill_min_subnorm): Likewise.
56931         (special_fill_minus_min_subnorm): Likewise.
56932         (special_real_inputs): Add min, -min, min_subnorm and
56933         -min_subnorm.
56934         (calc_generic_results): Handle mpfr_ff_f.
56935         * sysdeps/i386/fpu/libm-test-ulps: Update.
56936         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56938 2013-12-16  Will Newton  <will.newton@linaro.org>
56940         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
56941         (Aligned Memory Blocks): Add documentation for aligned_alloc
56942         and suggest it as an alternative to posix_memalign.
56943         (Hooks for Malloc): Document __memalign_hook is also called
56944         for aligned_alloc.  (Summary of Malloc): Add summary for
56945         aligned alloc.  Document __memalign_hook is also called
56946         for aligned_alloc.
56948 2013-12-16  Will Newton  <will.newton@linaro.org>
56950         * manual/memory.texi (Malloc Examples): Clarify default
56951         alignment documentation.  Suggest posix_memalign rather
56952         than memalign or valloc.
56953         (Aligned Memory Blocks): Remove suggestion to use memalign
56954         or valloc.  Remove obsolete comment about BSD.
56955         Document memalign errno values and mark the function obsolete.
56956         Document posix_memalign returned error codes.  Mark valloc
56957         as obsolete.  (Hooks for Malloc): __memalign_hook is also
56958         called for posix_memalign and valloc.
56959         (Summary of Malloc): Add posix_memalign to function summary.
56960         __memalign_hook is also called for posix_memalign and valloc.
56962 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
56964         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
56965         TAYLOR_SIN.
56966         (__sin): Adjust.
56967         (__cos): Likewise.
56968         (sloww): Use mynumber union.  Expand ternary operator into
56969         if-else statements.
56970         (cslow): use mynumber union.
56972 2013-12-16  Allan McRae  <allan@archlinux.org>
56974         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
56975         * configure: Regenerated.
56977         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
56979         [BZ #14120]
56980         * configure.ac: Added --enable-maintainer-mode. Check for
56981         autoconf when enabled.
56982         * configure: Regenerated.
56984         * nscd/nscd.service: New file.
56985         * nscd/nscd.tmpfiles: New file.
56987 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
56989         [BZ #12100]
56990         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
56991         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
56992         * sysdeps/x86_64/multiarch/strstr.c: ... here.
56993         (strstr): Add __strstr_sse2_unaligned ifunc.
56994         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
56995         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
56996         (strcasestr): Remove __strcasestr_sse42 ifunc.
56997         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
56998         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
56999         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
57001 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
57003         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
57004         * sysdeps/sh/bits/fenv.h: ... here.
57005         * sysdeps/sh/sh4/fpu/bits: Remove directory.
57007 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57009         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
57011         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
57012         hypotf multiarch implementations.
57013         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
57014         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
57015         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
57016         multiarch hypot for PPC64.
57017         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
57018         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
57019         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
57020         multiarch hypotf for PPC64.
57022         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
57023         modff multiarch implementations.
57024         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
57025         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
57026         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
57027         multiarch modf for PPC64.
57028         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
57029         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
57030         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
57031         multiarch modff for PPC64.
57033         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
57034         and logl multiarch implementations.
57035         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
57036         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
57037         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
57038         multiarch logb for PPC64.
57039         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
57040         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
57041         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
57042         multiarch logb for PPC64.
57043         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
57044         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
57045         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
57046         multiarch logb for PPC64.
57048         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
57049         isinff multiarch implementation.
57050         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
57051         file.
57052         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
57053         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
57054         multiarch isinf for PPC64.
57055         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
57056         file.
57057         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
57058         multiarch isinff for PPC64.
57060         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
57061         finitef multiarch implementation.
57062         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
57063         file.
57064         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
57065         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
57066         multiarch finite for PPC64.
57067         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
57068         file.
57069         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
57070         multiarch finitef for PPC64.
57072         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
57073         lrint multiarch implementation.
57074         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
57075         file.
57076         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
57077         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
57078         multiarch llrint for PPC64.
57079         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
57080         multiarch lrint for PPC64.
57082         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
57083         copysignf multiarch implementation.
57084         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
57085         file.
57086         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
57087         file.
57088         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
57089         multiarch copysign for PPC64.
57090         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
57091         multiarch copysignf for PPC64.
57093         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
57094         multiarch implementation.
57095         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
57096         file.
57097         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
57098         file.
57099         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
57100         file.
57101         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
57102         file.
57103         multiarch llround for PPC64.
57104         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
57105         multiarch trunc for PPC64.
57106         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
57107         multiarch truncf for PPC64.
57109         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
57110         multiarch implementation.
57111         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
57112         file.
57113         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
57114         file.
57115         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
57116         file.
57117         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
57118         file.
57119         multiarch llround for PPC64.
57120         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
57121         multiarch round for PPC64.
57122         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
57123         multiarch roundf for PPC64.
57125         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
57126         multiarch implementation.
57127         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
57128         file.
57129         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
57130         file.
57131         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
57132         file.
57133         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
57134         file.
57135         multiarch llround for PPC64.
57136         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
57137         multiarch floor for PPC64.
57138         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
57139         multiarch floorf for PPC64.
57141         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
57142         multiarch implementation.
57143         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
57144         file.
57145         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
57146         file.
57147         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
57148         file.
57149         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
57150         file.
57151         multiarch llround for PPC64.
57152         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
57153         multiarch ceil for PPC64.
57154         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
57155         multiarch ceilf for PPC64.
57157         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
57158         multiarch implementation.
57159         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
57160         file.
57161         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
57162         file.
57163         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
57164         file.
57165         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
57166         multiarch llround for PPC64.
57167         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
57168         multiarch lround for PPC64.
57170         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
57171         multiarch implementation.
57172         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
57173         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
57174         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
57175         file.
57176         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
57177         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
57178         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
57179         multiarch isnan for PPC64.
57180         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
57181         multiarch isnanf for PPC64.
57183         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
57184         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
57185         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
57186         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
57187         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
57188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
57190         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
57191         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
57192         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
57193         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
57195         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
57196         multiarch implementations.
57197         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57198         (__libc_ifunc_impl_list): Likewise.
57199         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
57200         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
57201         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
57202         multiarch stpcpy for PPC64.
57204         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
57205         multiarch implementations.
57206         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57207         (__libc_ifunc_impl_list): Likewise.
57208         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
57209         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
57210         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
57211         multiarch strcpy for PPC64.
57213         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
57214         redefine function name.
57215         (_wordcopy_fwd_dest_aligned): Likewise.
57216         (_wordcopy_bwd_aligned): Likewise.
57217         (_wordcopy_bwd_dest_aligned): Likewise.
57218         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
57219         multiarch implementations.
57220         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57221         (__libc_ifunc_impl_list): Likewise.
57222         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
57223         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
57224         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
57225         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
57226         multiarch wcscpy for PPC64.
57228         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
57229         multiarch implementations.
57230         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57231         (__libc_ifunc_impl_list): Likewise.
57232         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
57233         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
57234         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
57235         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
57236         multiarch wcscpy for PPC64.
57238         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
57239         multiarch implementations.
57240         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57241         (__libc_ifunc_impl_list): Likewise.
57242         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
57243         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
57244         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
57245         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
57246         multiarch wcsrchr for PPC64.
57248         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
57249         multiarch implementations.
57250         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57251         (__libc_ifunc_impl_list): Likewise.
57252         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
57253         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
57254         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
57255         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
57256         multiarch wcschr for PPC64.
57258         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
57259         multiarch implementations.
57260         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57261         (__libc_ifunc_impl_list): Likewise.
57262         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
57263         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
57264         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
57265         multiarch strchrnul for PPC64.
57267         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
57268         implementations.
57269         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57270         (__libc_ifunc_impl_list): Likewise.
57271         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
57272         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
57273         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
57274         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
57275         strchr for PPC64.
57277         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
57278         implementations.
57279         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57280         (__libc_ifunc_impl_list): Likewise.
57281         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
57282         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
57283         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
57284         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
57285         strncmp for PPC64.
57287         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
57288         multiarch implementations.
57289         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57290         (__libc_ifunc_impl_list): Likewise.
57291         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
57292         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
57293         strncasecmp for PPC64.
57294         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
57295         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
57296         multiarch strncasecmp_l for PPC64.
57298         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
57299         multiarch implementations.
57300         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
57301         (__libc_ifunc_impl_list): Likewise.
57302         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
57303         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
57304         multiarch strcasecmp for PPC64.
57305         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
57306         file.
57307         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
57308         multiarch strcasecmp_l for PPC64.
57310         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
57311         implementations.
57312         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57313         (__libc_ifunc_impl_list): Likewise.
57314         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
57315         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
57316         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
57317         strnlen for PPC64.
57319         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
57320         implementations.
57321         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57322         (__libc_ifunc_impl_list): Likewise.
57323         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
57324         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
57325         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
57326         strlen for PPC64.
57328         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
57329         implementations.
57330         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57331         (__libc_ifunc_impl_list): Likewise.
57332         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
57333         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
57334         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
57335         rawmemrchr for PPC64.
57337         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
57338         implementation.
57339         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57340         (__libc_ifunc_impl_list): Likewise.
57341         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
57342         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
57343         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
57344         memrchr for PPC64.
57346         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
57347         implementation.
57348         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57349         (__libc_ifunc_impl_list): Likewise.
57350         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
57351         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
57352         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
57353         memchr for PPC64.
57355         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
57356         implementation.
57357         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57358         (__libc_ifunc_impl_list): Likewise.
57359         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
57360         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
57361         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
57362         mempcpy for PPC64.
57364         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
57365         avoid cretion of __bzero symbol.
57366         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
57367         Likewise.
57368         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
57369         Likewise.
57370         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
57371         Likewise.
57372         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
57373         multiarch implementations.
57374         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57375         (__libc_ifunc_impl_list): Likewise.
57376         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
57377         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
57378         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
57379         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
57380         bzero for PPC32.
57381         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
57382         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
57383         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
57384         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
57385         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
57386         memset for PPC64.
57387         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
57389         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
57390         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
57391         implementations.
57392         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57393         (__libc_ifunc_impl_list): Likewise.
57394         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
57395         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
57396         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
57397         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
57398         memcmp for PPC64.
57400         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
57401         multiarch for POWER/PPC64.
57402         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
57403         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
57404         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
57405         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
57406         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
57407         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
57408         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
57409         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
57410         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
57411         memcpy for PPC64.
57413         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
57414         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
57415         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
57416         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
57417         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
57418         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
57419         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
57420         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
57421         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
57422         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
57423         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
57424         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
57425         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
57426         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
57427         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
57428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
57429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
57430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
57431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
57432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
57433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
57434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
57436 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
57438         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
57440 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
57442         * benchtests/Makefile (bench): Add exp2 and log2.
57443         (LDLIBS-bench-exp2): Add -lm.
57444         (LDLIBS-bench-log2): Likewise.
57445         * benchtests/exp2-inputs: New inputs file.
57446         * benchtests/log2-inputs: New inputs file.
57447         * benchtests/log-inputs: Add new inputs.
57448         * benchtests/tan-inputs: Likewise.
57450 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
57452         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
57453         definition...
57454         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
57455         (csloww2): ... from here.
57457         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
57458         instead of structures.
57459         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
57460         (POLYNOMIAL): Likewise.
57461         (TAYLOR_SLOW): Likewise.
57462         (__sin): Likewise.
57463         (__cos): Likewise.
57464         (slow1): Likewise.
57465         (slow2): Likewise.
57466         (sloww): Likewise.
57467         (sloww1); Likewise.
57468         (sloww2): Likewise.
57469         (bsloww1): Likewise.
57470         (bsloww2): Likewise.
57471         (cslow2): Likewise.
57472         (csloww): Likewise.
57473         (csloww1): Likewise.
57474         (csloww2): Likewise.
57476 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
57478         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57479         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
57480         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
57481         * malloc/hooks.c (realloc_check): Likewise.
57483         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
57484         * malloc/arena.c: Remove PER_THREAD conditional.
57485         [!PER_THREAD]: Remove code.
57486         (ptmalloc_unlock_all2): Likewise.
57487         (ptmalloc_init): Likewise.
57488         (_int_new_arena): Likewise.
57489         (arena_get2): Likewise.
57490         * malloc/hooks.c (__malloc_get_state): Likewise.
57491         (__malloc_set_state): Likewise.
57492         * malloc/malloc.c: Likewise.
57493         (struct malloc_state): Likewise.
57494         (struct malloc_par): Likewise.
57495         (__libc_realloc): Likewise.
57496         (__libc_mallopt): Likewise.
57498 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57500         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
57502 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
57504         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
57505         macro to a function.  Check for zero perturb_byte.
57506         (_int_malloc, _int_free): Remove zero perturb_byte checks.
57508         * malloc/malloc.c: (force_reg): Remove.
57509         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
57510         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
57511         force_reg by atomic_forced_read.
57512         * malloc/arena.c (ptmalloc_init): Likewise.
57513         * malloc/hooks.c (top_check): Likewise.
57515 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57517         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57519 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
57521         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57523 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
57525         * math/auto-libm-test-in: Add tests of lgamma.
57526         * math/auto-libm-test-out: Regenerated.
57527         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
57528         (M_LOG_2_SQRT_PIl): Likewise.
57529         (lgamma_test_data): Use AUTO_TESTS_f_f1.
57530         * math/gen-auto-libm-tests.c (func_calc_method): Add value
57531         mpfr_f_f1.
57532         (func_calc_desc): Add mpfr_f_f1 union field.
57533         (ARGS1): New macro.
57534         (ARGS2): Likewise.
57535         (ARGS3): Likewise.
57536         (ARGS4): Likewise.
57537         (RET1): Likewise.
57538         (RET2): Likewise.
57539         (CALC): Likewise.
57540         (FUNC): Likewise.
57541         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
57542         (test_functions): Add lgamma.
57543         (calc_generic_results): Handle mpfr_f_f1.
57544         * sysdeps/i386/fpu/libm-test-ulps: Update.
57545         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57547 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57549         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
57550         __mpn_add_n for PowerPC64/POWER7.
57551         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
57552         __mpn_sub_n for PowerPC64/POWER7.
57554         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
57555         __mpn_addmul_1 for PowerPC64.
57556         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
57557         __mpn_submul_1 for PowerPC64.
57558         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
57559         for PowerPC64.
57560         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
57561         for PowerPC64.
57563 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
57565         [BZ #15089]
57566         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
57568 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57570         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
57572         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
57573         add multiarch folders.
57574         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
57575         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
57576         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
57577         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
57578         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
57579         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
57580         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
57581         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
57582         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
57583         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
57584         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
57585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
57586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
57587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
57588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
57589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
57590         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
57592         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
57593         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
57594         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
57595         New file.
57596         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
57597         New file.
57598         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
57599         multiarch __ieee754_hypot for PowerPC32.
57600         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
57601         New file.
57602         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
57603         New file.
57604         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
57605         multiarch __ieee754_hypotf for PowerPC32.
57607         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
57608         long_double_symbol only if __logbl is defined.
57609         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
57610         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
57611         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
57612         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
57613         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
57614         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
57615         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
57616         path for implementation.
57617         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
57618         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
57619         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
57620         logb, and logbl multiarch implementations for PowerPC32.
57621         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
57622         file.
57623         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
57624         file.
57625         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
57626         multiarch logb for PowerPC32.
57627         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
57628         file.
57629         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
57630         file.
57631         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
57632         multiarch logbf for PowerPC32.
57633         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
57634         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
57635         file.
57636         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
57637         multiarch logbl implementation for PowerPC32.
57639         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
57640         and modff multiarch implementations.
57641         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
57642         New file.
57643         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
57644         New file.
57645         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
57646         multiarch modf for PowerPC32.
57647         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
57648         New file.
57649         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
57650         New file.
57651         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
57652         multiarch modff for PowerPC32.
57654         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
57655         and lrintf multiarch implementations.
57656         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
57657         New file.
57658         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
57659         New file.
57660         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
57661         multiarch lrint for PowerPC32.
57662         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
57663         file: multiarch lrintf for PowerPC32.
57665         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
57666         and lroundf multiarch implementations.
57667         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
57668         New file.
57669         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
57670         New file.
57671         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
57672         New file.
57673         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
57674         multiarch lround for PowerPC32.
57675         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
57676         file: multiarch lroundf for PowerPC32.
57678         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
57679         copysign and copysignf multiarch implementations.
57680         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
57681         New file.
57682         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
57683         New file.
57684         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
57685         file: multiarch copysign for PowerPC32.
57686         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
57687         file: multiarch copysignf for PowerPC32.
57689         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
57690         and truncf multiarch implementations.
57691         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
57692         New file.
57693         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
57694         file.
57695         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
57696         multiarch trunc for PowerPC32.
57697         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
57698         New file.
57699         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
57700         New file.
57701         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
57702         multiarch truncf for PowerPC32.
57704         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
57705         and roundf multiarch implementations.
57706         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
57707         New file.
57708         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
57709         file.
57710         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
57711         multiarch round for PowerPC32.
57712         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
57713         New file.
57714         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
57715         New file.
57716         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
57717         multiarch roundf for PowerPC32.
57719         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
57720         and floorf multiarch implementations.
57721         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
57722         New file.
57723         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
57724         file.
57725         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
57726         multiarch floor for PowerPC32.
57727         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
57728         New file.
57729         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
57730         New file.
57731         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
57732         multiarch floorf for PowerPC32.
57734         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
57735         and ceilf multiarch implementations.
57736         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
57737         New file.
57738         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
57739         file.
57740         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
57741         multiarch ceil for PowerPC32.
57742         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
57743         New file.
57744         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
57745         file.
57746         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
57747         multiarch ceilf for PowerPC32.
57749         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
57750         is defined.
57751         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
57752         FINITEF is defined.
57753         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
57754         and finitef multiarch implementations.
57755         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
57756         New file.
57757         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
57758         file.
57759         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
57760         multiarch finite for PowerPC32.
57761         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
57762         New file.
57763         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
57764         file: multiarch finitef for PowerPC32.
57766         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
57767         and isinff multiarch implementations.
57768         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
57769         file.
57770         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
57771         file.
57772         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
57773         multiarch isinf for PowerPC32.
57774         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
57775         New file.
57776         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
57777         multiarch isinff for PowerPC32.
57779         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
57780         alias when __isnan is defined.
57781         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
57782         and isnanf multiarch implementations.
57783         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
57784         file.
57785         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
57786         file.
57787         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
57788         file.
57789         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
57790         file.
57791         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
57792         multiarch isnan for PowerPC32.
57793         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
57794         New file.
57795         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
57796         New file.
57797         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
57798         multiarch isnanf for PowerPC32.
57800         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
57801         and sqrtf multiarch implementations.
57802         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
57803         file.
57804         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
57805         file.
57806         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
57807         multiarch sqrt for PowerPC32.
57808         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
57809         file.
57810         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
57811         file.
57812         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
57813         multiarch sqrtf for PowerPC32.
57815         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
57816         and llroundf multiarch implementations.
57817         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
57818         New file.
57819         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
57820         New file.
57821         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
57822         New file.
57823         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
57824         file: multiarch llround for PowerPC32.
57825         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
57826         file: multiarch llroundf for PowerPC32.
57828         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
57829         multiarch PowerPC32 fpu implementations.
57830         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
57831         New file.
57832         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
57833         New file.
57834         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
57835         multiarch llrint for PowerPC32.
57836         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
57837         New file.
57838         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
57839         New file.
57840         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
57841         file.
57843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
57845         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
57846         file.
57847         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
57848         file.
57849         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
57850         file.
57851         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
57852         multiarch wordcopy for PPC32.
57853         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
57854         wordcopy objects.
57855         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
57856         (__libc_ifunc_impl_list): Likewise.
57857         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
57858         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
57859         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
57860         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
57861         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
57862         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
57864         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
57865         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
57866         file.
57867         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
57868         file.
57869         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
57870         file.
57871         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
57872         multiarch wcscpy for PPC32.
57873         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
57874         multiarch objects.
57875         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
57876         (__libc_ifunc_impl_list): Likewise.
57877         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
57878         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
57879         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
57880         sysdeps/powerpc/power6/wcscpy.c.
57882         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
57883         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
57884         file.
57885         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
57886         file.
57887         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
57888         file.
57889         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
57890         multiarch wcsrchr for PPC32.
57891         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
57892         multiarch objects.
57893         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
57894         (__libc_ifunc_impl_list): Likewise.
57895         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
57896         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
57897         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
57898         sysdeps/powerpc/power6/wcsrchr.c.
57900         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
57901         file.
57902         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
57903         file.
57904         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
57905         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
57906         multiarch wcschr for PPc32.
57907         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
57908         multiarch objects.
57909         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
57910         (__libc_ifunc_impl_list): Likewise.
57911         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
57912         * sysdeps/powerpc/power6/wcschr.c: ... to here.
57913         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
57914         sysdeps/powerpc/power6/wcschr.c.
57916         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
57917         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
57918         file.
57919         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
57920         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
57921         file: multiarch strchr for PPC32.
57922         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
57923         multiarch objects.
57924         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
57925         (__libc_ifunc_impl_list): Likewise.
57927         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
57928         name.
57929         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
57930         file.
57931         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
57932         file.
57933         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
57934         multiarch strchrnul for PPC32.
57935         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
57936         multiarch objects.
57937         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
57938         (__libc_ifunc_impl_list): Likewise.
57940         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
57941         file.
57942         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
57943         multiarch strncasecmp for PPC32.
57944         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
57945         file.
57946         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
57947         multiarch strncasecmp_l for PPC32.
57948         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
57949         strncasecmp multiarch objects.
57950         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
57951         (__libc_ifunc_impl_list): Likewise.
57953         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
57954         file.
57955         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
57956         multiarch strncasecmp for PPC32.
57957         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
57958         New file.
57959         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
57960         multiarch strcasecmp_l for PPC32.
57961         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
57962         multiarch objects.
57963         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
57964         (__libc_ifunc_impl_list): Likewise.
57966         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
57967         file.
57968         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
57969         file.
57970         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
57971         multiarch strncmp for PPC32.
57972         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
57973         multiarch objects.
57974         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
57975         (__libc_ifunc_impl_list): Likewise.
57977         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
57978         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
57979         file.
57980         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
57981         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
57982         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
57983         multiarch objects.
57984         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
57985         (__libc_ifunc_impl_list): Likewise.
57987         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
57988         file.
57989         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
57990         file.
57991         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
57992         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
57993         multiarch objects.
57994         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
57995         (__libc_ifunc_impl_list): Likewise.
57997         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
57998         file.
57999         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
58000         file.
58001         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
58002         multiarch rawmemchr for PPC32.
58003         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
58004         multiarch objects.
58005         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58006         (__libc_ifunc_impl_list): Likewise.
58008         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
58009         file.
58010         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
58011         file.
58012         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
58013         file: memrchr multiarch for PPC32.
58014         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
58015         multiarch objects.
58016         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58017         (__libc_ifunc_impl_list): Likewise.
58019         * string/memchr.c (__memchr): Using macro to redefine symbol name.
58020         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
58021         file.
58022         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
58023         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
58024         multiarch memchr for PPC32.
58025         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
58026         multiarch objects.
58027         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
58028         (__libc_ifunc_impl_list): Likewise.
58030         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
58031         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
58032         file.
58033         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
58034         file.
58035         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
58036         file: multiarch mempcpy for PPC32.
58037         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
58038         multiarch objects.
58039         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
58040         (__libc_ifunc_impl_list): Likewise.
58042         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
58043         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
58044         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
58045         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
58046         multiarch bzero for PPC32.
58047         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
58048         file.
58049         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
58050         file.
58051         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
58052         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
58053         file: multiarch memset for PPC32.
58054         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
58055         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
58056         memset multiarch objects.
58057         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
58058         (__libc_ifunc_impl_list): Likewise.
58060         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
58061         file.
58062         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
58063         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
58064         memcmp for PPC32.
58065         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
58066         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
58067         multiarch objects.
58068         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
58069         (__libc_ifunc_impl_list): Likewise.
58071         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
58072         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
58073         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
58074         file.
58075         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
58076         file.
58077         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
58078         file.
58079         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
58080         multiarch memcpy for PPC32.
58081         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
58082         multiarch objects.
58083         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
58084         (__libc_ifunc_impl_list): Likewise.
58086         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
58087         support multiarch for POWER/PPC32.
58088         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
58089         Likewise.
58090         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
58091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
58092         Implies file to make multiarch folder appers before the fpu and
58093         default folder for power4 configuration.
58095 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
58097         * scripts/bench.pl: Append volatile keyword to type.
58099 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
58101         * sysdeps/sh/sotruss-lib.c: New file.
58102         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
58104 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58106         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58108 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
58110         [BZ #6810]
58111         * math/w_tgamma.c: Include <errno.h>.
58112         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
58113         * math/w_tgammaf.c: Include <errno.h>.
58114         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
58115         * math/w_tgammal.c: Include <errno.h>.
58116         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
58117         * math/auto-libm-test-in: Do not allow missing errno on tgamma
58118         underflow.  Add more tgamma tests.
58119         * math/auto-libm-test-out: Regenerated.
58120         * sysdeps/i386/fpu/libm-test-ulps: Update.
58121         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58123         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
58124         sin, sinh, tan, tanh, tgamma, y0 and y1.
58125         * math/auto-libm-test-out: Regenerated.
58126         * math/libm-test.inc (TEST_COND_x86_64): New macro.
58127         (TEST_COND_x86): Likewise.
58128         (M_E2l): Remove macro.
58129         (M_E3l): Likewise.
58130         (M_2_SQRT_PIl): Likewise.
58131         (M_SQRT_PIl): Likewise.
58132         (M_1_DIV_El): Likewise.
58133         (log_test_data): Use AUTO_TESTS_f_f.
58134         (log10_test_data): Likewise.
58135         (log1p_test_data): Likewise.
58136         (log2_test_data): Likewise.
58137         (sin_test_data): Likewise.
58138         (sin_tonearest_test_data): Likewise.
58139         (sin_towardzero_test_data): Likewise.
58140         (sin_downward_test_data): Likewise.
58141         (sin_upward_test_data): Likewise.
58142         (sinh_test_data): Likewise.
58143         (sinh_tonearest_test_data): Likewise.
58144         (sinh_towardzero_test_data): Likewise.
58145         (sinh_downward_test_data): Likewise.
58146         (sinh_upward_test_data): Likewise.
58147         (tan_test_data): Likewise.
58148         (tan_tonearest_test_data): Likewise.
58149         (tan_towardzero_test_data): Likewise.
58150         (tan_downward_test_data): Likewise.
58151         (tan_upward_test_data): Likewise.
58152         (tanh_test_data): Likewise.
58153         (tgamma_test_data): Likewise.
58154         (y0_test_data): Likewise.
58155         (y1_test_data): Likewise.
58156         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
58157         (special_real_inputs): Add pi/4.
58158         * sysdeps/i386/fpu/libm-test-ulps: Update.
58159         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58161 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58163         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
58164         "longjmp_target" static probes.
58165         (__longjmp): Rename to __longjmp_symbol.
58166         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
58167         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
58168         on which longjmp to generate.
58169         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
58170         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
58171         probe.
58172         (__sigsetjmp): Rename to __sigsetjmp_symbol.
58173         (__sigjmp_save): Rename to __sigjmp_save_symbol.
58174         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
58175         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
58176         and __sigjmp_save_symbol based on which sigsetjmp to generated.
58177         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
58178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
58179         __longjmp_symbol based on which __longjmp to generate.
58180         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
58181         probe.
58182         (setjmp): Rename to setjmp_symbol.
58183         (__sigsetjmp): Rename to __sigsetjmp_symbol.
58184         (_setjmp): Rename to _setjmp_symbol.
58185         (__sigsetjmp): Rename to __sigsetjmp_symbol.
58186         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
58187         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
58188         which setjmp to generate.
58189         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
58190         "longjmp_target" static probes.
58192 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
58194         * benchtests/README: Add note about output arguments.
58195         * benchtests/bench-sincos.c: Remove file.
58196         * benchtests/sincos-inputs: New file.
58197         * scripts/bench.pl: Identify output arguments and define
58198         static variables for them.
58200         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
58202         [BZ #15941]
58203         * Makefile (INSTALL): Add install-plain.texi as the primary
58204         dependency.
58205         * manual/install-plain.texi: New file.
58206         * manual/install.texi: Include node directive only for
58207         non-plaintext output.
58209 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
58211         * stdlib/longlong.h: Update from GCC.
58213         [BZ #6807]
58214         [BZ #15901]
58215         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
58216         * math/w_j0f.c (y0f): Likewise.
58217         * math/w_j0l.c (__y0l): Likewise.
58218         * math/w_j1.c (y1): Likewise.
58219         * math/w_j1f.c (y1f): Likewise.
58220         * math/w_j1l.c (__y1l): Likewise.
58221         * math/w_jn.c (yn): Likewise.
58222         * math/w_jnf.c (ynf): Likewise.
58223         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
58224         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
58225         value for Bessel function domain errors outside _SVID_ mode.
58226         Adjust sign of return value for yn (negative integer, 0).
58227         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
58228         by zero in return for negative x and set sign appropriately for
58229         negative n.
58230         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
58231         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
58232         * math/libm-test.inc (y0_test_data): Add more tests and adjust
58233         expectations in error cases.
58234         (y1_test_data): Likewise.
58235         (yn_test_data): Likewise.
58236         * sysdeps/i386/fpu/libm-test-ulps: Update.
58237         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58239 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
58241         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
58242         "64" to "64-v1".  Add "64-v2".
58243         (abi-64-options): Rename to ...
58244         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
58245         (abi-64-condition): Rename to ...
58246         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
58247         (abi-64-ld-soname): Rename to ...
58248         (abi-64-v1-ld-soname): ... this.
58249         (abi-64-v2-options): Define.
58250         (abi-64-v2-condition): Likewise.
58251         (abi-64-v2-ld-soname): Likewise.
58252         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
58253         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
58254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
58255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
58256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
58258 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
58259             Alan Modra  <amodra@gmail.com>
58261         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
58262         New versions for use with the ELFv2 ABI.
58263         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
58264         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
58265         declaration.
58266         (struct La_ppc64v2_retval): Likewise.
58267         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
58268         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
58269         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
58270         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
58271         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
58272         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
58273         Do not save or restore CR.
58274         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
58275         (_dl_profile_resolve): Do no save or restore CR.  Support extended
58276         return values for ELFv2 ABI.  Fix location of FPR return registers.
58277         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
58278         updated values for _CALL_ELF == 2.
58279         (La_regs, La_retval, int_retval): Likewise.
58281 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
58283         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
58284         (FRAME_MIN_SIZE_PARM): Likewise.
58285         (FRAME_BACKCHAIN): Likewise.
58286         (FRAME_CR_SAVE): Likewise.
58287         (FRAME_LR_SAVE): Likewise.
58288         (FRAME_TOC_SAVE): Likewise.
58289         (FRAME_PARM_SAVE): Likewise.
58290         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
58291         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
58292         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
58293         (call_mcount_parm_offset): New macro.
58294         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
58295         (PROF): Use symbolic stack frame offsets.
58296         (TAIL_CALL_SYSCALL_ERROR): Likewise.
58297         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
58298         Redefine in terms of FRAME_MIN_SIZE.
58299         (_dl_runtime_resolve): Use symbolic stack frame offsets.
58300         (_dl_profile_resolve): Likewise.  Update comment.
58301         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
58302         symbols stack frame offsets.
58303         (__sigsetjmp): Likewise.
58304         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
58305         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
58306         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
58307         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
58309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
58310         (FRAME_BACKCHAIN): Remove.
58311         (FRAME_CR_SAVE): Likewise.
58312         (FRAME_LR_SAVE): Likewise.
58313         (FRAME_COMPILER_DW): Likewise.
58314         (FRAME_LINKER_DW): Likewise.
58315         (FRAME_TOC_SAVE): Likewise.
58316         (FRAME_PARM_SAVE): Likewise.
58317         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
58318         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
58319         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
58320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
58321         (CHECK_SP): Use symbolic stack frame offsets.
58322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
58323         zone" instead of caller's parameter save area for temp storage.
58324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
58325         Likewise.  Also, use symbolic stack frame offsets.
58326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
58327         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
58328         our own stack frame instead of the caller's.
58329         (__socket): Use symbolic stack frame offsets.
58331 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
58332             Alan Modra  <amodra@gmail.com>
58334         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
58335         Define.
58336         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
58337         (PPC64_LOCAL_ENTRY_OFFSET): Define.
58338         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
58339         New function.
58340         (elf_machine_fixup_plt): Call it.
58341         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
58342         reloc arguments.
58343         (elf_machine_rela): Update call to elf_machine_plt_conflict.
58344         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
58345         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
58346         r2 before calling target.
58348 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
58349             Alan Modra  <amodra@gmail.com>
58351         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
58352         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
58353         versions of macros to support ELFv2 ABI.
58354         (LOCALENTRY): New macro.
58355         (ENTRY, EALIGN): Use it.
58356         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
58357         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
58358         fall through into ENTRY entry point.
58359         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
58360         Only define if _CALL_ELF != 2.
58362         (elf_machine_matches_host): Verify ABI version matches.
58363         (RTLD_START): Use LOCALENTRY.
58364         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
58365         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
58366         (PLT_ENTRY_WORDS): New macro.
58367         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
58368         (elf_machine_runtime_setup): Support ELFv2 ABI.
58369         (elf_machine_fixup_plt): Likewise.
58370         (elf_machine_plt_conflict): Likewise.
58371         (resolve_ifunc): Likewise.
58372         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
58373         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
58374         Likewise.
58375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
58376         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
58377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
58378         (makecontext): Support ELFv2 ABI.
58379         * elf/elf.h (EF_PPC64_ABI): Define.
58381 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
58383         * sysdeps/powerpc/powerpc64/sysdep.h
58384         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
58385         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
58386         (ENTRY) [ASSEMBLER]: ... but instead here ...
58387         (EALIGN) [ASSEMBLER]: ... and here.
58388         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
58389         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
58390         (ENTRY_2) [!ASSEMBLER]: Use it.
58391         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
58392         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
58393         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
58394         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
58395         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
58396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
58397         Use PPC64_LOAD_FUNCPTR.
58399         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
58401 2013-12-04  Alan Modra  <amodra@gmail.com>
58403         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
58404         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
58405         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
58406         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
58408         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
58409         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
58410         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
58411         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
58412         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
58413         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
58415 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
58417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
58418         (__makecontext): Fix incorrect CFI when backtracing out of
58419         context created via makecontext.
58420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
58421         (__setcontext): Fix incorrect CFI during switch to new context.
58422         (__novec_setcontext): Likewise.
58424 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
58426         [BZ #4772]
58427         * time/strptime_l.c (__strptime_internal): Allow modifiers
58428         in strptime.
58429         * time/tst-strptime.c (day_tests): Add testcase.
58431 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
58433         * scripts/bench.pl: Skip over blank lines.
58435 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
58437         [BZ #926]
58438         * manual/time.texi (Calendar Time): Clarify what timezone functions
58439         use.
58441 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58443         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58445 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
58447         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
58448         implementation.
58449         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
58450         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
58451         * debug/memset_chk.c (__memset_chk): Likewise.
58452         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
58453         * debug/strncpy_chk.c: Likewise.
58455 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
58457         [BZ #15268]
58458         [BZ #15425]
58459         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
58460         (__ieee754_exp): For possibly underflowing results, check size of
58461         result and force underflow exception if required.
58462         * math/auto-libm-test-in: Add more tests of exp.
58463         * math/auto-libm-test-out: Regenerated.
58464         * sysdeps/i386/fpu/libm-test-ulps: Update.
58465         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58467         [BZ #16283]
58468         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
58469         * math/w_exp2f.c (__exp2f): Likewise.
58470         * math/w_exp2l.c (__exp2l): Likewise.
58471         * math/auto-libm-test-in: Do not allow missing errno on exp2
58472         underflow.
58473         * math/auto-libm-test-out: Regenerated.
58475 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
58477         [BZ #16274]
58478         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
58479         handle filename validation.
58480         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
58481         (do_open): Delete.
58483 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
58485         [BZ #6786]
58486         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
58487         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
58488         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
58489         <float.h>.
58490         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
58491         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
58492         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
58493         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
58494         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
58495         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
58496         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
58497         * math/auto-libm-test-in: Don't allow missing errno from erfc.
58498         Add more erfc tests.
58499         * math/auto-libm-test-out: Regenerated.
58500         * sysdeps/i386/fpu/libm-test-ulps: Update.
58501         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58503         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
58504         exp2, expm1, j0 and j1.
58505         * math/auto-libm-test-out: Regenerated.
58506         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
58507         (erfc_test_data): Likewise.
58508         (exp_test_data): Likewise.
58509         (exp_tonearest_test_data): Likewise.
58510         (exp_towardzero_test_data): Likewise.
58511         (exp_downward_test_data): Likewise.
58512         (exp_upward_test_data): Likewise.
58513         (exp10_test_data): Likewise.
58514         (exp2_test_data): Likewise.
58515         (expm1_test_data): Likewise.
58516         (j0_test_data): Likewise.
58517         (j1_test_data): Likewise.
58518         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
58519         (input_flag_type): Add flag_xfail_rounding.
58520         (input_flags): Add xfail-rounding.
58521         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
58522         (output_for_one_input_case): Handle flag_xfail_rounding.
58523         * sysdeps/i386/fpu/libm-test-ulps: Update.
58524         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58526 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
58528         [BZ #16289]
58529         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
58530         division by 0.
58532 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
58534         [BZ #16195]
58535         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
58536         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
58537         (STAP_PROBE0): New macro.
58538         (STAP_PROBE1): Likewise.
58539         (STAP_PROBE2): Likewise.
58540         (STAP_PROBE3): Likewise.
58541         (STAP_PROBE4): Likewise.
58543 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
58545         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
58547 2013-12-02  Steve Ellcey  <sellcey@mips.com>
58549         * benchtests/Makefile (bench): Add sqrt.
58550         (LDLIBS-bench-sqrt): New.
58551         * benchtests/sqrt-input: New.
58553 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
58555         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
58556         (GAIH_EAI): Likewise.
58557         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
58558         (gaih_inet): Likewise.
58559         (getaddrinfo): Don't use GAIH_EAI.
58561         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
58562         (struct gaih): Remove definition.
58564 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
58566         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
58567         Use HERRNOP directly.
58569 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58571         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58573 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
58575         * math/gen-auto-libm-tests.c (test_functions): Add more
58576         single-argument functions.
58577         (special_fill_pi_2): New function.
58578         (special_fill_minus_pi_2): Likewise.
58579         (special_fill_pi_6): Likewise.
58580         (special_fill_minus_pi_6): Likewise.
58581         (special_fill_pi_3): Likewise.
58582         (special_fill_2pi_3): Likewise.
58583         (special_fill_e): Likewise.
58584         (special_fill_1_e): Likewise.
58585         (special_fill_e_minus_1): Likewise.
58586         (special_real_inputs): Add more special inputs.
58587         (output_for_one_input_case): Do not require ERANGE on underflow to
58588         zero if round-to-nearest result does not underflow to zero, unless
58589         exact results required.
58590         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
58591         atan, atanh, cbrt, cos and cosh.
58592         * math/auto-libm-test-out: Regenerated.
58593         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
58594         (acos_tonearest_test_data): Likewise.
58595         (acos_towardzero_test_data): Likewise.
58596         (acos_downward_test_data): Likewise.
58597         (acos_upward_test_data): Likewise.
58598         (acosh_test_data): Likewise.
58599         (asin_test_data): Likewise.
58600         (asin_tonearest_test_data): Likewise.
58601         (asin_towardzero_test_data): Likewise.
58602         (asin_upward_test_data): Likewise.
58603         (asinh_test_data): Likewise.
58604         (atan_test_data): Likewise.
58605         (atanh_test_data): Likewise.
58606         (cbrt_test_data): Likewise.
58607         (cos_test_data): Likewise.
58608         (cos_tonearest_test_data): Likewise.
58609         (cos_towardzero_test_data): Likewise.
58610         (cos_downward_test_data): Likewise.
58611         (cos_upward_test_data): Likewise.
58612         (cosh_test_data): Likewise.
58613         (cosh_tonearest_test_data): Likewise.
58614         (cosh_towardzero_test_data): Likewise.
58615         (cosh_downward_test_data): Likewise.
58616         (cosh_upward_test_data): Likewise.
58617         * sysdeps/i386/fpu/libm-test-ulps: Update.
58618         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58620 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
58622         [BZ #6787]
58623         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
58624         * math/w_exp10f.c (__exp10f): Likewise.
58625         * math/w_exp10l.c (__exp10l): Likewise.
58626         * math/libm-test.inc (exp10_test_data): Add more tests and expect
58627         errno settings in existing tests.
58629         [BZ #14032]
58630         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
58631         precision control set to double precision.
58632         * sysdeps/i386/fpu/w_sqrt.c: New file.
58633         * math/auto-libm-test-in: Add more tests.
58634         * math/auto-libm-test-out: Update.
58636         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
58637         (sqrt_test_tonearest): New function.
58638         (sqrt_towardzero_test_data): New variable.
58639         (sqrt_test_towardzero): New function.
58640         (sqrt_downward_test_data): New variable.
58641         (sqrt_test_downward): New function.
58642         (sqrt_upward_test_data): New variable.
58643         (sqrt_test_upward): New function.
58644         (main): Call the new functions.
58646         * math/gen-auto-libm-tests.c: New file.
58647         * math/auto-libm-test-in: Likewise.
58648         * math/auto-libm-test-out: New generated file.
58649         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
58650         variables.
58651         (%beautify): Add generated representations of zero.
58652         (top level): Set $auto_input and call parse_auto_input.
58653         (beautify): Remove trailing "f" from hex float constants.
58654         (parse_args): Handle XFAIL_TEST.
58655         (convert_condition): New function.
58656         (or_value): Likewise.
58657         (or_cond_value): Likewise.
58658         (generate_testfile): Handle AUTO_TESTS_* lines.
58659         (parse_auto_input): New function.
58660         * math/libm-test.inc (XFAIL_TEST): New macro.
58661         (ERRNO_UNCHANGED): Update value.
58662         (ERRNO_EDOM): Likewise.
58663         (ERRNO_ERANGE): Likewise.
58664         (IGNORE_RESULT): Likewise.
58665         (TEST_COND_flt_32): New macro.
58666         (TEST_COND_dbl_64): Likewise.
58667         (TEST_COND_ldbl_96_intel): Likewise.
58668         (TEST_COND_ldbl_96_m68k): Likewise.
58669         (TEST_COND_ldbl_128): Likewise.
58670         (TEST_COND_ldbl_128ibm): Likewise.
58671         (TEST_COND_long32): Likewise.
58672         (TEST_COND_long64): Likewise.
58673         (TEST_COND_before_rounding): Likewise.
58674         (TEST_COND_after_rounding): Likewise.
58675         (enable_test): Handle XFAIL_TEST flag.
58676         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
58677         with finite results.
58678         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
58679         auto-libm-test-out.
58681 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
58682             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58684         [BZ #16214]
58685         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
58686         __tls_get_addr_internal instead of __tls_get_offset in order to
58687         avoid GOT pointer dependency.  Make rtld export
58688         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
58689         __tls_get_addr since we are a __tls_get_offset platform.
58690         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
58691         GOT pointer being set up before.
58692         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
58694 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
58696         * manual/math.texi (Errors in Math Functions): Document accuracy
58697         goals.
58699         [BZ #15004]
58700         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
58701         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
58702         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
58703         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
58704         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
58705         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
58706         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
58707         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
58708         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
58709         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
58710         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
58711         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
58712         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
58713         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
58714         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
58715         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
58717         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
58718         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
58719         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
58720         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
58721         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
58722         Likewise.
58723         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
58724         Likewise.
58725         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
58726         Likewise.
58727         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
58728         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
58729         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
58730         atomic-feupdateenv and flt-rounds.
58731         * sysdeps/powerpc/nofpu/Versions (libc): Add
58732         __atomic_feholdexcept, __atomic_feclearexcept,
58733         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
58734         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
58735         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
58736         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
58737         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
58738         here.
58739         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
58740         Update.
58742         * manual/arith.texi (FP Exceptions): Document that exceptions may
58743         not be raised when matherr is used.
58744         (Math Error Reporting): Document overflow in directed rounding
58745         modes.  Document that errno may not be set when finite values are
58746         returned on overflow.  Document intent to set errno on underflow
58747         only for underflow to zero.
58749         [BZ #16271]
58750         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
58751         round-to-nearest then adjust result for other rounding modes.
58752         * include/fenv.h (fegetround): Use libm_hidden_proto.
58753         * math/fegetround.c (fegetround): Use libm_hidden_def.
58754         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
58755         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
58756         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
58757         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
58758         Likewise.
58759         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
58760         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
58761         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
58762         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
58764 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
58766         [BZ #16077]
58767         * nss/Versions (libnss_files): Add
58768         _nss_files_gethostbyname3_r.
58769         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
58770         New function.
58771         (HOST_DB_LOOKUP): Remove macro.
58772         (_nss_files_gethostbyname_r): Implement function without the
58773         HOST_DB_LOOKUP macro.
58774         (_nss_files_gethostbyname2_r): Likewise.
58776 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
58778         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
58780 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
58782         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
58783         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
58784         warning.
58786 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58788         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
58789         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
58790         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
58791         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
58792         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
58793         __fe_nomask_env_priv and attribute_hidden.
58794         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
58795         (libc_feupdateenv_test_ppc): Likewise.
58796         (libc_feresetround_ppc): Likewise.
58797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
58798         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
58799         compat_symbol macro.
58800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
58801         (__fe_nomask_env): Likewise.
58802         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
58804 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
58806         * string/Makefile: Remove ifunc tests.
58807         * string/test-string.h: Define TEST_IFUNC.
58808         * string/test-bcopy-ifunc.c: Remove.
58809         * string/test-bzero-ifunc.c: Likewise.
58810         * string/test-memccpy-ifunc.c: Likewise.
58811         * string/test-memchr-ifunc.c: Likewise.
58812         * string/test-memcmp-ifunc.c: Likewise.
58813         * string/test-memcpy-ifunc.c: Likewise.
58814         * string/test-memmem-ifunc.c: Likewise.
58815         * string/test-memmove-ifunc.c: Likewise.
58816         * string/test-mempcpy-ifunc.c: Likewise.
58817         * string/test-memrchr-ifunc.c: Likewise.
58818         * string/test-memset-ifunc.c: Likewise.
58819         * string/test-rawmemchr-ifunc.c: Likewise.
58820         * string/test-stpcpy-ifunc.c: Likewise.
58821         * string/test-stpncpy-ifunc.c: Likewise.
58822         * string/test-strcasecmp-ifunc.c: Likewise.
58823         * string/test-strcasestr-ifunc.c: Likewise.
58824         * string/test-strcat-ifunc.c: Likewise.
58825         * string/test-strchr-ifunc.c: Likewise.
58826         * string/test-strchrnul-ifunc.c: Likewise.
58827         * string/test-strcmp-ifunc.c: Likewise.
58828         * string/test-strcpy-ifunc.c: Likewise.
58829         * string/test-strcspn-ifunc.c: Likewise.
58830         * string/test-strlen-ifunc.c: Likewise.
58831         * string/test-strncasecmp-ifunc.c: Likewise.
58832         * string/test-strncat-ifunc.c: Likewise.
58833         * string/test-strncmp-ifunc.c: Likewise.
58834         * string/test-strncpy-ifunc.c: Likewise.
58835         * string/test-strnlen-ifunc.c: Likewise.
58836         * string/test-strpbrk-ifunc.c: Likewise.
58837         * string/test-strrchr-ifunc.c: Likewise.
58838         * string/test-strspn-ifunc.c: Likewise.
58839         * string/test-strstr-ifunc.c: Likewise.
58841 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
58843         * benchtests/Makefile: Remove ifunc tests.
58844         * benchtests/bench-string.h: Define TEST_IFUNC.
58845         * benchtests/bench-bcopy-ifunc.c: Remove.
58846         * benchtests/bench-bzero-ifunc.c: Likewise.
58847         * benchtests/bench-memccpy-ifunc.c: Likewise.
58848         * benchtests/bench-memchr-ifunc.c: Likewise.
58849         * benchtests/bench-memcmp-ifunc.c: Likewise.
58850         * benchtests/bench-memcpy-ifunc.c: Likewise.
58851         * benchtests/bench-memmem-ifunc.c: Likewise.
58852         * benchtests/bench-memmove-ifunc.c: Likewise.
58853         * benchtests/bench-mempcpy-ifunc.c: Likewise.
58854         * benchtests/bench-memrchr-ifunc.c: Likewise.
58855         * benchtests/bench-memset-ifunc.c: Likewise.
58856         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
58857         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
58858         * benchtests/bench-stpcpy-ifunc.c: Likewise.
58859         * benchtests/bench-stpncpy-ifunc.c: Likewise.
58860         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
58861         * benchtests/bench-strcasestr-ifunc.c: Likewise.
58862         * benchtests/bench-strcat-ifunc.c: Likewise.
58863         * benchtests/bench-strchr-ifunc.c: Likewise.
58864         * benchtests/bench-strchrnul-ifunc.c: Likewise.
58865         * benchtests/bench-strcmp-ifunc.c: Likewise.
58866         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
58867         * benchtests/bench-strcpy-ifunc.c: Likewise.
58868         * benchtests/bench-strcspn-ifunc.c: Likewise.
58869         * benchtests/bench-strlen-ifunc.c: Likewise.
58870         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
58871         * benchtests/bench-strncat-ifunc.c: Likewise.
58872         * benchtests/bench-strncmp-ifunc.c: Likewise.
58873         * benchtests/bench-strncpy-ifunc.c: Likewise.
58874         * benchtests/bench-strnlen-ifunc.c: Likewise.
58875         * benchtests/bench-strpbrk-ifunc.c: Likewise.
58876         * benchtests/bench-strrchr-ifunc.c: Likewise.
58877         * benchtests/bench-strsep-ifunc.c: Likewise.
58878         * benchtests/bench-strspn-ifunc.c: Likewise.
58879         * benchtests/bench-strstr-ifunc.c: Likewise.
58881 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
58883         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
58885 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
58887         * resolv/netdb.h: Use __glibc_reserved instead __unused.
58888         * rt/aio.h: Likewise.
58889         * sysdeps/gnu/bits/utmp.h: Likewise.
58890         * sysdeps/gnu/bits/utmpx.h: Likewise.
58891         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
58892         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
58893         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
58894         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
58895         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
58896         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
58897         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
58898         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
58899         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
58900         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
58901         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
58902         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
58903         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
58904         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
58905         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
58906         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
58907         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
58908         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
58909         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
58910         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
58911         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
58912         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
58913         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
58914         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
58915         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
58916         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
58917         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
58918         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
58919         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
58920         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
58921         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
58922         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
58923         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
58924         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
58925         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
58926         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
58927         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
58928         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
58929         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
58930         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
58931         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
58932         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
58934 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
58936         [BZ #16245]
58937         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
58938         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
58940 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
58942         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
58943         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
58944         Likewise.
58946 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58948         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
58949         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
58950         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
58951         (__fesetround): Remove define.
58952         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
58953         rounding and exceptions handling.
58954         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
58955         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
58956         (__fe_nomask_env): Likewise.
58957         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
58958         __fegetround instead of fegetround.
58959         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
58960         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
58962 2013-11-21  Roland McGrath  <roland@hack.frob.com>
58964         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
58965         it's there.
58967         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
58969 2013-11-21  Meador Inge  <meadori@codesourcery.com>
58971         [BZ #11157]
58972         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
58973         (encrypt_r): Likewise.
58974         * malloc/obstack.h (obstack_free): Likewise.
58975         * posix/unistd.h (encrypt): Likewise.
58977 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
58979         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
58980         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
58981         DL_CALL_DT_FINI() that call the functions directly.
58982         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
58983         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
58984         * elf/dl-fini.c: Likewise.
58986 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
58988         * malloc/hooks.c (memalign_check): Add alignment rounding.
58989         * malloc/malloc.c (_mid_memalign): New function.
58990         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
58991         Implement by calling _mid_memalign.
58992         * manual/probes.texi (Memory Allocation Probes): Remove
58993         memory_valloc_retry and memory_pvalloc_retry.
58995 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
58997         * locale/programs/locarchive.c (open_archive): Add const
58998         qualifier to ARCHIVEFNAME and copy default fname to
58999         DEFAULT_FNAME.
59001         [BZ #15601]
59002         * libio/tst-widetext.input: Rename Oriya to Odia.
59003         * locale/iso-639.def: Likewise.
59005         * manual/probes.texi (Mathematical Function Probes): Add
59006         documentation for sin, cos, asin and acos probes.
59007         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
59008         (__sin32): Add slowasin probe.
59009         (__cos32): Add slowacos probe.
59010         (__mpsin): Add slowsin probe.
59011         (__mpcos): Add slowcos probe.
59013 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
59015         [BZ #15483]
59016         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
59017         thread-local __sim_exceptions_thread and global
59018         __sim_exceptions_global.
59019         (__sim_disabled_exceptions): Change to thread-local
59020         __sim_disabled_exceptions_thread and global
59021         __sim_disabled_exceptions_global.
59022         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
59023         and global __sim_round_mode_global.
59024         (__simulate_exceptions): Use thread-local floating-point state and
59025         set global state from it as needed.
59026         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
59027         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
59028         __sim_round_mode_thread.
59029         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
59030         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
59031         and global __sim_exceptions_global.
59032         (__sim_disabled_exceptions): Change to thread-local
59033         __sim_disabled_exceptions_thread and global
59034         __sim_disabled_exceptions_global.
59035         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
59036         and global __sim_round_mode_global.
59037         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
59038         (SIM_SET_GLOBAL): Likewise.
59039         * sysdeps/powerpc/soft-fp/sfp-machine.h
59040         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
59041         __sim_round_mode_thread.
59042         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
59043         __sim_disabled_exceptions_thread.
59044         (__sim_exceptions): Change to __sim_exceptions_thread.
59045         (__sim_disabled_exceptions): Change to
59046         __sim_disabled_exceptions_thread.
59047         (__sim_round_mode): Change to __sim_round_mode_thread.
59048         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
59049         thread-local floating-point state and set global state from it as
59050         needed.
59051         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
59052         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
59053         (__sim_disabled_exceptions): Remove extern declaration.
59054         (feenableexcept): Use thread-local floating-point state and set
59055         global state from it as needed.
59056         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
59057         extern declaration.
59058         (__sim_disabled_exceptions): Likewise.
59059         (__sim_round_mode): Likewise.
59060         (__fegetenv): Use thread-local floating-point state.
59061         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
59062         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
59063         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
59064         floating-point state and set global state from it as needed.
59065         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
59066         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
59067         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
59068         Likewise.
59069         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
59070         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
59071         Likewise.
59072         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
59073         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
59074         Use __sim_round_mode_thread.
59075         * math/test-fenv-tls.c: New file.
59076         * math/Makefile (tests): Add test-fenv-tls.
59077         ($(objpfx)test-fenv-tls): Depend on
59078         $(common-objpfx)nptl/libpthread.so.
59080 2013-11-19  Andreas Schwab  <schwab@suse.de>
59082         * locale/programs/locale.c (show_info): Decode wordarray elements.
59083         * locale/categories.def (LC_MONETARY): Add element for
59084         _NL_MONETARY_CRNCYSTR.
59085         * locale/C-monetary.c (conversion_rate): New variable.
59086         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
59087         element.
59089 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
59091         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
59092         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
59094 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
59096         * elf/Makefile (tst-auxv): New test.
59097         * elf/tst-auxv.c: New
59098         * elf/rtld.c (dl_main): Adjust AT_EXECFN
59100 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
59102         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
59103         (hidden_proto): Caller changed.
59104         (hidden_tls_proto): New macro.
59105         (libc_hidden_tls_proto): Likewise.
59106         (rtld_hidden_tls_proto): Likewise.
59107         (libm_hidden_tls_proto): Likewise.
59108         (libresolv_hidden_tls_proto): Likewise.
59109         (librt_hidden_tls_proto): Likewise.
59110         (libdl_hidden_tls_proto): Likewise.
59111         (libnss_files_hidden_tls_proto): Likewise.
59112         (libnsl_hidden_tls_proto): Likewise.
59113         (libnss_nisplus_hidden_tls_proto): Likewise.
59114         (libutil_hidden_tls_proto): Likewise.
59116 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
59118         [BZ #10253]
59119         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
59120         (decompose_rpath): Defer expansion to fillin_rpath.
59121         (_dl_init_paths): Pass linkmap to fillin_rpath.
59123 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
59125         * benchtests/Makefile: Add strsep.
59126         * benchtests/bench-strsep.c: New file: strsep benchtest.
59127         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
59129 2013-11-18  Andreas Schwab  <schwab@suse.de>
59131         * locale/programs/locale.c (show_info) [case byte]: Check for
59132         '\377' instead of '\177'.
59133         * locale/C-monetary.c (not_available): Always use "\377".
59134         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
59135         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
59136         detect unavailable sign_posn locale elements.
59137         * locale/localeconv.c (__localeconv): For grouping and
59138         mon_grouping handle "\177" and "\377" like no grouping.
59139         (INT_ELEM): New macro.  Use it to set all numeric members.
59140         * locale/programs/ld-monetary.c (monetary_read)
59141         <tok_mon_grouping>: Normalize single -1 to the empty string.
59142         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
59143         Likewise.
59145 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
59147         [BZ #16055]
59148         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
59149         when we match (nil).
59150         * stdio-common/tst-sscanf.c (struct test): Add testcase.
59152 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
59154         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
59155         (NO_TEST_INLINE): Update value.
59156         (ERRNO_UNCHANGED): Likewise.
59157         (ERRNO_EDOM): Likewise.
59158         (ERRNO_ERANGE): Likewise.
59159         (IGNORE_RESULT): Likewise.
59160         (check_float_internal): Check signs of NaN results if
59161         TEST_NAN_SIGN used.
59162         (check_complex): Pass TEST_NAN_SIGN flag through to second
59163         check_float_internal call.
59164         (copysign_test_data): Add tests with quiet NaNs as second
59165         argument.  Use TEST_NAN_SIGN.
59166         (fabs_test_data): Add test of negative quiet NaN argument.  Use
59167         TEST_NAN_SIGN.
59168         (signbit_test_data): Add tests of quiet NaN argument.
59169         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
59171         * math/gen-libm-test.pl (show_exceptions): Take extra argument
59172         $ignore_result.
59173         (parse_args): Handle function results specified as IGNORE.
59174         * math/libm-test.inc (IGNORE_RESULT): New macro.
59175         (check_float_internal): Do not check numerical result if flag
59176         IGNORE_RESULT set.
59177         (check_complex): Pass through IGNORE_RESULT to second
59178         check_float_internal call.
59179         (check_int): Do not check numerical result if flag IGNORE_RESULT
59180         set.
59181         (check_long): Likewise.
59182         (check_bool): Likewise.
59183         (check_longlong): Likewise.
59184         (lrint_test_data): Add tests of infinite and NaN arguments.
59185         (lrint_tonearest_test_data): Likewise.
59186         (lrint_towardzero_test_data): Likewise.
59187         (lrint_downward_test_data): Likewise.
59188         (lrint_upward_test_data): Likewise.
59189         (llrint_test_data): Likewise.
59190         (llrint_tonearest_test_data): Likewise.
59191         (llrint_towardzero_test_data): Likewise.
59192         (llrint_downward_test_data): Likewise.
59193         (llrint_upward_test_data): Likewise.
59194         (lround_test_data): Likewise.
59195         (llround_test_data): Likewise.
59197         * math/libm-test.inc (NO_TEST_INLINE): New macro.
59198         (ERRNO_UNCHANGED): Update value.
59199         (ERRNO_EDOM): Likewise.
59200         (ERRNO_ERANGE): Likewise.
59201         (NO_TEST_INLINE_FLOAT): New macro.
59202         (NO_TEST_INLINE_DOUBLE): Likewise.
59203         (enable_test): New function.
59204         (RUN_TEST_f_f): Check enable_test before running test.
59205         (RUN_TEST_2_f): Likewise.
59206         (RUN_TEST_fff_f): Likewise.
59207         (RUN_TEST_c_f): Likewise.
59208         (RUN_TEST_f_f1): Likewise.
59209         (RUN_TEST_fF_f1): Likewise.
59210         (RUN_TEST_fI_f1): Likewise.
59211         (RUN_TEST_ffI_f1): Likewise.
59212         (RUN_TEST_c_c): Likewise.
59213         (RUN_TEST_cc_c): Likewise.
59214         (RUN_TEST_f_i): Likewise.
59215         (RUN_TEST_f_i_tg): Likewise.
59216         (RUN_TEST_ff_i_tg): Likewise.
59217         (RUN_TEST_f_b): Likewise.
59218         (RUN_TEST_f_b_tg): Likewise.
59219         (RUN_TEST_f_l): Likewise.
59220         (RUN_TEST_f_L): Likewise.
59221         (RUN_TEST_fFF_11): Likewise.
59222         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
59223         conditionals.
59224         (cosh_test_data): Likewise.
59225         (exp_test_data): Likewise.
59226         (expm1_test_data): Likewise.
59227         (hypot_test_data): Likewise.
59228         (pow_test_data): Likewise.
59229         (sinh_test_data): Likewise.
59230         (tanh_test_data): Likewise.
59231         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
59232         flags argument.
59234         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
59235         tests with quiet NaN input and output.
59236         (acosh_test_data): Likewise.
59237         (asin_test_data): Likewise.
59238         (asinh_test_data): Likewise.
59239         (atan_test_data): Likewise.
59240         (atanh_test_data): Likewise.
59241         (atan2_test_data): Likewise.
59242         (cbrt_test_data): Likewise.
59243         (cos_test_data): Likewise.
59244         (cosh_test_data): Likewise.
59245         (erf_test_data): Likewise.
59246         (erfc_test_data): Likewise.
59247         (exp_test_data): Likewise.
59248         (exp10_test_data): Likewise.
59249         (exp2_test_data): Likewise.
59250         (expm1_test_data): Likewise.
59251         (hypot_test_data): Likewise.
59252         (j0_test_data): Likewise.
59253         (j1_test_data): Likewise.
59254         (jn_test_data): Likewise.
59255         (lgamma_test_data): Likewise.
59256         (log_test_data): Likewise.
59257         (log10_test_data): Likewise.
59258         (log1p_test_data): Likewise.
59259         (log2_test_data): Likewise.
59260         (pow_test_data): Likewise.
59261         (scalb_test_data): Likewise.
59262         (sin_test_data): Likewise.
59263         (sincos_test_data): Likewise.
59264         (sinh_test_data): Likewise.
59265         (tan_test_data): Likewise.
59266         (tanh_test_data): Likewise.
59267         (tgamma_test_data): Likewise.
59268         (y0_test_data): Likewise.
59269         (y1_test_data): Likewise.
59270         (yn_test_data): Likewise.
59272         [BZ #16167]
59273         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
59274         argument being NaN and avoid computations with second argument in
59275         that case.
59276         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
59277         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
59278         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
59280 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
59282         * locale/iso-639.def: Add Chitwani Tharu (the).
59284 2013-11-14  Andreas Schwab  <schwab@suse.de>
59286         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
59287         word instead of empty string.
59289 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
59292         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
59293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
59294         (__fe_nomask_env): Likewise.
59296 2013-11-13  Steve Ellcey  <sellcey@mips.com>
59298         * benchtests/bench-timing.h: Include time.h.
59300 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
59302         [BZ #15997]
59303         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
59304         to 3.4.0 for x32.
59305         * sysdeps/unix/sysv/linux/configure: Regenerated.
59307 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
59309         [BZ #16151]
59310         * stdlib/strtod_l.c (round_and_return): Do not consider
59311         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
59312         exponent one less than half the least subnormal exponent.
59313         * stdlib/test-strtod-round-data: Add more tests.
59314         * stdlib/tst-strtod-round.c (tests): Regenerated.
59316 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59318         [BZ #14143]
59319         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
59320         (__fe_mask_env): Likewise.
59321         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
59322         libm_hidden_proto and add function prototype.
59323         (__fe_mask_env): Add function prototype.
59324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
59325         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
59326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
59327         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
59328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
59329         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
59331 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
59333         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
59334         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
59336 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
59338         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
59339         of htab_find_slot().
59341 2013-11-11  David S. Miller  <davem@davemloft.net>
59343         [BZ #16150]
59344         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
59345         symbol in the non-vis3 case in static builds.
59346         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
59347         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
59348         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
59349         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
59351 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
59353         [BZ #387]
59354         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
59355         it is empty.
59357 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59359         * benchtests/Makefile: Add bench-strtod.
59360         * benchtests/bench-strtod.c: New file: strtod benchtest
59362 2013-11-11  Andreas Schwab  <schwab@suse.de>
59364         [BZ #16153]
59365         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
59366         terminating NUL in key length.
59368 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59370         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
59371         Add artificial ODP entry for vDSO symbol for PPC64.
59372         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
59373         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
59375 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
59377         [BZ #15374]
59378         * nss/getent.c (services_keys): Recognize services starting with digit.
59380 2013-11-06  David S. Miller  <davem@davemloft.net>
59382         [BZ #15985]
59383         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
59384         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
59386 2013-11-06  Will Newton  <will.newton@linaro.org>
59388         * manual/memory.texi (Malloc Examples): Remove register
59389         keyword from examples.
59391 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
59393         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
59395 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
59397         [BZ #6981]
59398         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
59399         depending on [__GCC_IEC_559 > 0].
59400         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
59401         depending on [__GCC_IEC_559_COMPLEX > 0].
59403 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
59405         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
59406         to iso-639.def.
59408 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
59410         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
59412 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
59414         [BZ #16112]
59415         * malloc/malloc (malloc_info): Do not handle first bin as
59416         special case.
59418 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
59420         * locale/iso-639.def: Add Central Nahuatl (nhn).
59422 2013-11-01  Bruno Haible  <bruno@clisp.org>
59424         [BZ #7003]
59425         * manual/math.texi (BSD Random): Specify range upper bound as
59426         in POSIX.
59428 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
59430         * locale/iso-639.def: Add Meadow Mari (mhr).
59432 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
59434         [BZ #14752], [BZ #15763]
59435         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
59436         Validate name.
59437         * rt/tst_shm.c: Add test for escaping directory.
59439 2013-10-31  Andreas Schwab  <schwab@suse.de>
59441         [BZ #15917]
59442         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
59443         followed by 'x' as part of digit sequence.
59444         * stdio-common/tst-sscanf.c (double_tests2): New tests.
59446 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
59448         [BZ #16037]
59449         * configure.ac: allow GNU Make 4.0 and greater.
59450         * configure: Regenerated.
59452 2013-10-30  Will Newton  <will.newton@linaro.org>
59454         [BZ #16038]
59455         * malloc/hooks.c (memalign_check): Limit alignment to the
59456         maximum representable power of two.
59457         * malloc/malloc.c (__libc_memalign): Likewise.
59458         * malloc/tst-memalign.c (do_test): Add test for very
59459         large alignment values.
59460         * malloc/tst-posix_memalign.c (do_test): Likewise.
59462 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
59464         [BZ #11087]
59465         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
59466         (munmap_chunk): Likewise.
59467         (mremap_chunk): Likewise.
59469 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
59471         [BZ #15799]
59472         * stdlib/div.c (div): Remove obsolete code.
59473         * stdlib/ldiv.c (ldiv): Likewise.
59474         * stdlib/lldiv.c (lldiv): Likewise.
59476 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
59478         [BZ #16071]
59479         * nss/nss_files/files-XXX.c (get_contents_ret): New
59480         enumerator.
59481         (get_contents): New function.
59482         (internal_getent): Use it.  Expand size of LINEBUFLEN.
59484 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
59486         * configure.in: Moved to ...
59487         * configure.ac: ... here. Change reference to configure.in
59488         to configure.ac.
59489         * sysdeps/arm/preconfigure.ac: ... here.
59490         configure.in to configure.ac.
59491         * sysdeps/gnu/configure.in: Moved to ...
59492         * sysdeps/gnu/configure.ac: ... here.
59493         * sysdeps/i386/configure.in: Moved to ...
59494         * sysdeps/i386/configure.ac: ... here.
59495         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
59496         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
59497         * sysdeps/mach/configure.in: Moved to ...
59498         * sysdeps/mach/configure.ac: ... here.
59499         * sysdeps/mach/hurd/configure.in: Moved to ...
59500         * sysdeps/mach/hurd/configure.ac: ... here.
59501         * sysdeps/powerpc/configure.in: Moved to ...
59502         * sysdeps/powerpc/configure.ac: ... here.
59503         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
59504         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
59505         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
59506         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
59507         * sysdeps/s390/s390-32/configure.in: Moved to ...
59508         * sysdeps/s390/s390-32/configure.ac: ... here.
59509         * sysdeps/s390/s390-64/configure.in: Moved to ...
59510         * sysdeps/s390/s390-64/configure.ac: ... here.
59511         * sysdeps/sh/configure.in: Moved to ...
59512         * sysdeps/sh/configure.ac: ... here.
59513         * sysdeps/sparc/configure.in: Moved to ...
59514         * sysdeps/sparc/configure.ac: ... here.
59515         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
59516         * sysdeps/unix/sysv/linux/configure.ac: ... here.
59517         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
59518         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
59519         * sysdeps/x86_64/configure.in: Moved to ...
59520         * sysdeps/x86_64/configure.ac: ... here.
59521         * sysdeps/x86_64/preconfigure.in: Moved to ...
59522         * sysdeps/x86_64/preconfigure.ac: ... here.
59523         * aclocal.m4: Change reference to configure.in to configure.ac.
59524         * config.h.in: Likewise.
59525         * manual/install.texi: Likewise.
59526         * manual/maint.texi: Likewise.
59527         * Makefile: Likewise.
59528         * malloc/Makefile: Likewise.
59529         * nscd/Makefile: Likewise.
59530         * Makeconfig: Change reference to configure.in and
59531         preconfigure.in to configure.ac and preconfigure.ac
59532         respectively.
59533         * INSTALL: Regenerated.
59534         * configure: Likewise.
59535         * sysdeps/gnu/configure: Likewise.
59536         * sysdeps/i386/configure: Likewise.
59537         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
59538         * sysdeps/mach/configure: Likewise.
59539         * sysdeps/mach/hurd/configure: Likewise.
59540         * sysdeps/powerpc/configure: Likewise.
59541         * sysdeps/powerpc/powerpc32/configure: Likewise.
59542         * sysdeps/powerpc/powerpc64/configure: Likewise.
59543         * sysdeps/s390/s390-32/configure: Likewise.
59544         * sysdeps/s390/s390-64/configure: Likewise.
59545         * sysdeps/sh/configure: Likewise.
59546         * sysdeps/sparc/configure: Likewise.
59547         * sysdeps/unix/sysv/linux/configure: Likewise.
59548         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
59549         * sysdeps/x86_64/configure: Likewise.
59550         * sysdeps/x86_64/preconfigure: Likewise.
59552 2013-10-29  Andreas Schwab  <schwab@suse.de>
59554         * stdio-common/Makefile (tst-swscanf-ENV): Define.
59556 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
59558         * benchtests/pow-inputs: Add new inputs.
59560         * benchtests/exp-inputs: Add new inputs.
59562         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
59563         conditional check for return value.
59564         (__cos32): Likewise.
59566 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59568         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
59569         to provide a boost for large inputs with word alignment.
59570         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
59571         implementation based on optimized PPC64 strcpy.
59572         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
59573         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
59574         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
59575         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
59577 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
59579         [BZ #2801]
59580         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
59582 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
59584         [BZ #14876]
59585         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
59586         * time/tst-strptime.c (day_tests): Add testcase.
59588 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
59590         [BZ #14029]
59591         * manual/pattern.texi: Acknowledge that fnmatch can fail.
59593 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
59595         [BZ #16074]
59596         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
59597         MAP_FAILED on error.
59599 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
59601         [BZ #16072]
59602         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
59603         heap for large requests.
59605 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
59607         [BZ #9954]
59608         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
59609         result if the result has no associated interface.
59610         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
59611         interface for all 127.X.Y.Z addresses.
59613 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
59615         * locale/iso-639.def: Add Ligurian (lij)
59617 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
59619         [BZ #15825]
59620         * sunrpc/rpc_main.c: Document rpcgen -5.
59622 2013-10-19  Michael Stahl  <mstahl@redhat.com>
59624         * elf/rtld.c (do_preload): Print the reason why preloading failed.
59626 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
59628         [BZ #10278]
59629         * posix/glob.c: Match only directories when trailing slash is present.
59630         * posix/tst-gnuglob.c (my_opendir): Do not open files.
59631         (main): Add testcase.
59633 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
59635         [BZ #15670]
59636         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
59638 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
59640         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
59641         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
59642         AUTH_DES and cindex for FIPS 140-2.
59643         (DES Encryption): Add cindex FIPS 46-3.
59645         * locale/locarchive.h (struct locarhandle): Add fname.
59646         * locale/programs/localedef.c (main): Pass ARGV[remaining]
59647         if an optional argument was specified to --list-archive,
59648         otherwise NULL.
59649         * locale/programs/locarchive.c (show_archive_content): Take new
59650         argument fname and pass it via ah.fname to open_archive.
59651         * locale/programs/localedef.h: Update decl.
59652         (open_archive): If AH->fname is non-null, open that file
59653         rather than the default file name, and don't ignore ENOENT.
59654         (create_archive): Set AH.fname to NULL.
59655         (delete_locales_from_archive): Likewise.
59656         (add_locales_to_archive): Likewise.
59657         * locale/programs/locfile.c (write_all_categories): Likewise.
59659 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
59660             Aldy Hernandez  <aldyh@redhat.com>
59662         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
59663         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
59664         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
59665         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
59666         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
59667         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
59668         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
59669         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
59670         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
59671         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
59672         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
59673         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
59674         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
59675         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
59676         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
59677         Likewise.
59678         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
59679         Likewise.
59680         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
59681         Likewise.
59682         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
59683         Likewise.
59684         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
59685         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
59686         Likewise.
59687         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
59688         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
59689         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
59690         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
59691         Likewise.
59692         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
59693         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
59694         * sysdeps/powerpc/preconfigure: Likewise.
59695         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
59696         Likewise.
59697         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
59698         Replace contents of file by #include of <fenv_libc.h>.
59699         * sysdeps/powerpc/soft-fp/sfp-machine.h
59700         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
59701         and <sys/prctl.h>.
59702         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
59703         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
59704         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
59705         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
59706         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
59707         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
59708         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
59709         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
59710         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
59711         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
59712         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
59713         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
59714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
59715         Allow copysignl PLT reference to be missing.
59717 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
59718             Joseph Myers  <joseph@codesourcery.com
59720         [BZ #15948]
59721         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
59722         single character.
59723         (add_to_tablewc): Assert sequence of wide characters is nonempty.
59725 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
59727         * elf/tst-tls-dlinfo.c: Don't include tls.h.
59728         * elf/tst-tls1.c: Likewise.
59729         * elf/tst-tls10.h: Likewise.
59730         * elf/tst-tls14.c: Likewise.
59731         * elf/tst-tls2.c: Likewise.
59732         * elf/tst-tls3.c: Likewise.
59733         * elf/tst-tls4.c: Likewise.
59734         * elf/tst-tls5.c: Likewise.
59735         * elf/tst-tls6.c: Likewise.
59736         * elf/tst-tls7.c: Likewise.
59737         * elf/tst-tls8.c: Likewise.
59738         * elf/tst-tls9.c: Likewise.
59739         * elf/tst-tlsmod1.c: Likewise.
59740         * elf/tst-tlsmod13.c: Likewise.
59741         * elf/tst-tlsmod13a.c: Likewise.
59742         * elf/tst-tlsmod14a.c: Likewise.
59743         * elf/tst-tlsmod16a.c: Likewise.
59744         * elf/tst-tlsmod16b.c: Likewise.
59745         * elf/tst-tlsmod2.c: Likewise.
59746         * elf/tst-tlsmod3.c: Likewise.
59747         * elf/tst-tlsmod4.c: Likewise.
59748         * elf/tst-tlsmod5.c: Likewise.
59749         * elf/tst-tlsmod6.c: Likewise.
59751 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
59753         [BZ #12486]
59754         * malloc/malloc.c: remove checks for statistics.
59756 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
59758         [BZ #15277]
59759         * inet/inet_net.c (inet_network): Detect additional invalid strings.
59760         * inet/tst-network.c: Add testcase.
59762 2013-10-17  Andreas Schwab  <schwab@suse.de>
59764         [BZ #15218]
59765         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
59766         to determine canonical name.
59768 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
59770         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
59771         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
59772         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
59773         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
59774         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
59775         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
59776         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
59777         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
59778         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
59779         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
59780         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
59781         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
59782         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
59783         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
59784         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
59785         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
59786         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59787         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
59788         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
59789         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
59790         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
59791         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
59792         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
59793         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
59794         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
59795         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
59796         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
59797         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
59798         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
59799         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
59800         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
59801         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
59802         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
59803         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
59804         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
59805         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
59806         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
59807         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
59808         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
59809         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
59810         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
59811         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
59812         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
59813         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
59814         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
59815         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
59816         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
59817         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
59818         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
59819         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
59820         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
59821         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
59822         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
59823         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
59824         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
59825         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
59826         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
59827         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
59829 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
59831         [BZ #16041]
59832         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
59833         make result into a quiet NaN.
59835 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
59837         * soft-fp/adddf3.c: Fix horizontal whitespace.
59838         * soft-fp/addsf3.c: Likewise.
59839         * soft-fp/addtf3.c: Likewise.
59840         * soft-fp/divdf3.c: Likewise.
59841         * soft-fp/divsf3.c: Likewise.
59842         * soft-fp/divtf3.c: Likewise.
59843         * soft-fp/double.h: Likewise.
59844         * soft-fp/eqdf2.c: Likewise.
59845         * soft-fp/eqsf2.c: Likewise.
59846         * soft-fp/eqtf2.c: Likewise.
59847         * soft-fp/extenddftf2.c: Likewise.
59848         * soft-fp/extended.h: Likewise.
59849         * soft-fp/extendsfdf2.c: Likewise.
59850         * soft-fp/extendsftf2.c: Likewise.
59851         * soft-fp/extendxftf2.c: Likewise.
59852         * soft-fp/fixdfdi.c: Likewise.
59853         * soft-fp/fixdfsi.c: Likewise.
59854         * soft-fp/fixdfti.c: Likewise.
59855         * soft-fp/fixsfdi.c: Likewise.
59856         * soft-fp/fixsfsi.c: Likewise.
59857         * soft-fp/fixsfti.c: Likewise.
59858         * soft-fp/fixtfdi.c: Likewise.
59859         * soft-fp/fixtfsi.c: Likewise.
59860         * soft-fp/fixtfti.c: Likewise.
59861         * soft-fp/fixunsdfdi.c: Likewise.
59862         * soft-fp/fixunsdfsi.c: Likewise.
59863         * soft-fp/fixunsdfti.c: Likewise.
59864         * soft-fp/fixunssfdi.c: Likewise.
59865         * soft-fp/fixunssfsi.c: Likewise.
59866         * soft-fp/fixunssfti.c: Likewise.
59867         * soft-fp/fixunstfdi.c: Likewise.
59868         * soft-fp/fixunstfsi.c: Likewise.
59869         * soft-fp/fixunstfti.c: Likewise.
59870         * soft-fp/floatdidf.c: Likewise.
59871         * soft-fp/floatdisf.c: Likewise.
59872         * soft-fp/floatditf.c: Likewise.
59873         * soft-fp/floatsidf.c: Likewise.
59874         * soft-fp/floatsisf.c: Likewise.
59875         * soft-fp/floatsitf.c: Likewise.
59876         * soft-fp/floattidf.c: Likewise.
59877         * soft-fp/floattisf.c: Likewise.
59878         * soft-fp/floattitf.c: Likewise.
59879         * soft-fp/floatundidf.c: Likewise.
59880         * soft-fp/floatundisf.c: Likewise.
59881         * soft-fp/floatunditf.c: Likewise.
59882         * soft-fp/floatunsidf.c: Likewise.
59883         * soft-fp/floatunsisf.c: Likewise.
59884         * soft-fp/floatunsitf.c: Likewise.
59885         * soft-fp/floatuntidf.c: Likewise.
59886         * soft-fp/floatuntisf.c: Likewise.
59887         * soft-fp/floatuntitf.c: Likewise.
59888         * soft-fp/fmadf4.c: Likewise.
59889         * soft-fp/fmasf4.c: Likewise.
59890         * soft-fp/fmatf4.c: Likewise.
59891         * soft-fp/gedf2.c: Likewise.
59892         * soft-fp/gesf2.c: Likewise.
59893         * soft-fp/getf2.c: Likewise.
59894         * soft-fp/ledf2.c: Likewise.
59895         * soft-fp/lesf2.c: Likewise.
59896         * soft-fp/letf2.c: Likewise.
59897         * soft-fp/muldf3.c: Likewise.
59898         * soft-fp/mulsf3.c: Likewise.
59899         * soft-fp/multf3.c: Likewise.
59900         * soft-fp/negdf2.c: Likewise.
59901         * soft-fp/negsf2.c: Likewise.
59902         * soft-fp/negtf2.c: Likewise.
59903         * soft-fp/op-1.h: Likewise.
59904         * soft-fp/op-2.h: Likewise.
59905         * soft-fp/op-4.h: Likewise.
59906         * soft-fp/op-8.h: Likewise.
59907         * soft-fp/op-common.h: Likewise.
59908         * soft-fp/quad.h: Likewise.
59909         * soft-fp/single.h: Likewise.
59910         * soft-fp/soft-fp.h: Likewise.
59911         * soft-fp/sqrtdf2.c: Likewise.
59912         * soft-fp/sqrtsf2.c: Likewise.
59913         * soft-fp/sqrttf2.c: Likewise.
59914         * soft-fp/subdf3.c: Likewise.
59915         * soft-fp/subsf3.c: Likewise.
59916         * soft-fp/subtf3.c: Likewise.
59917         * soft-fp/truncdfsf2.c: Likewise.
59918         * soft-fp/trunctfdf2.c: Likewise.
59919         * soft-fp/trunctfsf2.c: Likewise.
59920         * soft-fp/trunctfxf2.c: Likewise.
59921         * soft-fp/unorddf2.c: Likewise.
59922         * soft-fp/unordsf2.c: Likewise.
59923         * soft-fp/unordtf2.c: Likewise.
59925 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
59927         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
59928         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
59930 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
59932         * elf/dl-libc.c: Clear initfini list after freeing.
59934 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
59936         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
59937         * soft-fp/addsf3.c: Likewise.
59938         * soft-fp/addtf3.c: Likewise.
59939         * soft-fp/divdf3.c: Likewise.
59940         * soft-fp/divsf3.c: Likewise.
59941         * soft-fp/divtf3.c: Likewise.
59942         * soft-fp/double.h: Likewise.
59943         * soft-fp/eqdf2.c: Likewise.
59944         * soft-fp/eqsf2.c: Likewise.
59945         * soft-fp/eqtf2.c: Likewise.
59946         * soft-fp/extenddftf2.c: Likewise.
59947         * soft-fp/extended.h: Likewise.
59948         * soft-fp/extendsfdf2.c: Likewise.
59949         * soft-fp/extendsftf2.c: Likewise.
59950         * soft-fp/extendxftf2.c: Likewise.
59951         * soft-fp/fixdfdi.c: Likewise.
59952         * soft-fp/fixdfsi.c: Likewise.
59953         * soft-fp/fixdfti.c: Likewise.
59954         * soft-fp/fixsfdi.c: Likewise.
59955         * soft-fp/fixsfsi.c: Likewise.
59956         * soft-fp/fixsfti.c: Likewise.
59957         * soft-fp/fixtfdi.c: Likewise.
59958         * soft-fp/fixtfsi.c: Likewise.
59959         * soft-fp/fixtfti.c: Likewise.
59960         * soft-fp/fixunsdfdi.c: Likewise.
59961         * soft-fp/fixunsdfsi.c: Likewise.
59962         * soft-fp/fixunsdfti.c: Likewise.
59963         * soft-fp/fixunssfdi.c: Likewise.
59964         * soft-fp/fixunssfsi.c: Likewise.
59965         * soft-fp/fixunssfti.c: Likewise.
59966         * soft-fp/fixunstfdi.c: Likewise.
59967         * soft-fp/fixunstfsi.c: Likewise.
59968         * soft-fp/fixunstfti.c: Likewise.
59969         * soft-fp/floatdidf.c: Likewise.
59970         * soft-fp/floatdisf.c: Likewise.
59971         * soft-fp/floatditf.c: Likewise.
59972         * soft-fp/floatsidf.c: Likewise.
59973         * soft-fp/floatsisf.c: Likewise.
59974         * soft-fp/floatsitf.c: Likewise.
59975         * soft-fp/floattidf.c: Likewise.
59976         * soft-fp/floattisf.c: Likewise.
59977         * soft-fp/floattitf.c: Likewise.
59978         * soft-fp/floatundidf.c: Likewise.
59979         * soft-fp/floatundisf.c: Likewise.
59980         * soft-fp/floatunsidf.c: Likewise.
59981         * soft-fp/floatunsisf.c: Likewise.
59982         * soft-fp/floatuntidf.c: Likewise.
59983         * soft-fp/floatuntisf.c: Likewise.
59984         * soft-fp/floatuntitf.c: Likewise.
59985         * soft-fp/fmadf4.c: Likewise.
59986         * soft-fp/fmasf4.c: Likewise.
59987         * soft-fp/fmatf4.c: Likewise.
59988         * soft-fp/gedf2.c: Likewise.
59989         * soft-fp/gesf2.c: Likewise.
59990         * soft-fp/getf2.c: Likewise.
59991         * soft-fp/ledf2.c: Likewise.
59992         * soft-fp/lesf2.c: Likewise.
59993         * soft-fp/letf2.c: Likewise.
59994         * soft-fp/muldf3.c: Likewise.
59995         * soft-fp/mulsf3.c: Likewise.
59996         * soft-fp/multf3.c: Likewise.
59997         * soft-fp/negdf2.c: Likewise.
59998         * soft-fp/negsf2.c: Likewise.
59999         * soft-fp/negtf2.c: Likewise.
60000         * soft-fp/op-1.h: Likewise.
60001         * soft-fp/op-2.h: Likewise.
60002         * soft-fp/op-4.h: Likewise.
60003         * soft-fp/op-8.h: Likewise.
60004         * soft-fp/op-common.h: Likewise.
60005         * soft-fp/quad.h: Likewise.
60006         * soft-fp/single.h: Likewise.
60007         * soft-fp/soft-fp.h: Likewise.
60008         * soft-fp/sqrtdf2.c: Likewise.
60009         * soft-fp/sqrtsf2.c: Likewise.
60010         * soft-fp/sqrttf2.c: Likewise.
60011         * soft-fp/subdf3.c: Likewise.
60012         * soft-fp/subsf3.c: Likewise.
60013         * soft-fp/subtf3.c: Likewise.
60014         * soft-fp/truncdfsf2.c: Likewise.
60015         * soft-fp/trunctfdf2.c: Likewise.
60016         * soft-fp/trunctfsf2.c: Likewise.
60017         * soft-fp/trunctfxf2.c: Likewise.
60018         * soft-fp/unorddf2.c: Likewise.
60019         * soft-fp/unordsf2.c: Likewise.
60020         * soft-fp/unordtf2.c: Likewise.
60022 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
60024         [BZ #15672]
60025         * misc/error.c (error_tail): Fix possible buffer overflow.
60027 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
60029         [BZ #13028]
60030         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
60031         address.
60033 2013-10-14  P. J. McDermott  <pj@pehjota.net>
60035         [BZ #832]
60036         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
60037         testing pipefail option.
60039 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
60041         * soft-fp/double.h: Indent preprocessor directives inside #if.
60042         * soft-fp/extended.h: Likewise.
60043         * soft-fp/op-2.h: Likewise.
60044         * soft-fp/op-4.h: Likewise.
60045         * soft-fp/op-common.h: Likewise.
60046         * soft-fp/quad.h: Likewise.
60047         * soft-fp/single.h: Likewise.
60048         * soft-fp/soft-fp.h: Likewise.
60050 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
60052         * iconv/iconv_prog.c: Fix typos.
60053         * stdio-common/psiginfo-data.h: Likewise.
60055 2013-10-12   Reuben Thomas <rrt@sc3d.org>
60057         [BZ #15764]
60058         * locale/setlocale.c: Fix typo.
60060 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
60062         [BZ #16036]
60063         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
60064         signaling NaN arguments.
60065         * soft-fp/unordsf2.c (__unordsf2): Likewise.
60066         * soft-fp/unordtf2.c (__unordtf2): Likewise.
60068         [BZ #14910]
60069         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
60070         unordered operands.
60071         * soft-fp/gesf2.c (__gesf2): Likewise.
60072         * soft-fp/getf2.c (__getf2): Likewise.
60073         * soft-fp/ledf2.c (__ledf2): Likewise.
60074         * soft-fp/lesf2.c (__lesf2): Likewise.
60075         * soft-fp/letf2.c (__letf2): Likewise.
60077         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
60078         * soft-fp/eqsf2.c (__eqsf2): Likewise.
60079         * soft-fp/eqtf2.c (__eqtf2): Likewise.
60080         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
60081         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
60082         * soft-fp/fixdfti.c (__fixdfti): Likewise.
60083         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
60084         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
60085         * soft-fp/fixsfti.c (__fixsfti): Likewise.
60086         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
60087         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
60088         * soft-fp/fixtfti.c (__fixtfti): Likewise.
60089         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
60090         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
60091         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
60092         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
60093         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
60094         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
60095         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
60096         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
60097         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
60098         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
60099         * soft-fp/floatdisf.c (__floatdisf): Likewise.
60100         * soft-fp/floatsisf.c (__floatsisf): Likewise.
60101         * soft-fp/floattidf.c (__floattidf): Likewise.
60102         * soft-fp/floattisf.c (__floattisf): Likewise.
60103         * soft-fp/floattitf.c (__floattitf): Likewise.
60104         * soft-fp/floatundidf.c (__floatundidf): Likewise.
60105         * soft-fp/floatundisf.c (__floatundisf): Likewise.
60106         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
60107         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
60108         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
60109         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
60110         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
60111         * soft-fp/gesf2.c (__gesf2): Likewise.
60112         * soft-fp/getf2.c (__getf2): Likewise.
60113         * soft-fp/ledf2.c (__ledf2): Likewise.
60114         * soft-fp/lesf2.c (__lesf2): Likewise.
60115         * soft-fp/letf2.c (__letf2): Likewise.
60117         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
60118         Undefine and redefine.
60119         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
60120         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
60121         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
60122         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
60123         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
60124         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
60125         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
60126         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
60127         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
60128         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
60129         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
60130         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
60131         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
60132         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
60133         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
60135         [BZ #16032]
60136         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
60137         without decrementing exponent if mantissa >= that for the
60138         denominator, not >.
60139         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
60140         denominator, not >.  Decrement exponent in < case instead of
60141         incrementing in >= case.
60142         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
60143         without decrementing exponent if mantissa >= that for the
60144         denominator, not >.
60146         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
60147         computing saturated result for unsigned overflow.
60149 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
60150             Jeff Law  <law@redhat.com>
60152         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
60153         (atan2Mp): Add systemtap probe marker.
60154         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
60155         (__ieee754_log): Add systemtap probe marker.
60156         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
60157         (atanMp): Add systemtap probe marker.
60158         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
60159         (tanMp): Add systemtap probe marker.
60160         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
60161         (__slowexp): Add systemtap probe marker.
60162         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
60163         (__slowpow): Add systemtap probe marker.
60164         * manual/probes.texi: Document probes.
60166 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
60168         [BZ #15362]
60169         * libio/fileops.c (_IO_new_file_write): Return count of bytes
60170         written.
60171         (_IO_new_file_xsputn): Don't return EOF if nothing has been
60172         written.
60173         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
60174         written to buffer but not flushed.
60175         * libio/iofwrite_u.c:  Likewise.
60176         * libio/iopadn.c:  Return bytes returned even if EOF was
60177         encountered.
60178         * libio/iowpadn.c:  Likewise.
60179         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
60180         if _IO_padn does not write the whole buffer.
60181         [!COMPILE_WPRINTF] (PAD): Likewise.
60183 2013-10-10  David S. Miller  <davem@davemloft.net>
60185         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
60186         directory block.
60188 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
60190         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
60191         instead of FSF address.
60192         * soft-fp/fixdfti.c: Likewise.
60193         * soft-fp/fixsfti.c: Likewise.
60194         * soft-fp/fixtfti.c: Likewise.
60195         * soft-fp/fixunsdfti.c: Likewise.
60196         * soft-fp/fixunssfti.c: Likewise.
60197         * soft-fp/fixunstfti.c: Likewise.
60198         * soft-fp/floattidf.c: Likewise.
60199         * soft-fp/floattisf.c: Likewise.
60200         * soft-fp/floattitf.c: Likewise.
60201         * soft-fp/floatuntidf.c: Likewise.
60202         * soft-fp/floatuntisf.c: Likewise.
60203         * soft-fp/floatuntitf.c: Likewise.
60204         * soft-fp/trunctfxf2.c: Likewise.
60206         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
60207         * soft-fp/fixdfti.c: Likewise.
60208         * soft-fp/fixsfti.c: Likewise.
60209         * soft-fp/fixtfti.c: Likewise.
60210         * soft-fp/fixunsdfti.c: Likewise.
60211         * soft-fp/fixunssfti.c: Likewise.
60212         * soft-fp/fixunstfti.c: Likewise.
60213         * soft-fp/floattidf.c: Likewise.
60214         * soft-fp/floattisf.c: Likewise.
60215         * soft-fp/floattitf.c: Likewise.
60216         * soft-fp/floatuntidf.c: Likewise.
60217         * soft-fp/floatuntisf.c: Likewise.
60218         * soft-fp/floatuntitf.c: Likewise.
60219         * soft-fp/trunctfxf2.c: Likewise.
60221 2013-10-10  David S. Miller  <davem@davemloft.net>
60223         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60225 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
60227         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
60228         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
60229         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
60230         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
60231         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
60232         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
60233         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
60235         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
60236         for NaNs before doing comparisons on argument.
60237         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
60238         Likewise.
60240 2013-10-10  Will Newton  <will.newton@linaro.org>
60242         * malloc/hooks.c (memalign_check): Ensure the value of bytes
60243         passed to _int_memalign does not overflow.
60245 2013-10-10  Torvald Riegel  <triegel@redhat.com>
60247         * scripts/bench.pl: Add include-sources directive.
60248         * benchtests/README: Update documentation.
60250 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
60252         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
60253         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
60254         instead of FP_INIT_ROUNDMODE.
60255         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
60256         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
60258         [BZ #16034]
60259         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
60260         copy class of input value.
60261         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
60262         not handle exceptions.
60263         * soft-fp/negsf2.c (__negsf2): Likewise.
60264         * soft-fp/negtf2.c (__negtf2): Likewise.
60265         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
60267 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
60269         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
60270         semicolon.  From Linux kernel.
60272 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
60274         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
60276 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
60278         [BZ #156]
60279         * manual/socket.texi: Added statement about buffer
60280         for gethostbyname2_r.
60282 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
60284         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
60285         Use .p2align directive instead, throughout.
60286         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
60287         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
60288         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
60289         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
60290         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
60291         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
60292         * sysdeps/x86_64/strchr.S: Likewise.
60293         * sysdeps/x86_64/strrchr.S: Likewise.
60295 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
60297         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
60299         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
60301         * sysdeps/generic/math_private.h (__mpsin1): Remove
60302         declaration.
60303         (__mpcos1): Likewise.
60304         (__mpsin): New argument __range_reduce.
60305         (__mpcos): Likewise.
60306         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
60307         (slow): Use __mpsin and __mpcos.
60308         (slow1): Likewise.
60309         (slow2): Likewise.
60310         (sloww): Likewise.
60311         (sloww1): Likewise.
60312         (sloww2): Likewise.
60313         (bsloww): Likewise.
60314         (bsloww1): Likewise.
60315         (bsloww2): Likewise.
60316         (cslow2): Likewise.
60317         (csloww): Likewise.
60318         (csloww1): Likewise.
60319         (csloww2): Likewise.
60320         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
60321         range_reduce.  Merge in __mpsin1.
60322         (__mpcos): Likewise.
60323         (__mpsin1): Remove.
60324         (__mpcos1): Likewise.
60326 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
60328         * locale/loadlocale.c (_nl_intern_locale_data): Use
60329         LOCFILE_ALIGNED_P.
60330         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
60331         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
60332         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
60333         obstack data is appropriately aligned.
60334         (obstack_int32_grow_fast): Likewise.
60335         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
60336         * locale/programs/locfile.c (add_locale_uint32): Likewise.
60337         (add_locale_uint32_array): Likewise.
60339 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
60341         * benchtests/Makefile: Remove ARGLIST and RET variables.
60342         ($(objpfx)bench-%.c): Pass only function name to the script.
60343         * benchtests/README: Update documentation.
60344         * benchtests/acos-inputs: Add new directives.
60345         * benchtests/acosh-inputs: Likewise.
60346         * benchtests/asin-inputs: Likewise.
60347         * benchtests/asinh-inputs: Likewise.
60348         * benchtests/atan-inputs: Likewise.
60349         * benchtests/atanh-inputs: Likewise.
60350         * benchtests/cos-inputs: Likewise.
60351         * benchtests/cosh-inputs: Likewise.
60352         * benchtests/exp-inputs: Likewise.
60353         * benchtests/log-inputs: Likewise.
60354         * benchtests/pow-inputs: Likewise.
60355         * benchtests/rint-inputs: Likewise.
60356         * benchtests/sin-inputs: Likewise.
60357         * benchtests/sinh-inputs: Likewise.
60358         * benchtests/tan-inputs: Likewise.
60359         * benchtests/tanh-inputs: Likewise.
60360         * scripts/bench.pl: Add support for new directives.
60362 2013-10-07  Alan Modra  <amodra@gmail.com>
60364         * README: Fix careless merge.
60366 2013-10-05  Alan Modra  <amodra@gmail.com>
60368         * NEWS: Mention powerpc64le support and bugs fixed.
60369         * README: Both big-endian and little-endian powerpc64 supported.
60371 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60373         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
60374         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
60375         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
60376         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
60378 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
60380         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
60381         match prototype.
60383 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
60385         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
60386         Move -mhard-float appending from
60387         ports/sysdeps/powerpc/powerpc32/Makefile.
60388         [$(with-fp) = yes] (ASFLAGS): Likewise.
60389         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
60390         * sysdeps/powerpc/nofpu: Move directory from
60391         ports/sysdeps/powerpc/nofpu.
60392         * sysdeps/powerpc/soft-fp: Move directory from
60393         ports/sysdeps/powerpc/soft-fp.
60394         * sysdeps/powerpc/powerpc32/405: Move directory from
60395         ports/sysdeps/powerpc/powerpc32/405.
60396         * sysdeps/powerpc/powerpc32/440: Move directory from
60397         ports/sysdeps/powerpc/powerpc32/440.
60398         * sysdeps/powerpc/powerpc32/464: Move directory from
60399         ports/sysdeps/powerpc/powerpc32/464.
60400         * sysdeps/powerpc/powerpc32/476: Move directory from
60401         ports/sysdeps/powerpc/powerpc32/476.
60402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
60403         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
60404         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
60405         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
60406         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
60407         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
60408         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
60409         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
60410         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
60411         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
60412         * README: Update for powerpc-*-linux-gnu software floating point
60413         support in libc.
60415         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
60416         case to powerpc/powerpc32*.
60417         * sysdeps/unix/sysv/linux/configure: Regenerated.
60419         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
60420         (_FPU_MASK_OM): Define as 0x04.
60421         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
60422         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
60423         0x00c10080.
60424         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
60425         0x0000003c.
60426         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
60428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
60429         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
60430         getcontext_e500.
60431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
60432         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
60433         setcontext_e500.
60434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
60435         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
60436         and setcontext_e500.
60438 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
60440         * locale/iso-3166.def: Update iso-1366.def and related occurrences
60442 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
60444         * manual/threads.texi (Default Thread Attributes): Fix typo.
60446 2013-10-04  Will Newton  <will.newton@linaro.org>
60448         * malloc/Makefile: Add tst-memalign.
60449         * malloc/tst-memalign.c: New file.
60451         * malloc/tst-posix_memalign.c: Add comments.
60452         (do_test): Add comments and call free on all potentially
60453         allocated pointers. Add space after cast.
60455         * malloc/tst-pvalloc.c: Add comments.
60456         (do_test): Add comments and call free on all potentially
60457         allocated pointers. Remove duplicate check for NULL pointer.
60458         Add space after cast.
60460         * malloc/tst-valloc.c: Add comments.
60461         (do_test): Add comments and call free on all potentially
60462         allocated pointers. Remove duplicate check for NULL pointer.
60463         Add space after cast.
60465 2013-10-04  Alan Modra  <amodra@gmail.com>
60467         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
60468         Use stdint types in rather than __attribute__((mode())).
60469         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
60471 2013-10-04  Alan Modra  <amodra@gmail.com>
60473         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
60474         Correct handling of unaligned relocs for little-endian.
60475         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
60477 2013-10-04  Alan Modra  <amodra@gmail.com>
60479         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
60480         * configure: Regenerate.
60481         * nptl/shlib-versions: Powerpc*le starts at 2.18.
60482         * shlib-versions: Likewise.
60484 2013-10-04  Alan Modra  <amodra@gmail.com>
60486         * string/tester.c (test_memrchr): Increment reported test cycle.
60488 2013-10-04  Alan Modra  <amodra@gmail.com>
60490         * string/test-memcpy.c (do_one_test): When reporting errors, print
60491         string address and don't overrun end of string.
60493 2013-10-04  Alan Modra  <amodra@gmail.com>
60495         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
60496         insrdi.  Make better use of reg selection to speed exit slightly.
60497         Schedule entry path a little better.  Remove useless "are we done"
60498         checks on entry to main loop.  Handle wrapping around zero address.
60499         Correct main loop count.  Handle single left-over word from main
60500         loop inline rather than by using loop_small.  Remove extra word
60501         case in loop_small caused by wrong loop count.  Add little-endian
60502         support.
60503         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
60504         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
60505         cache hint.
60506         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
60507         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
60508         support.  Avoid rlwimi.
60509         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
60511 2013-10-04  Alan Modra  <amodra@gmail.com>
60513         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
60514         insrdi.  Formatting.
60515         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
60516         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
60517         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
60518         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
60519         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
60520         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
60522 2013-10-04  Alan Modra  <amodra@gmail.com>
60524         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
60525         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
60526         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
60527         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
60528         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
60529         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
60530         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
60531         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
60532         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
60533         use of regs.  Use power7 mtocrf.  Tidy function tails.
60535 2013-10-04  Alan Modra  <amodra@gmail.com>
60537         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
60538         Formatting.  Consistently use rXXX register defines or rN defines.
60539         Use early exit labels that avoid restoring unused non-volatile regs.
60540         Make cr field use more consistent with rWORDn compares.  Rename
60541         regs used as shift registers for unaligned loop, using rN defines
60542         for short lifetime/multiple use regs.
60543         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
60544         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
60545         addi 1,1,64 to pop stack frame.  Simplify return value code.
60546         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
60548 2013-10-04  Alan Modra  <amodra@gmail.com>
60550         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
60551         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
60552         rather than rlwimi.
60553         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
60554         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
60555         little-endian support.  Correct typos.
60556         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
60557         rather than rlwimi.
60558         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
60559         in loop and entry code to keep "and." results.
60560         (strchr): Add little-endian support.  Comment.  Move cntlzd
60561         earlier in tail.
60562         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
60564 2013-10-04  Alan Modra  <amodra@gmail.com>
60566         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
60567         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
60568         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
60569         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
60571 2013-10-04  Alan Modra  <amodra@gmail.com>
60573         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
60574         (rTMP): Define as r11.
60575         (strcmp): Add little-endian support.  Optimise tail.
60576         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
60577         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
60578         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
60579         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
60580         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
60581         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
60582         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
60584 2013-10-04  Alan Modra  <amodra@gmail.com>
60586         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
60587         little-endian support.  Remove unnecessary "are we done" tests.
60588         Handle "s" wrapping around zero and extremely large "size".
60589         Correct main loop count.  Handle single left-over word from main
60590         loop inline rather than by using small_loop.  Correct comments.
60591         Delete "zero" tail, use "end_max" instead.
60592         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
60594 2013-10-04  Alan Modra  <amodra@gmail.com>
60596         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
60597         support.  Don't branch over align.
60598         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
60599         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
60600         support.  Rearrange tmp reg use to suit.  Comment.
60601         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
60603 2013-10-04  Alan Modra  <amodra@gmail.com>
60605         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
60607 2013-10-04  Alan Modra  <amodra@gmail.com>
60609         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
60610         conditional form of branch and link when obtaining pc.
60611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
60613 2013-10-04  Alan Modra  <amodra@gmail.com>
60615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
60616         HIWORD/LOWORD.
60617         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
60618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
60620 2013-10-04  Alan Modra  <amodra@gmail.com>
60622         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
60623         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
60624         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
60625         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
60626         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
60627         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
60628         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
60629         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
60630         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
60631         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
60633 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
60634             Alistair Popple <alistair@ozlabs.au.ibm.com>
60635             Alan Modra <amodra@gmail.com>
60637         [BZ #15723]
60638         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
60639         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
60640         _dl_hwcap access for little-endian.
60641         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
60642         destroy vmx regs when saving unaligned.
60643         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
60644         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
60645         destroy vmx regs when saving unaligned.
60647 2013-10-04  Alan Modra  <amodra@gmail.com>
60649         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
60650         Don't use a union to pack hi/low value.
60652 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
60654         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
60655         for little-endian.
60656         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
60657         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
60658         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
60659         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
60660         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
60662 2013-10-04  Alan Modra  <amodra@gmail.com>
60664         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
60665         constants to usual value for .cst8 section, and remove redundant
60666         high address load.
60667         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
60668         constant for 0x1p52.  Load little-endian words of double from
60669         correct stack offsets.
60671 2013-10-04  Alan Modra  <amodra@gmail.com>
60673         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
60674         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
60675         words of double from correct stack offsets.
60676         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
60677         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
60678         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
60679         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
60680         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
60681         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
60682         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
60683         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
60684         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
60685         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
60686         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
60687         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
60688         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
60689         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
60690         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
60691         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
60692         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
60694 2013-10-04  Alan Modra  <amodra@gmail.com>
60696         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
60697         64-bit int/double union.
60698         (_FPU_SETCW): Likewise.
60699         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
60700         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
60702 2013-10-04  Alan Modra  <amodra@gmail.com>
60704         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
60705         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
60707 2013-10-04  Alan Modra  <amodra@gmail.com>
60709         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
60710         use vector int constants.
60711         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
60713 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
60715         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
60716         array with long long.
60717         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
60718         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
60719         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
60720         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
60721         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
60722         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
60723         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
60724         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
60725         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
60726         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
60727         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
60728         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
60729         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
60731 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
60733         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
60734         (__signbit): Likewise.  Correct for little-endian.
60735         (__signbitl): Call __signbit.
60736         (lrint): Correct for little-endian.
60737         (lrintf): Call lrint.
60739 2013-10-04  Alan Modra  <amodra@gmail.com>
60741         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
60742         union 32-bit int array member with 64-bit int array.
60743         (t515, tm256): Double rather than long double.
60744         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
60746 2013-10-04  Alan Modra  <amodra@gmail.com>
60748         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
60749         Delete.
60750         (IEEE854_LONG_DOUBLE_BIAS): Delete.
60751         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
60752         version of math_ldbl.h.
60754 2013-10-04  Alan Modra  <amodra@gmail.com>
60756         [BZ #15734], [BZ #15735]
60757         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
60758         all uses of ieee875 long double macros and unions.  Simplify test
60759         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
60760         ldbl_extract_mantissa value for ix,iy exponents.  Properly
60761         normalize after ldbl_extract_mantissa, and don't add hidden bit
60762         already handled.  Don't treat low word of ieee854 mantissa like
60763         low word of IBM long double and mask off bit when testing for
60764         zero.
60765         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
60766         all uses of ieee875 long double macros and unions.  Simplify tests
60767         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
60768         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
60769         two1022, instead use their values.  Recognise that tests for large
60770         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
60771         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
60772         Rewrite all uses of ieee875 long double macros and unions.  Simplify
60773         test for 0.0L and nan.  Correct negation.
60774         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
60775         ieee875 long double macros and unions.  Correct output for large
60776         magnitude x.  Correct absolute value calculation.
60777         (__erfcl): Likewise.
60778         * math/libm-test.inc: Add tests for errors discovered in IBM long
60779         double versions of fmodl, remainderl, erfl and erfcl.
60781 2013-10-04  Alan Modra  <amodra@gmail.com>
60783         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
60784         all uses of ieee854 long double macros and unions.  Simplify tests
60785         for long doubles that are fully specified by the high double.
60786         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
60787         Likewise.
60788         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
60789         Remove dead code too.
60790         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
60791         (__ieee754_ynl): Likewise.
60792         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
60793         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
60794         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
60795         Remove dead code too.
60796         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
60797         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
60798         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
60799         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
60800         Simplify.
60801         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
60802         Simplify.
60803         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
60804         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
60805         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
60806         Comment on variable precision.
60807         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
60808         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
60809         Likewise.
60810         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
60811         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
60812         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
60813         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
60814         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
60816 2013-10-04  Alan Modra  <amodra@gmail.com>
60818         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
60819         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
60820         all uses of ieee854 long double macros and unions.
60821         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
60822         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
60823         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
60824         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
60825         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
60826         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
60827         Likewise.
60828         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
60829         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
60830         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
60831         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
60832         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
60833         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
60834         Simplify sign and nan test too.
60835         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
60836         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
60837         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
60838         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
60839         Likewise.
60840         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
60841         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
60842         Likewise.
60843         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
60844         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
60845         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
60846         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
60847         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
60848         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
60850 2013-10-04  Alan Modra  <amodra@gmail.com>
60852         * stdio-common/printf_size.c (__printf_size): Don't use
60853         union ieee854_long_double in fpnum union.
60854         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
60855         signbit macro to retrieve sign from long double.
60856         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
60857         retrieve sign from long double.
60858         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
60859         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
60860         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
60861         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
60862         * math/test-misc.c (main): Don't use union ieee854_long_double.
60864 2013-10-04  Alan Modra  <amodra@gmail.com>
60866         [BZ #15680]
60867         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
60868         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
60869         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
60870         calculation.  Remove unnecessary test for denormal exponent.
60871         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
60872         Correct handling of denormals.  Avoid undefined shift behaviour.
60873         Correct normalisation of low mantissa when low double is denormal.
60874         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
60875         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
60876         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
60877         Correct normalisation of low mantissa.  Test for overflow of high
60878         mantissa and normalise.
60879         (ldbl_nearbyint): Use more readable constant for two52.
60880         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
60881         (__mpn_construct_long_double): Fix test for overflow of high
60882         mantissa and correct normalisation.  Avoid undefined shift.
60884 2013-10-04  Alan Modra  <amodra@gmail.com>
60886         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
60887         (union ibm_extended_long_double): Define as an array of ieee754_double.
60888         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
60889         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
60890         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
60891         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
60892         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
60893         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
60894         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
60895         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
60896         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
60897         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
60898         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
60900 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
60902         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
60903         page size instead of calling getpagesize.
60905         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
60906         (LOCFILE_ALIGN_MASK): Likewise.
60907         (LOCFILE_ALIGN_UP): Likewise.
60908         (LOCFILE_ALIGNED_P): Likewise.
60909         * locale/programs/ld-collate.c (collate_output): Use the new
60910         macros instead of __alignof__ (int32_t).
60911         * locale/weight.h (findidx): Likewise.
60913 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
60915         [BZ #431]
60916         * manual/string.texi: Fix strncat and wcsncat.
60918 2013-10-03  Brooks Moses  <bmoses@google.com>
60920         [BZ #15915]
60921         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
60922         * Makerules: ...here, and adjust associated comments.
60924 2013-10-02  Will Newton  <will.newton@linaro.org>
60926         * malloc/Makefile: Add tst-pvalloc.
60927         * malloc/tst-pvalloc.c: New file.
60929 2013-10-02  Will Newton  <will.newton@linaro.org>
60931         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
60932         improve test coverage.
60934 2013-10-02  Will Newton  <will.newton@linaro.org>
60936         * malloc/Makefile: Add tst-posix_memalign.
60937         * malloc/tst-posix_memalign.c: New file.
60939 2013-10-01  Eric Blake  <eblake@redhat.com>
60941         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
60942         Use __THROWNL rather than __THROW on static functions.
60944 2013-09-30  Petr Machata  <pmachata@redhat.com>
60946         * elf/elf.h (R_AARCH64_ABS16): New macro.
60947         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
60948         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
60949         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
60950         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
60951         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
60952         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
60953         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
60954         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
60955         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
60956         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
60957         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
60958         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
60959         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
60960         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
60961         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
60962         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
60963         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
60964         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
60965         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
60966         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
60967         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
60968         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
60969         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
60970         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
60971         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
60972         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
60973         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
60974         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
60975         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
60976         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
60977         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
60978         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
60979         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
60980         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
60981         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
60982         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
60983         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
60984         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
60985         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
60986         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
60987         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
60988         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
60989         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
60990         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
60991         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
60992         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
60993         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
60994         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
60995         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
60996         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
60997         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
60998         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
60999         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
61000         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
61001         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
61002         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
61003         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
61004         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
61005         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
61006         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
61007         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
61008         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
61009         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
61010         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
61011         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
61012         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
61013         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
61014         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
61015         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
61016         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
61017         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
61018         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
61019         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
61020         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
61021         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
61022         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
61023         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
61024         (R_AARCH64_TLSDESC_LDR): Likewise.
61025         (R_AARCH64_TLSDESC_ADD): Likewise.
61026         (R_AARCH64_TLSDESC_CALL): Likewise.
61028 2013-09-30  Andreas Schwab  <schwab@suse.de>
61030         [BZ #15048]
61031         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
61032         the nss database lookup.
61033         * nscd/initgrcache.c (addinitgroupsX): Likewise.
61034         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
61036 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
61038         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
61040 2013-09-28  P. J. McDermott  <pj@pehjota.net>
61042         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
61043         ${Bash-specific parameter/pattern/string} parameter expansion.
61044         * sysdeps/unix/make-syscalls.sh: Likewise.
61046 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
61048         * sysdeps/sh/stackguard-macros.h: New file.
61050 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
61052         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
61053         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
61054         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
61055         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
61056         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
61057         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
61059 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61061         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
61062         Fix thread ID register.
61064 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
61066         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
61067         [POSIX || UNIX98]: Require rather than permitting all symbols from
61068         <time.h>.
61069         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
61070         element of struct sched_param.
61071         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
61072         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
61073         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
61074         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
61075         constant.
61077 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
61079         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
61080         argument calculation.
61082 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
61084         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
61085         Expect macro.
61086         [POSIX] (pthread_attr_t): Do not require type.
61087         [POSIX] (pthread_cond_t): Likewise.
61088         [POSIX] (pthread_condattr_t): Likewise.
61089         [POSIX] (pthread_key_t): Likewise.
61090         [POSIX] (pthread_mutex_t): Likewise.
61091         [POSIX] (pthread_mutexattr_t): Likewise.
61092         [POSIX] (pthread_once_t): Likewise.
61093         [POSIX] (pthread_t): Likewise.
61094         [POSIX-based standards] (pthread_atfork): Expect function.
61096 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
61097             Richard Sandiford  <richard@codesourcery.com>
61099         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
61100         (swap_endianness_p): New extern variable.
61101         (set_big_endian): New inline function.
61102         (maybe_swap_uint32): Likewise.
61103         (maybe_swap_uint32_array): Likewise.
61104         (maybe_swap_uint32_obstack): Likewise.
61105         * locale/programs/locfile.c: Include <stdbool.h>.
61106         (swap_endianness_p): New variable.
61107         (add_locale_uint32): Call maybe_swap_uint32.
61108         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
61109         (write_locale_data): Call maybe_swap_uint32_array.
61110         * locale/programs/ld-collate.c (obstack_int32_grow): Call
61111         maybe_swap_uint32.
61112         (obstack_int32_grow_fast): Likewise.
61113         (output_weightwc): Call maybe_swap_uint32_obstack.
61114         (collate_output): Likewise.
61115         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
61116         (OPT_LITTLE_ENDIAN): Likewise.
61117         (options): Add --little-endian and --big-endian options.
61118         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
61119         * locale/programs/locarchive.c: Include "locfile.h".
61120         (GET): New macro.
61121         (SET): Likewise.
61122         (INC): Likewise.
61123         (create_archive): Use the new macros to access fields of
61124         structures directly mapped from or written to locale archives.
61125         (oldlocrecentcmp): Likewise.
61126         (enlarge_archive): Likewise.
61127         (insert_name): Likewise.
61128         (add_alias): Likewise.
61129         (add_locale): Likewise.
61130         (delete_locales_from_archive): Likewise.
61131         (show_archive_content): Likewise.
61132         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
61133         locale data.
61135 2013-09-24  Roland McGrath  <roland@hack.frob.com>
61137         * manual/freemanuals.texi: Updated from (newly) canonical copy at
61138         http://www.gnu.org/doc/freemanuals.texi.
61139         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
61141 2013-09-24  Will Newton  <will.newton@linaro.org>
61143         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
61144         macro.
61146 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
61148         * locale/hashval.h (compute_hashval): Interpret bytes of key as
61149         unsigned char.
61151 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
61153         * manual/threads.texi (POSIX Threads): Fix a typo.
61155 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
61157         [BZ #14547]
61158         * string/tst-strcoll-overflow.c: New test case.
61159         * string/Makefile (xtests): Add tst-strcoll-overflow.
61160         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
61161         cache if string sizes may cause integer overflow.
61163         [BZ #14547]
61164         * string/strcoll_l.c (coll_seq): New members rule, idx,
61165         save_idx and back_us.
61166         (get_next_seq_nocache): New function.
61167         (do_compare_nocache): New function.
61168         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
61169         when malloc fails.
61171 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
61173         [BZ #15754]
61174         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
61175         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
61176         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
61178         [BZ #15754]
61179         * elf/Makefile (tests): Add tst-ptrguard1.
61180         (tests-static): Add tst-ptrguard1-static.
61181         (tst-ptrguard1-ARGS): Define.
61182         (tst-ptrguard1-static-ARGS): Define.
61183         * elf/tst-ptrguard1.c: New file.
61184         * elf/tst-ptrguard1-static.c: New file.
61185         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
61186         * sysdeps/i386/stackguard-macros.h: Likewise.
61187         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
61188         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
61189         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
61190         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
61191         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
61192         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
61194 2013-09-23  Hector Marco  <hecmargi@upv.es>
61195             Ismael Ripoll  <iripoll@disca.upv.es>
61196             Carlos O'Donell  <carlos@redhat.com>
61198         [BZ #15754]
61199         * sysdeps/generic/stackguard-macros.h: Define
61200         __pointer_chk_guard_local and POINTER_CHK_GUARD.
61201         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
61202         Define __pointer_chk_guard_local.
61203         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
61204         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
61206 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
61208         [BZ #15859]
61209         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
61211 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
61213         * include/string.h (__ffs): Declare as hidden.
61214         * string/ffs.c (__ffs): Define as hidden.
61215         * sysdeps/i386/ffs.c (__ffs): Likewise.
61216         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
61217         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
61218         * sysdeps/s390/ffs.c (__ffs): Likewise.
61219         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
61221 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
61223         * NEWS: Mention malloc probes.
61225         * malloc/arena.c (new_heap): New memory_heap_new probe.
61226         (grow_heap): New memory_heap_more probe.
61227         (shrink_heap): New memory_heap_less probe.
61228         (heap_trim): New memory_heap_free probe.
61229         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
61230         (systrim): New memory_sbrk_less probe.
61231         * manual/probes.texi: Document them.
61233         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
61234         * manual/probes.texi: Document it.
61236         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
61237         (__libc_realloc): Add memory_realloc_retry probe.
61238         (__libc_memalign): Add memory_memalign_retry probe.
61239         (__libc_valloc): Add memory_valloc_retry probe.
61240         (__libc_pvalloc): Add memory_pvalloc_retry probe.
61241         (__libc_calloc): Add memory_calloc_retry probe.
61242         * manual/probes.texi: Document them.
61244         * malloc/arena.c (get_free_list): Add probe
61245         memory_arena_reuse_free_list.
61246         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
61247         and memory_arena_reuse.
61248         (arena_get2) [!PER_THREAD]: Likewise.
61249         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
61250         memory_arena_reuse_realloc.
61251         * manual/probes.texi: Document them.
61253         * malloc/malloc.c (__libc_free): Add
61254         memory_mallopt_free_dyn_thresholds probe.
61255         (__libc_mallopt): Add multiple memory_mallopt probes.
61256         * manual/probes.texi: Document them.
61258         * malloc/malloc.c: Include stap-probe.h.
61259         (__libc_mallopt): Add memory_mallopt probe.
61260         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
61261         * manual/probes.texi: New.
61262         * manual/Makefile (chapters): Add probes.
61263         * manual/threads.texi: Set next node.
61265 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
61267         [BZ #15963, #13985]
61268         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
61269         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
61270         Add `Chinese' to `nan' entry name.
61272 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
61274         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
61275         (POLYNOMIAL): Likewise.
61276         (TAYLOR_SINCOS): Likewise.
61277         (TAYLOR_SLOW): Likewise.
61278         (__sin): Use TAYLOR_SINCOS.
61279         (__cos): Likewise.
61280         (slow): Use TAYLOR_SLOW.
61281         (sloww): Likewise.
61282         (bsloww): Likewise.
61283         (csloww): Likewise.
61285 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
61287         * stdlib/strtod_l.c: Fix buffer overrun.
61289 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
61291         * benchtests/Makefile (bench): Add sincos.
61292         * benchtests/bench-sincos.c: New file.
61294         * math/libm-test.inc (cos_test_data): New test inputs.
61295         (sin_test_data): Likewise.
61297         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
61298         macro.
61299         (__sin): Use it.
61300         (__cos): Likewise.
61301         (slow1): Likewise.
61302         (slow2): Likewise.
61303         (sloww1): Likewise.
61304         (sloww2): Likewise.
61305         (bsloww1): Likewise.
61306         (bsloww2): Likewise.
61307         (cslow2): Likewise.
61308         (csloww1): Likewise.
61309         (csloww2): Likewise.
61311         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
61312         function.
61313         (__sin): Use it.
61314         (__cos): Likewise.
61316         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
61317         gotos.
61318         (__cos): Likewise.
61320 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
61322         * config.h.in (HAVE_MIPS_NAN2008): New macro.
61323         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
61324         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
61325         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
61326         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
61327         * elf/cache.c (print_entry): Handle the new cache flags.
61329 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
61330             Aldy Hernandez  <aldyh@redhat.com>
61332         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
61333         Change condition to [_SOFT_FLOAT].
61334         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
61335         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
61336         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
61337         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
61338         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
61339         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
61340         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
61341         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
61342         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
61343         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
61344         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
61345         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
61346         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
61347         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
61348         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
61349         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
61350         declaration.
61352 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
61354         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
61355         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
61356         (__longjmp): Use LOAD_GP to load saved GPRs.
61357         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
61358         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
61359         (__sigsetjmp): Use SAVE_GP to save GPRs.
61361         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
61362         Do not append -msoft-float.
61363         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
61365 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
61367         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
61369 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
61371         [BZ #15966]
61372         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
61373         (_FPU_GETCW): Use initial "__" on variable and field names but not
61374         on macro parameter name.
61375         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
61376         parentheses around reference to macro parameter.
61378 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
61380         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
61381         prototype.
61382         (ctype_startup): Use uint32_t in cast and sizeof for
61383         ctype->charnames.
61385 2013-09-11  Jia Liu  <proljc@gmail.com>
61387         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
61388         __daddr_t_defined.
61389         [__FreeBSD__]: Likewise.
61391 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
61393         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
61394         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
61395         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
61396         (strchr): Remove __strchr_sse42 ifunc selection.
61397         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
61398         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
61400 2013-09-11  Will Newton  <will.newton@linaro.org>
61402         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
61403         parameter to RES. Remove hardcoded 1000 value.
61404         * benchtests/bench-skeleton.c (main): Pass RES parameter
61405         to TIMING_INIT and multiply result by 1000.
61407 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61409         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61411 2013-09-11  Andreas Schwab  <schwab@suse.de>
61413         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
61414         if not defined.
61415         (O_TMPFILE) [__USE_GNU]: Define.
61416         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
61417         Define.
61419 2013-09-11  Will Newton  <will.newton@linaro.org>
61421         [BZ #15857]
61422         * malloc/malloc.c (__libc_memalign): Check the value of bytes
61423         does not overflow.
61425 2013-09-11  Will Newton  <will.newton@linaro.org>
61427         [BZ #15856]
61428         * malloc/malloc.c (__libc_valloc): Check the value of bytes
61429         does not overflow.
61431 2013-09-11  Will Newton  <will.newton@linaro.org>
61433         [BZ #15855]
61434         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
61435         does not overflow.
61437 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
61439         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
61440         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
61441         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
61442         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
61443         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
61445 2013-09-10  Allan McRae  <allan@archlinux.org>
61447         [BZ #15748]
61448         * manual/arith.texi (Parsing of Floats): Clarify
61449         cross-reference.
61451         [BZ #15849]
61452         * manual/install.texi (Running make install): Mention
61453         --enable-pt-chown.
61454         * INSTALL: Regenerated.
61456 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
61458         * csu/init-first.c (_init): Remove the !SHARED condition around
61459         FPU control word initialization.
61460         * elf/dl-support.c (_dl_fpu_control): New variable.
61461         (_dl_aux_init) <AT_FPUCW>: Initialize it.
61462         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
61463         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
61464         * math/test-fpucw-static.c: New file.
61465         * math/test-fpucw-ieee.c: New file.
61466         * math/test-fpucw-ieee-static.c: New file.
61467         * math/Makefile (tests): Add `test-fpucw-ieee' and
61468         `$(tests-static)'.
61469         (tests-static): New variable.
61470         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
61471         dependency to...
61472         [($(build-shared),yes)]
61473         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
61474         ... this.
61475         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
61476         New dependency.
61478 2013-09-09  Allan McRae  <allan@archlinux.org>
61480         [BZ #15939]
61481         * manual/string.texi (Collation Functions): Fix typo in
61482         strcoll example.
61483         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
61485         [BZ #15893]
61486         * stdlib/isomac.c (get_null_defines): Fix memory leak.
61488         [BZ #15892]
61489         * libio/memstream.c (open_memstream): Fix memory leak.
61490         * libio/wmemstream.c (open_wmemstream): Likewise.
61492         [BZ #15895]
61493         * nscd/netgroupcache.c: Fix nesting of ifdefs.
61495 2013-09-09  Will Newton  <will.newton@linaro.org>
61497         * malloc/Makefile: Add tst-realloc to tests.
61498         * malloc/tst-realloc.c: New file.
61500 2013-09-09  Allan McRae  <allan@archlinux.org>
61502         [BZ #15844]
61503         * COPYING: Update from GNU website to fix FSF address.
61504         * COPYING.LIB: Likewise.
61506 2013-09-06  David S. Miller  <davem@davemloft.net>
61508         * po/zh_TW.po: Update Chinese (traditional) translation from
61509         translation project.
61511 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
61512             Joseph Myers  <joseph@codesourcery.com>
61514         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
61515         "localeinfo.h".
61516         (obstack_chunk_alloc): New macro.
61517         (obstack_chunk_free): Likewise.
61518         (record_offset): New function.
61519         (init_locale_data): Likewise.
61520         (align_locale_data): Likewise.
61521         (add_locale_empty): Likewise.
61522         (add_locale_raw_data): Likewise.
61523         (add_locale_raw_obstack): Likewise.
61524         (add_locale_string): Likewise.
61525         (add_locale_wstring): Likewise.
61526         (add_locale_uint32): Likewise.
61527         (add_locale_uint32_array): Likewise.
61528         (add_locale_char): Likewise.
61529         (start_locale_structure): Likewise.
61530         (end_locale_structure): Likewise.
61531         (start_locale_prelude): Likewise.
61532         (end_locale_prelude): Likewise.
61533         (write_locale_data): Take locale_file structure rather than an
61534         iovec.
61535         * locale/programs/locfile.h: Include "obstack.h".
61536         (struct locale_file): Change to store locale file contents instead
61537         of header.
61538         (init_locale_data): New prototype.
61539         (align_locale_data): Likewise.
61540         (add_locale_empty): Likewise.
61541         (add_locale_raw_data): Likewise.
61542         (add_locale_raw_obstack): Likewise.
61543         (add_locale_string): Likewise.
61544         (add_locale_wstring): Likewise.
61545         (add_locale_uint32): Likewise.
61546         (add_locale_uint32_array): Likewise.
61547         (add_locale_char): Likewise.
61548         (start_locale_structure): Likewise.
61549         (end_locale_structure): Likewise.
61550         (start_locale_prelude): Likewise.
61551         (end_locale_prelude): Likewise.
61552         (write_locale_data): Update prototype.
61553         * locale/programs/3level.h (struct TABLE): Remove result field.
61554         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
61555         Use new locale_file interface.
61556         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
61557         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
61558         * locale/programs/ld-address.c (address_output): Use new
61559         locale_file interface.
61560         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
61561         NO_ADD_LOCALE.
61562         (collate_finish): Don't call collseq_table_finalize.
61563         (collate_output): Use new locale_file interface.
61564         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
61565         in file.
61566         (NO_FINALIZE): Change to NO_ADD_LOCALE.
61567         (TABLE): Move defines earlier in file.
61568         (ELEMENT): Likewise.
61569         (DEFAULT): Likewise.
61570         (wctrans_table_add): Move macro and inline function earlier in
61571         file.
61572         (struct wctype_table): Move type earlier in file.
61573         (add_locale_wctype_table): New static prototype.
61574         (struct locale_ctype_t): Use logical types instead of struct iovec
61575         pointers for members.
61576         (ctype_output): Use new locale_file interface.
61577         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
61578         new locale_file interface.
61579         (allocate_arrays): Update for use of new locale_file interface.
61580         * locale/programs/ld-identification.c (identification_output): Use
61581         new locale_file interface.
61582         * locale/programs/ld-measurement.c (measurement_output): Likewise.
61583         * locale/programs/ld-messages.c (messages_output): Likewise.
61584         * locale/programs/ld-monetary.c (monetary_output): Likewise.
61585         * locale/programs/ld-name.c (name_output): Likewise.
61586         * locale/programs/ld-numeric.c (numeric_output): Likewise.
61587         * locale/programs/ld-paper.c (paper_output): Likewise.
61588         * locale/programs/ld-telephone.c (telephone_output): Likewise.
61589         * locale/programs/ld-time.c (time_output): Likewise.
61591 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61593         * benchtests/Makefile: Add memrchr benchmark.
61594         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
61595         benchmark as memrchr.
61596         * benchtests/bench-memrchr-ifunc.c: New file.
61597         * benchtests/bench-memrchr.c: New file.
61599 2013-09-06   Will Newton  <will.newton@linaro.org>
61601         * benchtests/Makefile (string-bench): Add memcpy.
61603 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
61604             Cong Wang  <amwang@redhat.com>
61606         [BZ #15850]
61607         * sysdeps/unix/sysv/linux/bits/in.h
61608         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
61609         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
61610         before __USE_KERNEL_IPV6_DEFS uses.
61611         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
61612         IPPROTO_BEETPH.
61613         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
61614         sockaddr_in6, or ipv6_mreq.
61616 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61618         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
61619         memory access for final bytes in some large inputs.
61620         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
61622 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61624         * string/test-memrchr.c: New file.
61625         * string/test-memrchr-ifunc.c: New file.
61626         * string/Makefile: Add new memrchr testcase.
61628 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
61630         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
61631         fanotify_init returns EPERM.
61633 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
61635         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
61636         errors.
61637         (top level): Treat second token from macro or constant entries for
61638         allowed headers as allowed.
61639         * include/complex.h: Condition internal declarations on
61640         [!_ISOMAC].
61641         * include/fenv.h: Condition include of <stdbool.h> and internal
61642         declarations on [!_ISOMAC].
61644 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
61646         [BZ #15923]
61647         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
61649 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
61651         * configure.in (--enable-versioning): Remove configure option.
61652         (libc_cv_asm_symver_directive): Remove configure test.
61653         (libc_cv_ld_version_script_option): Likewise.
61654         (VERSIONING): Remove variable and AC_SUBST.
61655         (DO_VERSIONING): Remove AC_DEFINE.
61656         * configure: Regenerated.
61657         * config.h.in (DO_VERSIONING): Remove macro.
61658         * Makerules [$(versioning) = yes]: Change conditionals to
61659         [$(build-shared) = yes].
61660         * config.make.in (versioning): Remove variable.
61661         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
61662         [$(build-shared) = yes].
61663         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
61664         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
61665         * elf/Makefile [$(versioning) = yes]: Change conditionals to
61666         [$(build-shared) = yes].
61667         * extra-lib.mk [$(versioning) = yes]: Likewise.
61668         * hurd/Makefile [$(versioning) = yes]: Likewise.
61669         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
61670         [SHARED].
61671         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
61672         [SHARED].
61673         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
61674         [SHARED && !NO_HIDDEN].
61675         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
61676         [SHARED].
61677         [SHARED && DO_VERSIONING]: Likewise..
61678         * libio/Makefile [$(versioning) = yes]: Change conditionals to
61679         [$(build-shared) = yes].
61680         * manual/install.texi (--disable-versioning): Remove
61681         documentation.
61682         * INSTALL: Regenerated.
61683         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
61684         to [SHARED].
61685         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
61686         [$(build-shared) = yes].
61687         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
61688         * sysdeps/i386/i686/multiarch/strstr-c.c
61689         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
61690         [SHARED && !NO_HIDDEN].
61691         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
61692         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
61693         * sysdeps/powerpc/powerpc32/dl-machine.c
61694         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
61695         * sysdeps/powerpc/powerpc32/sysdep.h
61696         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
61697         to [SHARED && PIC && !NO_HIDDEN].
61698         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
61699         conditional to [SHARED].
61701 2013-09-04   Will Newton  <will.newton@linaro.org>
61703         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
61704         * benchtests/bench-string.h: Include bench-timing.h instead
61705         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
61706         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
61707         call to HP_TIMING_DIFF_INIT.
61708         * benchtests/bench-memccpy.c: Use bench-timing.h macros
61709         instead of hp-timing.h macros.
61710         * benchtests/bench-memchr.c: Likewise.
61711         * benchtests/bench-memcmp.c: Likewise.
61712         * benchtests/bench-memcpy.c: Likewise.
61713         * benchtests/bench-memmem.c: Likewise.
61714         * benchtests/bench-memmove.c: Likewise.
61715         * benchtests/bench-memset.c: Likewise.
61716         * benchtests/bench-rawmemchr.c: Likewise.
61717         * benchtests/bench-strcasecmp.c: Likewise.
61718         * benchtests/bench-strcasestr.c: Likewise.
61719         * benchtests/bench-strcat.c: Likewise.
61720         * benchtests/bench-strchr.c: Likewise.
61721         * benchtests/bench-strcmp.c: Likewise.
61722         * benchtests/bench-strcpy.c: Likewise.
61723         * benchtests/bench-strcpy_chk.c: Likewise.
61724         * benchtests/bench-strlen.c: Likewise.
61725         * benchtests/bench-strncasecmp.c: Likewise.
61726         * benchtests/bench-strncat.c: Likewise.
61727         * benchtests/bench-strncmp.c: Likewise.
61728         * benchtests/bench-strncpy.c: Likewise.
61729         * benchtests/bench-strnlen.c: Likewise.
61730         * benchtests/bench-strpbrk.c: Likewise.
61731         * benchtests/bench-strrchr.c: Likewise.
61732         * benchtests/bench-strspn.c: Likewise.
61733         * benchtests/bench-strstr.c: Likewise.
61735 2013-09-04  Will Newton  <will.newton@linaro.org>
61737         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
61739 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
61741         [BZ #15427]
61742         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
61743         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
61744         * math/libm-test.inc (lgamma_test_data): Add more tests.
61745         * sysdeps/i386/fpu/libm-test-ulps: Update.
61746         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61748 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
61750         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
61751         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
61752         Add ifunc.
61753         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
61754         Add strcmp-sse2-unaligned
61755         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
61757 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
61759         * Versions.def (libc): Add GLIBC_2.19.
61761 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
61763         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
61764         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
61766 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
61768         [BZ #14155]
61769         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
61770         intermediate calculations in recurrence.
61771         (__ieee754_ynf): Likewise.
61772         * math/libm-test.inc (jn_test_data): Do not allow spurious
61773         underflow exception.  Add more tests.
61774         (yn_test_data): Add more tests.
61775         * sysdeps/i386/fpu/libm-test-ulps: Update.
61776         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61778 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
61780         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
61782 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
61784         * csu/init-first.c: Fix then/than typos.
61785         * locale/programs/ld-collate.c: Likewise.
61786         * locale/programs/linereader.h: Likewise.
61787         * manual/charset.texi: Likewise.
61788         * manual/filesys.texi: Likewise.
61789         * manual/stdio.texi: Likewise.
61790         * manual/string.texi: Likewise.
61791         * stdlib/fmtmsg.c: Likewise.
61792         * sysdeps/i386/stpncpy.S: Likewise.
61793         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
61794         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
61795         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
61796         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
61798 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
61800         * elf/dl-open.c: Fix typos.
61801         * iconvdata/gbbig5.c: Likewise.
61802         * iconvdata/iso-2022-jp.c: Likewise.
61803         * iconv/gconv_int.h: Likewise.
61804         * iconv/loop.c: Likewise.
61805         * nis/rpcsvc/nis.h: Likewise.
61806         * resolv/ns_name.c: Likewise.
61807         * stdio-common/vfscanf.c: Likewise.
61808         * streams/stropts.h: Likewise.
61809         * sunrpc/rpc_thread.c: Likewise.
61810         * sysdeps/i386/strpbrk.S: Likewise.
61811         * sysdeps/ieee754/k_standard.c: Likewise.
61812         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
61813         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
61814         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
61815         * sysdeps/mach/hurd/profil.c: Likewise.
61816         * sysdeps/s390/dl-procinfo.h: Likewise.
61817         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
61818         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
61819         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
61820         * sysdeps/x86_64/dl-trampoline.S: Likewise.
61821         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
61823 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
61825         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
61826         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
61828 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
61830         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
61831         aix specific files.
61832         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
61833         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
61834         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
61835         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
61836         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
61837         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
61838         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
61839         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
61841 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
61842             Roland McGrath  <roland@hack.frob.com>
61844         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
61845         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
61847 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61849         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
61850         __executable_start symbol instead of _start.
61852 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
61854         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
61855         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
61856         Move macros to...
61857         * sysdeps/gnu/ldsodefs.h: ... this new file.
61859         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
61860         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
61861         instead of ELFOSABI_LINUX.
61863         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
61864         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
61865         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
61866         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
61867         Likewise.
61868         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
61869         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
61870         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
61871         Likewise.
61872         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
61873         (ibm_extended_long_double): Add ieee_nan member.
61874         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
61875         (do_test): New function.
61877         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
61878         TEST_TRUNC.
61879         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
61880         functions, renamed from truncdfsf_test, trunctfsf_test,
61881         trunctfdf_test.
61882         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
61883         functions.
61884         (do_test): Run all these.
61886 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
61888         * argp/argp-help.c: Fix typos.
61889         * argp/argp-parse.c: Likewise.
61890         * debug/backtracesyms.c: Likewise.
61891         * elf/elf.h: Likewise.
61892         * malloc/malloc.c: Likewise.
61893         * nis/nis_print.c: Likewise.
61894         * resolv/res_comp.c: Likewise.
61895         * stdlib/stdlib.h: Likewise.
61896         * sunrpc/clnt_tcp.c: Likewise.
61897         * sunrpc/clnt_udp.c: Likewise.
61898         * sunrpc/clnt_unix.c: Likewise.
61899         * sysdeps/unix/bsd/ptsname.c: Likewise.
61900         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
61901         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
61902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
61903         Likewise.
61904         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
61905         Likewise.
61906         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
61907         Likewise.
61908         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
61910 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
61912         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
61913         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
61915 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
61917         [BZ #15897]
61918         * dlfcn/Makefile (tests): Add bug-dl-leaf.
61919         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
61920         ($(objpfx)bug-dl-leaf): New rule.
61921         ($(objpfx)bug-dl-leaf.so): Likewise.
61922         ($(objpfx)bug-dl-leaf.out): Likewise.
61923         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
61924         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
61925         * dlfcn/bug-dl-leaf.c: New test.
61926         * dlfcn/bug-dl-leaf-lib.c: Likewise.
61927         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
61928         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
61929         (dlclose): Likewise.
61930         (dlmopen): Likewise.
61932 2013-08-27  Roland McGrath  <roland@hack.frob.com>
61934         * include/netdb.h [!_ISOMAC]:
61935         Don't include <tls.h>.
61936         (h_errno, __libc_h_errno): Move declaration and macros out of
61937         [_LIBC_REENTRANT].
61939         * include/resolv.h [_RESOLV_H_]:
61940         Don't include <tls.h>.
61941         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
61942         * resolv/res_libc.c: Don't include <tls.h>.
61943         (_res): Use __attribute__ ((nocommon)) in place of
61944         __attribute__ ((section (".bss"))).
61946         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
61947         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
61949         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
61951         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
61952         only under [SIOCGIFCONF && SIOCGIFNETMASK].
61954         * resolv/res_mkquery.c: Include <sys/time.h>.
61956         * inet/ifreq.c: Moved to ...
61957         * sysdeps/unix/ifreq.c: ... here.
61958         * inet/ifreq.c: New file, true stub version.
61960         * socket/sa_len.c: New file.
61961         * socket/Makefile (aux): Add it.
61962         * sysdeps/unix/sysv/linux/Makefile
61963         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
61964         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
61965         and #include <socket/sa_len.c>.
61966         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
61967         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
61969         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
61970         * bits/socket.h: ... here.
61972         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
61973         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
61974         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
61976 2013-08-27  Andreas Schwab  <schwab@suse.de>
61978         [BZ #15736]
61979         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
61980         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
61981         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
61982         * string/test-strcasecmp.c (test_main): Run tests in several
61983         locales.
61984         * string/test-strncasecmp.c (test_main): Likewise.
61986         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
61987         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
61988         to __strcasecmp_nonascii and __strncasecmp_nonascii.
61989         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
61990         (__strncasecmp_ssse3) [PIC]: Likewise.
61992 2013-08-26  Roland McGrath  <roland@hack.frob.com>
61994         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
61996         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
61997         instead of explicitly declaring xdecrypt.
61998         * nis/nss_nis/nis-publickey.c: Likewise.
62000 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
62002         [BZ #15890]
62003         * nscd/aicache.c: Include res_hconf.h.
62004         (addhstaiX): Initialize res_hconf.
62006 2013-08-26  Andreas Schwab  <schwab@suse.de>
62008         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
62009         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
62011 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
62013         * nscd/aicache.c (addhstaiX): Fix indentation.
62015 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
62017         * configure.ac: Quote $build_pt_chown test.
62018         * configure: Regenerated.
62020 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
62022         [BZ #15532]
62023         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
62024         * math/s_cexpf.c (__cexpf): Likewise.
62025         * math/s_cexpl.c (__cexpl): Likewise.
62026         * math/libm-test.inc (cexp_test_data): Correct expected return
62027         value for NaN + i0.  Add another test.
62029 2013-08-22  David S. Miller  <davem@davemloft.net>
62031         * po/ca.po: Update Catalan translation from translation project.
62032         * po/uk.po: Add Ukrainian translations from translation project.
62034 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
62036         [BZ #15797]
62037         * math/s_fdim.c (__fdim): Check for infinite arguments if result
62038         is infinite, not alongside NaN test.
62039         * math/s_fdimf.c (__fdimf): Likewise.
62040         * math/s_fdiml.c (__fdiml): Likewise.
62041         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
62042         errno is unchanged.
62044 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
62046         * argp/argp-help.c: Fix typos.
62047         * crypt/speeds.c: Likewise.
62048         * csu/check_fds.c: Likewise.
62049         * elf/dl-load.c: Likewise.
62050         * elf/dl-open.c: Likewise.
62051         * elf/reldep3.c: Likewise.
62052         * elf/reldep.c: Likewise.
62053         * elf/sprof.c: Likewise.
62054         * iconv/iconv_charmap.c: Likewise.
62055         * iconv/skeleton.c: Likewise.
62056         * iconv/strtab.c: Likewise.
62057         * io/lockf64.c: Likewise.
62058         * libio/libioP.h: Likewise.
62059         * resolv/gai_notify.c: Likewise.
62060         * resolv/ns_name.c: Likewise.
62061         * resolv/ns_samedomain.c: Likewise.
62062         * resolv/res_send.c: Likewise.
62063         * stdlib/random.c: Likewise.
62064         * sunrpc/rpc/xdr.h: Likewise.
62065         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
62066         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
62067         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
62068         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
62069         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
62070         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
62071         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
62072         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
62073         * sysdeps/mach/hurd/check_fds.c: Likewise.
62074         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
62075         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
62076         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
62077         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
62078         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
62079         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
62080         * sysdeps/pthread/aio_notify.c: Likewise.
62081         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
62082         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
62083         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
62084         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
62085         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
62087 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
62089         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
62090         version if bit_Slow_SSE4_2 is set.
62091         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
62092         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
62094 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62096         [BZ #15867]
62097         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
62098         trampoline stack frame information.
62099         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
62100         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
62101         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
62102         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
62103         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
62104         * sysdeps/unix/sysv/linux/powerpc/init-first.c
62105         (_libc_vdso_platform_setup): Initialize the signal trampolines.
62106         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
62107         sa_flags value.
62108         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
62109         interrupting a syscall and set with option SA_SIGINFO.
62111 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
62113         [BZ #15531]
62114         * math/s_cproj.c (__cproj): Only return an infinity if one part of
62115         argument is infinite.
62116         * math/s_cprojf.c (__cprojf): Likewise.
62117         * math/s_cprojl.c (__cprojl): Likewise.
62118         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
62119         * math/libm-test.inc (cproj_test_data): Add more tests.
62121         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
62123         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
62124         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
62125         size.  Use __ffs to determine corresponding shift.
62127 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
62128             Roland McGrath  <roland@hack.frob.com>
62130         * Makefile (INSTALL): Remove trailing blank lines from output of
62131         makeinfo.
62133 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62135         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
62136         Align 32 bit compat elf_greg to 8 bytes.
62138 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
62140         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
62142 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
62144         * string/strcoll_l.c (coll_seq): New structure.
62145         (get_next_seq_cached): New function.
62146         (get_next_seq): New function.
62147         (do_compare): New function.
62148         (STRCOLL): Use GNU style definition.  Simplify implementation
62149         by using get_next_seq, get_next_seq_cached and do_compare.
62151 2013-08-16  Florian Weimer  <fweimer@redhat.com>
62153         [BZ #14699]
62154         CVE-2013-4237
62155         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
62156         member.
62157         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
62158         member.
62159         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
62160         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
62161         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
62162         conditional.
62163         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
62164         GETDENTS_64BIT_ALIGNED.
62165         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
62166         * manual/filesys.texi (Reading/Closing Directory): Document
62167         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
62168         strongly.
62169         * manual/conf.texi (Limits for Files): Add portability note to
62170         NAME_MAX, PATH_MAX.
62171         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
62173 2013-08-13  Andreas Schwab  <schwab@suse.de>
62175         [BZ #15749]
62176         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
62177         of fabs.
62178         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
62179         LDBL_MAX_EXP >= 16384]: Add tests for it.
62181 2013-08-12  David S. Miller  <davem@davemloft.net>
62183         * version.h (RELEASE): Set to "development".
62184         (VERSION): Set to "2.18.90".
62185         * NEWS: Add 2.19 section.
62187 2013-08-03  David S. Miller  <davem@davemloft.net>
62189         * po/ko.po: Update Korean translation from translation project.
62191 2013-08-01  David S. Miller  <davem@davemloft.net>
62193         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
62194         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
62195         Bilka.
62197 2013-07-30  David S. Miller  <davem@davemloft.net>
62199         * po/fr.po: Update French translation from translation project.
62201 2013-07-28  David S. Miller  <davem@davemloft.net>
62203         * po/cs.po: Update Czech translation from translation project.
62205         * po/sv.po: Update Swedish translation from translation project.
62207 2013-07-27  David S. Miller  <davem@davemloft.net>
62209         * po/eo.po: Update Esperanto translation from translation project.
62211         * po/vi.po: Update Vietnamese translation from translation project.
62213         * po/de.po: Update German translation from translation project.
62215 2013-07-26  David S. Miller  <davem@davemloft.net>
62217         * po/bg.po: Update Bulgarian translation from translation project.
62219         * po/nl.po: Update Dutch translation from translation project.
62220         * po/pl.po: Update Polish translation from translation project.
62221         * po/ru.po: Update Russian translation from translation project.
62223 2013-07-24  David S. Miller  <davem@davemloft.net>
62225         * po/libc.pot: Update.
62227 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62229         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
62230         variable page size.
62231         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
62232         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
62233         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
62235 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62237         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
62239 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
62240             Andreas Schwab  <schwab@suse.de>
62241             Roland McGrath  <roland@hack.frob.com>
62242             Joseph Myers  <joseph@codesourcery.com>
62243             Carlos O'Donell  <carlos@redhat.com>
62245         [BZ #15755]
62246         * config.h.in: Define HAVE_PT_CHOWN.
62247         * config.make.in (build-pt-chown): New variable.
62248         * configure.in (--enable-pt_chown): New configure option.
62249         * configure: Regenerate.
62250         * login/Makefile: Include Makeconfig.  Build pt_chown only if
62251         build-pt-chown is enabled.
62252         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
62253         pt_chown to fix pty ownership.
62254         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
62255         CLOSE_ALL_FDS.
62256         * manual/install.texi (Configuring and compiling): Mention
62257         --enable-pt_chown. Add @findex for grantpt.
62258         * INSTALL: Regenerate.
62260 2013-07-20  David S. Miller  <davem@davemloft.net>
62262         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
62263         difference between 32-bit and 64-bit.
62265 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
62267         [BZ #15711]
62268         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
62269         Avoid system header dependency with -ffreestanding.
62270         ($(objpfx)bits/syscall%d): Likewise.
62272 2013-07-13  David S. Miller  <davem@davemloft.net>
62274         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
62275         underflows from atanl/atan2l due to bug 15319.
62276         (casinh_test_data): Likewise.
62278 2013-07-07  David S. Miller  <davem@davemloft.net>
62280         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
62282 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
62284         * sysdeps/i386/fpu/libm-test-ulps: Update.
62285         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62287 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
62289         * configure.in (--enable-lock-elision): Fix message text.
62290         * INSTALL: Regenerate.
62291         * configure: Regenerate.
62293 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62295         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62297 2013-07-03  Andreas Jaeger  <aj@suse.de>
62299         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
62300         define.
62301         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
62302         (ptrace_peeksiginfo_args): Add.
62303         (__ptrace_peeksiginfo_flags): Add.
62304         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
62305         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
62306         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
62308 2013-07-03  Allan McRae  <allan@archlinux.org>
62310         * sysdeps/i386/fpu/libm-test-ulps: Update.
62312 2013-07-02  David S. Miller  <davem@davemloft.net>
62314         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62316 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
62318         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62320 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
62322         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
62323         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62325 2013-07-02  Andi Kleen <ak@linux.intel.com>
62327         * config.h.in (ENABLE_LOCK_ELISION): Add.
62328         * configure.in (--enable-lock-elision): Add option.
62329         * manual/install.texi: Document --enable lock elision.
62330         * configure: Regenerate
62331         * INSTALL: Regenerate.
62333 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
62335         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
62336         SSE4.2 strcasecmp for libc.a.
62337         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
62339 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
62341         [BZ #13304]
62342         * soft-fp/op-common.h (_FP_FMA): New macro.
62343         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
62344         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
62345         (_FP_MUL_MEAT_1_imm): ... here.
62346         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
62347         (_FP_MUL_MEAT_1_wide): ... here.
62348         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
62349         (_FP_MUL_MEAT_1_hard): ... here.
62350         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
62351         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
62352         (_FP_MUL_MEAT_2_wide): ... here.
62353         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
62354         (_FP_MUL_MEAT_2_wide_3mul): ... here.
62355         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
62356         (_FP_MUL_MEAT_2_gmp): ... here.
62357         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
62358         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
62359         (_FP_MUL_MEAT_4_wide): ... here.
62360         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
62361         (_FP_MUL_MEAT_4_gmp): ... here.
62362         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
62363         (_FP_WFRACBITS_DW_S): Likewise.
62364         (_FP_WFRACXBITS_DW_S): Likewise.
62365         (_FP_HIGHBIT_DW_S): Likewise.
62366         (FP_FMA_S): Likewise.
62367         (_FP_FRAC_HIGH_DW_S): Likewise.
62368         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
62369         (_FP_WFRACBITS_DW_D): Likewise.
62370         (_FP_WFRACXBITS_DW_D): Likewise.
62371         (_FP_HIGHBIT_DW_D): Likewise.
62372         (FP_FMA_D): Likewise.
62373         (_FP_FRAC_HIGH_DW_D): Likewise.
62374         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
62375         (_FP_WFRACBITS_DW_E): Likewise.
62376         (_FP_WFRACXBITS_DW_E): Likewise.
62377         (_FP_HIGHBIT_DW_E): Likewise.
62378         (FP_FMA_E): Likewise.
62379         (_FP_FRAC_HIGH_DW_E): Likewise.
62380         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
62381         (_FP_WFRACBITS_DW_Q): Likewise.
62382         (_FP_WFRACXBITS_DW_Q): Likewise.
62383         (_FP_HIGHBIT_DW_Q): Likewise.
62384         (FP_FMA_Q): Likewise.
62385         (_FP_FRAC_HIGH_DW_Q): Likewise.
62386         * soft-fp/fmasf4.c: New file.
62387         * soft-fp/fmadf4.c: Likewise.
62388         * soft-fp/fmatf4.c: Likewise.
62390 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
62392         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
62393         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
62394         Silvermont.
62395         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
62396         macro.
62397         (index_Slow_SSE4_2): Likewise.
62398         (index_Prefer_PMINUB_for_stringop): Likewise.
62399         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
62400         bit_Slow_SSE4_2 is set.
62401         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
62402         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
62404 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
62406         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
62407         rtld_global._dl_hwcap2.
62408         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
62409         POWER8.
62410         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
62411         POWER8 feature descriptions defined in _dl_hwcap2.
62412         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
62413         string handling for POWER8 feature bits.
62414         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
62415         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
62416         _dl_powerpc_cap_flags.
62417         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
62418         * sysdeps/powerpc/rtld-global-offsets.sym
62419         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
62420         _dl_hwcap2 in the rtld_global_ro structure.
62422 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
62424         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
62425         hardware capabilities in support of AT_HWCAP2.
62426         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
62427         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
62428         GLRO(dl_hwcap2).
62429         (_dl_show_auxv): Add support for calling _dl_procinfo to display
62430         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
62431         explicitly the unknown a_type display mechanism is used.
62432         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
62433         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
62434         struct member.
62435         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
62436         to macro prototype for AT_HWCAP2 support.
62437         * sysdeps/i386/dl-procinfo.h: Likewise.
62438         * sysdeps/s390/dl-procinfo.h: Likewise.
62439         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
62440         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
62441         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
62442         return -1 for unknown a_type display fallback.
62443         * sysdeps/sparc/dl-procinfo.h: Likewise.
62444         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
62445         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
62447 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
62449         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
62450         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
62452 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
62454         [BZ #12492]
62455         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
62456         mprotect making __stack_prot writable.
62458 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
62459             Joseph Myers  <joseph@codesourcery.com>
62461         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
62462         as being properly aligned.
62464 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
62466         * dlfcn/modstatic5.c: New file.
62467         * dlfcn/tststatic5.c: New file.
62468         * dlfcn/Makefile (tests): Add tststatic5.
62469         (tests-static): Likewise.
62470         (modules-names): Add modstatic5.
62471         (tststatic5-ENV): New variable.
62472         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
62474         [BZ #15022]
62475         * elf/dl-support.c (_dl_main_map): New variable.
62476         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
62477         (_dl_nns, _dl_load_adds): Set to 1.
62478         (_dl_initial_searchlist): Refer to _dl_main_map.
62479         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
62480         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
62481         call to _dl_get_origin.
62482         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
62483         around call_map.
62484         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
62485         * dlfcn/modstatic3.c: New file.
62486         * dlfcn/tststatic3.c: New file.
62487         * dlfcn/tststatic4.c: New file.
62488         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
62489         (tests-static): Likewise.
62490         (modules-names): Add modstatic3.
62491         (tststatic3-ENV, tststatic4-ENV): New variables.
62492         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
62493         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
62495 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
62497         * configure.in (CC): Require GCC version 4.4 or later.
62498         * configure: Regenerated.
62499         * manual/install.texi (Tools for Compilation): Update GCC version
62500         requirement.
62501         * INSTALL: Regenerated.
62503 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
62505         [BZ #15674]
62506         * string/test-memcmp.c (check2): New.
62507         (main): Call check2.
62509         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
62511 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
62513         [BZ #15022]
62514         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
62515         over to...
62516         (dl_open_worker) [!SHARED]: ... here.
62518 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
62520         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
62522 2013-06-25  Richard Henderson  <rth@redhat.com>
62524         * locale/programs/locarchive.c: Include <libc-internal.h>
62526 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
62528         * manual/texinfo.tex: Update to version 2013-06-21.17, with
62529         trailing whitespace removed.
62531 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
62533         [BZ #10283]
62534         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
62535         * locale/programs/locarchive.c: Include libc-mmap.h.
62536         (prepare_address_space): Take two new outputs (the mmap base and len).
62537         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
62538         values.
62539         (create_archive): Declare new mmap base and len values for
62540         prepare_address_space, and store the result in ah.
62541         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
62542         (enlarge_archive): If ah->mmap_base is not NULL, use that and
62543         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
62544         Declare new mmap base and len values for
62545         prepare_address_space, and store the result in new_ah.
62546         (open_archive): Declare new mmap base and len values for
62547         prepare_address_space, and store the result in ah.
62548         (close_archive): If ah->mmap_base is not NULL, use that and
62549         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
62550         * sysdeps/generic/libc-mmap.h: New file.
62552 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
62554         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
62555         (ALIGN_UP): Likewise.
62556         (PTR_ALIGN_DOWN): Likewise.
62557         (PTR_ALIGN_UP): Likewise.
62559 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
62561         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
62562         entry mapped to PPC_PLATFORM_POWER8.
62563         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
62564         POWER8.
62565         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
62566         (_dl_string_platform): Add case for exporting platform position for
62567         POWER8.
62568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
62569         search path to sysdeps/powerpc/powerpc32/power8 directory.
62570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
62571         search path to sysdeps/powerpc/powerpc64/power8 directory.
62572         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
62573         power7 directories.
62574         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
62575         power7 directories.
62577 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
62579         * INSTALL: Regenerate.
62581         * nscd/connections.c (nscd_init): Fix comment.
62583 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
62585         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
62587         [BZ #15667]
62588         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
62589         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
62591 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
62593         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
62594         DL_DST_REQ_STATIC.
62595         (DL_DST_REQ_STATIC): Remove macro.
62597 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
62599         [BZ #7006]
62600         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
62601         with a shift of 0 bits.
62603 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
62605         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
62606         $(tststatic-ENV).
62608 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
62610         [BZ #15655]
62611         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
62613 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62615         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
62616         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
62617         accepts -fno-tree-loop-distribute-patterns.
62618         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
62619         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
62620         recursive call.
62621         * string/memset.c (memset): Likewise.
62622         * string/test-memmove.c (simple_memmove): Disable loop transformation
62623         to library calls.
62624         * string/test-memset.c (simple_memset): Likewise.
62625         * benchtests/bench-memmove.c (simple_memmove): Likewise.
62626         * benchtests/bench-memset.c (simple_memset): Likewise.
62627         * configure: Regenerated.
62629 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
62631         * math/test-misc.c (main): Ignore fesetround failure when failures
62632         of subsequent rounding tests would be ignored.
62634         [BZ #15654]
62635         * math/fedisblxcpt.c (fedisableexcept): Return 0.
62636         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
62637         * math/fegetenv.c (__fegetenv): Return 0.
62638         * math/fegetexcept.c (fegetexcept): Return 0.
62639         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
62640         FE_TONEAREST.
62641         * math/feholdexcpt.c (feholdexcept): Return 0.
62642         * math/fesetenv.c (__fesetenv): Return 0.
62643         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
62644         argument FE_TONEAREST.
62645         * math/feupdateenv.c (__feupdateenv): Return 0.
62646         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
62648 2013-06-18  Roland McGrath  <roland@hack.frob.com>
62650         * elf/rtld-Rules (rtld-compile-command.S): New variable.
62651         (rtld-compile-command.s, rtld-compile-command.c): New variables.
62652         ($(objpfx)rtld-%.os rules): Use them.
62654 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62656         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
62657         fields.
62659 2013-06-17  Roland McGrath  <roland@hack.frob.com>
62661         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
62662         length of target pattern, then descending length of dependency pattern.
62663         * configure.in (AWK): Require gawk 3.1.2 or newer.
62664         * manual/install.texi (Tools for Compilation): Say that we do.
62665         * configure: Regenerated.
62667         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
62668         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
62669         * scripts/sysd-rules.awk: ... this new script.
62670         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
62671         than a glob-style pattern.
62673 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
62675         * math/test-misc.c (main): Do not treat incorrectly rounded
62676         conversions as failure unless ROUNDING_TESTS passes.
62678 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
62680         [BZ #15631]
62681         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
62682         restore exception state around main square root computation, then
62683         check for inexactness explicitly.
62685         * math/libm-test.inc (fma_test_data): Add another test.
62687 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
62689         * manual/threads.texi (Non-POSIX Extensions): New document
62690         node.  Document pthread_getattr_default_np and
62691         pthread_setattr_default_np.
62693         * Versions.def (libpthread): Add GLIBC_2.18.
62694         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
62695         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
62696         Likewise.
62697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
62698         Likewise.
62699         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
62700         Likewise.
62701         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
62702         Likewise.
62703         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
62704         Likewise.
62705         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
62706         Likewise.
62707         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
62708         Likewise.
62709         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
62710         Likewise.
62711         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
62712         Likewise.
62714 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
62716         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62717         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
62719 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
62720             H.J. Lu  <hjl.tools@gmail.com>
62722         [BZ #15627]
62723         * sysdeps/x86_64/rtld-memset.c: Remove file.
62724         * sysdeps/x86_64/rtld-memset.S: New file.
62726 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
62728         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
62729         (test_in_one_mode): Take arguments for whether the rounding mode
62730         is supported for each floating-point type.
62731         (do_test): Pass new arguments to test_in_one_mode using
62732         ROUNDING_TESTS.
62734 2013-06-13  Roland McGrath  <roland@hack.frob.com>
62736         * posix/tst-waitid.c (do_test): Distinguish different instances of
62737         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
62738         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
62739         before entering the kernel for waitpid.
62741 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
62743         * NEWS: Fix note on clock function precision.  Text by Roland
62744         McGrath.
62746 2013-06-13  Roland McGrath  <roland@hack.frob.com>
62748         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
62749         it into place only when and if the sanity check passes.
62751 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
62753         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
62754         output for whether conversion result is exact.  Take argument
62755         indicating whether type is IBM long double.
62756         (round_for_all): Change need_exact field to ibm_ld.
62757         * stdlib/tst-strtod-round.c (struct exactness): New type.
62758         (struct test): Change bool ld_ok field to struct exactness exact.
62759         (TEST): Update all definitions for change to field.
62760         (tests): Regenerate array contents.
62761         (test_in_one_mode): Take pointer to new field instead of old ld_ok
62762         field value.  Check for IBM long double here.
62763         (do_test): Update calls to test_in_one_mode.
62765 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
62767         [BZ #12515]
62768         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
62769         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
62771 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62773         [BZ #15605]
62774         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
62775         generated by the compiler on loop optimizations.
62776         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
62777         general definitions.
62779 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
62781         * math/bug-nextafter.c: Include <math-tests.h>.
62782         (main): Only test for exceptions if EXCEPTION_TESTS is true for
62783         the relevant type.
62784         * math/bug-nexttoward.c: Include <math-tests.h>.
62785         (main): Only test for exceptions if EXCEPTION_TESTS is true for
62786         the relevant type.
62787         * math/test-misc.c: Include <math-tests.h>.
62788         (main): Only test for exceptions if EXCEPTION_TESTS is true for
62789         the relevant type.
62791 2013-06-12  Andreas Jaeger  <aj@suse.de>
62793         * po/ia.po: Update Interlingua translation from translation
62794         project.
62796 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
62798         * include/fenv.h: Include stdbool.h.
62799         (struct rm_ctx): New structure.
62800         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
62801         Define macro.
62802         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
62803         (SET_RESTORE_ROUNDF): Likewise.
62804         (SET_RESTORE_ROUNDL): Likewise.
62805         (SET_RESTORE_ROUND_NOEX): Likewise.
62806         (SET_RESTORE_ROUND_NOEXF): Likewise.
62807         (SET_RESTORE_ROUND_NOEXL): Likewise.
62808         (SET_RESTORE_ROUND_53BIT): Likewise.
62809         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
62810         (libc_feresetround_noexf_ctx): Likewise.
62811         (libc_feresetround_noexl_ctx): Likewise.
62812         (libc_feholdsetround_53bit_ctx): Likewise.
62813         (libc_feresetround_53bit_ctx): Likewise.
62814         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
62815         (libc_feholdexcept_setround_sse_ctx): New function.
62816         (libc_fesetenv_sse_ctx): Likewise.
62817         (libc_feupdateenv_sse_ctx): Likewise.
62818         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
62819         (libc_feholdexcept_setround_387_ctx): Likewise.
62820         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
62821         (libc_feholdsetround_387_prec_ctx): Likewise.
62822         (libc_feholdsetround_387_ctx): Likewise.
62823         (libc_feholdsetround_387_53bit_ctx): Likewise.
62824         (libc_feholdsetround_sse_ctx): Likewise.
62825         (libc_feresetround_sse_ctx): Likewise.
62826         (libc_feresetround_387_ctx): Likewise.
62827         (libc_feupdateenv_387_ctx): Likewise.
62828         (libc_feholdexcept_setroundf_ctx): Define macro.
62829         (libc_fesetenvf_ctx): Likewise.
62830         (libc_feupdateenvf_ctx): Likewise.
62831         (libc_feholdsetroundf_ctx): Likewise.
62832         (libc_feresetroundf_ctx): Likewise.
62833         (libc_feholdexcept_setround_ctx): Likewise.
62834         (libc_fesetenv_ctx): Likewise.
62835         (libc_feupdateenv_ctx): Likewise.
62836         (libc_feholdsetround_ctx): Likewise.
62837         (libc_feresetround_ctx): Likewise.
62838         (libc_feholdexcept_setroundl_ctx): Likewise.
62839         (libc_feupdateenvl_ctx): Likewise.
62840         (libc_feholdsetroundl_ctx): Likewise.
62841         (libc_feresetroundl_ctx): Likewise.
62842         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
62843         (libc_feresetround_53bit_ctx): Likewise.
62845 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
62847         * locale/iso-639.def: Convert to UTF-8.
62849 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
62851         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
62852         (EXCEPTION_TESTS_double): Likewise.
62853         (EXCEPTION_TESTS_long_double): Likewise.
62854         (EXCEPTION_TESTS): Likewise.
62855         * math/libm-test.inc (test_exceptions): Only test exceptions if
62856         EXCEPTION_TESTS (FLOAT).
62858 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
62860         * benchtests/Makefile (string-bench): Add strcpy_chk and
62861         stpcpy_chk.
62862         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
62863         * benchtests/bench-stpcpy_chk.c: New file.
62864         * benchtests/bench-strcpy_chk-ifunc.c: New file.
62865         * benchtests/bench-strcpy_chk.c: New file.
62866         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
62867         code.
62868         (do_test): Likewise.
62870 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
62872         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
62873         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
62874         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
62875         with tabs where appropriate.
62876         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
62877         dl-procinfo.h.
62878         [PPC_PLATFORM_PPC440]: Likewise.
62879         [PPC_PLATFORM_PPC464]: Likewise.
62880         [PPC_PLATFORM_PPC476]: Likewise.
62881         (_dl_string_platform): Add support for detecting ppc405, ppc440,
62882         ppc464, and ppc476 platform strings merging from ports/
62883         dl-procinfo.h.
62885 2013-06-11  Andreas Schwab  <schwab@suse.de>
62887         [BZ #14991]
62888         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
62889         (from_ucs4_idx): Regenerate.
62890         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
62891         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
62892         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
62893         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
62894         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
62895         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
62896         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
62897         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
62898         from FROM_LOOP and TO_LOOP specific macros.
62899         (BODY): Handle combining characters.
62900         * iconvdata/BIG5HKSCS.irreversible: Update.
62901         * iconvdata/BIG5HKSCS.precomposed: New file.
62902         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
62903         characters.
62904         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
62906 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
62908         * include/sys/time.h: Fix indentation and add copyright header.
62910         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
62911         (do_test): Likewise.
62912         * string/test-memchr.c (do_one_test): Likewise.
62913         (do_test): Likewise.
62914         * string/test-memcmp.c (do_one_test): Likewise.
62915         (do_test): Likewise.
62916         * string/test-memcpy.c (do_one_test): Likewise.
62917         (do_test): Likewise.
62918         * string/test-memmem.c (do_one_test): Likewise.
62919         (do_test): Likewise.
62920         (do_random_tests): Likewise.
62921         * string/test-memmove.c (do_one_test): Likewise.
62922         (do_test): Likewise.
62923         * string/test-memset.c (do_one_test): Likewise.
62924         (do_test): Likewise.
62925         * string/test-rawmemchr.c (do_one_test): Likewise.
62926         (do_test): Likewise.
62927         * string/test-strcasecmp.c (do_one_test): Likewise.
62928         (do_test): Likewise.
62929         * string/test-strcasestr.c (do_one_test): Likewise.
62930         (do_test): Likewise.
62931         * string/test-strcat.c (do_one_test): Likewise.
62932         (do_test): Likewise.
62933         * string/test-strchr.c (do_one_test): Likewise.
62934         (do_test): Likewise.
62935         * string/test-strcmp.c (do_one_test): Likewise.
62936         (do_test): Likewise.
62937         * string/test-strcpy.c (do_one_test): Likewise.
62938         (do_test): Likewise.
62939         * string/test-string.h: Likewise.
62940         (test_init): Likewise.
62941         * string/test-strlen.c (do_one_test): Likewise.
62942         (do_test): Likewise.
62943         * string/test-strncasecmp.c (do_one_test): Likewise.
62944         (do_test): Likewise.
62945         * string/test-strncat.c (do_one_test): Likewise.
62946         (do_test): Likewise.
62947         * string/test-strncmp.c (do_one_test): Likewise.
62948         (do_test_limit): Likewise.
62949         (do_test): Likewise.
62950         * string/test-strncpy.c (do_one_test): Likewise.
62951         (do_test): Likewise.
62952         * string/test-strnlen.c (do_one_test): Likewise.
62953         (do_test): Likewise.
62954         * string/test-strpbrk.c (do_one_test): Likewise.
62955         (do_test): Likewise.
62956         * string/test-strrchr.c (do_one_test): Likewise.
62957         (do_test): Likewise.
62958         * string/test-strspn.c (do_one_test): Likewise.
62959         (do_test): Likewise.
62960         * string/test-strstr.c (do_one_test): Likewise.
62961         (do_test): Likewise.
62963         * benchtests/Makefile (string-bench): Add string benchmarks.
62964         * benchtests/bench-bcopy-ifunc.c: New file.
62965         * benchtests/bench-bcopy.c: New file.
62966         * benchtests/bench-bzero-ifunc.c: New file.
62967         * benchtests/bench-bzero.c: New file.
62968         * benchtests/bench-memccpy-ifunc.c: New file.
62969         * benchtests/bench-memccpy.c: New file.
62970         * benchtests/bench-memchr-ifunc.c: New file.
62971         * benchtests/bench-memchr.c: New file.
62972         * benchtests/bench-memcmp-ifunc.c: New file.
62973         * benchtests/bench-memcmp.c: New file.
62974         * benchtests/bench-memmem-ifunc.c: New file.
62975         * benchtests/bench-memmem.c: New file.
62976         * benchtests/bench-memmove-ifunc.c: New file.
62977         * benchtests/bench-memmove.c: New file.
62978         * benchtests/bench-mempcpy-ifunc.c: New file.
62979         * benchtests/bench-mempcpy.c: New file.
62980         * benchtests/bench-memset-ifunc.c: New file.
62981         * benchtests/bench-memset.c: New file.
62982         * benchtests/bench-rawmemchr-ifunc.c: New file.
62983         * benchtests/bench-rawmemchr.c: New file.
62984         * benchtests/bench-stpcpy-ifunc.c: New file.
62985         * benchtests/bench-stpcpy.c: New file.
62986         * benchtests/bench-stpncpy-ifunc.c: New file.
62987         * benchtests/bench-stpncpy.c: New file.
62988         * benchtests/bench-strcasecmp-ifunc.c: New file.
62989         * benchtests/bench-strcasecmp.c: New file.
62990         * benchtests/bench-strcasestr-ifunc.c: New file.
62991         * benchtests/bench-strcasestr.c: New file.
62992         * benchtests/bench-strcat-ifunc.c: New file.
62993         * benchtests/bench-strcat.c: New file.
62994         * benchtests/bench-strchr-ifunc.c: New file.
62995         * benchtests/bench-strchr.c: New file.
62996         * benchtests/bench-strchrnul-ifunc.c: New file.
62997         * benchtests/bench-strchrnul.c: New file.
62998         * benchtests/bench-strcmp-ifunc.c: New file.
62999         * benchtests/bench-strcmp.c: New file.
63000         * benchtests/bench-strcpy-ifunc.c: New file.
63001         * benchtests/bench-strcpy.c: New file.
63002         * benchtests/bench-strcspn-ifunc.c: New file.
63003         * benchtests/bench-strcspn.c: New file.
63004         * benchtests/bench-strlen-ifunc.c: New file.
63005         * benchtests/bench-strlen.c: New file.
63006         * benchtests/bench-strncasecmp-ifunc.c: New file.
63007         * benchtests/bench-strncasecmp.c: New file.
63008         * benchtests/bench-strncat-ifunc.c: New file.
63009         * benchtests/bench-strncat.c: New file.
63010         * benchtests/bench-strncmp-ifunc.c: New file.
63011         * benchtests/bench-strncmp.c: New file.
63012         * benchtests/bench-strncpy-ifunc.c: New file.
63013         * benchtests/bench-strncpy.c: New file.
63014         * benchtests/bench-strnlen-ifunc.c: New file.
63015         * benchtests/bench-strnlen.c: New file.
63016         * benchtests/bench-strpbrk-ifunc.c: New file.
63017         * benchtests/bench-strpbrk.c: New file.
63018         * benchtests/bench-strrchr-ifunc.c: New file.
63019         * benchtests/bench-strrchr.c: New file.
63020         * benchtests/bench-strspn-ifunc.c: New file.
63021         * benchtests/bench-strspn.c: New file.
63022         * benchtests/bench-strstr-ifunc.c: New file.
63023         * benchtests/bench-strstr.c: New file.
63025         * benchtests/Makefile: Disable parallel execution of targets.
63026         (string-bench): Add memcpy.
63027         (benchset): New variable to store a list of benchmark sets.
63028         (bench-func): Renamed from bench.
63029         (bench-set): New target.
63030         (bench): Depend on bench-func and bench-set.
63031         * benchtests/README: Add section on benchmark sets.
63032         * benchtests/bench-memcpy-ifunc.c: New file.
63033         * benchtests/bench-memcpy.c: New file.
63034         * benchtests/bench-string.h: New file.
63036 2013-06-11  Andreas Schwab  <schwab@suse.de>
63038         [BZ #15577]
63039         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
63040         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
63041         values in the triple.
63042         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
63043         terminator in the group key.
63045 2013-06-11  Andreas Jaeger  <aj@suse.de>
63047         * po/zh_TW.po: Update Chinese (traditional) translation from
63048         translation project.
63050 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
63052         * include/time.h (__clock_gettime): Add libc_hidden_proto.
63053         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
63054         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
63055         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
63056         (clock_getcpuclockid): Likewise.
63057         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
63058         Add weak_alias and libc_hidden_def.
63059         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
63060         * rt/clock_gettime.c (clock_gettime): Rename to
63061         __clock_gettime.  Add weak_alias and libc_hidden_def.
63062         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
63063         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
63064         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
63065         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
63066         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
63067         Likewise.
63068         * rt/clock_settime.c (clock_settime): Rename to
63069         __clock_settime.  Add weak_alias and libc_hidden_def.
63070         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
63072 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
63074         * mach/err_boot.sub: Remove trailing whitespace.
63075         * mach/err_ipc.sub: Likewise.
63076         * mach/err_mach.sub: Likewise.
63078         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
63079         (ROUNDING_TESTS_double): Likewise.
63080         (ROUNDING_TESTS_long_double): Likewise.
63081         (ROUNDING_TESTS): Likewise.
63082         * math/libm-test.inc: Include <math-tests.h>.
63083         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
63084         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
63085         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
63086         (IF_ROUND_INIT_FE_UPWARD): Likewise.
63088 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
63090         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
63091         of assigning.
63093 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
63095         * sysdeps/gnu/errlist.awk: Do not generate space at end of
63096         otherwise empty TRANS lines.
63097         * sysdeps/gnu/errlist.c: Regenerated.
63099         * catgets/gencat.c (error_print): Use (void) in function
63100         definition.
63101         * crypt/crypt_util.c (__init_des): Likewise.
63102         * crypt/speeds.c (Stop): Likewise.
63103         (main): Likewise.
63104         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
63105         * inet/ruserpass.c (token): Likewise.
63106         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
63107         * intl/localealias.c (extend_alias_table): Likewise.
63108         * intl/plural-exp.c (init_germanic_plural): Likewise.
63109         * libio/fcloseall.c (__fcloseall): Likewise.
63110         * libio/genops.c (_IO_flush_all): Likewise.
63111         (_IO_flush_all_linebuffered): Likewise.
63112         (_IO_cleanup): Likewise.
63113         (_IO_iter_begin): Likewise.
63114         (_IO_iter_end): Likewise.
63115         (_IO_list_lock): Likewise.
63116         (_IO_list_unlock): Likewise.
63117         (_IO_list_resetlock): Likewise.
63118         * libio/getchar.c (getchar): Likewise.
63119         * libio/getchar_u.c (getchar_unlocked): Likewise.
63120         * libio/getwchar.c (getwchar): Likewise.
63121         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
63122         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
63123         * login/getpt.c (__getpt): Likewise.
63124         * login/tst-utmp.c (main): Likewise.
63125         * malloc/hooks.c (__malloc_check_init): Likewise.
63126         * malloc/malloc.c (__malloc_stats): Likewise.
63127         * malloc/mtrace.c (tr_break): Likewise.
63128         (mtrace): Likewise.
63129         (muntrace): Likewise.
63130         * misc/fstab.c (endfsent): Likewise.
63131         * misc/getclktck.c (__getclktck): Likewise.
63132         * misc/getdtsz.c (__getdtablesize): Likewise.
63133         * misc/gethostid.c (gethostid): Likewise.
63134         * misc/getpagesize.c (__getpagesize): Likewise.
63135         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
63136         (__get_nprocs): Likewise.
63137         (__get_phys_pages): Likewise.
63138         (__get_avphys_pages): Likewise.
63139         * misc/getttyent.c (getttyent): Likewise.
63140         (setttyent): Likewise.
63141         (endttyent): Likewise.
63142         * misc/getusershell.c (getusershell): Likewise.
63143         (endusershell): Likewise.
63144         (setusershell): Likewise.
63145         (initshells): Likewise.
63146         * misc/hsearch.c (__hdestroy): Likewise.
63147         * misc/sync.c (sync): Likewise.
63148         * misc/syslog.c (closelog_internal): Likewise.
63149         (closelog): Likewise.
63150         * misc/ttyslot.c (ttyslot): Likewise.
63151         * misc/vhangup.c (vhangup): Likewise.
63152         * posix/fork.c (__fork): Likewise.
63153         * posix/getegid.c (__getegid): Likewise.
63154         * posix/geteuid.c (__geteuid): Likewise.
63155         * posix/getgid.c (__getgid): Likewise.
63156         * posix/getpid.c (__getpid): Likewise.
63157         * posix/getppid.c (__getppid): Likewise.
63158         * posix/getuid.c (__getuid): Likewise.
63159         * posix/pause.c (pause): Likewise.
63160         * posix/setpgrp.c (setpgrp): Likewise.
63161         * posix/setsid.c (__setsid): Likewise.
63162         * posix/test-vfork.c (noop): Likewise.
63163         * resolv/gethnamaddr.c (_endhtent): Likewise.
63164         (_gethtent): Likewise.
63165         (ht_endhostent): Likewise.
63166         (gethostent): Likewise.
63167         (dns_service): Likewise.
63168         * stdlib/drand48.c (drand48): Likewise.
63169         * stdlib/lrand48.c (lrand48): Likewise.
63170         * stdlib/mrand48.c (mrand48): Likewise.
63171         * stdlib/rand.c (rand): Likewise.
63172         * stdlib/random.c (__random): Likewise.
63173         * stdlib/setenv.c (clearenv): Likewise.
63174         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
63175         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
63176         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
63177         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
63178         (__get_nprocs): Likewise.
63179         (__get_phys_pages): Likewise.
63180         (__get_avphys_pages): Likewise.
63181         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
63182         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
63183         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
63184         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
63185         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
63186         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
63187         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
63188         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
63189         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
63190         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
63191         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
63192         * sysdeps/mach/hurd/sync.c (sync): Likewise.
63193         * sysdeps/posix/clock.c (clock): Likewise.
63194         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
63195         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
63196         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
63197         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
63198         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
63199         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
63200         (__get_nprocs_conf): Likewise.
63201         (__get_phys_pages): Likewise.
63202         (__get_avphys_pages): Likewise.
63203         * time/clock.c (clock): Likewise.
63204         * time/tzset.c (__tzname_max): Likewise.
63206 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
63208         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
63209         (__bswap_32): Do not use "register".
63210         * crypt/crypt.c (_ufc_doit_r): Likewise.
63211         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
63212         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
63213         * gmon/gmon.c (__monstartup): Likewise.
63214         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
63215         * hurd/hurdmalloc.c (more_memory): Likewise.
63216         (malloc): Likewise.
63217         (free): Likewise.
63218         (realloc): Likewise.
63219         (malloc_fork_prepare): Likewise.
63220         (malloc_fork_parent): Likewise.
63221         (malloc_fork_child): Likewise.
63222         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
63223         (_svcauth_des): Likewise.
63224         * inet/inet_lnaof.c (inet_lnaof): Likewise.
63225         * inet/inet_net.c (inet_network): Likewise.
63226         * inet/inet_netof.c (inet_netof): Likewise.
63227         * inet/rcmd.c (__validuser2_sa): Likewise.
63228         * io/fts.c (fts_open): Likewise.
63229         (fts_load): Likewise.
63230         (fts_close): Likewise.
63231         (fts_read): Likewise.
63232         (fts_children): Likewise.
63233         (fts_build): Likewise.
63234         (fts_stat): Likewise.
63235         (fts_sort): Likewise.
63236         (fts_alloc): Likewise.
63237         (fts_lfree): Likewise.
63238         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
63239         (_IO_file_xsgetn): Likewise.
63240         (_IO_file_xsgetn_mmap): Likewise.
63241         * libio/iofopncook.c (_IO_cookie_read): Likewise.
63242         (_IO_cookie_write): Likewise.
63243         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
63244         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
63245         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
63246         * malloc/obstack.c (_obstack_begin): Likewise.
63247         (_obstack_begin_1): Likewise.
63248         (_obstack_newchunk): Likewise.
63249         (_obstack_allocated_p): Likewise.
63250         (obstack_free): Likewise.
63251         (_obstack_memory_used): Likewise.
63252         * misc/getttyent.c (getttynam): Likewise.
63253         (getttyent): Likewise.
63254         (skip): Likewise.
63255         (value): Likewise.
63256         * misc/getusershell.c (initshells): Likewise.
63257         * misc/syslog.c (__vsyslog_chk): Likewise.
63258         * misc/ttyslot.c (ttyslot): Likewise.
63259         * nis/nis_hash.c (__nis_hash): Likewise.
63260         * posix/fnmatch_loop.c (FCT): Likewise.
63261         * posix/getconf.c (print_all): Likewise.
63262         (main): Likewise.
63263         * posix/getopt.c (exchange): Likewise.
63264         * posix/glob.c (globfree): Likewise.
63265         (prefix_array): Likewise.
63266         (__glob_pattern_type): Likewise.
63267         * resolv/arpa/nameser.h (NS_GET16): Likewise.
63268         (NS_GET32): Likewise.
63269         (NS_PUT16): Likewise.
63270         (NS_PUT32): Likewise.
63271         * resolv/gethnamaddr.c (getanswer): Likewise.
63272         (gethostbyname2): Likewise.
63273         (gethostbyaddr): Likewise.
63274         (_gethtent): Likewise.
63275         (_gethtbyname2): Likewise.
63276         (_gethtbyaddr): Likewise.
63277         * resolv/ns_print.c (dst_s_get_int16): Likewise.
63278         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
63279         * resolv/res_init.c (__res_vinit): Likewise.
63280         (net_mask): Likewise.
63281         * resolv/res_mkquery.c (outchar): Likewise.
63282         (PRINT): Likewise.
63283         * stdio-common/printf_fp.c (outchar): Likewise.
63284         (PRINT): Likewise.
63285         * stdio-common/printf_fphex.c (outchar): Likewise.
63286         (PRINT): Likewise.
63287         * stdio-common/printf_size.c (outchar): Likewise.
63288         (PRINT): Likewise.
63289         * stdio-common/test_rdwr.c (main): Likewise.
63290         * stdio-common/tfformat.c (matches): Likewise.
63291         * stdio-common/vfprintf.c (outchar): Likewise.
63292         (printf_unknown): Likewise.
63293         (buffered_vfprintf): Likewise.
63294         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
63295         * stdio-common/xbug.c (AppendToBuffer): Likewise.
63296         (ReadFile): Likewise.
63297         * stdlib/qsort.c (SWAP): Likewise.
63298         (_quicksort): Likewise.
63299         * stdlib/setenv.c (__add_to_environ): Likewise.
63300         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
63301         * stdlib/strtol_l.c (__strtol_l): Likewise.
63302         * stdlib/tst-strtod.c (main): Likewise.
63303         * stdlib/tst-strtol.c (main): Likewise.
63304         * stdlib/tst-strtoll.c (main): Likewise.
63305         * string/bits/string2.h (__strcmp_cc): Likewise.
63306         (__strcmp_cg): Likewise.
63307         (__strcspn_c1): Likewise.
63308         (__strcspn_c2): Likewise.
63309         (__strcspn_c3): Likewise.
63310         (__strspn_c1): Likewise.
63311         (__strspn_c2): Likewise.
63312         (__strspn_c3): Likewise.
63313         (__strsep_1c): Likewise.
63314         (__strsep_2c): Likewise.
63315         (__strsep_3c): Likewise.
63316         * string/memccpy.c (__memccpy): Likewise.
63317         * string/stpcpy.c (__stpcpy): Likewise.
63318         * string/strcmp.c (strcmp): Likewise.
63319         * string/strrchr.c (strrchr): Likewise.
63320         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
63321         Likewise.
63322         * sysdeps/mach/hurd/getcwd.c
63323         (_hurd_canonicalize_directory_name_internal): Likewise.
63324         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
63325         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
63326         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
63327         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
63328         Likewise, in both definitions.
63329         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
63330         definitions.
63331         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
63332         64] (__bswap_64): Likewise.
63333         * time/test_time.c (main): Likewise.
63334         * time/tzfile.c (__tzfile_read): Likewise.
63335         (__tzfile_compute): Likewise.
63336         * time/tzset.c (__tzset_parse_tz): Likewise.
63337         (tzset_internal): Likewise.
63338         (compute_change): Likewise.
63339         * wcsmbs/wcscat.c (__wcscat): Likewise.
63340         * wcsmbs/wcschr.c (wcschr): Likewise.
63341         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
63342         * wcsmbs/wcscspn.c (wcscspn): Likewise.
63343         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
63344         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
63345         * wcsmbs/wcsspn.c (wcsspn): Likewise.
63346         * wcsmbs/wcsstr.c (wcsstr): Likewise.
63347         * wcsmbs/wmemchr.c (wmemchr): Likewise.
63348         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
63349         * wcsmbs/wmemset.c (wmemset): Likewise.
63351 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
63353         * scripts/config.guess: Update to version 2013-05-16.
63354         * scripts/config.sub: Update to version 2013-04-24.
63355         * scripts/install-sh: Update to version 2011-11-20.07.
63356         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
63357         * scripts/move-if-change: Update to version 2012-01-06 07:23.
63359 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
63361         * debug/fgetws_u_chk.c: Fix leading whitespaces.
63362         * elf/sln.c: Likewise.
63363         * hurd/hurd/ioctl.h: Likewise.
63364         * hurd/hurdmalloc.c: Likewise.
63365         * hurd/xattr.c: Likewise.
63366         * include/shlib-compat.h: Likewise.
63367         * inet/ruserpass.c: Likewise.
63368         * libio/iofgets_u.c: Likewise.
63369         * libio/iofgetws_u.c: Likewise.
63370         * locale/programs/ld-identification.c: Likewise.
63371         * locale/programs/ld-time.c: Likewise.
63372         * mach/msg-destroy.c: Likewise.
63373         * nss/nss_files/files-netgrp.c: Likewise.
63374         * resolv/res_data.c: Likewise.
63375         * soft-fp/op-1.h: Likewise.
63376         * soft-fp/op-2.h: Likewise.
63377         * soft-fp/op-4.h: Likewise.
63378         * soft-fp/op-common.h: Likewise.
63379         * stdio-common/printf_fphex.c: Likewise.
63380         * stdlib/strtod_l.c: Likewise.
63381         * sunrpc/rpc/clnt.h: Likewise.
63382         * sysdeps/generic/framestate.c: Likewise.
63383         * sysdeps/i386/bsd-_setjmp.S: Likewise.
63384         * sysdeps/i386/bsd-setjmp.S: Likewise.
63385         * sysdeps/i386/__longjmp.S: Likewise.
63386         * sysdeps/i386/setjmp.S: Likewise.
63387         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
63388         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
63389         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
63390         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
63391         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
63392         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
63393         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
63394         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
63395         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
63396         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
63397         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
63398         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
63399         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
63400         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
63401         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
63402         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
63403         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
63404         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
63405         * sysdeps/ieee754/support.c: Likewise.
63406         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
63407         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
63408         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
63409         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
63410         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
63411         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
63412         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
63413         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
63414         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
63415         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
63416         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
63417         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
63418         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
63419         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
63420         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
63421         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
63422         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
63423         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
63425 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
63427         * posix/transbug.c: Remove executable mode.
63429 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
63431         * crypt/speeds.c: Remove trailing whitespace.
63432         * dlfcn/default.c: Likewise.
63433         * elf/ifuncdep2.c: Likewise.
63434         * elf/ifuncmain1.c: Likewise.
63435         * elf/ifuncmain1vis.c: Likewise.
63436         * elf/testobj.h: Likewise.
63437         * elf/tst-stackguard1.c: Likewise.
63438         * gmon/sys/gmon.h: Likewise.
63439         * hurd/hurdmsg.c: Likewise.
63440         * hurd/new-fd.c: Likewise.
63441         * hurd/ports-get.c: Likewise.
63442         * iconvdata/ibm1008_420.c: Likewise.
63443         * inet/tst-getni1.c: Likewise.
63444         * inet/tst-getni2.c: Likewise.
63445         * libio/ioungetc.c: Likewise.
63446         * libio/wfiledoalloc.c: Likewise.
63447         * manual/libm-err-tab.pl: Likewise.
63448         * math/w_dremf.c: Likewise.
63449         * misc/ftruncate.c: Likewise.
63450         * posix/bug-glob2.c: Likewise.
63451         * posix/tst-pcre.c: Likewise.
63452         * posix/wait4.c: Likewise.
63453         * resolv/README: Likewise.
63454         * resolv/res_debug.h: Likewise.
63455         * resolv/tst-inet_ntop.c: Likewise.
63456         * setjmp/bug269-setjmp.c: Likewise.
63457         * soft-fp/extended.h: Likewise.
63458         * soft-fp/op-1.h: Likewise.
63459         * soft-fp/op-2.h: Likewise.
63460         * soft-fp/op-4.h: Likewise.
63461         * soft-fp/op-8.h: Likewise.
63462         * soft-fp/testit.c: Likewise.
63463         * stdio-common/bug16.c: Likewise.
63464         * stdlib/random.c: Likewise.
63465         * sunrpc/rpcsvc/rquota.x: Likewise.
63466         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
63467         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
63468         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
63469         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
63470         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
63471         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
63472         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
63473         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
63474         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
63475         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
63476         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
63477         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
63478         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
63479         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
63480         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
63481         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
63482         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
63483         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
63484         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
63485         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
63486         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
63487         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
63488         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
63489         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
63490         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
63491         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
63492         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
63493         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
63494         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
63495         * sysdeps/ieee754/s_lib_version.c: Likewise.
63496         * sysdeps/mach/hurd/check_fds.c: Likewise.
63497         * sysdeps/mach/hurd/getsockname.c: Likewise.
63498         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
63499         * sysdeps/mach/hurd/recvfrom.c: Likewise.
63500         * sysdeps/powerpc/bits/link.h: Likewise.
63501         * sysdeps/powerpc/dl-procinfo.c: Likewise.
63502         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
63503         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
63504         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
63505         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
63506         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
63507         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
63508         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
63509         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
63510         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
63511         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
63512         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
63513         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
63514         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
63515         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
63516         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
63517         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
63518         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
63519         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
63520         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
63521         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
63522         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
63523         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
63524         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
63525         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
63526         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
63527         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
63528         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
63529         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
63530         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
63531         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
63532         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
63533         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
63534         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
63535         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
63536         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
63537         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
63538         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
63539         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
63540         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
63541         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
63542         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
63543         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
63544         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
63545         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
63546         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
63547         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
63548         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
63549         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
63550         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
63551         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
63552         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
63553         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
63554         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
63555         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
63556         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
63557         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
63558         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
63559         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
63560         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
63561         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
63562         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
63563         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
63564         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
63565         * sysdeps/powerpc/sysdep.h: Likewise.
63566         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
63567         * sysdeps/s390/s390-64/sub_n.S: Likewise.
63568         * sysdeps/sh/dl-trampoline.S: Likewise.
63569         * sysdeps/sh/memset.S: Likewise.
63570         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
63571         * sysdeps/sh/strlen.S: Likewise.
63572         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
63573         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
63574         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
63575         * sysdeps/sparc/sparc32/rem.S: Likewise.
63576         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
63577         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
63578         * sysdeps/sparc/sparc32/strchr.S: Likewise.
63579         * sysdeps/sparc/sparc32/udiv.S: Likewise.
63580         * sysdeps/sparc/sparc32/urem.S: Likewise.
63581         * sysdeps/sparc/sparc64/add_n.S: Likewise.
63582         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
63583         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
63584         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
63585         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
63586         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
63587         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
63588         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
63589         * sysdeps/unix/bsd/times.c: Likewise.
63590         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
63591         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
63592         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
63593         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
63594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
63595         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
63596         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
63597         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
63598         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
63599         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
63600         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
63601         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
63602         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
63603         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
63604         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
63605         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
63606         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
63607         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
63608         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
63609         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
63610         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
63611         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
63612         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
63613         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
63614         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
63615         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
63616         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
63617         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
63618         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
63619         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
63620         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
63621         * sysdeps/x86_64/strcspn.S: Likewise.
63623 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
63625         * locale/C-translit.h: Revert #include <stdint.h> because this is a
63626         generated file.  Regenerate properly from gen-translit.pl.
63627         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
63628         locale/C-translit.h.
63630 2013-06-05  Andreas Schwab  <schwab@suse.de>
63632         [BZ #15100]
63633         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
63634         week as 6 instead of -1.
63635         * time/tst-strptime.c (day_tests): Add test case.
63637 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
63639         * sysdeps/generic/math_private.h
63640         (libc_feholdexcept_setround_53bit): Replace with
63641         libc_feholdsetround_53bit.
63642         (libc_feupdateenv_53bit): Replace with
63643         libc_feresetround_53bit.
63644         (SET_RESTORE_ROUND_53BIT): Adjust.
63646 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
63648         * string/test-strchrnul.c: Add copyright header.
63650         * posix/tst-getaddrinfo4.c: Increase test timeout.
63652 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
63654         [BZ #15536]
63655         * math/libm-test.inc (MAX_EXP): Remove
63656         (MIN_EXP): Define.
63657         (ulp): Use MIN_EXP - MANT_DIG.
63658         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
63660 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
63662         * po/be.po: Revert last change.
63663         * po/zh_CN.po: Likewise.
63664         * po/header.pot: Likewise.
63666 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
63668         * Makefile ($(common-objpfx)linkobj/libc.so): Define
63669         link-libc-deps to empty as target-specific variable.
63670         * Makerules (link-libc-args): New variable.
63671         (libc-for-link): Likewise.
63672         (link-libc-deps): Likewise.
63673         (lib%.so): Depend on $(link-libc-deps).  Link with
63674         $(link-libc-args).
63675         (build-module): Link with $(link-libc-args).
63676         (build-module-asneeded): Likewise.
63677         (build-module-helper-objlist): Filter out $(link-libc-deps) from
63678         list of objects.
63679         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
63680         target-specific variable.
63681         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
63682         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
63683         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
63684         libc.
63685         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
63686         libc and ld.so.
63687         ($(objpfx)libpcprofile.so): Likewise.
63688         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
63689         libc_nonshared.a.
63690         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
63691         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
63692         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
63693         $(link-libc-deps).
63694         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
63695         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
63696         * login/Makefile ($(objpfx)libutil.so): Likewise.
63697         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
63698         * math/Makefile ($(objpfx)libm.so): Likewise.
63699         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
63700         $(objpfx)libnsl.so): Define libc-for-link as target-specific
63701         variable instead of depending directly on libc.
63702         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
63703         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
63704         $(link-libc-deps).
63705         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
63706         libc.
63707         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
63708         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
63709         ($(objpfx)libanl.so): Likewise.
63710         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
63711         ld.so.
63712         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
63713         $(link-libc-deps).
63714         * sysdeps/i386/fpu/Makefile: Remove file.
63715         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
63716         ($(objpfx)libm.so): Remove dependency on ld.so.
63718 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
63720         [BZ # 15553]
63721         * nis/yp_xdr.c (XDRMAXNAME): Define.
63722         (XDRMAXRECORD): Define.
63723         (xdr_domainname): Use XDRMAXNAME.
63724         (xdr_mapname): Likewise.
63725         (xdr_peername): Likewise.
63726         (xdr_keydat): Use XDRMAXRECORD.
63727         (xdr_valdat): Likewise.
63729 2013-05-30  Jeff Law  <law@redhat.com>
63731         [BZ #14256]
63732         * manual/errno.texi (ESTALE): Update to account for more than
63733         just NFS file systems.
63734         * sysdeps/gnu/errlist.c: Regenerated.
63736 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
63738         [BZ #15465]
63739         * elf/Makefile (tests): Add tst-null-argv.
63740         (modules-names):  Add tst-null-argv-lib.
63741         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
63742         (tst-null-argv-ENV): Set environment for tst-null-argv.
63743         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
63744         (RTLD_PROGNAME): New macro.
63745         * elf/tst-null-argv.c: New test case.
63746         * elf/tst-null-argv-lib.c: Library for test case.
63747         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
63748         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
63749         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
63750         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
63751         * elf/dl-init.c (call_init): Likewise.
63752         (_dl_init): Likewise.
63753         * elf/dl-load.c (print_search_path): Likewise.
63754         (_dl_map_object): Likewise.
63755         * elf/dl-lookup.c (do_lookup_x): Likewise.
63756         (add_dependency): Likewise.
63757         (_dl_lookup_symbol_x): Likewise.
63758         (_dl_debug_bindings): Likewise.
63759         * elf/dl-open.c (_dl_show_scope): Likewise.
63760         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
63761         * elf/dl-version.c (match_symbol): Likewise.
63762         (_dl_check_map_versions): Likewise.
63763         * elf/rtld.c (dl_main): Likewise.
63764         (print_unresolved): Use RTLD_PROGNAME.
63765         (print_missing_version): Likewise.
63766         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
63767         (elf_machine_rela): Likewise.
63768         * sysdeps/powerpc/powerpc32/dl-machine.c
63769         (__process_machine_rela): Likewise.
63770         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
63771         Likewise.
63772         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
63773         Likewise.
63774         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
63775         Likewise.
63776         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
63777         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
63778         Likewise.
63779         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
63780         Likewise.
63781         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
63783 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
63785         * po/be.po: Add descriptive title.
63786         * po/zh_CN.po: Likewise.
63787         * po/header.pot: Likewise.
63789 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
63791         * locale/programs/locarchive.c (create_archive): Inlucde fname in
63792         error message.
63793         (enlarge_archive): Likewise.
63795 2013-05-28  Ben North  <ben@redfrontdoor.org>
63797         * manual/arith.texi (frexp): It is the magnitude of the return
63798         value which lies in [0.5, 1), not the return value itself.
63800 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63802         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63804 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
63806         * stdio-common/bug26.c (main): Correct fscanf template.
63808         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
63809         declare _dl_skip_args.
63811         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
63812         Don't declare.
63814         * manual/platform.texi: Add missing @end deftypefun.
63816 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
63818         [BZ #15529]
63819         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
63820         bit of mantissa of 2^16382.
63821         * math/libm-test.inc (hypot_test_data): Add more tests.
63823         * math/libm-test.inc: Add drem and pow10 to list of tested
63824         functions.
63825         (pow10_test): New function.
63826         (drem_test): Likewise.
63827         (drem_test_tonearest): Likewise.
63828         (drem_test_towardzero): Likewise.
63829         (drem_test_downward): Likewise.
63830         (drem_test_upward): Likewise.
63831         (main): Call the new functions.
63833         * math/libm-test.inc (finite_test_data): Remove.
63834         (finite_test): Run tests from isfinite_test_data.
63835         (gamma_test_data): Remove.
63836         (gamma_test): Run tests from lgamma_test_data.
63837         * sysdeps/i386/fpu/libm-test-ulps: Update.
63838         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63840 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63842         * manual/platform.texi: Add PowerPC PPR function set documentation.
63843         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
63844         implementation.
63846 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
63848         * math/libm-test.inc (MAX_EXP): Define.
63849         (ULPDIFF): Define.
63850         (ulp): New function.
63851         (check_float_internal): Use ULPDIFF.
63852         (cpow_test): Disable failing test.
63853         (check_ulp): Test ulp() implementation.
63854         (main): Call check_ulp before starting tests.
63856 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
63858         * math/gen-libm-test.pl (generate_testfile): Do not handle
63859         START_DATA and END_DATA.
63860         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
63861         END_DATA.
63862         (acos_tonearest_test_data): Likewise.
63863         (acos_towardzero_test_data): Likewise.
63864         (acos_downward_test_data): Likewise.
63865         (acos_upward_test_data): Likewise.
63866         (acosh_test_data): Likewise.
63867         (asin_test_data): Likewise.
63868         (asin_tonearest_test_data): Likewise.
63869         (asin_towardzero_test_data): Likewise.
63870         (asin_downward_test_data): Likewise.
63871         (asin_upward_test_data): Likewise.
63872         (asinh_test_data): Likewise.
63873         (atan_test_data): Likewise.
63874         (atanh_test_data): Likewise.
63875         (atan2_test_data): Likewise.
63876         (cabs_test_data): Likewise.
63877         (cacos_test_data): Likewise.
63878         (cacosh_test_data): Likewise.
63879         (carg_test_data): Likewise.
63880         (casin_test_data): Likewise.
63881         (casinh_test_data): Likewise.
63882         (catan_test_data): Likewise.
63883         (catanh_test_data): Likewise.
63884         (cbrt_test_data): Likewise.
63885         (ccos_test_data): Likewise.
63886         (ccosh_test_data): Likewise.
63887         (ceil_test_data): Likewise.
63888         (cexp_test_data): Likewise.
63889         (cimag_test_data): Likewise.
63890         (clog_test_data): Likewise.
63891         (clog10_test_data): Likewise.
63892         (conj_test_data): Likewise.
63893         (copysign_test_data): Likewise.
63894         (cos_test_data): Likewise.
63895         (cos_tonearest_test_data): Likewise.
63896         (cos_towardzero_test_data): Likewise.
63897         (cos_downward_test_data): Likewise.
63898         (cos_upward_test_data): Likewise.
63899         (cosh_test_data): Likewise.
63900         (cosh_tonearest_test_data): Likewise.
63901         (cosh_towardzero_test_data): Likewise.
63902         (cosh_downward_test_data): Likewise.
63903         (cosh_upward_test_data): Likewise.
63904         (cpow_test_data): Likewise.
63905         (cproj_test_data): Likewise.
63906         (creal_test_data): Likewise.
63907         (csin_test_data): Likewise.
63908         (csinh_test_data): Likewise.
63909         (csqrt_test_data): Likewise.
63910         (ctan_test_data): Likewise.
63911         (ctan_tonearest_test_data): Likewise.
63912         (ctan_towardzero_test_data): Likewise.
63913         (ctan_downward_test_data): Likewise.
63914         (ctan_upward_test_data): Likewise.
63915         (ctanh_test_data): Likewise.
63916         (ctanh_tonearest_test_data): Likewise.
63917         (ctanh_towardzero_test_data): Likewise.
63918         (ctanh_downward_test_data): Likewise.
63919         (ctanh_upward_test_data): Likewise.
63920         (erf_test_data): Likewise.
63921         (erfc_test_data): Likewise.
63922         (exp_test_data): Likewise.
63923         (exp_tonearest_test_data): Likewise.
63924         (exp_towardzero_test_data): Likewise.
63925         (exp_downward_test_data): Likewise.
63926         (exp_upward_test_data): Likewise.
63927         (exp10_test_data): Likewise.
63928         (exp2_test_data): Likewise.
63929         (expm1_test_data): Likewise.
63930         (fabs_test_data): Likewise.
63931         (fdim_test_data): Likewise.
63932         (finite_test_data): Likewise.
63933         (floor_test_data): Likewise.
63934         (fma_test_data): Likewise.
63935         (fma_towardzero_test_data): Likewise.
63936         (fma_downward_test_data): Likewise.
63937         (fma_upward_test_data): Likewise.
63938         (fmax_test_data): Likewise.
63939         (fmin_test_data): Likewise.
63940         (fmod_test_data): Likewise.
63941         (fpclassify_test_data): Likewise.
63942         (frexp_test_data): Likewise.
63943         (gamma_test_data): Likewise.
63944         (hypot_test_data): Likewise.
63945         (ilogb_test_data): Likewise.
63946         (isfinite_test_data): Likewise.
63947         (isgreater_test_data): Likewise.
63948         (isgreaterequal_test_data): Likewise.
63949         (isinf_test_data): Likewise.
63950         (isless_test_data): Likewise.
63951         (islessequal_test_data): Likewise.
63952         (islessgreater_test_data): Likewise.
63953         (isnan_test_data): Likewise.
63954         (isnormal_test_data): Likewise.
63955         (issignaling_test_data): Likewise.
63956         (isunordered_test_data): Likewise.
63957         (j0_test_data): Likewise.
63958         (j1_test_data): Likewise.
63959         (jn_test_data): Likewise.
63960         (ldexp_test_data): Likewise.
63961         (lgamma_test_data): Likewise.
63962         (lrint_test_data): Likewise.
63963         (lrint_tonearest_test_data): Likewise.
63964         (lrint_towardzero_test_data): Likewise.
63965         (lrint_downward_test_data): Likewise.
63966         (lrint_upward_test_data): Likewise.
63967         (llrint_test_data): Likewise.
63968         (llrint_tonearest_test_data): Likewise.
63969         (llrint_towardzero_test_data): Likewise.
63970         (llrint_downward_test_data): Likewise.
63971         (llrint_upward_test_data): Likewise.
63972         (log_test_data): Likewise.
63973         (log10_test_data): Likewise.
63974         (log1p_test_data): Likewise.
63975         (log2_test_data): Likewise.
63976         (logb_test_data): Likewise.
63977         (logb_downward_test_data): Likewise.
63978         (lround_test_data): Likewise.
63979         (llround_test_data): Likewise.
63980         (modf_test_data): Likewise.
63981         (nearbyint_test_data): Likewise.
63982         (nextafter_test_data): Likewise.
63983         (nexttoward_test_data): Likewise.
63984         (pow_test_data): Likewise.
63985         (pow_tonearest_test_data): Likewise.
63986         (pow_towardzero_test_data): Likewise.
63987         (pow_downward_test_data): Likewise.
63988         (pow_upward_test_data): Likewise.
63989         (remainder_test_data): Likewise.
63990         (remainder_tonearest_test_data): Likewise.
63991         (remainder_towardzero_test_data): Likewise.
63992         (remainder_downward_test_data): Likewise.
63993         (remainder_upward_test_data): Likewise.
63994         (remquo_test_data): Likewise.
63995         (rint_test_data): Likewise.
63996         (rint_tonearest_test_data): Likewise.
63997         (rint_towardzero_test_data): Likewise.
63998         (rint_downward_test_data): Likewise.
63999         (rint_upward_test_data): Likewise.
64000         (round_test_data): Likewise.
64001         (scalb_test_data): Likewise.
64002         (scalbn_test_data): Likewise.
64003         (scalbln_test_data): Likewise.
64004         (signbit_test_data): Likewise.
64005         (sin_test_data): Likewise.
64006         (sin_tonearest_test_data): Likewise.
64007         (sin_towardzero_test_data): Likewise.
64008         (sin_downward_test_data): Likewise.
64009         (sin_upward_test_data): Likewise.
64010         (sincos_test_data): Likewise.
64011         (sinh_test_data): Likewise.
64012         (sinh_tonearest_test_data): Likewise.
64013         (sinh_towardzero_test_data): Likewise.
64014         (sinh_downward_test_data): Likewise.
64015         (sinh_upward_test_data): Likewise.
64016         (sqrt_test_data): Likewise.
64017         (tan_test_data): Likewise.
64018         (tan_tonearest_test_data): Likewise.
64019         (tan_towardzero_test_data): Likewise.
64020         (tan_downward_test_data): Likewise.
64021         (tan_upward_test_data): Likewise.
64022         (tanh_test_data): Likewise.
64023         (tgamma_test_data): Likewise.
64024         (trunc_test_data): Likewise.
64025         (y0_test_data): Likewise.
64026         (y1_test_data): Likewise.
64027         (yn_test_data): Likewise.
64028         (significand_test_data): Likewise.
64030         * math/gen-libm-test.pl (@functions): Remove variable.
64031         (generate_testfile): Don't handle START and END lines.
64032         * math/libm-test.inc (START): New macro.
64033         (END): Likewise.
64034         (END_COMPLEX): Likewise.
64035         (acos_test): Use END macro without arguments.
64036         (acos_test_tonearest): Likewise.
64037         (acos_test_towardzero): Likewise.
64038         (acos_test_downward): Likewise.
64039         (acos_test_upward): Likewise.
64040         (acosh_test): Likewise.
64041         (asin_test): Likewise.
64042         (asin_test_tonearest): Likewise.
64043         (asin_test_towardzero): Likewise.
64044         (asin_test_downward): Likewise.
64045         (asin_test_upward): Likewise.
64046         (asinh_test): Likewise.
64047         (atan_test): Likewise.
64048         (atanh_test): Likewise.
64049         (atan2_test): Likewise.
64050         (cabs_test): Likewise.
64051         (cacos_test): Use END_COMPLEX macro without arguments.
64052         (cacosh_test): Likewise.
64053         (carg_test): Use END macro without arguments.
64054         (casin_test): Use END_COMPLEX macro without arguments.
64055         (casinh_test): Likewise.
64056         (catan_test): Likewise.
64057         (catanh_test): Likewise.
64058         (cbrt_test): Use END macro without arguments.
64059         (ccos_test): Use END_COMPLEX macro without arguments.
64060         (ccosh_test): Likewise.
64061         (ceil_test): Use END macro without arguments.
64062         (cexp_test): Use END_COMPLEX macro without arguments.
64063         (cimag_test): Use END macro without arguments.
64064         (clog_test): Use END_COMPLEX macro without arguments.
64065         (clog10_test): Likewise.
64066         (conj_test): Likewise.
64067         (copysign_test): Use END macro without arguments.
64068         (cos_test): Likewise.
64069         (cos_test_tonearest): Likewise.
64070         (cos_test_towardzero): Likewise.
64071         (cos_test_downward): Likewise.
64072         (cos_test_upward): Likewise.
64073         (cosh_test): Likewise.
64074         (cosh_test_tonearest): Likewise.
64075         (cosh_test_towardzero): Likewise.
64076         (cosh_test_downward): Likewise.
64077         (cosh_test_upward): Likewise.
64078         (cpow_test): Use END_COMPLEX macro without arguments.
64079         (cproj_test): Likewise.
64080         (creal_test): Use END macro without arguments.
64081         (csin_test): Use END_COMPLEX macro without arguments.
64082         (csinh_test): Likewise.
64083         (csqrt_test): Likewise.
64084         (ctan_test): Likewise.
64085         (ctan_test_tonearest): Likewise.
64086         (ctan_test_towardzero): Likewise.
64087         (ctan_test_downward): Likewise.
64088         (ctan_test_upward): Likewise.
64089         (ctanh_test): Likewise.
64090         (ctanh_test_tonearest): Likewise.
64091         (ctanh_test_towardzero): Likewise.
64092         (ctanh_test_downward): Likewise.
64093         (ctanh_test_upward): Likewise.
64094         (erf_test): Use END macro without arguments.
64095         (erfc_test): Likewise.
64096         (exp_test): Likewise.
64097         (exp_test_tonearest): Likewise.
64098         (exp_test_towardzero): Likewise.
64099         (exp_test_downward): Likewise.
64100         (exp_test_upward): Likewise.
64101         (exp10_test): Likewise.
64102         (exp2_test): Likewise.
64103         (expm1_test): Likewise.
64104         (fabs_test): Likewise.
64105         (fdim_test): Likewise.
64106         (finite_test): Likewise.
64107         (floor_test): Likewise.
64108         (fma_test): Likewise.
64109         (fma_test_towardzero): Likewise.
64110         (fma_test_downward): Likewise.
64111         (fma_test_upward): Likewise.
64112         (fmax_test): Likewise.
64113         (fmin_test): Likewise.
64114         (fmod_test): Likewise.
64115         (fpclassify_test): Likewise.
64116         (frexp_test): Likewise.
64117         (gamma_test): Likewise.
64118         (hypot_test): Likewise.
64119         (ilogb_test): Likewise.
64120         (isfinite_test): Likewise.
64121         (isgreater_test): Likewise.
64122         (isgreaterequal_test): Likewise.
64123         (isinf_test): Likewise.
64124         (isless_test): Likewise.
64125         (islessequal_test): Likewise.
64126         (islessgreater_test): Likewise.
64127         (isnan_test): Likewise.
64128         (isnormal_test): Likewise.
64129         (issignaling_test): Likewise.
64130         (isunordered_test): Likewise.
64131         (j0_test): Likewise.
64132         (j1_test): Likewise.
64133         (jn_test): Likewise.
64134         (ldexp_test): Likewise.
64135         (lgamma_test): Likewise.
64136         (lrint_test): Likewise.
64137         (lrint_test_tonearest): Likewise.
64138         (lrint_test_towardzero): Likewise.
64139         (lrint_test_downward): Likewise.
64140         (lrint_test_upward): Likewise.
64141         (llrint_test): Likewise.
64142         (llrint_test_tonearest): Likewise.
64143         (llrint_test_towardzero): Likewise.
64144         (llrint_test_downward): Likewise.
64145         (llrint_test_upward): Likewise.
64146         (log_test): Likewise.
64147         (log10_test): Likewise.
64148         (log1p_test): Likewise.
64149         (log2_test): Likewise.
64150         (logb_test): Likewise.
64151         (logb_test_downward): Likewise.
64152         (lround_test): Likewise.
64153         (llround_test): Likewise.
64154         (modf_test): Likewise.
64155         (nearbyint_test): Likewise.
64156         (nextafter_test): Likewise.
64157         (nexttoward_test): Likewise.
64158         (pow_test): Likewise.
64159         (pow_test_tonearest): Likewise.
64160         (pow_test_towardzero): Likewise.
64161         (pow_test_downward): Likewise.
64162         (pow_test_upward): Likewise.
64163         (remainder_test): Likewise.
64164         (remainder_test_tonearest): Likewise.
64165         (remainder_test_towardzero): Likewise.
64166         (remainder_test_downward): Likewise.
64167         (remainder_test_upward): Likewise.
64168         (remquo_test): Likewise.
64169         (rint_test): Likewise.
64170         (rint_test_tonearest): Likewise.
64171         (rint_test_towardzero): Likewise.
64172         (rint_test_downward): Likewise.
64173         (rint_test_upward): Likewise.
64174         (round_test): Likewise.
64175         (scalb_test): Likewise.
64176         (scalbn_test): Likewise.
64177         (scalbln_test): Likewise.
64178         (signbit_test): Likewise.
64179         (sin_test): Likewise.
64180         (sin_test_tonearest): Likewise.
64181         (sin_test_towardzero): Likewise.
64182         (sin_test_downward): Likewise.
64183         (sin_test_upward): Likewise.
64184         (sincos_test): Likewise.
64185         (sinh_test): Likewise.
64186         (sinh_test_tonearest): Likewise.
64187         (sinh_test_towardzero): Likewise.
64188         (sinh_test_downward): Likewise.
64189         (sinh_test_upward): Likewise.
64190         (sqrt_test): Likewise.
64191         (tan_test): Likewise.
64192         (tan_test_tonearest): Likewise.
64193         (tan_test_towardzero): Likewise.
64194         (tan_test_downward): Likewise.
64195         (tan_test_upward): Likewise.
64196         (tanh_test): Likewise.
64197         (tgamma_test): Likewise.
64198         (trunc_test): Likewise.
64199         (y0_test): Likewise.
64200         (y1_test): Likewise.
64201         (yn_test): Likewise.
64202         (significand_test): Likewise.
64204 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
64206         [BZ #15381]
64207         * libio/genops.c (_IO_no_init): Initialize wide struct info.
64209 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
64211         [BZ #14894]
64212         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
64213         __ppc_mdoio and __ppc_mdoom.
64214         * manual/platform.texi: Document new functions __ppc_yield,
64215         __ppc_mdoio and __ppc_mdoom.
64217 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
64219         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
64220         (main): Mention "tls" pseudo-hwcap is legacy.
64221         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
64223 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
64225         * math/gen-libm-test.pl (parse_args): Output only string of
64226         arguments as text for test name, not full call or descriptions of
64227         tests for extra outputs.
64228         (generate_testfile): Do not pass function name to parse_args.
64229         Generate this_func variable from START.
64230         * math/libm-test.inc (struct test_f_f_data): Rename test_name
64231         field to arg_str.
64232         (struct test_ff_f_data): Likewise.
64233         (test_ff_f_data_nexttoward): Likewise.
64234         (struct test_fi_f_data): Likewise.
64235         (struct test_fl_f_data): Likewise.
64236         (struct test_if_f_data): Likewise.
64237         (struct test_fff_f_data): Likewise.
64238         (struct test_c_f_data): Likewise.
64239         (struct test_f_f1_data): Likewise.  Remove field extra_name.
64240         (struct test_fF_f1_data): Likewise.
64241         (struct test_ffI_f1_data): Likewise.
64242         (struct test_c_c_data): Rename test_name field to arg_str.
64243         (struct test_cc_c_data): Likewise.
64244         (struct test_f_i_data): Likewise.
64245         (struct test_ff_i_data): Likewise.
64246         (struct test_f_l_data): Likewise.
64247         (struct test_f_L_data): Likewise.
64248         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
64249         and extra2_name.
64250         (COMMON_TEST_SETUP): New macro.
64251         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
64252         (COMMON_TEST_CLEANUP): Likewise.
64253         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
64254         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
64255         macros.
64256         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
64257         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
64258         macros.
64259         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
64260         (RUN_TEST_fff_f): Take argument string.  Call new setup and
64261         cleanup macros.
64262         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
64263         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
64264         macros.
64265         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
64266         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
64267         macros.
64268         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
64269         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
64270         cleanup macros.
64271         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
64272         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
64273         cleanup macros.
64274         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
64275         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
64276         cleanup macros.
64277         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
64278         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
64279         macros.
64280         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
64281         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
64282         macros.
64283         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
64284         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
64285         macros.
64286         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
64287         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
64288         cleanup macros.
64289         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
64290         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
64291         cleanup macros.
64292         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
64293         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
64294         macros.
64295         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
64296         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
64297         cleanup macros.
64298         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
64299         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
64300         macros.
64301         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
64302         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
64303         macros.
64304         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
64305         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
64306         cleanup macros.
64307         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
64309 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
64311         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
64312         to _sifields.sigfault.
64313         (si_addr_lsb): Define new macro.
64314         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
64315         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
64316         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
64318 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
64320         [BZ #15441]
64321         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
64322         returns -1.
64323         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
64324         null return -1.
64325         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
64326         loading the domain.
64328 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
64330         * math/gen-libm-test.pl (parse_args): Do not include expected
64331         result in test name.
64332         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
64333         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
64334         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
64335         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
64336         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
64337         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64339 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
64341         * benchtests/Makefile: Sort function entries.
64343         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
64344         tanh, asinh, acosh, atanh.
64345         * benchtests/acos-inputs: New file.
64346         * benchtests/acosh-inputs: New file.
64347         * benchtests/asin-inputs: New file.
64348         * benchtests/asinh-inputs: New file.
64349         * benchtests/atanh-inputs: New file.
64350         * benchtests/cosh-inputs: New file.
64351         * benchtests/log-inputs: New file.
64352         * benchtests/sinh-inputs: New file.
64353         * benchtests/tanh-inputs: New file.
64355 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
64357         [BZ #15339]
64358         * posix/tst-getaddrinfo4.c: New test.
64359         * posix/Makefile (tests): Add it.
64361 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
64363         [BZ #15339]
64364         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
64365         when no services were used.
64366         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
64367         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
64369 2013-05-21  Andreas Schwab  <schwab@suse.de>
64371         [BZ #15014]
64372         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
64373         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
64374         successful.
64375         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
64376         redundant variable declarations and reallocation of buffer when
64377         parsing as IPv6 address.  Always set NSS status when called from
64378         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
64379         buffer too small.  Correct computation of needed size.
64380         * nss/Makefile (tests): Add test-digits-dots.
64381         * nss/test-digits-dots.c: New test.
64383 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
64385         * benchtests/Makefile: Remove instructions for adding
64386         benchmark tests.
64387         * benchtests/README: New file to explain how to execute and
64388         enhance the benchmark tests.
64390 2013-05-21  Andreas Schwab  <schwab@suse.de>
64392         [BZ #15493]
64393         * setjmp/Makefile (tests): Add tst-sigsetjmp.
64394         * setjmp/tst-sigsetjmp.c: New test.
64396 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
64398         * sysdeps/x86_64/memset.S (memset): New implementation.
64399         (__bzero): Likewise.
64400         (__memset_tail): New function.
64402 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
64404         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
64405         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
64406         __memcpy_sse2_unaligned ifunc selection.
64407         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
64408         Add memcpy-sse2-unaligned.S.
64409         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
64410         Add: __memcpy_sse2_unaligned.
64412 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
64414         [BZ #15490]
64415         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
64416         math_force_eval before restoring floating-point envrionment.
64417         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
64418         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
64419         Likewise.
64420         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
64421         <math_private.h>.
64422         (__nearbyintl): Use math_force_eval before restoring
64423         floating-point environment.
64424         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
64426         * math/gen-libm-test.pl (special_functions): Remove.
64427         (parse_args): Don't handle TEST_extra.  Handle functions with no
64428         return value.
64429         * math/libm-test.inc (struct test_sincos_data): Replace with
64430         struct test_fFF_11_data.
64431         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
64432         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
64433         (sincos_test_data): Change element type to struct
64434         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
64435         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
64436         RUN_TEST_LOOP_sincos.
64437         * math/README.libm-test: Don't mention special handling of
64438         individual functions.
64439         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
64440         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
64441         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
64442         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
64443         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
64444         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64446         * math/gen-libm-test.pl (get_variable): Remove function.
64447         (parse_args): Don't show pointer parameters to call in test
64448         names.  Use "extra output N" in test names for extra outputs
64449         rather than naming variables.
64451 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
64453         [BZ #15488]
64454         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
64455         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
64456         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
64457         double tests.
64458         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
64459         disable.
64460         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
64461         check_long_double.
64463         * math/gen-libm-test.pl (@tests): Remove variable.
64464         ($count): Likewise.
64465         (new_test): Remove function.
64466         (show_exceptions): New function.
64467         (special_functions): Use show_exceptions instead of new_test.
64468         (parse_args): Likewise.
64469         (generate_testfile): Pass only function name in generated call to
64470         print_max_error or print_complex_max_error.
64471         (get_ulps): Do not handle complex tests specially.
64472         (output_test): Rename to ...
64473         (get_all_ulps_for_test): ... this.  Return a string rather than
64474         printing to a file.  Require ulps to be present.
64475         (output_ulps): Generate arrays rather than #defines.
64476         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
64477         (struct ulp_data): New type.
64478         (BUILD_COMPLEX_ULP): Remove macro.
64479         (compare_ulp_data): New function.
64480         (find_ulps): Likewise.
64481         (find_test_ulps): Likewise.
64482         (find_function_ulps): Likewise.
64483         (find_complex_function_ulps): Likewise.
64484         (print_max_error): Determine allowed ulps using
64485         find_function_ulps.
64486         (print_complex_max_error): Determine allowed ulps using
64487         find_complex_function_ulps.
64488         (check_float_internal): Determine max ulps using find_test_ulps.
64489         (check_float): Do not take max_ulp parameter.  Update call to
64490         check_float_internal.
64491         (check_complex): Likewise.
64492         (check_int): Do not take max_ulp parameter.
64493         (check_long): Likewise.
64494         (check_bool): Likewise.
64495         (check_longlong): Likewise.
64496         (struct test_f_f_data): Remove max_ulp field.
64497         (struct test_ff_f_data): Likewise.
64498         (struct test_ff_f_data_nexttoward): Likewise.
64499         (struct test_fi_f_data): Likewise.
64500         (struct test_fl_f_data): Likewise.
64501         (struct test_if_f_data): Likewise.
64502         (struct test_fff_f_data): Likewise.
64503         (struct test_c_f_data): Likewise.
64504         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
64505         (struct test_fF_f1_data): Likewise.
64506         (struct test_ffI_f1_data): Likewise.
64507         (struct test_c_c_data): Remove max_ulp field.
64508         (struct test_cc_c_data): Likewise.
64509         (struct test_f_i_data): Likewise.
64510         (struct test_ff_i_data): Likewise.
64511         (struct test_f_l_data): Likewise.
64512         (struct test_f_L_data): Likewise.
64513         (struct test_sincos_data): Likewise.
64514         (RUN_TEST_f_f): Do not handle ulps.
64515         (RUN_TEST_LOOP_f_f): Likewise.
64516         (RUN_TEST_2_f): Likewise.
64517         (RUN_TEST_LOOP_2_f): Likewise.
64518         (RUN_TEST_fff_f): Likewise.
64519         (RUN_TEST_LOOP_fff_f): Likewise.
64520         (RUN_TEST_c_f): Likewise.
64521         (RUN_TEST_LOOP_c_f): Likewise.
64522         (RUN_TEST_f_f1): Likewise.
64523         (RUN_TEST_LOOP_f_f1): Likewise.
64524         (RUN_TEST_fF_f1): Likewise.
64525         (RUN_TEST_LOOP_fF_f1): Likewise.
64526         (RUN_TEST_fI_f1): Likewise.
64527         (RUN_TEST_LOOP_fI_f1): Likewise.
64528         (RUN_TEST_ffI_f1): Likewise.
64529         (RUN_TEST_LOOP_ffI_f1): Likewise.
64530         (RUN_TEST_c_c): Likewise.
64531         (RUN_TEST_LOOP_c_c): Likewise.
64532         (RUN_TEST_cc_c): Likewise.
64533         (RUN_TEST_LOOP_cc_c): Likewise.
64534         (RUN_TEST_f_i): Likewise.
64535         (RUN_TEST_LOOP_f_i): Likewise.
64536         (RUN_TEST_f_i_tg): Likewise.
64537         (RUN_TEST_LOOP_f_i_tg): Likewise.
64538         (RUN_TEST_ff_i_tg): Likewise.
64539         (RUN_TEST_LOOP_ff_i_tg): Likewise.
64540         (RUN_TEST_f_b): Likewise.
64541         (RUN_TEST_LOOP_f_b): Likewise.
64542         (RUN_TEST_f_b_tg): Likewise.
64543         (RUN_TEST_LOOP_f_b_tg): Likewise.
64544         (RUN_TEST_f_l): Likewise.
64545         (RUN_TEST_LOOP_f_l): Likewise.
64546         (RUN_TEST_f_L): Likewise.
64547         (RUN_TEST_LOOP_f_L): Likewise.
64548         (RUN_TEST_sincos): Likewise.
64549         (RUN_TEST_LOOP_sincos): Likewise.
64551 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
64553         [BZ #15480]
64554         [BZ #15485]
64555         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
64556         main case of finite arguments, set rounding mode to FE_TONEAREST
64557         and discard exceptions.
64558         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
64559         exceptions.
64560         (remainder_tonearest_test_data): New variable.
64561         (remainder_test_tonearest): New function.
64562         (remainder_towardzero_test_data): New variable.
64563         (remainder_test_towardzero): New function.
64564         (remainder_downward_test_data): New variable.
64565         (remainder_test_downward): New function.
64566         (remainder_upward_test_data): New variable.
64567         (remainder_test_upward): New function.
64568         (main): Call the new test functions.
64570         * math/libm-test.inc (struct test_f_f1_data): Remove field
64571         extra_init.
64572         (struct test_fF_f1_data): Likewise.
64573         (struct test_ffI_f1_data): Likewise.
64574         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
64575         based on value of EXTRA_EXPECTED.
64576         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
64577         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
64578         EXTRA_VAR based on value of EXTRA_EXPECTED.
64579         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
64580         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
64581         EXTRA_VAR based on value of EXTRA_EXPECTED.
64582         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
64583         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
64584         EXTRA_VAR based on value of EXTRA_EXPECTED.
64585         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
64586         * math/gen-libm-test.pl (parse_args): Don't output initializers
64587         for extra output values.
64589         * math/libm-test.inc (check_int): Expect result to be exactly
64590         equal to expected value and do not handle ulps.
64591         (check_long): Likewise.
64592         (check_longlong): Likewise.
64594         * math/libm-test.inc (ceil_test_data): Test for "inexact"
64595         exceptions.
64596         (cimag_test_data): Likewise.
64597         (conj_test_data): Likewise.
64598         (copysign_test_data): Likewise.
64599         (cproj_test_data): Likewise.
64600         (creal_test_data): Likewise.
64601         (fabs_test_data): Likewise.
64602         (fdim_test_data): Likewise.
64603         (finite_test_data): Likewise.
64604         (floor_test_data): Likewise.
64605         (fmax_test_data): Likewise.
64606         (fmin_test_data): Likewise.
64607         (fmod_test_data): Likewise.
64608         (fpclassify_test_data): Likewise.
64609         (frexp_test_data): Likewise.
64610         (ilogb_test_data): Likewise.
64611         (isfinite_test_data): Likewise.
64612         (isgreater_test_data): Likewise.
64613         (isgreaterequal_test_data): Likewise.
64614         (isinf_test_data): Likewise.
64615         (isless_test_data): Likewise.
64616         (islessequal_test_data): Likewise.
64617         (islessgreater_test_data): Likewise.
64618         (isnan_test_data): Likewise.
64619         (isnormal_test_data): Likewise.
64620         (issignaling_test_data): Likewise.
64621         (isunordered_test_data): Likewise.
64622         (ldexp_test_data): Likewise.
64623         (lrint_test_data): Likewise.
64624         (lrint_test_data) [TEST_FLOAT]: Disable one test.
64625         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
64626         (lrint_tonearest_test_data): Test for "inexact" exceptions.
64627         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
64628         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
64629         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
64630         test input.
64631         (lrint_towardzero_test_data): Test for "inexact" exceptions.
64632         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
64633         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
64634         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
64635         that test input.
64636         (lrint_downward_test_data): Test for "inexact" exceptions.
64637         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
64638         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
64639         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
64640         test input.
64641         (lrint_upward_test_data): Test for "inexact" exceptions.
64642         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
64643         test input.
64644         (llrint_test_data): Test for "inexact" exceptions.
64645         (llrint_test_data) [TEST_FLOAT]: Disable one test.
64646         (llrint_tonearest_test_data): Test for "inexact" exceptions.
64647         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
64648         (llrint_towardzero_test_data): Test for "inexact" exceptions.
64649         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
64650         (llrint_downward_test_data): Test for "inexact" exceptions.
64651         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
64652         (llrint_upward_test_data): Test for "inexact" exceptions.
64653         (logb_test_data): Likewise.
64654         (logb_downward_test_data): Likewise.
64655         (nextafter_test_data): Likewise.
64656         (nexttoward_test_data): Likewise.
64657         (remainder_test_data): Likewise.
64658         (remquo_test_data): Likewise.
64659         (scalbn_test_data): Likewise.
64660         (scalbln_test_data): Likewise.
64661         (signbit_test_data): Likewise.
64662         (sqrt_test_data): Likewise.
64663         (significand_test_data): Likewise.
64665 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
64667         [BZ #15424]
64668         * benchtests/bench-modf.c (struct args): Mark arg0 as
64669         volatile.
64670         * scripts/bench.pl: Mark members of struct args as volatile.
64672 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64674         [BZ # 15497]
64675         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
64676         negative infinity on POWER6 or lower.
64677         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
64679 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
64681         [BZ #15442]
64682         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
64683         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
64684         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
64685         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
64686         (_FP_SETQNAN): New macro.
64687         (_FP_SETQNAN_SEMIRAW): Likewise.
64688         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
64689         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
64690         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
64691         (FP_EXTEND): Use _FP_FRAC_SNANP.
64692         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
64693         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
64694         into account.
64695         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
64696         New macro.
64697         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
64698         Likewise.
64700 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
64702         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
64703         with DIVIDE_BY_ZERO_EXCEPTION.
64704         (gamma_test_data): Likewise.
64705         (lgamma_test_data): Likewise.
64706         (log_test_data): Likewise.
64707         (log10_test_data): Likewise.
64708         (log2_test_data): Likewise.
64709         (tgamma_test_data): Likewise.
64711         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
64712         (acos_test_tonearest): Likewise.
64713         (acos_test_towardzero): Likewise.
64714         (acos_test_downward): Likewise.
64715         (acos_test_upward): Likewise.
64716         (acosh_test): Likewise.
64717         (asin_test): Likewise.
64718         (asin_test_tonearest): Likewise.
64719         (asin_test_towardzero): Likewise.
64720         (asin_test_downward): Likewise.
64721         (asin_test_upward): Likewise.
64722         (asinh_test): Likewise.
64723         (atan_test): Likewise.
64724         (atanh_test): Likewise.
64725         (atan2_test): Likewise.
64726         (cabs_test): Likewise.
64727         (cacos_test): Likewise.
64728         (cacosh_test): Likewise.
64729         (casin_test): Likewise.
64730         (casinh_test): Likewise.
64731         (catan_test): Likewise.
64732         (catanh_test): Likewise.
64733         (cbrt_test): Likewise.
64734         (ccos_test): Likewise.
64735         (ccosh_test): Likewise.
64736         (cexp_test): Likewise.
64737         (clog_test): Likewise.
64738         (clog10_test): Likewise.
64739         (cos_test): Likewise.
64740         (cos_test_tonearest): Likewise.
64741         (cos_test_towardzero): Likewise.
64742         (cos_test_downward): Likewise.
64743         (cos_test_upward): Likewise.
64744         (cosh_test): Likewise.
64745         (cosh_test_tonearest): Likewise.
64746         (cosh_test_towardzero): Likewise.
64747         (cosh_test_downward): Likewise.
64748         (cosh_test_upward): Likewise.
64749         (cpow_test): Likewise.
64750         (csin_test): Likewise.
64751         (csinh_test): Likewise.
64752         (csqrt_test): Likewise.
64753         (ctan_test): Likewise.
64754         (ctan_test_tonearest): Likewise.
64755         (ctan_test_towardzero): Likewise.
64756         (ctan_test_downward): Likewise.
64757         (ctan_test_upward): Likewise.
64758         (ctanh_test): Likewise.
64759         (ctanh_test_tonearest): Likewise.
64760         (ctanh_test_towardzero): Likewise.
64761         (ctanh_test_downward): Likewise.
64762         (ctanh_test_upward): Likewise.
64763         (erf_test): Likewise.
64764         (erfc_test): Likewise.
64765         (exp_test): Likewise.
64766         (exp_test_tonearest): Likewise.
64767         (exp_test_towardzero): Likewise.
64768         (exp_test_downward): Likewise.
64769         (exp_test_upward): Likewise.
64770         (exp10_test): Likewise.
64771         (exp2_test): Likewise.
64772         (expm1_test): Likewise.
64773         (fmod_test): Likewise.
64774         (gamma_test): Likewise.
64775         (hypot_test): Likewise.
64776         (j0_test): Likewise.
64777         (j1_test): Likewise.
64778         (jn_test): Likewise.
64779         (lgamma_test): Likewise.
64780         (log_test): Likewise.
64781         (log10_test): Likewise.
64782         (log1p_test): Likewise.
64783         (log2_test): Likewise.
64784         (logb_test_downward): Likewise.
64785         (pow_test): Likewise.
64786         (pow_test_tonearest): Likewise.
64787         (pow_test_towardzero): Likewise.
64788         (pow_test_downward): Likewise.
64789         (pow_test_upward): Likewise.
64790         (remainder_test): Likewise.
64791         (remquo_test): Likewise.
64792         (sin_test): Likewise.
64793         (sin_test_tonearest): Likewise.
64794         (sin_test_towardzero): Likewise.
64795         (sin_test_downward): Likewise.
64796         (sin_test_upward): Likewise.
64797         (sincos_test): Likewise.
64798         (sinh_test): Likewise.
64799         (sinh_test_tonearest): Likewise.
64800         (sinh_test_towardzero): Likewise.
64801         (sinh_test_downward): Likewise.
64802         (sinh_test_upward): Likewise.
64803         (sqrt_test): Likewise.
64804         (tan_test): Likewise.
64805         (tan_test_tonearest): Likewise.
64806         (tan_test_towardzero): Likewise.
64807         (tan_test_downward): Likewise.
64808         (tan_test_upward): Likewise.
64809         (tanh_test): Likewise.
64810         (tgamma_test): Likewise.
64811         (y0_test): Likewise.
64812         (y1_test): Likewise.
64813         (yn_test): Likewise.
64815         * math/gen-libm-test.pl (adjust_arg): Remove function.
64816         (special_function): Remove argument $in_func.  Only handle
64817         generating output for tables of tests, not inside functions.
64818         (parse_args): Likewise.
64819         (generate_testfile): Remove variable $in_func.  Update call to
64820         parse_args.
64821         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
64822         (MINUS_ZERO_INIT): Rename macro to minus_zero.
64823         (PLUS_INFTY_INIT): Rename macro to plus_infty.
64824         (MINUS_INFTY_INIT): Rename macro to minus_infty.
64825         (QNAN_VALUE_INIT): Rename macro to qnan_value.
64826         (MAX_VALUE_INIT): Rename macro to max_value.
64827         (MIN_VALUE_INIT): Rename macro to min_value.
64828         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
64829         (plus_zero): Remove variable.
64830         (minus_zero): Likewise.
64831         (plus_infty): Likewise.
64832         (minus_infty): Likewise.
64833         (qnan_value): Likewise.
64834         (max_value): Likewise.
64835         (min_value): Likewise.
64836         (min_subnorm_value): Likewise.
64838 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
64840         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
64841         uint64_t or uint32_t usage.
64842         * crypt/sha256-block.c: Likewise.
64843         * crypt/sha256-crypt.c: Likewise.
64844         * crypt/sha256.c: Likewise.
64845         * crypt/sha512-block.c: Likewise.
64846         * crypt/sha512-crypt.c: Likewise.
64847         * crypt/sha512.c: Likewise.
64848         * debug/backtrace-tst.c: Likewise.
64849         * debug/pcprofiledump.c: Likewise.
64850         * elf/cache.c: Likewise.
64851         * elf/dl-cache.c: Likewise.
64852         * elf/dl-misc.c: Likewise.
64853         * elf/dl-profile.c: Likewise.
64854         * elf/dl-support.c: Likewise.
64855         * elf/ldconfig.c: Likewise.
64856         * elf/sprof.c: Likewise.
64857         * iconv/dummy-repertoire.c: Likewise.
64858         * iconv/iconv_charmap.c: Likewise.
64859         * iconv/skeleton.c: Likewise.
64860         * iconvdata/8bit-generic.c: Likewise.
64861         * iconvdata/cp737.h: Likewise.
64862         * iconvdata/cp775.h: Likewise.
64863         * iconvdata/ibm1008.h: Likewise.
64864         * iconvdata/ibm1025.h: Likewise.
64865         * iconvdata/ibm1046.h: Likewise.
64866         * iconvdata/ibm1097.h: Likewise.
64867         * iconvdata/ibm1112.h: Likewise.
64868         * iconvdata/ibm1122.h: Likewise.
64869         * iconvdata/ibm1123.h: Likewise.
64870         * iconvdata/ibm1124.h: Likewise.
64871         * iconvdata/ibm1129.h: Likewise.
64872         * iconvdata/ibm1130.h: Likewise.
64873         * iconvdata/ibm1132.h: Likewise.
64874         * iconvdata/ibm1133.h: Likewise.
64875         * iconvdata/ibm1137.h: Likewise.
64876         * iconvdata/ibm1140.h: Likewise.
64877         * iconvdata/ibm1141.h: Likewise.
64878         * iconvdata/ibm1142.h: Likewise.
64879         * iconvdata/ibm1143.h: Likewise.
64880         * iconvdata/ibm1144.h: Likewise.
64881         * iconvdata/ibm1145.h: Likewise.
64882         * iconvdata/ibm1146.h: Likewise.
64883         * iconvdata/ibm1147.h: Likewise.
64884         * iconvdata/ibm1148.h: Likewise.
64885         * iconvdata/ibm1149.h: Likewise.
64886         * iconvdata/ibm1153.h: Likewise.
64887         * iconvdata/ibm1154.h: Likewise.
64888         * iconvdata/ibm1155.h: Likewise.
64889         * iconvdata/ibm1156.h: Likewise.
64890         * iconvdata/ibm1157.h: Likewise.
64891         * iconvdata/ibm1158.h: Likewise.
64892         * iconvdata/ibm1160.h: Likewise.
64893         * iconvdata/ibm1161.h: Likewise.
64894         * iconvdata/ibm1162.h: Likewise.
64895         * iconvdata/ibm1163.h: Likewise.
64896         * iconvdata/ibm1164.h: Likewise.
64897         * iconvdata/ibm1166.h: Likewise.
64898         * iconvdata/ibm1167.h: Likewise.
64899         * iconvdata/ibm12712.h: Likewise.
64900         * iconvdata/ibm1390.h: Likewise.
64901         * iconvdata/ibm1399.h: Likewise.
64902         * iconvdata/ibm16804.h: Likewise.
64903         * iconvdata/ibm4517.h: Likewise.
64904         * iconvdata/ibm4899.h: Likewise.
64905         * iconvdata/ibm4909.h: Likewise.
64906         * iconvdata/ibm4971.h: Likewise.
64907         * iconvdata/ibm5347.h: Likewise.
64908         * iconvdata/ibm803.h: Likewise.
64909         * iconvdata/ibm856.h: Likewise.
64910         * iconvdata/ibm901.h: Likewise.
64911         * iconvdata/ibm902.h: Likewise.
64912         * iconvdata/ibm9030.h: Likewise.
64913         * iconvdata/ibm9066.h: Likewise.
64914         * iconvdata/ibm921.h: Likewise.
64915         * iconvdata/ibm922.h: Likewise.
64916         * iconvdata/ibm9448.h: Likewise.
64917         * iconvdata/isiri-3342.h: Likewise.
64918         * iconvdata/jis0201.h: Likewise.
64919         * include/link.h: Likewise.
64920         * include/netdb.h: Likewise.
64921         * inet/check_native.c: Likewise.
64922         * inet/check_pf.c: Likewise.
64923         * inet/getipv4sourcefilter.c: Likewise.
64924         * inet/getnameinfo.c: Likewise.
64925         * inet/getsourcefilter.c: Likewise.
64926         * inet/htonl.c: Likewise.
64927         * inet/setipv4sourcefilter.c: Likewise.
64928         * inet/setsourcefilter.c: Likewise.
64929         * inet/test-inet6_opt.c: Likewise.
64930         * inet/tst-network.c: Likewise.
64931         * locale/C-collate.c: Likewise.
64932         * locale/C-ctype.c: Likewise.
64933         * locale/C-time.c: Likewise.
64934         * locale/C-translit.h: Likewise.
64935         * locale/loadarchive.c: Likewise.
64936         * locale/programs/3level.h: Likewise.
64937         * locale/programs/charmap.c: Likewise.
64938         * locale/programs/charmap.h: Likewise.
64939         * locale/programs/ld-address.c: Likewise.
64940         * locale/programs/ld-collate.c: Likewise.
64941         * locale/programs/ld-ctype.c: Likewise.
64942         * locale/programs/ld-identification.c: Likewise.
64943         * locale/programs/ld-measurement.c: Likewise.
64944         * locale/programs/ld-messages.c: Likewise.
64945         * locale/programs/ld-monetary.c: Likewise.
64946         * locale/programs/ld-name.c: Likewise.
64947         * locale/programs/ld-numeric.c: Likewise.
64948         * locale/programs/ld-paper.c: Likewise.
64949         * locale/programs/ld-telephone.c: Likewise.
64950         * locale/programs/ld-time.c: Likewise.
64951         * locale/programs/linereader.c: Likewise.
64952         * locale/programs/locale.c: Likewise.
64953         * locale/programs/locarchive.c: Likewise.
64954         * locale/programs/locfile.h: Likewise.
64955         * locale/programs/repertoire.c: Likewise.
64956         * locale/programs/simple-hash.c: Likewise.
64957         * locale/programs/simple-hash.h: Likewise.
64958         * malloc/memusage.c: Likewise.
64959         * malloc/memusagestat.c: Likewise.
64960         * nis/nis_defaults.c: Likewise.
64961         * nis/nis_hash.c: Likewise.
64962         * nis/nis_print.c: Likewise.
64963         * nis/nis_xdr.c: Likewise.
64964         * nscd/connections.c: Likewise.
64965         * nscd/hstcache.c: Likewise.
64966         * nscd/nscd_gethst_r.c: Likewise.
64967         * nscd/nscd_getserv_r.c: Likewise.
64968         * nscd/nscd_helper.c: Likewise.
64969         * nscd/servicescache.c: Likewise.
64970         * nss/makedb.c: Likewise.
64971         * nss/nss_db/db-XXX.c: Likewise.
64972         * nss/nss_db/db-initgroups.c: Likewise.
64973         * nss/nss_db/db-netgrp.c: Likewise.
64974         * nss/nss_files/files-network.c: Likewise.
64975         * nss/nss_files/files-parse.c: Likewise.
64976         * posix/bug-regex5.c: Likewise.
64977         * posix/fnmatch_loop.c: Likewise.
64978         * posix/regcomp.c: Likewise.
64979         * posix/regexec.c: Likewise.
64980         * posix/tst-rfc3484-2.c: Likewise.
64981         * posix/tst-rfc3484-3.c: Likewise.
64982         * posix/tst-rfc3484.c: Likewise.
64983         * resolv/nss_dns/dns-canon.c: Likewise.
64984         * resolv/nss_dns/dns-network.c: Likewise.
64985         * resolv/res_init.c: Likewise.
64986         * resolv/res_mkquery.c: Likewise.
64987         * resolv/tst-aton.c: Likewise.
64988         * stdlib/cxa_atexit.c: Likewise.
64989         * stdlib/cxa_finalize.c: Likewise.
64990         * stdlib/gen-fpioconst.c: Likewise.
64991         * stdlib/strtol_l.c: Likewise.
64992         * string/tst-endian.c: Likewise.
64993         * sunrpc/auth_des.c: Likewise.
64994         * sunrpc/clnt_udp.c: Likewise.
64995         * sunrpc/rtime.c: Likewise.
64996         * sunrpc/svcauth_des.c: Likewise.
64997         * sunrpc/xdr.c: Likewise.
64998         * sunrpc/xdr_intXX_t.c: Likewise.
64999         * sunrpc/xdr_rec.c: Likewise.
65000         * sysdeps/generic/ldconfig.h: Likewise.
65001         * sysdeps/generic/ldsodefs.h: Likewise.
65002         * sysdeps/generic/memusage.h: Likewise.
65003         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
65004         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
65005         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
65006         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
65007         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
65008         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
65009         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
65010         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
65011         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
65012         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
65013         * sysdeps/posix/getaddrinfo.c: Likewise.
65014         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
65015         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
65016         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
65017         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
65018         * sysdeps/powerpc/test-gettimebase.c: Likewise.
65019         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
65020         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
65021         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
65022         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
65023         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
65024         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
65025         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
65026         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
65027         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
65028         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
65029         * sysdeps/x86_64/dl-tls.h: Likewise.
65030         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
65031         * time/alt_digit.c: Likewise.
65032         * time/era.c: Likewise.
65033         * wcsmbs/tst-c16c32-1.c: Likewise.
65035 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
65037         * math/libm-test.inc (struct test_sincos_data): New type.
65038         (RUN_TEST_LOOP_sincos): New macro.
65039         (sincos_test_data): New variable.
65040         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
65042 2013-05-16  Richard Henderson  <rth@redhat.com>
65044         * math/atest-exp2.c (LIMB64): New macro.
65045         (CONSTSZ): New macro.
65046         (mp_exp1, mp_exp_m1, mp_log2): New variables.
65047         (hexdig): Move ...
65048         (print_mpn_fp): ... to function scope.
65049         (read_mpn_hex): Remove.
65050         (get_log2): Remove.
65051         (exp2_mpn): Use mp_log2.
65052         (main): Use mp_exp1.
65054 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
65056         * math/libm-test.inc: Remove comment about not testing "inexact"
65057         exceptions.
65058         (INEXACT_EXCEPTION): New macro.
65059         (NO_INEXACT_EXCEPTION): Likewise.
65060         (INVALID_EXCEPTION_OK): Update value.
65061         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
65062         (OVERFLOW_EXCEPTION_OK): Likewise.
65063         (UNDERFLOW_EXCEPTION_OK): Likewise.
65064         (IGNORE_ZERO_INF_SIGN): Likewise.
65065         (ERRNO_UNCHANGED): Likewise.
65066         (ERRNO_EDOM): Likewise.
65067         (ERRNO_ERANGE): Likewise.
65068         (test_exceptions): Handle testing "inexact" exceptions.
65069         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
65070         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
65071         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
65072         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
65073         INEXACT_EXCEPTION.
65074         (rint_towardzero_test_data): Likewise.
65075         (rint_downward_test_data): Likewise.
65076         (rint_upward_test_data): Likewise.
65078         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
65079         with OVERFLOW_EXCEPTION.
65080         (exp10_test_data): Likewise.
65081         (exp2_test_data): Likewise.
65082         (expm1_test_data): Likewise.
65083         (lgamma_test_data): Likewise.
65084         (pow_test_data): Likewise.
65085         (tgamma_test_data): Likewise.
65086         (yn_test_data): Remove duplicate test of overflow.
65088         * math/libm-test.inc (struct test_cc_c_data): New type.
65089         (RUN_TEST_LOOP_cc_c): New macro.
65090         (cpow_test_data): New variable.
65091         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
65093         * math/libm-test.inc (struct test_f_L_data): New type.
65094         (RUN_TEST_LOOP_f_L): New macro.
65095         (llrint_test_data): New variable.
65096         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
65097         (llrint_tonearest_test_data): New variable.
65098         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
65099         (llrint_towardzero_test_data): New variable.
65100         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
65101         (llrint_downward_test_data): New variable.
65102         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
65103         (llrint_upward_test_data): New variable.
65104         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
65105         (llround_test_data): New variable.
65106         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
65108 2013-05-13  Peter Collingbourne  <pcc@google.com>
65110         * math/atest-exp2.c (get_log2): Remove const attribute.
65112 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
65114         * math/libm-test.inc (struct test_f_l_data): New type.
65115         (RUN_TEST_LOOP_f_l): New macro.
65116         (lrint_test_data): New variable.
65117         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
65118         (lrint_tonearest_test_data): New variable.
65119         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
65120         (lrint_towardzero_test_data): New variable.
65121         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
65122         (lrint_downward_test_data): New variable.
65123         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
65124         (lrint_upward_test_data): New variable.
65125         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
65126         (lround_test_data): New variable.
65127         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
65129 2013-05-15  Peter Collingbourne  <pcc@google.com>
65131         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
65132         (EXTRACT_WORDS64) Use where appropriate.
65133         (INSERT_WORDS64) Likewise.
65135         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
65136         constraints with x constraints.
65137         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
65139         * malloc/obstack.c (_obstack_compat): Add initializer.
65141 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
65143         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
65144         si_trapno and add si_addr_lsb to _sifields.sigfault.
65145         (si_trapno): Remove macro.
65146         (si_addr_lsb): Define new macro.
65147         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
65149 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
65151         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
65152         instead of TEST_f_l.
65153         (llrint_test_tonearest): Likewise.
65154         (llrint_test_towardzero): Likewise.
65155         (llrint_test_downward): Likewise.
65156         (llrint_test_upward): Likewise.
65157         (llround_test): Likewise.
65159         * math/libm-test.inc (struct test_f_i_data): Add comment.
65160         (RUN_TEST_LOOP_f_b): New macro.
65161         (RUN_TEST_LOOP_f_b_tg): Likewise.
65162         (finite_test_data): New variable.
65163         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
65164         (isfinite_test_data): New variable.
65165         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
65166         (isinf_test_data): New variable.
65167         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
65168         (isnan_test_data): New variable.
65169         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
65170         (isnormal_test_data): New variable.
65171         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
65172         (issignaling_test_data): New variable.
65173         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
65174         (signbit_test_data): New variable.
65175         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
65177         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
65178         with INVALID_EXCEPTION.
65179         (acosh_test_data): Likewise.
65180         (asin_test_data): Likewise.
65181         (atanh_test_data): Likewise.
65182         (fmod_test_data): Likewise.
65183         (log_test_data): Likewise.
65184         (log10_test_data): Likewise.
65185         (log2_test_data): Likewise.
65186         (pow_test_data): Likewise.
65187         (sqrt_test_data): Likewise.
65188         (y0_test_data): Likewise.
65189         (y1_test_data): Likewise.
65190         (yn_test_data): Likewise.
65192         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
65193         function contents.
65195         * math/libm-test.inc (struct test_ff_i_data): New type.
65196         (RUN_TEST_LOOP_ff_i_tg): New macro.
65197         (isgreater_test_data): New variable.
65198         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
65199         (isgreaterequal_test_data): New variable.
65200         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
65201         (isless_test_data): New variable.
65202         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
65203         (islessequal_test_data): New variable.
65204         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
65205         (islessgreater_test_data): New variable.
65206         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
65207         (isunordered_test_data): New variable.
65208         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
65210 2013-05-14  David S. Miller  <davem@davemloft.net>
65212         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65214 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
65216         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
65218         * math/libm-test.inc (struct test_fF_f1_data): Change type of
65219         extra_test to int.
65220         (struct test_f_i_data): Change type of max_ulp to int.
65222         * math/libm-test.inc (test_ffI_f1_data): New type.
65223         (RUN_TEST_LOOP_ffI_f1): New macro.
65224         (remquo_test_data): New variable.
65225         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
65227         * setjmp/tst-setjmp-fp.c: New file.
65228         * setjmp/Makefile (tests): Add tst-setjmp-fp.
65229         (link-libm): New variable.
65230         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
65232         * math/libm-test.inc (struct test_f_i_data): New type.
65233         (RUN_TEST_LOOP_f_i): New macro.
65234         (RUN_TEST_LOOP_f_i_tg): Likewise.
65235         (fpclassify_test_data): New variable.
65236         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
65237         (ilogb_test_data): New variable.
65238         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
65240         * math/libm-test.inc (scalbln_test): Correct function name in END
65241         call.
65243         * math/libm-test.inc (struct test_f_f1_data): Add comment.
65244         (RUN_TEST_LOOP_fI_f1): New macro.
65245         (frexp_test_data): New variable.
65246         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
65248         * math/libm-test.inc (struct test_fF_f1_data): New type.
65249         (RUN_TEST_LOOP_fF_f1): New macro.
65250         (modf_test_data): New variable.
65251         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
65253         * math/libm-test.inc (struct test_f_f1_data): New type.
65254         (RUN_TEST_LOOP_f_f1): New macro.
65255         (gamma_test_data): New variable.
65256         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
65257         (lgamma_test_data): New variable.
65258         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
65260 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
65262         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
65263         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
65264         (main): Comment "tls" pseudo-hwcap.
65266 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
65268         * math/libm-test.inc (struct test_fl_f_data): New type.
65269         (RUN_TEST_LOOP_fl_f): New variable.
65270         (scalbln_test_data): New variable.
65271         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
65273         * math/libm-test.inc (struct test_fi_f_data): New type.
65274         (RUN_TEST_LOOP_fi_f): New macro.
65275         (ldexp_test_data): New variable.
65276         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
65277         (scalbn_test_data): New variable.
65278         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
65280         * math/libm-test.inc (struct test_c_f_data): New type.
65281         (RUN_TEST_LOOP_c_f): New macro.
65282         (cabs_test_data): New variable.
65283         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
65284         (carg_test_data): New variable.
65285         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
65286         (cimag_test_data): New variable.
65287         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
65288         (creal_test_data): New variable.
65289         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
65291         * math/libm-test.inc (struct test_if_f_data): New type.
65292         (RUN_TEST_LOOP_if_f): New macro.
65293         (jn_test_data): New variable.
65294         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
65295         (yn_test_data): New variable.
65296         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
65298         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
65300 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65302         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
65303         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
65305 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
65307         * benchtests/Makefile (CPPFLAGS-nonlib): Add
65308         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
65309         (bench-deps): Add bench-timing.h.
65310         * benchtests-bench-skeleton.c: Include bench-timing.h.
65311         (main): Use TIMING_* macros instead of clock_gettime.
65312         * benchtests/bench-timing.h: New file.
65314         [BZ #14582]
65315         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
65316         Renamed from _LIB_VERSION.
65317         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
65319 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
65321         * math/libm-test.inc (struct test_fff_f_data): New type.
65322         (RUN_TEST_LOOP_fff_f): New macro.
65323         (fma_test_data): New variable.
65324         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
65325         (fma_towardzero_test_data): New variable.
65326         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
65327         (fma_downward_test_data): New variable.
65328         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
65329         (fma_upward_test_data): New variable.
65330         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
65332         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
65333         (struct test_c_c_data): New type.
65334         (RUN_TEST_LOOP_c_c): New macro.
65335         (cacos_test_data): New variable.
65336         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
65337         (cacosh_test_data): New variable.
65338         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
65339         (casin_test_data): New variable.
65340         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
65341         (casinh_test_data): New variable.
65342         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
65343         (catan_test_data): New variable.
65344         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
65345         (catanh_test_data): New variable.
65346         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
65347         (ccos_test_data): New variable.
65348         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
65349         (ccosh_test_data): New variable.
65350         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
65351         (cexp_test_data): New variable.
65352         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
65353         (clog_test_data): New variable.
65354         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
65355         (clog10_test_data): New variable.
65356         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
65357         (conj_test_data): New variable.
65358         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
65359         (cproj_test_data): New variable.
65360         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
65361         (csin_test_data): New variable.
65362         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
65363         (csinh_test_data): New variable.
65364         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
65365         (csqrt_test_data): New variable.
65366         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
65367         (ctan_test_data): New variable.
65368         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
65369         (ctan_tonearest_test_data): New variable.
65370         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
65371         (ctan_towardzero_test_data): New variable.
65372         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
65373         (ctan_downward_test_data): New variable.
65374         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
65375         (ctan_upward_test_data): New variable.
65376         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
65377         (ctanh_test_data): New variable.
65378         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
65379         (ctanh_tonearest_test_data): New variable.
65380         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
65381         (ctanh_towardzero_test_data): New variable.
65382         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
65383         (ctanh_downward_test_data): New variable.
65384         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
65385         (ctanh_upward_test_data): New variable.
65386         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
65387         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
65388         of BUILD_COMPLEX.
65390         * math/libm-test.inc (struct test_ff_f_data): New type.
65391         (struct test_ff_f_data_nexttoward): Likewise.
65392         (RUN_TEST_LOOP_2_f): New macro.
65393         (RUN_TEST_LOOP_ff_f): Likewise.
65394         (atan2_test_data): New variable.
65395         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
65396         (copysign_test_data): New variable.
65397         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
65398         (fdim_test_data): New variable.
65399         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
65400         (fmax_test_data): New variable.
65401         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
65402         (fmin_test_data): New variable.
65403         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
65404         (fmod_test_data): New variable.
65405         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
65406         (hypot_test_data): New variable.
65407         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
65408         (nextafter_test_data): New variable.
65409         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
65410         (nexttoward_test_data): New variable.
65411         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
65412         (pow_test_data): New variable.
65413         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
65414         (pow_tonearest_test_data): New variable.
65415         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
65416         (pow_towardzero_test_data): New variable.
65417         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
65418         (pow_downward_test_data): New variable.
65419         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
65420         (pow_upward_test_data): New variable.
65421         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
65422         (remainder_test_data): New variable.
65423         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
65424         (scalb_test_data): New variable.
65425         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
65426         * sysdeps/i386/fpu/libm-test-ulps: Update.
65428 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
65430         * math/libm-test.inc (fma_test): Use max_value instead of local
65431         variable fltmax.
65432         (nextafter_test): Likewise.
65434         * math/libm-test.inc (acos_towardzero_test_data): New variable.
65435         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
65436         (acos_downward_test_data): New variable.
65437         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
65438         (acos_upward_test_data): New variable.
65439         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
65440         (acosh_test_data): New variable.
65441         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
65442         (asin_test_data): New variable.
65443         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
65444         (asin_tonearest_test_data): New variable.
65445         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
65446         (asin_towardzero_test_data): New variable.
65447         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
65448         (asin_downward_test_data): New variable.
65449         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
65450         (asin_upward_test_data): New variable.
65451         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
65452         (asinh_test_data): New variable.
65453         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
65454         (atan_test_data): New variable.
65455         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
65456         (atanh_test_data): New variable.
65457         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
65458         (cbrt_test_data): New variable.
65459         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
65460         (ceil_test_data): New variable.
65461         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
65462         (cos_test_data): New variable.
65463         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
65464         (cos_tonearest_test_data): New variable.
65465         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
65466         (cos_towardzero_test_data): New variable.
65467         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
65468         (cos_downward_test_data): New variable.
65469         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
65470         (cos_upward_test_data): New variable.
65471         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
65472         (cosh_test_data): New variable.
65473         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
65474         (cosh_tonearest_test_data): New variable.
65475         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
65476         (cosh_towardzero_test_data): New variable.
65477         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
65478         (cosh_downward_test_data): New variable.
65479         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
65480         (cosh_upward_test_data): New variable.
65481         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
65482         (erf_test_data): New variable.
65483         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
65484         (erfc_test_data): New variable.
65485         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
65486         (exp_test_data): New variable.
65487         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
65488         (exp_tonearest_test_data): New variable.
65489         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
65490         (exp_towardzero_test_data): New variable.
65491         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
65492         (exp_downward_test_data): New variable.
65493         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
65494         (exp_upward_test_data): New variable.
65495         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
65496         (exp10_test_data): New variable.
65497         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
65498         (exp2_test_data): New variable.
65499         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
65500         (expm1_test_data): New variable.
65501         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
65502         (fabs_test_data): New variable.
65503         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
65504         (floor_test_data): New variable.
65505         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
65506         (j0_test_data): New variable.
65507         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
65508         (j1_test_data): New variable.
65509         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
65510         (log_test_data): New variable.
65511         (log_test): Run tests with RUN_TEST_LOOP_f_f.
65512         (log10_test_data): New variable.
65513         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
65514         (log1p_test_data): New variable.
65515         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
65516         (log2_test_data): New variable.
65517         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
65518         (logb_test_data): New variable.
65519         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
65520         (logb_downward_test_data): New variable.
65521         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
65522         (nearbyint_test_data): New variable.
65523         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
65524         (rint_test_data): New variable.
65525         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
65526         (rint_tonearest_test_data): New variable.
65527         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
65528         (rint_towardzero_test_data): New variable.
65529         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
65530         (rint_downward_test_data): New variable.
65531         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
65532         (rint_upward_test_data): New variable.
65533         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
65534         (round_test_data): New variable.
65535         (round_test): Run tests with RUN_TEST_LOOP_f_f.
65536         (sin_test_data): New variable.
65537         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
65538         (sin_tonearest_test_data): New variable.
65539         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
65540         (sin_towardzero_test_data): New variable.
65541         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
65542         (sin_downward_test_data): New variable.
65543         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
65544         (sin_upward_test_data): New variable.
65545         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
65546         (sinh_test_data): New variable.
65547         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
65548         (sinh_tonearest_test_data): New variable.
65549         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
65550         (sinh_towardzero_test_data): New variable.
65551         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
65552         (sinh_downward_test_data): New variable.
65553         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
65554         (sinh_upward_test_data): New variable.
65555         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
65556         (sqrt_test_data): New variable.
65557         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
65558         (tan_test_data): New variable.
65559         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
65560         (tan_tonearest_test_data): New variable.
65561         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
65562         (tan_towardzero_test_data): New variable.
65563         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
65564         (tan_downward_test_data): New variable.
65565         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
65566         (tan_upward_test_data): New variable.
65567         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
65568         (tanh_test_data): New variable.
65569         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
65570         (tgamma_test_data): New variable.
65571         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
65572         (trunc_test_data): New variable.
65573         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
65574         (y0_test_data): New variable.
65575         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
65576         (y1_test_data): New variable.
65577         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
65578         (significand_test_data): New variable.
65579         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
65581 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
65583         [BZ #12387]
65584         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
65586 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
65588         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
65590 2013-05-10  Andreas Jaeger  <aj@suse.de>
65592         [BZ #15448]
65593         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
65594         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
65596 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
65598         * math/gen-libm-test.pl (adjust_arg): New function.
65599         (special_functions): Handle generating output in both functions
65600         and arrays.
65601         (parse_args): Likewise.
65602         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
65603         $in_func argument to parse_args.
65604         * math/libm-test.inc (struct test_f_f_data): New type.
65605         (IF_ROUND_INIT_): New macro.
65606         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
65607         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
65608         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
65609         (IF_ROUND_INIT_FE_UPWARD): Likewise.
65610         (ROUND_RESTORE_): Likewise.
65611         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
65612         (ROUND_RESTORE_FE_TONEAREST): Likewise.
65613         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
65614         (ROUND_RESTORE_FE_UPWARD): Likewise.
65615         (RUN_TEST_LOOP_f_f): New macro.
65616         (acos_test_data): New variable.
65617         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
65618         (acos_tonearest_test_data): New variable.
65619         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
65621 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
65623         * benchtests/bench-skeleton.c (startup): Fix coding style.
65625 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
65627         [BZ #6809]
65628         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
65629         negative infinity argument.
65630         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
65631         negative infinity argument.
65632         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
65633         negative infinity argument.
65634         * math/libm-test.inc (tgamma_test): Expect errno to be set for
65635         domain errors.
65637 2013-05-10  Florian Weimer  <fweimer@redhat.com>
65639         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
65640         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
65641         * iconv/iconv_prog.c (main): Likewise.
65642         * locale/programs/charmap-dir.c (charmap_readdir)
65643         (fopen_uncompressed): Likewise.
65644         * locale/programs/locfile.c (siblings_uncached)
65645         (write_locale_data): Use lstat64 instead of lstat.
65646         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
65647         stat.
65649 2013-05-10  Andreas Jaeger  <aj@suse.de>
65651         [BZ #15395]
65652         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
65653         localization.
65654         Include <locale.h>.
65656 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
65658         * elf/dl-close.c (_dl_close_worker): Add comments.
65660 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
65662         [BZ #15359]
65663         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
65664         high part of pi/2.
65665         (__ieee754_rem_pio2l): Update comments.
65667         [BZ #15429]
65668         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
65669         high part of pi/2.
65670         (__ieee754_rem_pio2l): Update comments.
65672         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
65673         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
65675         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
65676         M_PI_4l.
65678         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
65679         (M_PI_34_LOG10El): Likewise.
65680         (M_PI2_LOG10El): Likewise.
65681         (M_PI4_LOG10El): Likewise.
65682         (M_PI_LOG10El): Likewise.
65684 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65686         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65688 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
65690         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
65691         (MINUS_ZERO_INIT): Likewise.
65692         (PLUS_INFTY_INIT): Likewise.
65693         (MINUS_INFTY_INIT): Likewise.
65694         (QNAN_VALUE_INIT): Likewise.
65695         (MAX_VALUE_INIT): Likewise.
65696         (MIN_VALUE_INIT): Likewise.
65697         (MIN_SUBNORM_VALUE_INIT): Likewise.
65698         (plus_zero): Initialize with PLUS_ZERO_INIT.
65699         (minus_zero): Initialize with MINUS_ZERO_INIT.
65700         (plus_infty): Initialize with PLUS_INFTY_INIT.
65701         (minus_infty): Initialize with MINUS_INFTY_INIT.
65702         (qnan_value): Initialize with QNAN_VALUE_INIT.
65703         (max_value): Initialize with MAX_VALUE_INIT.
65704         (min_value): Initialize with MIN_VALUE_INIT.
65705         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
65707         * math/libm-test.inc (RUN_TEST_if_f): New macro.
65708         (jn_test): Use TEST_if_f instead of TEST_ff_f.
65709         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
65710         (yn_test): Use TEST_if_f instead of TEST_ff_f.
65712         * math/libm-test.inc (RUN_TEST_f_f): New macro.
65713         (RUN_TEST_2_f): Likewise.
65714         (RUN_TEST_ff_f): Likewise.
65715         (RUN_TEST_fi_f): Likewise.
65716         (RUN_TEST_fl_f): Likewise.
65717         (RUN_TEST_fff_f): Likewise.
65718         (RUN_TEST_c_f): Likewise.
65719         (RUN_TEST_f_f1): Likewise.
65720         (RUN_TEST_fF_f1): Likewise.
65721         (RUN_TEST_fI_f1): Likewise.
65722         (RUN_TEST_ffI_f1): Likewise.
65723         (RUN_TEST_c_c): Likewise.
65724         (RUN_TEST_cc_c): Likewise.
65725         (RUN_TEST_f_i): Likewise.
65726         (RUN_TEST_f_i_tg): Likewise.
65727         (RUN_TEST_ff_i_tg): Likewise.
65728         (RUN_TEST_f_b): Likewise.
65729         (RUN_TEST_f_b_tg): Likewise.
65730         (RUN_TEST_f_l): Likewise.
65731         (RUN_TEST_f_L): Likewise.
65732         (RUN_TEST_sincos): Likewise.
65733         * math/gen-libm-test.pl (new_test): Take new argument to indicate
65734         whether to show exceptions.  Do not include ");\n" in return
65735         value.
65736         (special_functions): Output call to RUN_TEST_sincos instead of
65737         check_float calls.  Update calls to new_test.
65738         (parse_args): Output call to single RUN_TEST_* macro instead of
65739         check_* calls and other assignments.  Update calls to new_test.
65741         [BZ #2546]
65742         [BZ #2560]
65743         [BZ #5159]
65744         [BZ #15426]
65745         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
65746         input to result for tgamma overflow.
65747         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
65748         (gamma_coeff): New variable.
65749         (NCOEFF): New macro.
65750         (gamma_positive): New function.
65751         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
65752         underflow here.  Use gamma_positive instead of exp (lgamma) for
65753         other arguments.
65754         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
65755         (gamma_coeff): New variable.
65756         (NCOEFF): New macro.
65757         (gammaf_positive): New function.
65758         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
65759         underflow here.  Use gamma_positive instead of exp (lgamma) for
65760         other arguments.
65761         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
65762         (gamma_coeff): New variable.
65763         (NCOEFF): New macro.
65764         (gammal_positive): New function.
65765         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
65766         underflow here.  Use gamma_positive instead of exp (lgamma) for
65767         other arguments.
65768         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
65769         (gamma_coeff): New variable.
65770         (NCOEFF): New macro.
65771         (gammal_positive): New function.
65772         (__ieee754_gammal_r): Handle positive infinity, overflow and
65773         underflow here.  Handle NaN the same as positive infinity.  Remove
65774         check x < 0xffffffff for negative integers.  Use gamma_positive
65775         instead of exp (lgamma) for other arguments.
65776         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
65777         (gamma_coeff): New variable.
65778         (NCOEFF): New macro.
65779         (gammal_positive): New function.
65780         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
65781         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
65782         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
65783         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
65784         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
65785         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
65786         * sysdeps/generic/math_private.h (__gamma_productf): New
65787         prototype.
65788         (__gamma_product): Likewise.
65789         (__gamma_productl): Likewise.
65790         * math/Makefile (libm-calls): Add gamma_product.
65791         * math/libm-test.inc (tgamma_test): Add more tests.
65792         * sysdeps/i386/fpu/libm-test-ulps: Update.
65793         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65795 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
65797         * benchtests/bench-skeleton.c (main): Preheat CPU.
65799 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
65801         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
65803 2013-05-07  Roland McGrath  <roland@hack.frob.com>
65805         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
65806         and _dl_skip_args_internal.
65808 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
65810         * manual/message.texi (Message Translation): Talk about users.
65811         Message to key mapping impacts design.
65813 2013-05-06  Roland McGrath  <roland@hack.frob.com>
65815         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
65817         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
65819         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
65820         * sysdeps/wordsize-64/glob64.c: ... here.
65822         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
65823         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
65824         New macros.
65826         * debug/getlogin_r_chk.c: Moved to ...
65827         * login/getlogin_r_chk.c: ... here.
65828         * debug/Makefile (routines): Move getlogin_r_chk to ...
65829         * login/Makefile (routines): ... here.
65830         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
65831         * login/Versions (libc: GLIBC_2.4): ... here.
65833         * io/poll.c (__poll): Renamed from poll.
65834         Add libc_hidden_def.
65835         (poll): Define as weak alias.
65837         * debug/ptsname_r_chk.c: Moved to ...
65838         * login/ptsname_r_chk.c: ... here.
65839         * debug/Makefile (routines): Move ptsname_r_chk to ...
65840         * login/Makefile (routines): ... here.
65841         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
65842         * login/Versions (libc: GLIBC_2.4): ... here.
65844         * posix/getlogin.c: Moved to ...
65845         * login/getlogin.c: ... here.
65846         * posix/getlogin_r.c: Moved to ...
65847         * login/getlogin_r.c: ... here.
65848         * posix/getlogin_r.c: Moved to ...
65849         * login/getlogin_r.c: ... here.
65850         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
65851         * login/Makefile (routines): ... here.
65852         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
65853         * login/Versions (libc: GLIBC_2.0): ... here.
65855         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
65856         (setrlimit): Define as weak alias.
65858         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
65859         Call __ names for open, ftruncate, and close.
65860         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
65861         (truncate): Define as weak alias.
65863 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
65865         * math/gen-libm-test.pl (parse_args): Initialize x before each
65866         test of frexp, modf and remquo.
65868         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
65869         test signgam value.
65871 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65873         [BZ #15418]
65874         [BZ #15419]
65875         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
65876         internal tests.
65877         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
65879 2013-05-06  Roland McGrath  <roland@hack.frob.com>
65881         * elf/dl-writev.h: New file.
65882         * elf/dl-misc.c: Include it.
65883         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
65884         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
65886 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
65888         * math/libm-test.inc (noXFails): Remove variable.
65889         (noXPasses): Likewise.
65890         (BUILD_COMPLEX_INT): Remove macro.
65891         (print_screen): Remove xfail argument.
65892         (print_screen_max_error): Likewise.
65893         (update_stats): Likewise.
65894         (print_max_error): Likewise.  Update calls to other affected
65895         functions.
65896         (print_complex_max_error): Likewise.
65897         (test_single_exception): Update calls to print_screen.
65898         (test_single_errno): Likewise.
65899         (check_float_internal): Remove xfail argument.  Update calls to
65900         other affected functions.
65901         (check_float): Likewise.
65902         (check_complex): Likewise.
65903         (check_int): Likewise.
65904         (check_long): Likewise.
65905         (check_bool): Likewise.
65906         (check_longlong): Likewise.
65907         (main): Don't print noXFails and noXPasses.
65908         * math/gen-libm-test.pl (top level): Don't mention expected
65909         failure handling in comment.
65910         (new_test): Don't handle expected failures.
65911         (parse_args): Don't mention expected failure handling in comment.
65912         (generate_testfile): Don't handle expected failures.
65913         (parse_ulps): Likewise.
65914         (print_ulps_file): Likewise.
65915         (get_failure): Remove function.
65916         (output_test): Don't handle expected failures.
65917         * make/README.libm-test: Don't mention expected failure handling.
65919         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
65920         (minus_zero): Likewise.
65921         (plus_infty): Likewise.
65922         (minus_infty): Likewise.
65923         (qnan_value): Likewise.
65924         (max_value): Likewise.
65925         (min_value): Likewise.
65926         (min_subnorm_value): Likewise.
65927         (initialize): Do not initialize those variables dynamically.
65929 2013-05-03  Roland McGrath  <roland@hack.frob.com>
65931         * io/open.c (__open_2): Moved to ...
65932         * io/open_2.c: ... this new file.
65933         * io/open64.c (__open64_2): Moved to ...
65934         * io/open64_2.c: ... this new file.
65935         * io/openat.c (__openat_2): Moved to ...
65936         * io/openat_2.c: ... this new file.
65937         * io/openat64.c (__openat64_2): Moved to ...
65938         * io/openat64_2.c: ... this new file.
65939         * io/Makefile (routines): Add them.
65940         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
65941         * sysdeps/unix/sysv/linux/open_2.c: File removed.
65942         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
65943         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
65944         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
65945         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
65946         (__openat64): Add hidden_ver.
65947         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
65948         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
65950         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
65951         Separately conditionalize setting of GLRO(dl_sysinfo) so
65952         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
65953         as well, but the actual setting is only under [NEED_DL_SYSINFO].
65955 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65957         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
65958         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
65959         definition.
65960         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
65961         * sysdeps/unix/sysv/linux/powerpc/init-first.c
65962         (_libc_vdso_platform_setup): Add __vdso_time initialization.
65963         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
65964         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
65966 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
65968         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
65969         test signgam value.
65971         * math/libm-test.inc (hypot_test): Do not use
65972         IGNORE_ZERO_INF_SIGN.
65974 2013-05-03  Andreas Jaeger  <aj@suse.de>
65976         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
65977         Linux 3.9.
65978         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
65979         (PF_MAX): Adjust for VSOCK change.
65981 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65983         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65985 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
65987         [BZ #15264]
65988         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
65989         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
65990         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
65992 2013-05-02  David S. Miller  <davem@davemloft.net>
65994         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65996 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
65998         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
66000 2013-05-01  Roland McGrath  <roland@hack.frob.com>
66002         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
66004 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
66006         [BZ #14952]
66007         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
66008         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
66009         Use __attribute__ ((__gnu_inline__)).
66010         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
66011         Don't use __attribute__ ((__gnu_inline__)).
66013 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
66015         [BZ #15423]
66016         * math/s_catan.c (__catan): Handle small real or imaginary part of
66017         input specially to avoid spurious underflow.
66018         * math/s_catanf.c (__catanf): Likewise.
66019         * math/s_catanh.c (__catanh): Likewise.
66020         * math/s_catanhf.c (__catanhf): Likewise.
66021         * math/s_catanhl.c (__catanhl): Likewise.
66022         * math/s_catanl.c (__catanl): Likewise.
66023         * math/libm-test.inc (catan_test): Add more tests.
66024         (catanh_test): Likewise.
66025         * sysdeps/i386/fpu/libm-test-ulps: Update.
66026         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66028 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66030         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66032 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
66034         [BZ #15416]
66035         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
66036         accurately for denominator in atan2.
66037         * math/s_catanf.c (__catanf): Likewise.
66038         * math/s_catanh.c (__catanh): Likewise.
66039         * math/s_catanhf.c (__catanhf): Likewise.
66040         * math/s_catanhl.c (__catanhl): Likewise.
66041         * math/s_catanl.c (__catanl): Likewise.
66042         * math/libm-test.inc (catan_test): Add more tests.
66043         (catanh_test): Likewise.
66044         * sysdeps/i386/fpu/libm-test-ulps: Update.
66045         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66047 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
66049         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
66051         * benchtests/Makefile (bench): Remove slow benchmarks.
66052         * benchtests/atan-inputs: Add slow benchmark inputs.
66053         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
66054         (BENCH_FUNC): Accept variant offset.
66055         (VARIANT): Define.
66056         * benchtests/bench-skeleton.c (main): Run benchmark for each
66057         variant.
66058         * benchtests/cos-inputs: Add slow benchmark inputs.
66059         * benchtests/exp-inputs: Likewise.
66060         * benchtests/pow-inputs: Likewise.
66061         * benchtests/sin-inputs: Likewise.
66062         * benchtests/slowatan-inputs: Remove.
66063         * benchtests/slowatan.c: Remove.
66064         * benchtests/slowcos-inputs: Remove.
66065         * benchtests/slowcos.c: Remove.
66066         * benchtests/slowexp-inputs: Remove.
66067         * benchtests/slowexp.c: Remove.
66068         * benchtests/slowpow-inputs: Remove.
66069         * benchtests/slowpow.c: Remove.
66070         * benchtests/slowsin-inputs: Remove.
66071         * benchtests/slowsin.c: Remove.
66072         * benchtests/slowtan-inputs: Remove.
66073         * benchtests/slowtan.c: Remove.
66074         * benchtests/tan-inputs: Add slow benchmark inputs.
66075         * scripts/bench.pl: Parse comments and directives.
66077         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
66078         in CPPFLAGS.
66079         ($(objpfx)bench-%.c): Remove *-ITER.
66080         * benchtests/bench-modf.c: Remove definition of ITER.
66081         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
66082         (main): Loop for DURATION seconds instead of fixed number of
66083         iterations.
66084         * scripts/bench.pl: Don't expect iterations in parameters.
66086 2013-04-29  Roland McGrath  <roland@hack.frob.com>
66088         * io/fchdir.c (__fchdir): Renamed from fchdir.
66089         (fchdir): Define as weak alias.
66091 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
66093         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
66094         (ERRNO_EDOM): Likewise.
66095         (ERRNO_ERANGE): Likewise.
66096         (noErrnoTests): New variable.
66097         (init_max_error): Set errno to 0.
66098         (test_single_errno): New function.
66099         (test_errno): Likewise.
66100         (check_float_internal): Call test_errno.  Set errno to 0.
66101         (check_complex): Refer to errno tests in comment.
66102         (check_int): Call test_errno.  Set errno to 0.
66103         (check_long): Likewise.
66104         (check_bool): Likewise.
66105         (check_longlong): Likewise.
66106         (cos_test): Use ERRNO_* flags for errno tests instead of
66107         check_int.
66108         (expm1_test): Likewise.
66109         (fmod_test): Likewise.
66110         (ilogb_test): Likewise.
66111         (lgamma_test): Likewise.
66112         (pow_test): Likewise.
66113         (remainder_test): Likewise.
66114         (sin_test): Likewise.
66115         (tan_test): Likewise.
66116         (yn_test): Likewise.
66117         (initialize): Set errno to 0.
66118         (main): Print number of errno tests.
66119         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
66121 2013-04-29  Andreas Jaeger  <aj@suse.de>
66123         [BZ #15084]
66124         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
66125         and RES_USEVC.
66127         [BZ #15085]
66128         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
66129         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
66130         unimplemented.
66132         [BZ #15380]
66133         * stdlib/random.c (__initstate): Return NULL if
66134         __initstate fails.
66136         [BZ #15086]
66137         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
66138         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
66139         RES_SNGLKUPREOP.
66141 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66143         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66145 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
66147         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
66148         of individual tests.
66149         (casin_test): Likewise.
66150         (casinh_test): Likewise.
66152 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
66154         [BZ #15409]
66155         * math/s_catan.c (__catan): Handle arguments with large real or
66156         imaginary part separately without squaring.
66157         * math/s_catanf.c (__catanf): Likewise.
66158         * math/s_catanh.c (__catanh): Likewise.
66159         * math/s_catanhf.c (__catanhf): Likewise.
66160         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
66161         and redefine.
66162         (__catanhl): Handle arguments with large real or imaginary part
66163         separately without squaring.
66164         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
66165         and redefine.
66166         (__catanl): Handle arguments with large real or imaginary part
66167         separately without squaring.
66168         * math/libm-test.inc (catan_test): Add more tests.
66169         (catanh_test): Likewise.
66170         * sysdeps/i386/fpu/libm-test-ulps: Update.
66171         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66173 2013-04-27  Andreas Jaeger  <aj@suse.de>
66175         [BZ #15007]
66176         * stdlib/stdlib.h: Update guards for qecvt.
66177         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
66178         <stdlib.h>.
66180 2013-04-27  Allan McRae  <allan@archlinux.org>
66182         * sysdeps/i386/fpu/libm-test-ulps: Update.
66184 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
66186         [BZ #15406]
66187         * math/s_catan.c: Include <float.h>.
66188         (__catan): Ensure underflow exception occurs for underflowed
66189         result.
66190         * math/s_catanf.c: Include <float.h>.
66191         (__catanf): Ensure underflow exception occurs for underflowed
66192         result.
66193         * math/s_catanh.c: Include <float.h>.
66194         (__catanh): Ensure underflow exception occurs for underflowed
66195         result.
66196         * math/s_catanhf.c: Include <float.h>.
66197         (__catanhf): Ensure underflow exception occurs for underflowed
66198         result.
66199         * math/s_catanhl.c: Include <float.h>.
66200         (__catanhl): Ensure underflow exception occurs for underflowed
66201         result.
66202         * math/s_catanl.c: Include <float.h>.
66203         (__catanl): Ensure underflow exception occurs for underflowed
66204         result.
66205         * math/libm-test.inc (catan_test): Add more tests.
66206         (catanh_test): Likewise.
66208         [BZ #15405]
66209         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
66210         underflowed result.
66211         * math/s_ccoshf.c (__ccoshf): Likewise.
66212         * math/s_ccoshl.c (__ccoshl): Likewise.
66213         * math/s_csin.c (__csin): Likewise.
66214         * math/s_csinf.c (__csinf): Likewise.
66215         * math/s_csinh.c (__csinh): Likewise.
66216         * math/s_csinhf.c (__csinhf): Likewise.
66217         * math/s_csinhl.c (__csinhl): Likewise.
66218         * math/s_csinl.c (__csinl): Likewise.
66219         * math/libm-test.inc (ccos_test): Add more tests.
66220         (ccosh_test): Likewise.
66221         (csin_test): Likewise.
66222         (csinh_test): Likewise.
66224 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66226         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
66227         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
66228         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
66229         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
66230         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
66231         powerpc/power5+/fpu folders.
66232         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
66235 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
66237         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66239 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
66241         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
66242         additions to variable.
66243         [$(config-machine) = x86_64] (modules-names): Likewise.
66244         ($(objpfx)tst-audit3): Remove dependency.
66245         ($(objpfx)tst-audit3.out): Likewise.
66246         ($(objpfx)tst-audit4): Likewise.
66247         ($(objpfx)tst-audit4.out): Likewise.
66248         ($(objpfx)tst-audit5): Likewise.
66249         ($(objpfx)tst-audit5.out): Likewise.
66250         ($(objpfx)tst-audit6): Likewise.
66251         ($(objpfx)tst-audit6.out): Likewise.
66252         ($(objpfx)tst-audit7): Likewise.
66253         ($(objpfx)tst-audit7.out): Likewise.
66254         (tst-audit3-ENV): Remove variable.
66255         (tst-audit4-ENV): Likewise.
66256         (tst-audit5-ENV): Likewise.
66257         (tst-audit6-ENV): Likewise.
66258         (tst-audit7-ENV): Likewise.
66259         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
66260         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
66261         addition to variable.
66262         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
66263         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
66264         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
66265         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
66266         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
66267         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
66268         tst-audit3, tst-audit4 and tst-audit5.
66269         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
66270         tst-audit6 and tst-audit7.
66271         [$(subdir) = elf] (modules-names): Add audit modules for those
66272         tests.
66273         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
66274         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
66275         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
66276         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
66277         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
66278         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
66279         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
66280         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
66281         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
66282         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
66283         [$(subdir) = elf] (tst-audit3-ENV): New variable.
66284         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
66285         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
66286         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
66287         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
66288         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
66289         Likewise.
66290         [$(subdir) = elf && $(config-cflags-avx) = yes]
66291         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
66292         [$(subdir) = elf && $(config-cflags-avx) = yes]
66293         (CFLAGS-tst-auditmod4a.c): Likewise.
66294         [$(subdir) = elf && $(config-cflags-avx) = yes]
66295         (CFLAGS-tst-auditmod4b.c): Likewise.
66296         [$(subdir) = elf && $(config-cflags-avx) = yes]
66297         (CFLAGS-tst-auditmod6b.c): Likewise.
66298         [$(subdir) = elf && $(config-cflags-avx) = yes]
66299         (CFLAGS-tst-auditmod6c.c): Likewise.
66300         [$(subdir) = elf && $(config-cflags-avx) = yes]
66301         (CFLAGS-tst-auditmod7b.c): Likewise.
66302         * elf/tst-audit3.c: Move to ...
66303         * sysdeps/x86_64/tst-audit3.c: ... here.
66304         * elf/tst-audit4.c: Move to ...
66305         * sysdeps/x86_64/tst-audit4.c: ... here.
66306         * elf/tst-audit5.c: Move to ...
66307         * sysdeps/x86_64/tst-audit5.c: ... here.
66308         * elf/tst-audit6.c: Move to ...
66309         * sysdeps/x86_64/tst-audit6.c: ... here.
66310         * elf/tst-audit7.c: Move to ...
66311         * sysdeps/x86_64/tst-audit7.c: ... here.
66312         * elf/tst-auditmod3a.c: Move to ...
66313         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
66314         * elf/tst-auditmod3b.c: Move to ...
66315         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
66316         * elf/tst-auditmod4a.c: Move to ...
66317         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
66318         * elf/tst-auditmod4b.c: Move to ...
66319         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
66320         * elf/tst-auditmod5a.c: Move to ...
66321         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
66322         * elf/tst-auditmod5b.c: Move to ...
66323         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
66324         * elf/tst-auditmod6a.c: Move to ...
66325         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
66326         * elf/tst-auditmod6b.c: Move to ...
66327         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
66328         * elf/tst-auditmod6c.c: Move to ...
66329         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
66330         * elf/tst-auditmod7a.c: Move to ...
66331         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
66332         * elf/tst-auditmod7b.c: Move to ...
66333         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
66335 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
66337         [BZ #15366]
66338         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
66339         define unconditionally.
66340         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
66341         define unconditionally.
66342         (INT8_C, INT16_C, etc.): Likewise.
66344 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
66346         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
66347         __ehdr_start with hidden visibility.
66349         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
66351 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
66353         * math/libm-test.inc (cos_test): Use accurate hex constants.
66354         (sincost_test): Likewise.
66356 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
66358         * math/libm-test.inc (catan_test): Add more tests.
66359         (catanh_test): Likewise.
66361         * math/s_catanf.c (__catanf): Use suffixed floating-point
66362         constants.
66363         * math/s_catanhf.c (__catanhf): Likewise.
66364         * math/s_catanhl.c (__catanhl): Likewise.
66365         * math/s_catanl.c (__catanl): Likewise.
66367         [BZ #15394]
66368         * math/s_catan.c (__catan): Calculate imaginary part of result
66369         with log1p not log unless computing log of number close to 0.
66370         * math/s_catanf.c (__catanf): Likewise.
66371         * math/s_catanl.c (__catanl): Likewise.
66372         * math/s_catanh.c (__catanh): Calculate real part of result with
66373         log1p not log unless computing log of number close to 0.
66374         * math/s_catanhf.c (__catanhf): Likewise.
66375         * math/s_catanhl.c (__catanhl): Likewise.
66376         * math/libm-test.inc (catan_test): Add more tests.
66377         (catanh_test): Likewise.
66378         * sysdeps/i386/fpu/libm-test-ulps: Update.
66379         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66381 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
66383         * benchtests/Makefile: Mention files in which fast and slow
66384         paths of math functions are implemented.
66386 2013-04-23  Roland McGrath  <roland@hack.frob.com>
66388         * sysdeps/posix/timespec_get.c: New file.
66390 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66392         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
66393         POWER.
66394         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
66395         for POWER.
66396         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
66397         powerpc/power5/fpu folders.
66398         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
66399         * benchtests/Makefile: Add modf testcase.
66400         * benchtests/bench-modf.c: New file: Benchmark test for mo
66402 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
66404         [BZ #14888]
66405         * time/Makefile (tests): Add tst-strptime-whitespace.
66406         * time/strptime_l.c (get_number): Use ISSPACE.
66407         (__strptime_internal): Likewise.
66408         * time/tst-strptime-whitespace.c: New test case.
66410 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
66412         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
66413         member.
66414         (_nss_files_init): Set it here.
66416 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
66418         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
66419         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
66420         unsigned.
66422 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
66424         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
66426 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
66428         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
66429         size just once.
66431 2013-04-21  David S. Miller  <davem@davemloft.net>
66433         * po/ru.po: Update Russion translation from translation project.
66435 2013-04-17  Adam Conrad  <adconrad@0c3.net>
66437         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
66438         and setfsgid.
66440 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
66442         * configure.in: Remove i386 configure warning. Remove i386 case.
66443         * configure: Regenerate.
66444         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
66445         Add example to error message.
66446         * sysdeps/i386/configure: Regenerate.
66448 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
66450         * benchtests/Makefile (bench): Add cos, tan, slowcos and
66451         slowtan.
66452         * benchtests/cos-inputs: New file.
66453         * benchtests/slowcos-inputs: New file.
66454         * benchtests/slowcos.c: New file.
66455         * benchtests/slowtan-inputs: New file.
66456         * benchtests/slowtan.c: New file.
66457         * benchtests/tan-inputs: New file.
66459 2013-04-16  Roland McGrath  <roland@hack.frob.com>
66461         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
66462         considered kosher.
66464 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
66466         * benchtests/Makefile: Include cppflags-iterator.mk to add
66467         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
66469         * Makefile.in (bench-clean): New target.
66470         * benchtests/Makefile (bench-clean): Likewise.
66472 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
66474         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
66476 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
66478         * stdio-common/tstdiomisc.c: Fix coding-style violation.
66480 2013-04-15  Andreas Schwab  <schwab@suse.de>
66482         * nscd/grpcache.c (cache_addgr): Properly check for short write.
66483         * nscd/initgrcache.c (addinitgroupsX): Likewise.
66484         * nscd/pwdcache.c (cache_addpw): Likewise.
66485         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
66486         more than recsize.
66488 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
66490         * benchtests/Makefile (bench): Write all output to
66491         bench-out.tmp together.
66493 2013-04-15  Andreas Schwab  <schwab@suse.de>
66495         * nscd/nscd.c (main): Don't fork again after closing files.
66497 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
66499         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
66501         * benchtests/Rules (bench-deps): Collect dependencies into a
66502         single variable.  Add Makefile to dependencies.
66503         ($(objpfx)bench-%.c): Depend on bench-deps.
66505 2013-04-12  Roland McGrath  <roland@hack.frob.com>
66506             Xavier Roche  <roche+kml2@exalead.com>
66508         [BZ #15361]
66509         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
66510         just that it's a file descriptor.
66511         * manual/llio.texi (Synchronizing AIO Operations): Update description
66512         for EBADF error from aio_fsync.
66514 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
66516         * Rules (bench): Move target definition...
66517         * benchtests/Makefile: ... here.
66519 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
66521         * math/libm-test.inc (cos_test): Fix PI/2 test.
66522         (sincos_test): Likewise.
66523         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
66524         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
66526 2013-04-11  Andreas Schwab  <schwab@suse.de>
66528         [BZ #13988]
66529         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
66530         accept exponent character only when digits were seen.
66531         * stdio-common/Makefile (tests): Add bug26.
66532         * stdio-common/bug26.c: New file.
66534         [BZ #14293]
66535         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
66536         non-freeable.
66538 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
66540         * Makeconfig (rtld-prefix): Define built linker prefix.
66541         * Rules (run-bench): Use it.
66542         * math/Makefile (run-regen-ulps): Likewise.
66544         * Rules (bench): Remove eval.
66546 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
66547             Roland McGrath  <roland@hack.frob.com>
66548             Ondrej Bilka  <neleai@seznam.cz>
66550         [BZ #15346]
66551         * time/getdate.c: Include ctype.h and alloca.h.
66552         (__getdate_r): Trim leading and trailing spaces of input.
66553         * time/tst-getdate.c (tests): Add tests with leading and
66554         trailing spaces.
66556 2013-04-08  Roland McGrath  <roland@hack.frob.com>
66558         [BZ #14280]
66559         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
66560         when computing value.
66562 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
66564         * math/README.libm-test (How can I generate "libm-test-ulps"?):
66565         Use testrun.sh to run libm tests.
66567         [BZ #15309]
66568         * elf/dl-open.c (dl_open_worker): memset all of seen array.
66570 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
66572         [BZ #15264]
66573         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
66575 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
66577         * Makefile.in (regen-ulps): New target.
66578         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
66579         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
66580         [ifneq (no,$(PERL)] (regen-ulps): New target.
66581         [ifeq (no,$(PERL)] (regen-ulps): New target.
66582         * math/libm-test.inc (ulps_file_name): Define.
66583         (output_dir): New variable.
66584         (options): Add "output-dir" option.
66585         (parse_opt): Handle 'o' case.
66586         (main): If output_dir is non-NULL use it as a prefix
66587         otherwise use "".
66588         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
66590 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
66592         [BZ #10060, #10062]
66593         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
66594         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
66595         fail configure if __sync_val_compare_and_swap is not inlined.
66596         * sysdeps/i386/configure: Regenerate.
66597         * configure.in: Build for i686 when configured for i386.
66598         * configure: Regenerate.
66599         * README: Remove i386 reference.
66601 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
66603         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
66604         * sysdeps/s390/s390-64/sysdep.h: Likewise.
66606 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
66608         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
66609         (lmsnanval): New variables.
66610         (F): Add conversion tests.
66611         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
66612         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
66614         * stdio-common/tstdiomisc.c (F): Properly collect individual
66615         tests' results.
66617         [BZ #14686, #15336]
66618         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
66619         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
66620         Instead, use input NaN values or generate a qNaN by arithmetic
66621         operation.  Also fix bugs to comply with the standard.
66622         * math/libm-test.inc (remainder_test): Add more tests.
66624         [BZ #15335, #15342]
66625         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
66626         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
66627         input NaN values or generate a qNaN by arithmetic operation.
66629         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
66630         unreachable code.
66632         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
66633         definitions.
66635 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
66637         [BZ #14478]
66638         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
66639         underflowed result.
66640         * math/s_cexpf.c (__cexpf): Likewise.
66641         * math/s_cexpl.c (__cexpl): Likewise.
66642         * math/libm-test.inc (cexp_test): Add more tests.
66644 2013-04-03  Andreas Schwab  <schwab@suse.de>
66646         [BZ #15330]
66647         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
66648         order arrays from heap if bigger than alloca cutoff.
66650 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
66652         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
66653         (SNAN_TESTS_double): Refer to GCC PR56831.
66654         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
66655         GCC PR56828.
66657 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
66659         * Rules (bench): Move bench.out after the run is complete.
66661         * Rules (bench): Echo currently running benchmark.
66663         * benchtests/Makefile (bench): Add atan and slowatan.
66664         * benchtests/atan-inputs: New file.
66665         * benchtests/slowatan-inputs: New file.
66666         * benchtests/slowatan.c: New file.
66668         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
66669         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
66670         its value.
66672         [BZ #15305]
66673         * sysdeps/unix/sysv/linux/kernel-features.h
66674         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
66675         __ASSUME_XFS_RESTRICTED_CHOWN.
66676         * sysdeps/unix/sysv/linux/pathconf.c
66677         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
66678         Save and restore errno.
66680 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
66682         [BZ #15327]
66683         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
66684         arguments using __kernel_casinh.
66685         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
66686         arguments using __kernel_casinhf.
66687         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
66688         arguments using __kernel_casinhl.
66689         * math/libm-test.inc (cacosh_test): Add more tests.
66690         * sysdeps/i386/fpu/libm-test-ulps: Update.
66691         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66693 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
66695         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
66696         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
66698         * bench/Makefile (bench): Add sin and slowsin.
66699         * benchtests/sin-inputs: New file.
66700         * benchtests/slowsin-inputs: New file.
66701         * benchtests/slowsin.c: New file.
66703         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
66704         (bench): Add slowexp and slowpow.
66705         (exp-ITER): Increase iterations.
66706         (pow-ITER): Likewise.
66707         * benchtests/exp-inputs: Change input.
66708         * benchtests/pow-inputs: Likewise.
66709         * benchtests/slowexp-inputs: New file.
66710         * benchtests/slowexp.c: New file.
66711         * benchtests/slowpow-inputs: New file.
66712         * benchtests/slowpow.c: New file.
66714 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66716         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
66717         instructions.
66718         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
66719         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
66720         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
66721         * benchtests/Makefile: Add rint benchtest.
66722         * benchtests/rint-inputs: Input for rint benchtest.
66724 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
66726         * Versions.def (libm): Add GLIBC_2.18.
66727         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
66728         hidden libm prototypes.
66729         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
66730         * math/Makefile (libm-calls): Add s_issignaling.
66731         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
66732         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
66733         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
66734         declaration.
66735         * math/math.h [__USE_GNU] (issignaling): New macro.
66736         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
66737         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
66738         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
66739         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
66740         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
66741         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
66742         * manual/arith.texi (issignaling): New section.
66743         * manual/libm-err-tab.pl (@all_functions): Update comment.
66744         * math/gen-libm-test.pl (parse_args): Apply special handling for
66745         issignaling.
66746         * math/libm-test.inc (print_float, issignaling_test): New
66747         functions.
66748         (check_float_internal): Add issignaling checks.
66749         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
66750         default definition.
66751         * sysdeps/powerpc/math-tests.h: New file.
66752         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
66753         tests.
66754         * math/test-snan.c (TEST_FUNC): Likewise.
66756 2013-03-30  David S. Miller  <davem@davemloft.net>
66758         * po/de.po: Update from translation team.
66760 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
66762         [BZ #10357]
66763         * math/k_casinh.c (__kernel_casinh): Handle arguments with
66764         imaginary part less than 1.0 and real part less than 0.5
66765         specially.
66766         * math/k_casinhf.c (__kernel_casinhf): Likewise.
66767         * math/k_casinhl.c (__kernel_casinhl): Likewise.
66768         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
66769         (cacos_test): Add more tests.
66770         (casin_test): Likewise.
66771         (casinh_test): Likewise.
66772         * sysdeps/i386/fpu/libm-test-ulps: Update.
66773         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66775 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
66777         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
66778         ONE with its value.
66780         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
66781         (__pow_mp): Replace ONE and MONE with their values.
66782         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
66783         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
66784         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
66785         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
66786         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
66787         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
66789         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
66791         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
66792         (__pow_mp): Replace ZERO and MZERO with their values.
66793         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
66794         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
66795         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
66796         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
66797         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
66798         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
66799         (__sqr): Likewise.
66801         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
66803         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
66805 2013-03-28  Roland McGrath  <roland@hack.frob.com>
66807         * include/stdlib.h [!SHARED] (__call_tls_dtors):
66808         Declare with __attribute__ ((weak)).
66809         * stdlib/exit.c (__libc_atexit) [!SHARED]:
66810         Call __call_tls_dtors only if it's not NULL.
66812 2013-03-28  Roland McGrath  <roland@hack.frob.com>
66814         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
66815         didn't do it already, then set _dl_phdr and _dl_phnum based on the
66816         magic __ehdr_start linker symbol if it's defined.
66817         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
66818         them up here if it was already done.
66820         * elf/dl-support.c (_dl_phdr): Make pointer to const.
66821         (_dl_aux_init): Use const in cast when setting it.
66822         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
66823         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
66824         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
66826         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
66827         Declare them here.
66828         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
66829         * csu/libc-tls.c: Nor here.
66830         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
66832         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
66833         (__libc_message): Never call vsyslog.
66835 2013-03-28  Alan Modra  <amodra@gmail.com>
66837         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
66838         Define as empty.
66839         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
66840         Likewise.
66842 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66844         [BZ #15214]
66845         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
66846         underflow.
66847         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66849 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
66851         [BZ #15304]
66852         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
66853         Don't add gid passed as argument.
66855         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
66857 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
66859         [BZ #15307]
66860         * math/k_casinh.c (__kernel_casinh): Handle arguments with
66861         imaginary part between 1.0 and 1.5 and real part less than 0.5
66862         specially.
66863         * math/k_casinhf.c (__kernel_casinhf): Likewise.
66864         * math/k_casinhl.c (__kernel_casinhl): Likewise.
66865         * math/libm-test.inc (cacos_test): Add more tests.
66866         (casin_test): Likewise.
66867         (casinh_test): Likewise.
66868         * sysdeps/i386/fpu/libm-test-ulps: Update.
66869         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66871 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
66873         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
66874         constants.
66875         (norm): Likewise.
66876         (denorm): Likewise.
66877         (__dbl_mp): Likewise.
66878         (add_magnitudes): Likewise.
66879         (sub_magnitudes): Likewise.
66880         (__add): Likewise.
66881         (__sub): Likewise.
66882         (__mul): Likewise.
66883         (__sqr): Likewise.
66884         (__inv): Likewise.
66885         (__dvd): Likewise.
66887         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
66888         commented code.
66889         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
66890         (__dubcos): Likewise.
66891         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
66892         (__ieee754_acos): Likewise.
66893         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
66894         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
66895         (__exp1): Likewise.
66896         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
66897         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
66898         (log1): Likewise.
66899         (my_log2): Likewise.
66900         (checkint): Likewise.
66901         * sysdeps/ieee754/dbl-64/e_remainder.c
66902         (__ieee754_remainder): Likewise.
66903         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
66904         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
66905         (bsloww): Likewise.
66906         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
66908         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
66909         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
66910         MANTISSA_STORE_T to store computations on mantissa.  Use
66911         macros for rounding and division.
66912         (denorm): Likewise.
66913         (__dbl_mp): Likewise.
66914         (add_magnitudes): Likewise.
66915         (sub_magnitudes): Likewise.
66916         (__mul): Likewise.
66917         (__sqr): Likewise.
66918         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
66919         powers of two in terms of TWOPOW macro.
66920         (mp_no): Make type of mantissa as MANTISSA_T.
66921         [!RADIXI]: Define RADIXI.
66922         [!TWO52]: Define TWO52.
66923         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
66925 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66927         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
66928         llroundl symbol when building for PPC32.
66930 2013-03-24  Mark H Weaver  <mhw@netris.org>
66932         * manual/arith.texi (Normalization Functions): Fix prototypes for
66933         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
66935 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66937         [BZ #13889]
66938         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
66939         high value to check if expl overflow.
66940         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
66941         to check for underflow and overflow.
66942         * math/libm-test.inc: Add exp test.
66944 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
66946         [BZ #11120]
66947         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
66948         with NOT_IN_libc.
66950 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66952         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
66953         symbol.
66955 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
66957         * math/gen-libm-test.pl (parse_args, special_functions): Properly
66958         wrap blocks consisting of several statements.
66960         * sysdeps/generic/math-tests.h: New file.
66961         * sysdeps/i386/fpu/math-tests.h: Likewise.
66962         * math/test-snan.c: Include it.
66963         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
66965 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
66967         [BZ #15285]
66968         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
66969         (__ieee754_j0l): Do not improve calculations using cos of twice
66970         input for inputs above LDBL_MAX / 2.0L.
66971         (__ieee754_y0l): Likewise.
66972         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
66973         (__ieee754_j1l): Do not improve calculations using cos of twice
66974         input for inputs above LDBL_MAX / 2.0L.
66975         (__ieee754_y1l): Likewise.
66976         * math/libm-test.inc (j0_test): Add another test.
66977         (j1_test): Likewise.
66978         (y0_test): Likewise.
66979         (y1_test): Likewise.
66980         * sysdeps/i386/fpu/libm-test-ulps: Update.
66982 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
66984         * Rules ($(objpfx)bench-%.c): Include code from a C source
66985         file.
66987 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
66989         [BZ #15287]
66990         * math/k_casinh.c (__kernel_casinh): Handle arguments with
66991         imaginary part 1.0 and real part less than 0.5 specially.
66992         * math/k_casinhf.c (__kernel_casinhf): Likewise.
66993         * math/k_casinhl.c (__kernel_casinhl): Likewise.
66994         * math/libm-test.inc (cacos_test): Add more tests.
66995         (casin_test): Likewise.
66996         (casinh_test): Likewise.
66997         * sysdeps/i386/fpu/libm-test-ulps: Update.
66998         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67000 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
67002         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
67003         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
67005 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
67007         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
67008         * config.make.in (config-cflags-sse4): Remove variable.
67009         (config-cflags-avx): Likewise.
67010         (config-cflags-sse2avx): Likewise.
67011         (config-cflags-novzeroupper): Likewise.
67012         (config-asflags-i686): Likewise.
67013         (have-mfma4): Likewise.
67014         (have-as-vis3): Likewise.
67015         (MIG): Likewise.
67016         * configure.in (MIG): Do not AC_SUBST.
67017         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
67018         (libc_cv_cc_sse4): Do not AC_SUBST.
67019         (libc_cv_cc_avx): Likewise.
67020         (libc_cv_cc_sse2avx): Likewise.
67021         (libc_cv_cc_novzeroupper): Likewise.
67022         (libc_cv_cc_fma4): Likewise.
67023         (libc_cv_as_i686): Likewise.
67024         (libc_cv_sparc_as_vis3): Likewise.
67025         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
67026         LIBC_CONFIG_VAR.
67027         (config-asflags-i686): Likewise.
67028         (config-cflags-avx): Likewise.
67029         (config-cflags-sse2avx): Likewise.
67030         (have-mfma4): Likewise.
67031         (config-cflags-novzeroupper): Likewise.
67032         * sysdeps/mach/configure.in (MIG): Likewise.
67033         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
67034         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
67035         LIBC_CONFIG_VAR.
67036         (config-cflags-avx): Likewise.
67037         (config-cflags-sse2avx): Likewise.
67038         (have-mfma4): Likewise.
67039         (config-cflags-novzeroupper): Likewise.
67040         * configure: Regenerated.
67041         * sysdeps/i386/configure: Likewise.
67042         * sysdeps/mach/configure: Likewise.
67043         * sysdeps/sparc/configure: Likewise.
67044         * sysdeps/x86_64/configure: Likewise.
67046 2013-03-20  Roland McGrath  <roland@hack.frob.com>
67048         [BZ #14812]
67049         * locale/programs/localedef.c (options): Put N_ translation marker
67050         on argument names, not just descriptions.
67052 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
67054         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
67056 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
67058         [BZ #14176]
67059         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
67061 2013-03-19  Roland McGrath  <roland@hack.frob.com>
67063         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
67064         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
67065         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
67066         [!BEFORE_ABORT] (before_abort): New function.
67067         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
67068         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
67069         (writev_for_fatal): New function.
67070         (WRITEV_FOR_FATAL): New macro; call that.
67071         (backtrace_and_maps): New function.
67072         (BEFORE_ABORT): New macro; call that.
67073         (struct str_list): Type removed.
67074         (__libc_message, __libc_fatal): Functions removed.
67075         Include <sysdeps/posix/libc_fatal.c> instead.
67077 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
67079         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
67080         constants.
67081         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
67082         double constants.
67084 2013-03-19  Andreas Schwab  <schwab@suse.de>
67086         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
67087         * sysdeps/gnu/configure: Regenerate.
67089         * configure.in: Substitute libc_cv_rtlddir.
67090         * configure: Regenerate.
67091         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
67092         * Makeconfig (rtlddir, inst_rtlddir): New variables.
67093         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
67094         * elf/Makefile (install-others, CFLAGS-interp.c)
67095         (ldso_install, common-ldd-rewrite): Likewise.
67096         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
67097         $(inst_slibdir)/$(rtld-installed-name).
67098         * scripts/rellns-sh: Add -p option.
67099         * Makerules (make-shlib-link): Use rellns-sh to get relative name
67100         for source.
67102 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
67104         * manual/nptl.texi: Renamed to ...
67105         * manual/threads.texi: ... this.
67106         * manual/Makefile (chapters): Update.
67108 2013-03-18  Roland McGrath  <roland@hack.frob.com>
67110         [BZ #14812]
67111         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
67112         on argument names, not just descriptions.
67113         * malloc/memusagestat.c (options): Likewise.
67114         * nss/getent.c (options): Likewise.
67116 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
67118         [BZ #14812]
67119         * iconv/iconv_prog.c (options): Put N_ translation marker
67120         on argument names, not just descriptions.
67121         * iconv/iconvconfig.c (options): Likewise.
67123 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
67125         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
67126         implementation which is faster on all x86_64 architectures.
67127         Tested on AMD, Intel Nehalem, SNB, IVB.
67128         * sysdeps/x86_64/strnlen.S: Likewise.
67130         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
67131         Remove all multiarch strlen and strnlen versions.
67132         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
67133         Remove strlen and strnlen related parts.
67135         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
67136         Inline strlen part.
67137         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
67139         * sysdeps/x86_64/multiarch/strlen.S: Remove.
67140         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
67141         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
67142         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
67143         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
67144         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
67146 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
67148         * manual/memory.texi (Malloc Tunable Parameters):
67149         Sort parameters alphabetically. Add comments for missing entries.
67151 2013-03-17  David S. Miller  <davem@davemloft.net>
67153         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67155 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
67157         [BZ #15283]
67158         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
67159         for arguments at most half maximum finite value.
67160         * math/libm-test.inc (j0_test): Add more tests.
67161         (j1_test): Likewise.
67162         (y0_test): Likewise.
67163         (y1_test): Likewise.
67164         * sysdeps/i386/fpu/libm-test-ulps: Update.
67165         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67167         [BZ #14155]
67168         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
67169         1 / x and functions P and Q for arguments above 0x1p256L.
67170         (__ieee754_y0l): Likewise.
67171         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
67172         (__ieee754_y1l): Likewise.
67173         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
67174         (j1_test): Likewise.
67175         (y0_test): Likewise.
67176         (y1_test): Likewise.
67178 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
67180         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
67181         variable.
67183 2013-03-15  Roland McGrath  <roland@hack.frob.com>
67185         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
67186         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
67187         zero since it's initialized to EXEC_PAGESIZE.
67189         * sysdeps/unix/sysv/linux/ldsodefs.h
67190         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
67191         * sysdeps/generic/ldsodefs.h: ... here.
67193 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
67195         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
67197         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
67198         math/test-snan.c.
67199         * math/test-snan.c: Renamed from
67200         sysdeps/powerpc/fpu/test-powerpc-snan.c.
67201         * math/Makefile (tests): Add test-snan.
67202         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
67203         test-powerpc-snan.
67205         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
67206         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
67207         functions.
67208         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
67209         __builtin_nan family of functions.
67210         * math/libm-test.inc (initialize): Initialize qnan_value with
67211         __builtin_nan family of functions.
67212         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
67213         Remove variables.
67214         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
67215         Remove functions.
67216         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
67217         storage class.  Initialize qNaN_var and sNaN_var with
67218         __builtin_nan and __builtin_nans families of functions,
67219         respectively.
67221         * math/libm-test.inc (acosh_test): Also test with qNaN input.
67222         (sqrt_test): Remove duplicate test with qNaN input.
67223         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
67224         (round_test, signbit_test, significand_test): Note missing +/-Inf
67225         as well as qNaN tests.
67227         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
67228         qNaN_var.  Fix a few strings, too.
67229         * math/libm-test.inc (nan_value): Rename to qnan_value.
67230         * math/gen-libm-test.pl (%beautify): Adjust to that.
67231         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
67232         * math/test-misc.c (main): Likewise.
67233         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
67234         to __qnan_bytes, and __qnan_union, respectively.
67235         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
67236         Likewise.
67237         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
67238         and lqnanval, respectively.
67239         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
67240         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
67241         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
67242         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
67244         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
67245         * math/test-misc.c (main) [__x86_64__]: Enable test for long
67246         doubles.
67248         * math/test-misc.c (main): Fix copy'n'pastos.
67249         * misc/tst-efgcvt.c (special): Likewise.
67251         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
67252         Remove declarations.
67254 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
67256         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
67257         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
67258         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
67259         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
67261 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67263         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
67264         macro to return vdso values correctly in IFUNC implementations.
67265         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
67266         Optimization by using IFUNC.
67268 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
67269             Richard Henderson  <rth@redhat.com>
67270             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
67272         * Makefile.in (bench): New target.
67273         * NEWS: Mention the benchmark framework.
67274         * Rules (bench): Likewise.
67275         (binaries-bench): Generate binaries for functions to
67276         benchmark.
67277         * benchtests/Makefile: New makefile for benchmark tests.
67278         * benchtests/bench-skeleton.c: New skeleton file for benchmark
67279         programs.
67280         * benchtests/exp-inputs: New input file for EXP function.
67281         * benchtests/pow-inputs: New input file for POW function.
67282         * scripts/bench.pl: New script to generate source files for
67283         benchmark programs.
67285 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
67287         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
67288         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
67289         computations on mantissa.  Use macros for rounding and
67290         division.
67291         (denorm): Likewise.
67292         (__dbl_mp): Likewise.
67293         (add_magnitudes): Likewise.
67294         (sub_magnitudes): Likewise.
67295         (__mul): Likewise.
67296         (__sqr): Likewise.
67297         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
67298         powers of two in terms of TWOPOW macro.
67299         (mp_no): Make type of mantissa as MANTISSA_T.
67300         [!RADIXI]: Define RADIXI.
67301         [!TWO52]: Define TWO52.
67302         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
67304         * manual/nptl.texi (cindex): Modify threads to pthreads.
67306 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
67308         * sysdeps/x86_64/preconfigure: Regenerated.
67310 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
67312         [BZ #14155]
67313         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
67314         0x1p28 and above.
67315         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
67316         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
67317         0x1p28 and above.
67318         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
67319         * math/libm-test.inc (j0_test): Do not allow one spurious
67320         underflow exception.
67321         (y1_test): Likewise.
67323 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
67325         * manual/Makefile (chapters): Add nptl.
67326         * manual/debug.texi (Debugging Support): Add link to Threads
67327         chapter.
67328         * manual/nptl.texi: New file.
67330         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
67332 2013-03-14  Petr Baudis  <pasky@ucw.cz>
67334         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
67335         for non-NULL pointer before the memory validity test. Pointed
67336         out by Holger Brunck <holger.brunck@keymile.com>.
67338 2013-03-13  Andreas Schwab  <schwab@suse.de>
67340         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
67341         instead of .os.
67343 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
67345         * timezone/zic.c: Update from tzcode 2013b.
67347 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
67349         * manual/install.texi (Configuring and compiling):
67350         Mention i686 and i586.
67351         * INSTALL: Regenerate.
67353 2013-03-12  Roland McGrath  <roland@hack.frob.com>
67355         * sysdeps/init_array/elf-init.c: New file.
67356         * csu/elf-init.c
67357         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
67358         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
67360         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
67361         __gmon_start__ as global, but as static with a .preinit_array pointer.
67362         * sysdeps/init_array/gmon-start.c: New file.  Use that.
67363         * sysdeps/init_array/crti.S: New file, empty except for comments.
67364         * sysdeps/init_array/crtn.S: Likewise.
67366 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
67368         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
67369         definining bcopy.
67370         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
67371         Remove Prefer_SSE_for_memop.
67372         * sysdeps/x86_64/multiarch/init-arch.h: Remove
67373         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
67374         HAS_PREFER_SSE_FOR_MEMOP.
67375         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
67376         memset-x86-64.
67377         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
67378         Remove bzero, memset ifunc support.
67379         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
67380         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
67381         * sysdeps/x86_64/multiarch/memset.S: Likewise.
67382         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
67384 2013-03-11  Andreas Schwab  <schwab@suse.de>
67386         [BZ #15234]
67387         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
67388         by SHLIB_COMPAT.
67389         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
67390         (GLIBC_2.16): Remove pthread_atfork.
67392 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
67394         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
67395         (ptestcases.h): Likewise.
67397 2013-03-08  Roland McGrath  <roland@hack.frob.com>
67399         * Makeconfig ($(common-objpfx)config.status): Depend on
67400         sysdeps/*/preconfigure{,.in} too.
67402 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
67404         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
67405         (__free_hook): Use void * instead of __malloc_ptr_t.
67406         (__malloc_hook): Likewise.
67407         (__realloc_hook): Likewise.
67408         (__memalign_hook): Likewise.
67409         (__after_morecore_hook): Likewise.
67410         * malloc/arena.c (save_malloc_hook): Likewise.
67411         (save_free_hook): Likewise.
67412         * malloc/hooks.c (malloc_hook_ini): Likewise.
67413         (realloc_hook_ini): Likewise.
67414         (memalign_hook_ini): Likewise.
67415         * malloc/malloc.c (malloc_hook_ini): Likewise.
67416         (realloc_hook_ini): Likewise.
67417         (memalign_hook_ini): Likewise.
67418         (__free_hook): Likewise.
67419         (__malloc_hook): Likewise.
67420         (__realloc_hook): Likewise.
67421         (__memalign_hook): Likewise.
67422         (__libc_malloc): Likewise.
67423         (__libc_free): Likewise.
67424         (__libc_realloc): Likewise.
67425         (__libc_memalign): Likewise.
67426         (__libc_valloc): Likewise.
67427         (__libc_pvalloc): Likewise.
67428         (__libc_calloc): Likewise.
67429         (__posix_memalign): Likewise.
67430         * malloc/morecore.c (__sbrk): Likewise.
67431         (__default_morecore): Likewise.
67433         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
67435         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
67436         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
67437         __malloc_ptrdiff_t.
67439         * malloc/malloc.h (__malloc_size_t): Remove macro.
67440         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
67441         __malloc_size_t.
67442         (old_memalign_hook): Likewise.
67443         (old_realloc_hook): Likewise.
67444         (struct hdr): Likewise.
67445         (flood): Likewise.
67446         (mallochook): Likewise.
67447         (memalignhook): Likewise.
67448         (reallochook): Likewise.
67449         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
67450         (tr_old_realloc_hook): Likewise.
67451         (tr_old_memalign_hook): Likewise.
67452         (tr_mallochook): Likewise.
67453         (tr_reallochook): Likewise.
67454         (tr_memalignhook): Likewise.
67456 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67458         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
67459         default_ldbl_pack and using as default implementation.
67460         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
67461         implementation.
67462         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
67463         redundant definition.
67464         (ldbl_insert_mantissa): Likewise.
67465         (ldbl_canonicalize): Likewise.
67466         (ldbl_nearbyint): Likewise.
67467         (ldbl_pack): Rename to ldbl_pack_ppc.
67468         (ldbl_unpack): Rename to ldbl_unpack_ppc.
67469         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
67470         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
67472 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
67474         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
67475         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
67476         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
67477         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
67478         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
67479         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
67480         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
67481         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
67483 2013-03-07  Andreas Jaeger  <aj@suse.de>
67485         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67486         bits/mman-linux.h.
67488 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
67490         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
67491         Include mpa.h and declare __MPEXP.
67492         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
67493         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
67494         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
67495         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
67496         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
67497         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
67498         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
67500         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
67501         (__slowpow): Use long double EXPL and LOGL functions to
67502         compute POW.
67503         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
67504         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
67505         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
67506         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
67507         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
67508         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
67510         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
67511         intermediate variable to calculate exponent.
67512         (__sqr): Likewise.
67513         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
67514         Likewise.
67515         (__sqr): Likewise.
67517         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
67518         [!NO__SQR]: Define __sqr.
67519         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
67520         and NO__SQR.  Remove all code except __mul and __sqr.  Include
67521         sysdeps/ieee754/dbl-64/mpa.c.
67522         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
67524         [BZ #12723]
67525         * posix/Makefile (tests): Add tst-pathconf.
67526         * posix/tst-pathconf.c: New test case.
67527         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
67528         _PC_PIPE_BUF.
67529         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
67531 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
67533         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
67535 2013-03-06  Andreas Jaeger  <aj@suse.de>
67537         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
67538         definition via __MAP_ANONYMOUS.
67540         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
67541         it's not part of Linux headers.
67543         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
67544         (MAP_HUGE_MASK): Define.
67546         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
67547         Define.
67548         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
67549         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
67550         Define.
67551         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
67552         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
67553         Define.
67554         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
67555         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
67556         Define.
67557         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
67559         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
67560         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
67561         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
67562         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
67563         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
67564         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
67566         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
67567         Handle f2fs.
67569         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
67570         Handle f2fs and efivarfs.
67572         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
67573         f2fs.
67575         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
67576         (EFIVARFS_MAGIC): Add.
67577         (F2FS_LINK_MAX): Add.
67579 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
67581         * stdio-common/vfprintf.c: Replace __builtin_expect with
67582         __glibc_unlikely.
67584 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
67586         [BZ #13550]
67587         * sysdeps/generic/bp-sym.h: Remove file.
67588         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
67589         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
67590         <bp-sym.h> and <bp-asm.h>.
67591         (__longjmp): Don't use BP_SYM.
67592         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
67593         and <bp-asm.h>.
67594         (memcpy): Don't use BP_SYM.
67595         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
67596         <bp-sym.h> and <bp-asm.h>.
67597         (memcpy): Don't use BP_SYM.
67598         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
67599         <bp-asm.h>.
67600         (memcpy): Don't use BP_SYM.
67601         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
67602         <bp-asm.h>.
67603         (memset): Don't use BP_SYM.
67604         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
67605         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
67606         (__bzero): Don't use BP_SYM.
67607         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
67608         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
67609         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
67610         <bp-sym.h> and <bp-asm.h>.
67611         (memcmp): Don't use BP_SYM.  Remove comment about bounded
67612         pointers.
67613         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
67614         <bp-sym.h> and <bp-asm.h>.
67615         (memcpy): Don't use BP_SYM.
67616         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
67617         <bp-sym.h> and <bp-asm.h>.
67618         (memset): Don't use BP_SYM.
67619         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
67620         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
67621         (__bzero): Don't use BP_SYM.
67622         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
67623         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
67624         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
67625         <bp-sym.h> and <bp-asm.h>.
67626         (strncmp): Don't use BP_SYM.  Remove comment about bounded
67627         pointers.
67628         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
67629         <bp-sym.h> and <bp-asm.h>.
67630         (memcpy): Don't use BP_SYM.
67631         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
67632         <bp-sym.h> and <bp-asm.h>.
67633         (memset): Don't use BP_SYM.
67634         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
67635         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
67636         (__bzero): Don't use BP_SYM.
67637         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
67638         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
67639         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
67640         <bp-sym.h> and <bp-asm.h>.
67641         (__memchr): Don't use BP_SYM.
67642         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
67643         <bp-sym.h> and <bp-asm.h>.
67644         (memcmp): Don't use BP_SYM.  Remove comment about bounded
67645         pointers.
67646         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
67647         <bp-sym.h> and <bp-asm.h>.
67648         (memcpy): Don't use BP_SYM.
67649         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
67650         <bp-sym.h> and <bp-asm.h>.
67651         (__mempcpy): Don't use BP_SYM.
67652         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
67653         <bp-sym.h> and <bp-asm.h>.
67654         (__memrchr): Don't use BP_SYM.
67655         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
67656         <bp-sym.h> and <bp-asm.h>.
67657         (memset): Don't use BP_SYM.
67658         (__bzero): Likewise.
67659         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
67660         <bp-sym.h> and <bp-asm.h>.
67661         (__rawmemchr): Don't use BP_SYM.
67662         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
67663         <bp-sym.h> and <bp-asm.h>.
67664         (__STRCMP): Don't use BP_SYM.
67665         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
67666         <bp-sym.h> and <bp-asm.h>.
67667         (strchr): Don't use BP_SYM.
67668         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
67669         <bp-sym.h> and <bp-asm.h>.
67670         (__strchrnul): Don't use BP_SYM.
67671         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
67672         <bp-sym.h> and <bp-asm.h>.
67673         (strlen): Don't use BP_SYM.
67674         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
67675         <bp-sym.h> and <bp-asm.h>.
67676         (strncmp): Don't use BP_SYM.  Remove comment about bounded
67677         pointers.
67678         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
67679         <bp-sym.h> and <bp-asm.h>.
67680         (__strnlen): Don't use BP_SYM.
67681         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
67682         <bp-sym.h> and <bp-asm.h>.
67683         (__GI__setjmp): Don't use BP_SYM.
67684         (_setjmp): Likewise.
67685         (__sigsetjmp): Likewise.
67686         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
67687         (L(start_addresses)): Don't use BP_SYM.
67688         (_start): Likewise.
67689         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
67690         <bp-asm.h>.
67691         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
67692         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
67693         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
67694         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
67695         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
67696         <bp-asm.h>.
67697         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
67698         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
67699         about bounded pointers.
67700         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
67701         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
67702         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
67703         <bp-asm.h>.
67704         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
67705         about bounded pointers.  Remove GKM FIXME comments.
67706         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
67707         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
67708         <bp-asm.h>.
67709         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
67710         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
67711         Remove GKM FIXME comments.
67712         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
67713         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
67714         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
67715         <bp-asm.h>.
67716         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
67717         about bounded pointers.  Remove GKM FIXME comment.
67718         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
67719         and <bp-asm.h>.
67720         (strncmp): Don't use BP_SYM.  Remove comment about bounded
67721         pointers.
67722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
67723         <bp-sym.h> and <bp-asm.h>.
67724         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
67725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
67726         <bp-sym.h> and <bp-asm.h>.
67727         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
67728         comment.
67730 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
67732         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
67733         call free(NULL).
67735 2013-03-05  David S. Miller  <davem@davemloft.net>
67737         * po/es.po: Update from translation team.
67739 2013-03-05  Andreas Jaeger  <aj@suse.de>
67741         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
67742         <bits/mman-linux.h>.
67743         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
67744         is fine.
67745         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
67746         <bits/mman-linux.h> to end of file.
67747         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
67748         is fine.
67749         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
67750         <bits/mman-linux.h> to end of file.
67751         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
67752         is fine.
67753         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
67754         <bits/mman-linux.h> to end of file.
67756         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
67757         (MCL_CURRENT, MCL_FUTURE): Define here.
67759 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67761         [BZ #15232]
67762         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
67763         attribute_hidden.
67764         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
67766 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67768         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
67769         fourth parameter needed for rt_sigprocmask syscall.
67770         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
67771         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
67772         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
67773         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
67774         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
67775         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
67777 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
67779         [BZ #13550]
67780         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
67781         comment about bounded pointers.
67782         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
67783         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
67785 2013-03-04  Andreas Jaeger  <aj@suse.de>
67787         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
67788         common definitions.
67790         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
67791         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
67792         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
67793         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
67794         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
67795         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
67797 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67799         [BZ #15055]
67800         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
67801         __ieee754_sqrl instead of __sqrl.
67803 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
67805         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
67806         * sysdeps/powerpc/fpu_control.h: ... here.
67807         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
67808         * sysdeps/powerpc/bits/fenvinline.h: ... here.
67809         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
67810         * sysdeps/powerpc/bits/mathinline.h: ... here.
67812 2013-03-01  Roland McGrath  <roland@hack.frob.com>
67814         * elf/dl-hwcaps.c (_dl_important_hwcaps):
67815         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
67816         to just [NEED_DL_SYSINFO_DSO].
67817         * elf/dl-support.c: Likewise.
67818         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
67819         * elf/rtld.c (dl_main): Likewise.
67820         * elf/setup-vdso.h (setup_vdso): Likewise.
67821         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
67822         * sysdeps/unix/sysv/linux/dl-sysdep.c
67823         (_dl_discover_osversion): Likewise.
67825 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
67827         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
67828         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
67830 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
67832         * NEWS: Mention libm performance improvements and non-x86 PI
67833         futex support.
67835         * csu/libc-start.c (__pthread_initialize_minimal): Change
67836         function arguments.
67837         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
67839 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
67841         [BZ #13550]
67842         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
67843         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
67844         <bp-sym.h> and <bp-asm.h>.
67845         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
67846         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
67847         and <bp-asm.h>.
67848         (memcpy): Don't use BP_SYM.
67849         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
67850         <bp-asm.h>.
67851         (__mpn_add_n): Don't use BP_SYM.
67852         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
67853         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
67854         and <bp-asm.h>.
67855         (__mpn_addmul_1): Don't use BP_SYM.
67856         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
67857         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
67858         <bp-sym.h>.
67859         (_setjmp): Don't use BP_SYM.
67860         (__novmx_setjmp): Likewise.
67861         (__GI__setjmp): Likewise.
67862         (__vmx_setjmp): Likewise.
67863         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
67864         <bp-sym.h>.
67865         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
67866         (__bzero): Don't use BP_SYM.
67867         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
67868         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
67869         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
67870         <bp-sym.h> and <bp-asm.h>.
67871         (memcpy): Don't use BP_SYM.
67872         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
67873         <bp-sym.h> and <bp-asm.h>.
67874         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
67875         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
67876         <bp-sym.h> and <bp-asm.h>.
67877         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
67878         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
67879         <bp-asm.h>.
67880         (__mpn_lshift): Don't use BP_SYM.
67881         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
67882         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
67883         <bp-asm.h>.
67884         (memset): Don't use BP_SYM.
67885         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
67886         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
67887         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
67888         <bp-asm.h>.
67889         (__mpn_mul_1): Don't use BP_SYM.
67890         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
67891         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
67892         <bp-sym.h> and <bp-asm.h>.
67893         (memcmp): Don't use BP_SYM.
67894         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
67895         <bp-sym.h> and <bp-asm.h>.
67896         (memcpy): Don't use BP_SYM.
67897         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
67898         <bp-sym.h> and <bp-asm.h>.
67899         (memset): Don't use BP_SYM.
67900         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
67901         <bp-sym.h> and <bp-asm.h>.
67902         (strncmp): Don't use BP_SYM.
67903         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
67904         <bp-sym.h> and <bp-asm.h>.
67905         (memcpy): Don't use BP_SYM.
67906         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
67907         <bp-sym.h> and <bp-asm.h>.
67908         (memset): Don't use BP_SYM.
67909         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
67910         <bp-sym.h> and <bp-asm.h>.
67911         (__memchr): Don't use BP_SYM.
67912         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
67913         <bp-sym.h> and <bp-asm.h>.
67914         (memcmp): Don't use BP_SYM.
67915         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
67916         <bp-sym.h> and <bp-asm.h>.
67917         (memcpy): Don't use BP_SYM.
67918         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
67919         <bp-sym.h> and <bp-asm.h>.
67920         (__mempcpy): Don't use BP_SYM.
67921         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
67922         <bp-sym.h> and <bp-asm.h>.
67923         (__memrchr): Don't use BP_SYM.
67924         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
67925         <bp-sym.h> and <bp-asm.h>.
67926         (memset): Don't use BP_SYM.
67927         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
67928         <bp-sym.h> and <bp-asm.h>.
67929         (__rawmemchr): Don't use BP_SYM.
67930         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
67931         <bp-sym.h> and <bp-asm.h>.
67932         (__STRCMP): Don't use BP_SYM.
67933         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
67934         <bp-sym.h> and <bp-asm.h>.
67935         (strchr): Don't use BP_SYM.
67936         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
67937         <bp-sym.h> and <bp-asm.h>.
67938         (__strchrnul): Don't use BP_SYM.
67939         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
67940         <bp-sym.h> and <bp-asm.h>.
67941         (strlen): Don't use BP_SYM.
67942         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
67943         <bp-sym.h> and <bp-asm.h>.
67944         (strncmp): Don't use BP_SYM.
67945         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
67946         <bp-sym.h> and <bp-asm.h>.
67947         (__strnlen): Don't use BP_SYM.
67948         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
67949         <bp-asm.h>.
67950         (__mpn_rshift): Don't use BP_SYM.
67951         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
67952         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
67953         <bp-sym.h> and <bp-asm.h>.
67954         (__sigsetjmp): Don't use BP_SYM.
67955         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
67956         (L(start_addresses)): Don't use BP_SYM.
67957         (_start): Likewise.
67958         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
67959         <bp-asm.h>.
67960         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
67961         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
67962         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
67963         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
67964         <bp-asm.h>.
67965         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
67966         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
67967         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
67968         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
67969         <bp-asm.h>.
67970         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
67971         comments.
67972         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
67973         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
67974         <bp-asm.h>.
67975         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
67976         FIXME comments.
67977         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
67978         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
67979         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
67980         <bp-asm.h>.
67981         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
67982         comment.
67983         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
67984         and <bp-asm.h>.
67985         (strncmp): Don't use BP_SYM,
67986         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
67987         <bp-asm.h>.
67988         (__mpn_sub_n): Don't use BP_SYM.
67989         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
67990         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
67991         and <bp-asm.h>.
67992         (__mpn_submul_1): Don't use BP_SYM.
67993         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
67994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
67995         <bp-sym.h> and <bp-asm.h>.
67996         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
67997         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
67998         <bp-sym.h> and <bp-asm.h>.
67999         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
68000         comment.
68002 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
68004         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
68005         Use ZK to minimize writes to Z.
68006         (sub_magnitudes): Simplify code a bit.
68007         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
68008         Use ZK to minimize writes to Z.
68009         (sub_magnitudes): Simplify code a bit.
68011 2013-02-27  Roland McGrath  <roland@hack.frob.com>
68013         * csu/gmon-start.c: Add special exception to license text.
68015 2013-02-27  Richard Henderson  <rth@redhat.com>
68017         * scripts/config.guess: Update from config.git.
68018         * scripts/config.sub: Likewise.
68020 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
68022         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
68024         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
68026         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
68028         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
68030         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
68032 2013-02-26  Roland McGrath  <roland@hack.frob.com>
68034         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
68035         [$(build-shared = yes].
68037 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
68039         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
68040         (__mul): Reduce iterations for calculating mantissa.
68042         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
68043         MPTWO.
68044         (__mpranred): Likewise.
68046         [BZ #15160]
68047         * malloc/memusagestat.c (main): Draw graphs for heap and stack
68048         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
68050 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
68052         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
68053         Define __attribute__.
68055 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
68057         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
68058         unused.
68059         * posix/regex_internal.h (__attribute): Remove.
68060         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
68061         (re_string_context_at): Likewise.
68062         (bitset_not): Use __attribute__ and mark function as possibly
68063         unused.
68064         (bitset_merge): Likewise.
68065         (bitset_mask): Likewise.
68066         (re_string_char_size_at): Likewise.
68067         (re_string_wchar_at): Likewise.
68068         (re_string_elem_size_at): Likewise.
68070 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
68072         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
68073         code.
68074         (cc32): Likewise.
68076         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
68077         (__acr): Likewise.
68078         (__cpy): Likewise.
68079         (norm): Likewise.
68080         (denorm): Likewise.
68081         (__dbl_mp): Likewise.
68082         (add_magnitudes): Likewise.
68083         (sub_magnitudes): Likewise.
68084         (__mul): Likewise.
68085         (__inv): Likewise.
68087         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
68088         style.
68090         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
68091         style.
68093         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
68094         code.
68096         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
68097         up changes with default code.
68098         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
68099         Likewise.
68101 2013-02-24  Allan McRae  <allan@archlinux.org>
68103         * manual/socket.texi (The Internet Namespace): Order menu items
68104         to match that in the file.
68106         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
68107         node listing of the info page menu.
68109 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
68111         [BZ #13550]
68112         * sysdeps/i386/bp-asm.h: Remove file.
68113         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
68114         (PARMS): Do not use macros from bp-asm.h.
68115         (S1): Likewise.
68116         (S2): Likewise.
68117         (SIZE): Likewise.
68118         (__mpn_add_n): Do not use BP_SYM
68119         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
68120         "bp-asm.h".
68121         (PARMS): Do not use macros from bp-asm.h.
68122         (S1): Likewise.
68123         (SIZE): Likewise.
68124         (__mpn_addmul_1): Do not use BP_SYM
68125         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
68126         "bp-asm.h".
68127         (PARMS): Do not use macros from bp-asm.h.
68128         (SIGMSK): Likewise.
68129         (_setjmp): Likewise.  Do not use BP_SYM.
68130         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
68131         "bp-asm.h".
68132         (PARMS): Do not use macros from bp-asm.h.
68133         (SIGMSK): Likewise.
68134         (setjmp): Likewise.  Do not use BP_SYM.
68135         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
68136         "bp-asm.h".
68137         (PARMS): Do not use macros from bp-asm.h.
68138         (__frexp): Do not use BP_SYM.
68139         (frexp): Likewise.
68140         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
68141         "bp-asm.h".
68142         (PARMS): Do not use macros from bp-asm.h.
68143         (__frexpf): Do not use BP_SYM.
68144         (frexpf): Likewise.
68145         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
68146         "bp-asm.h".
68147         (PARMS): Do not use macros from bp-asm.h.
68148         (__frexpl): Do not use BP_SYM.
68149         (frexpl): Likewise.
68150         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
68151         "bp-asm.h".
68152         (PARMS): Do not use macros from bp-asm.h.
68153         (__remquo): Do not use BP_SYM.
68154         (remquo): Likewise.
68155         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
68156         "bp-asm.h".
68157         (PARMS): Do not use macros from bp-asm.h.
68158         (__remquof): Do not use BP_SYM.
68159         (remquof): Likewise.
68160         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
68161         "bp-asm.h".
68162         (PARMS): Do not use macros from bp-asm.h.
68163         (__remquol): Do not use BP_SYM.
68164         (remquol): Likewise.
68165         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
68166         "bp-asm.h".
68167         (PARMS): Do not use macros from bp-asm.h.
68168         (DEST): Likewise.
68169         (SRC): Likewise.
68170         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
68171         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
68172         "bp-asm.h".
68173         (PARMS): Do not use macros from bp-asm.h.
68174         (strlen): Do not use BP_SYM.
68175         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
68176         "bp-asm.h".
68177         (PARMS): Do not use macros from bp-asm.h.
68178         (S1): Likewise.
68179         (S2): Likewise.
68180         (SIZE): Likewise.
68181         (__mpn_add_n): Do not use BP_SYM.
68182         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
68183         "bp-asm.h".
68184         (PARMS): Do not use macros from bp-asm.h.
68185         (S1): Likewise.
68186         (SIZE): Likewise.
68187         (__mpn_addmul_1): Do not use BP_SYM.
68188         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
68189         weak_alias.
68190         (bzero): Likewise.
68191         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
68192         "bp-asm.h".
68193         (PARMS): Do not use macros from bp-asm.h.
68194         (S): Likewise.
68195         (SIZE): Likewise.
68196         (__mpn_lshift): Do not use BP_SYM.
68197         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
68198         "bp-asm.h".
68199         (PARMS): Do not use macros from bp-asm.h.
68200         (DEST): Likewise.
68201         (SRC): Likewise.
68202         (LEN): Likewise.
68203         (memcpy): Likewise.  Do not use BP_SYM.
68204         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
68205         libc_hidden_def and weak_alias.
68206         (mempcpy): Do not use BP_SYM in weak_alias.
68207         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
68208         "bp-asm.h".
68209         (PARMS): Do not use macros from bp-asm.h.
68210         (DEST): Likewise.
68211         (LEN): Likewise.
68212         [!BZERO_P] (CHR): Likewise.
68213         (memset): Likewise.  Do not use BP_SYM.
68214         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
68215         "bp-asm.h".
68216         (PARMS): Do not use macros from bp-asm.h.
68217         (S1): Likewise.
68218         (SIZE): Likewise.
68219         (__mpn_mul_1): Do not use BP_SYM.
68220         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
68221         "bp-asm.h".
68222         (PARMS): Do not use macros from bp-asm.h.
68223         (S): Likewise.
68224         (SIZE): Likewise.
68225         (__mpn_rshift): Do not use BP_SYM.
68226         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
68227         "bp-asm.h".
68228         (PARMS): Do not use macros from bp-asm.h.
68229         (STR): Likewise.
68230         (CHR): Likewise.
68231         (strchr): Likewise.  Do not use BP_SYM.
68232         (index): Do not use BP_SYM in weak_alias.
68233         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
68234         "bp-asm.h".
68235         (PARMS): Do not use macros from bp-asm.h.
68236         (DEST): Likewise.
68237         (SRC): Likewise.
68238         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
68239         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
68240         "bp-asm.h".
68241         (PARMS): Do not use macros from bp-asm.h.
68242         (strlen): Do not use BP_SYM.
68243         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
68244         "bp-asm.h".
68245         (PARMS): Do not use macros from bp-asm.h.
68246         (S1): Likewise.
68247         (S2): Likewise.
68248         (SIZE): Likewise.
68249         (__mpn_sub_n): Do not use BP_SYM.
68250         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
68251         "bp-asm.h".
68252         (PARMS): Do not use macros from bp-asm.h.
68253         (S1): Likewise.
68254         (SIZE): Likewise.
68255         (__mpn_submul_1): Do not use BP_SYM.
68256         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
68257         "bp-asm.h".
68258         (PARMS): Do not use macros from bp-asm.h.
68259         (S1): Likewise.
68260         (S2): Likewise.
68261         (SIZE): Likewise.
68262         (__mpn_add_n): Do not use BP_SYM.
68263         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
68264         weak_alias.
68265         (bzero): Likewise.
68266         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
68267         "bp-asm.h".
68268         (PARMS): Do not use macros from bp-asm.h.
68269         (BLK2): Likewise.
68270         (LEN): Likewise.
68271         (memcmp): Do not use BP_SYM.
68272         (bcmp): Do not use BP_SYM in weak_alias.
68273         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
68274         "bp-asm.h".
68275         (PARMS): Do not use macros from bp-asm.h.
68276         (DEST): Likewise.
68277         (SRC): Likewise.
68278         (LEN): Likewise.
68279         (memcpy): Likewise.  Do not use BP_SYM.
68280         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
68281         "bp-asm.h".
68282         (PARMS): Do not use macros from bp-asm.h.
68283         (DEST): Likewise.
68284         (SRC): Likewise.
68285         (LEN): Likewise.
68286         (memmove): Likewise.  Do not use BP_SYM.
68287         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
68288         "bp-asm.h".
68289         (PARMS): Do not use macros from bp-asm.h.
68290         (DEST): Likewise.
68291         (SRC): Likewise.
68292         (LEN): Likewise.
68293         (__mempcpy): Likewise.  Do not use BP_SYM.
68294         (mempcpy): Do not use BP_SYM in weak_alias.
68295         * sysdeps/i386/i686/memset.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         (LEN): Likewise.
68300         [!BZERO_P] (CHR): Likewise.
68301         (memset): Likewise.  Do not use BP_SYM.
68302         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
68303         "bp-asm.h".
68304         (PARMS): Do not use macros from bp-asm.h.
68305         (STR2): Likewise.
68306         (strcmp): Do not use BP_SYM.
68307         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
68308         "bp-asm.h".
68309         (PARMS): Do not use macros from bp-asm.h.
68310         (STR): Likewise.
68311         (DELIM): Likewise.
68312         [USE_AS_STRTOK_R] (SAVE): Likewise.
68313         (FUNCTION): Likewise.  Do not use BP_SYM.
68314         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
68315         aliases.
68316         (strtok_r): Likewise.
68317         (__GI___strtok_r): Likewise.
68318         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
68319         (PARMS): Do not use macros from bp-asm.h.
68320         (S): Likewise.
68321         (SIZE): Likewise.
68322         (__mpn_lshift): Do not use BP_SYM.
68323         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
68324         (PARMS): Do not use macros from bp-asm.h.
68325         (STR): Likewise.
68326         (CHR): Likewise.
68327         (__memchr): Do not use BP_SYM.
68328         (memchr): Do not use BP_SYM in weak_alias.
68329         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "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/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
68336         (PARMS): Do not use macros from bp-asm.h.
68337         (S1): Likewise.
68338         (SIZE): Likewise.
68339         (__mpn_mul_1): Do not use BP_SYM.
68340         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
68341         "bp-asm.h".
68342         (PARMS): Do not use macros from bp-asm.h.
68343         (STR): Likewise.
68344         (CHR): Likewise.
68345         (__rawmemchr): Do not use BP_SYM.
68346         (rawmemchr): Do not use BP_SYM in weak_alias.
68347         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
68348         (PARMS): Do not use macros from bp-asm.h.
68349         (S): Likewise.
68350         (SIZE): Likewise.
68351         (__mpn_rshift): Do not use BP_SYM.
68352         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
68353         (PARMS): Do not use macros from bp-asm.h.
68354         (SIGMSK): Likewise.
68355         (__sigsetjmp): Likewise.  Do not use BP_SYM.
68356         * sysdeps/i386/start.S: Do not include "bp-sym.h".
68357         (_start): Do not use BP_SYM.
68358         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
68359         (PARMS): Do not use macros from bp-asm.h.
68360         (DEST): Likewise.
68361         (SRC): Likewise.
68362         (__stpcpy): Likewise.  Do not use BP_SYM.
68363         (stpcpy): Do not use BP_SYM in weak_alias.
68364         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
68365         "bp-asm.h".
68366         (PARMS): Do not use macros from bp-asm.h.
68367         (DEST): Likewise.
68368         (SRC): Likewise.
68369         (LEN): Likewise.
68370         (__stpncpy): Likewise.  Do not use BP_SYM.
68371         (stpncpy): Do not use BP_SYM in weak_alias.
68372         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
68373         (PARMS): Do not use macros from bp-asm.h.
68374         (STR): Likewise.
68375         (CHR): Likewise.
68376         (strchr): Likewise.  Do not use BP_SYM.
68377         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
68378         "bp-asm.h".
68379         (PARMS): Do not use macros from bp-asm.h.
68380         (STR): Likewise.
68381         (CHR): Likewise.
68382         (__strchrnul): Likewise.  Do not use BP_SYM.
68383         (strchrnul): Do not use BP_SYM in weak_alias.
68384         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
68385         "bp-asm.h".
68386         (PARMS): Do not use macros from bp-asm.h.
68387         (STOP): Likewise.
68388         (strcspn): Do not use BP_SYM.
68389         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
68390         "bp-asm.h".
68391         (PARMS): Do not use macros from bp-asm.h.
68392         (STR): Likewise.
68393         (STOP): Likewise.
68394         (strpbrk): Likewise.  Do not use BP_SYM.
68395         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
68396         "bp-asm.h".
68397         (PARMS): Do not use macros from bp-asm.h.
68398         (STR): Likewise.
68399         (CHR): Likewise.
68400         (strrchr): Likewise.  Do not use BP_SYM.
68401         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
68402         (PARMS): Do not use macros from bp-asm.h.
68403         (SKIP): Likewise.
68404         (strspn): Do not use BP_SYM.
68405         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
68406         (PARMS): Do not use macros from bp-asm.h.
68407         (STR): Likewise.
68408         (DELIM): Likewise.
68409         (SAVE): Likewise.
68410         (FUNCTION): Likewise.  Do not use BP_SYM.
68411         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
68412         aliases.
68413         (strtok_r): Likewise.
68414         (__GI___strtok_r): Likewise.
68415         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
68416         (PARMS): Do not use macros from bp-asm.h.
68417         (S1): Likewise.
68418         (S2): Likewise.
68419         (SIZE): Likewise.
68420         (__mpn_sub_n): Do not use BP_SYM.
68421         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
68422         "bp-asm.h".
68423         (PARMS): Do not use macros from bp-asm.h.
68424         (S1): Likewise.
68425         (SIZE): Likewise.
68426         (__mpn_submul_1): Do not use BP_SYM.
68427         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
68428         <bp-sym.h>.
68429         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
68430         and <bp-asm.h>.
68431         (PARMS): Do not use macros from bp-asm.h.
68432         (FLAGS): Likewise.
68433         (PTID): Likewise.
68434         (TLS): Likewise.
68435         (CTID): Likewise.
68436         (__clone): Do not use BP_SYM.
68437         (clone): Do not use BP_SYM in weak_alias.
68438         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
68439         and <bp-asm.h>.
68440         (PARMS): Do not use macros from bp-asm.h.
68441         (LEN): Likewise.
68442         (__mmap64): Do not use BP_SYM.
68443         (mmap64): Do not use BP_SYM in weak_alias.
68444         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
68445         <bp-sym.h> and <bp-asm.h>.
68446         (PARMS): Do not use macros from bp-asm.h.
68447         (__posix_fadvise64_l64): Do not use BP_SYM.
68448         * sysdeps/unix/sysv/linux/i386/semtimedop.S
68449         (PARMS): Do not use macros from bp-asm.h.
68450         (NSOPS): Likewise.
68451         (semtimedop): Do not use BP_SYM.
68452         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
68453         and <bp-asm.h>.
68455 2013-02-21  Allan McRae  <allan@archlinux.org>
68457         * manual/message.texi (Charset conversion in gettext):
68458         Move @end statement to beginning of line.
68460 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
68462         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
68463         static.
68464         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
68465         Likewise.
68467         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
68468         (denorm): Likewise.
68469         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
68470         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
68472 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68474         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
68475         tail-call to the resolved function if pltexit isn't needed.
68477 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
68479         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
68480         or Y being zero as being unlikely.
68481         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
68482         Likewise.
68484 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
68486         * manual/nss.texi (System Databases and Name Service Switch):
68487         Remove frobnicate @pxref.
68489 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
68491         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
68492         __attribute__ ((unused)) to __attribute__ ((__unused__)).
68494 2013-02-20  Petr Machata  <pmachata@redhat.com>
68496         * elf/elf.h (R_ARM_TARGET1): New macro.
68497         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
68498         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
68499         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
68500         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
68501         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
68502         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
68503         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
68504         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
68505         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
68506         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
68507         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
68508         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
68509         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
68510         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
68511         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
68512         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
68513         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
68514         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
68515         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
68516         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
68517         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
68518         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
68519         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
68520         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
68521         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
68522         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
68523         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
68524         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
68525         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
68526         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
68527         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
68528         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
68529         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
68530         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
68531         (R_ARM_THM_GOT_BREL12): Likewise.
68532         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
68533         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
68534         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
68535         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
68536         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
68537         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
68538         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
68539         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
68540         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
68542 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
68544         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
68545         __attribute_used__ to __attribute__ ((unused)).
68547 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
68549         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
68550         powerpc mpa.c.
68551         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
68552         comment formatting.
68553         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
68555 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
68557         [BZ #13550]
68558         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
68559         Remove macro.
68560         (ENTER): Remove both macro definitions.
68561         (LEAVE): Likewise.
68562         (CHECK_BOUNDS_LOW): Likewise.
68563         (CHECK_BOUNDS_HIGH): Likewise.
68564         (CHECK_BOUNDS_BOTH): Likewise.
68565         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
68566         (RETURN_BOUNDED_POINTER): Likewise.
68567         (RETURN_NULL_BOUNDED_POINTER): Likewise.
68568         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
68569         (POP_ERRNO_LOCATION_RETURN): Likewise.
68570         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
68571         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
68572         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
68573         macros.
68574         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
68575         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
68576         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
68577         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
68578         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
68579         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
68580         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
68581         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
68582         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
68583         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
68584         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
68585         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
68586         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
68587         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
68588         removed macros.
68589         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
68590         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
68591         macros.
68592         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
68593         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
68594         * sysdeps/i386/i586/memset.S (memset): Likewise.
68595         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
68596         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
68597         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
68598         macros.
68599         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
68600         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
68601         Change uses of L(2) to L(out).
68602         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
68603         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
68604         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
68605         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
68606         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
68607         removed macros.
68608         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
68609         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
68610         macros.
68611         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
68612         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
68613         (RETURN): Do not use macro LEAVE.
68614         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
68615         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
68616         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
68617         * sysdeps/i386/i686/memset.S (memset): Likewise.
68618         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
68619         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
68620         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
68621         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
68622         Likewise.
68623         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
68624         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
68625         L(1_2) and L(1_3) into L(1).
68626         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
68627         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
68628         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
68629         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
68630         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
68631         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
68632         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
68633         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
68634         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
68635         macros.
68636         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
68637         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
68638         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
68639         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
68640         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
68641         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
68642         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
68643         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
68644         * sysdeps/i386/strcspn.S (strcspn): Likewise.
68645         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
68646         * sysdeps/i386/strrchr.S (strrchr): Likewise.
68647         * sysdeps/i386/strspn.S (strspn): Likewise.
68648         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
68649         conditional code.
68650         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
68651         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
68652         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
68653         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
68654         L(1_3) into L(1_1).
68655         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
68656         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
68657         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
68658         macros.
68659         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
68661 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
68663         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
68664         macro.
68666 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
68668         * math/atest-exp.c (exp_mpn): Remove ROUND.
68669         * math/atest-exp2.c (exp_mpn): Likewise.
68670         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
68672         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
68673         * stdlib/tst-tls-atexit-lib.c: Likewise.
68674         * stdlib/tst-tls-atexit.c: Likewise.
68676 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
68678         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
68679         and __attribute_alloc_size__.
68681 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
68683         * include/programs/xmalloc.h: Change __attribute_alloc_size to
68684         __attribute_alloc_size__.
68685         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
68686         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
68688 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
68690         * include/programs/xmalloc.h: New file.
68691         * catgets/gencat.c: Include it.
68692         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
68693         * elf/pldd.c: Likewise.
68694         * iconv/iconv_charmap.c: Likewise.
68695         * iconv/iconvconfig.c: Likewise.
68696         * iconv/strtab.c: Likewise.
68697         * locale/programs/locale.c: Likewise.
68698         * locale/programs/localedef.h: Likewise.
68699         * locale/programs/simple-hash.c: Likewise.
68700         * nscd/nscd.h: Likewise.
68701         * nss/makedb.c: Likewise.
68702         * sysdeps/generic/ldconfig.h: Likewise.
68704 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
68706         * Versions.def: Add GLIBC_2.18.
68707         * include/link.h (struct link_map): New member l_tls_dtor_count.
68708         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
68709         (__call_tls_dtors): Likewise.
68710         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
68711         __cxa_thread_atexit_impl.
68712         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
68713         Likewise.
68714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
68715         Likewise.
68716         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
68717         Likewise.
68718         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
68719         Likewise.
68720         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
68721         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
68722         Likewise.
68723         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
68724         Likewise.
68725         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
68726         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
68727         Likewise.
68728         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
68729         (tests): Add test case tst-tls-atexit.
68730         (modules-names): Add shared library for tst-tls-atexit.
68731         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
68732         (GLIBC_PRIVATE): Add __call_tls_dtors.
68733         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
68734         for libstdc++.
68735         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
68736         * stdlib/tst-tls-atexit.c: New test case.
68737         * stdlib/tst-tls-atexit-lib.c: New test case.
68739         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
68741         * elf/Versions (ld): Add _dl_find_dso_for_object.
68742         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
68743         * elf/dl-open.c (_dl_find_dso_for_object): New function.
68744         (dl_open_worker): Use _dl_find_dso_for_object.
68745         * elf/dl-sym.c (do_sym): Likewise.
68746         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
68748 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68750         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
68751         Syntactic changes only.
68752         (_dl_runtime_profile): Do a tail-call to the resolved function.
68754 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
68756         [BZ #13550]
68757         * sysdeps/x86_64/bp-asm.h: Remove file.
68758         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
68759         <bp-sym.h> and <bp-asm.h>.
68760         (__clone): Do not use BP_SYM.
68761         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
68762         <bp-sym.h> and <bp-asm.h>.
68763         * sysdeps/unix/x86_64/sysdep.S: Likewise.
68764         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
68765         "bp-asm.h".
68766         (_setjmp): Do not use BP_SYM.
68767         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
68768         "bp-asm.h".
68769         (setjmp): Do not use BP_SYM.
68770         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
68771         libc_hidden_def.
68772         (mempcpy): Do not use BP_SYM in weak_alias.
68773         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
68774         "bp-asm.h".
68775         (strchr): Do not use BP_SYM.
68776         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
68777         "bp-asm.h".
68778         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
68779         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
68780         (_start): Do not use BP_SYM.
68781         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
68782         "bp-asm.h".
68783         (strcat): Do not use BP_SYM.
68784         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
68785         "bp-asm.h".
68786         (STRCMP): Do not use BP_SYM.
68787         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
68788         "bp-asm.h".
68789         (STRCPY): Do not use BP_SYM.
68790         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
68791         "bp-asm.h".
68792         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
68793         "bp-asm.h".
68794         (FUNCTION): Do not use BP_SYM.
68795         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
68796         weak_alias.
68797         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
68799 2013-02-17  Andreas Jaeger  <aj@suse.de>
68801         * time/Versions: Sort entries.
68802         * string/Versions: Likewise.
68803         * resolv/Versions: Likewise.
68804         * posix/Versions: Likewise.
68805         * iconv/Versions: Likewise.
68806         * elf/Versions: Likewise.
68807         * wcsmbs/Versions: Likewise.
68809 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
68811         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
68812         loop termination condition.
68814         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
68815         variable to calculate EZ.
68816         (__sqr): Likewise.
68818         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
68819         the lower precision input.
68821 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
68823         [BZ #13550]
68824         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
68825         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
68826         (run-via-rtld-prefix): Do not handle %-bp tests.
68827         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
68828         (all-object-suffixes): Remove .ob.
68829         (bppfx): Remove variable.
68830         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
68831         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
68832         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
68833         [$(build-bounded) = yes] (libtype.ob): Likewise.
68834         * Makerules (elide-routines.ob): Remove variable.
68835         (do-tests-clean): Do not handle *-bp.out.
68836         (common-mostlyclean): Do not handle *-bp and *-bp.out.
68837         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
68838         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
68839         (tests): Do not include $(tests-bp.out).
68840         (xtests): Do not include $(xtests-bp.out).
68841         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
68842         [$(build-bounded) = yes] ($(addprefix
68843         $(objpfx),$(binaries-bounded))): Remove rule.
68844         ($(objpfx)%-bp.out): Remove rule.
68845         * config.make.in (build-bounded): Remove variable.
68846         * crypt/Makefile [$(build-bounded) = yes]
68847         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
68848         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
68849         append to variable.
68850         [$(build-bounded) = yes] (install-lib): Likewise.
68851         [$(build-bounded) = yes] (generated): Likewise.
68852         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
68853         Remove rule.
68854         * intl/Makefile [$(build-bounded) = yes]
68855         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
68856         * math/Makefile [$(build-bounded) = yes]
68857         ($(tests:%=$(objpfx)%-bp): Likewise.
68858         * misc/Makefile [$(build-bounded) = yes]
68859         ($(objpfx)tst-tsearch-bp): Likewise.
68860         * nptl/Makeconfig (bounded-thread-library): Remove variable.
68861         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
68862         Remove dependency.
68863         * string/Makefile (o-objects.ob): Remove variable.
68864         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
68865         (CFLAGS-.ob): Remove variable.
68866         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
68867         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
68868         both definitions of variable.
68869         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
68870         (ASFLAGS-.ob): Remove variable.
68872 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
68874         [BZ #13550]
68875         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
68876         Remove __BOUNDED_POINTERS__ from condition.
68877         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
68878         * string/bits/string2.h [!__NO_STRING_INLINES &&
68879         !__BOUNDED_POINTERS__]: Likewise.
68880         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
68881         Likewise.
68882         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
68883         Remove conditional code.
68884         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
68885         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
68886         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
68887         condition.
68889         [BZ #13550]
68890         * csu/libc-start.c: Do not include <bp-sym.h>.
68891         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
68892         * elf/dl-open.c: Do not include <bp-sym.h>.
68893         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
68894         * math/fegetenv.c: Do not include <bp-sym.h>.
68895         (fegetenv): Do not use BP_SYM in versioned symbols.
68896         * nptl/sysdeps/pthread/bits/libc-lockP.h
68897         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
68898         <bp-sym.h>.
68899         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68900         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
68901         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68902         (__pthread_mutex_destroy): Likewise.
68903         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68904         (__pthread_mutex_lock): Likewise.
68905         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68906         (__pthread_mutex_trylock): Likewise.
68907         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68908         (__pthread_mutex_unlock): Likewise.
68909         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68910         (__pthread_mutexattr_init): Likewise.
68911         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68912         (__pthread_mutexattr_destroy): Likewise.
68913         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68914         (__pthread_mutexattr_settype): Likewise.
68915         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68916         (__pthread_rwlock_init): Likewise.
68917         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68918         (__pthread_rwlock_destroy): Likewise.
68919         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68920         (__pthread_rwlock_rdlock): Likewise.
68921         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68922         (__pthread_rwlock_tryrdlock): Likewise.
68923         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68924         (__pthread_rwlock_wrlock): Likewise.
68925         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68926         (__pthread_rwlock_trywrlock): Likewise.
68927         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68928         (__pthread_rwlock_unlock): Likewise.
68929         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68930         (__pthread_key_create): Likewise.
68931         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68932         (__pthread_setspecific): Likewise.
68933         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68934         (__pthread_getspecific): Likewise.
68935         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
68936         Likewise.
68937         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68938         (_pthread_cleanup_push_defer): Likewise.
68939         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68940         (_pthread_cleanup_pop_restore): Likewise.
68941         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68942         (pthread_setcancelstate): Likewise.
68943         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
68944         <bp-sym.h>.
68945         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
68946         (memchr): Do not use BP_SYM in weak_alias.
68947         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
68948         (fegetenv): Do not use BP_SYM in versioned symbols.
68949         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
68950         (fesetenv): Do not use BP_SYM in versioned symbols.
68951         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
68952         (feupdateenv): Do not use BP_SYM in versioned symbols.
68953         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
68954         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
68955         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
68956         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
68957         (open64): Do not use BP_SYM in weak_alias.
68958         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
68959         (fegetenv): Do not use BP_SYM in versioned symbols.
68960         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
68961         (fesetenv): Do not use BP_SYM in versioned symbols.
68962         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
68963         (feupdateenv): Do not use BP_SYM in versioned symbols.
68964         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
68965         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
68966         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
68967         (feraiseexcept): Do not use BP_SYM in versioned symbols.
68968         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
68969         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
68970         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
68971         <bp-sym.h>.
68972         (__libc_start_main): Do not use BP_SYM.
68974 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
68976         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
68977         redundant return line.
68978         (norm): Likewise.
68979         (denorm): Likewise.
68980         (dbl_mp): Likewise.
68981         (sub_magnitudes): Likewise.
68982         (__add): Likewise.
68983         (__sub): Likewise.
68984         (__mul): Likewise.
68985         (__inv): Likewise.
68986         (__dvd): Likewise.
68987         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
68988         (norm): Likewise.
68989         (denorm): Likewise.
68990         (dbl_mp): Likewise.
68991         (sub_magnitudes): Likewise.
68992         (__add): Likewise.
68993         (__sub): Likewise.
68994         (__mul): Likewise.
68995         (__inv): Likewise.
68996         (__dvd): Likewise.
68998         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
68999         instead of __mul.
69000         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
69001         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
69002         (cc32): Likewise.
69004         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
69005         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
69006         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
69007         of __mul for squares.
69008         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
69009         function
69010         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
69011         Likewise.
69012         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
69013         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
69015 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
69017         [BZ #13550]
69018         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
69019         code.
69020         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
69021         prototype or function definition.  Rename ubp_* variables and
69022         parameters.  Remove argv definitions conditional on
69023         [__BOUNDED_POINTERS__].
69024         * debug/backtrace.c (__backtrace): Do not use __unbounded.
69025         * elf/dl-runtime.c (_dl_fixup): Likewise.
69026         * include/set-hooks.h (RUN_HOOK): Likewise.
69027         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
69028         definition.
69029         * string/strcpy.c (strcpy): Do not use __unbounded.
69030         * sysdeps/generic/frame.h (struct layout): Likewise.
69031         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
69032         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
69033         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
69034         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
69035         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
69036         (__backtrace): Likewise.
69037         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
69038         use __ptrvalue.
69039         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
69040         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
69041         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
69042         Likewise.
69043         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
69044         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
69045         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
69046         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
69047         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
69048         Do not use __unbounded.
69049         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
69050         Rename __unboundedrlimits parameter to rlimits in prototype.
69051         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
69052         Do not use __unbounded.
69053         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
69054         not use __ptrvalue.
69055         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
69056         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
69057         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
69058         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
69059         __ptrvalue or __unbounded.
69060         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
69061         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
69062         use __unbounded.
69063         (__new_msgctl): Do not use __ptrvalue.
69064         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
69065         __unbounded.
69066         (__libc_msgrcv): Do not use __ptrvalue.
69067         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
69068         startup_info): Do not use __unbounded.
69069         (__libc_start_main): Likewise.  Rename ubp_* variables and
69070         parameters.  Remove argv definitions conditional on
69071         [__BOUNDED_POINTERS__].
69072         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
69073         __ptrvalue.
69074         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
69075         use __unbounded.
69076         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
69077         or __ptrvalue.
69078         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
69079         use __unbounded.
69080         (__new_shmctl): Do not use __ptrvalue.
69081         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
69082         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
69083         Likewise.
69084         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
69085         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
69086         (__libc_sigaction): Likewise.
69087         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
69088         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
69089         Likewise.
69090         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
69092 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
69094         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
69096         * string/mempcpy.c: Implement by calling memcpy.
69098 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
69100         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
69102         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
69103         evaluation.
69105         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
69106         values in the mantissa.
69108         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
69109         minimize writes to Z.
69110         (sub_magnitudes): Simplify code a bit.
69112 2013-02-12  Roland McGrath  <roland@hack.frob.com>
69114         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
69115         from the message.  The linker prefixes all warnings with that already.
69117 2013-02-12  Andreas Schwab  <schwab@suse.de>
69119         [BZ #15078]
69120         * posix/regexec.c (extend_buffers): Add parameter min_len.
69121         (check_matching): Pass minimum needed length.
69122         (clean_state_log_if_needed): Likewise.
69123         (get_subexp): Likewise.
69124         * posix/Makefile (tests): Add bug-regex34.
69125         (bug-regex34-ENV): Define.
69126         * posix/bug-regex34.c: New file.
69128         [BZ #11561]
69129         * posix/regcomp.c (parse_bracket_exp): When looking up collating
69130         elements compare against the byte sequence of it, not its name.
69131         * posix/Makefile (tests): Add bug-regex35.
69132         (bug-regex35-ENV): Define.
69133         * posix/bug-regex35.c: New file.
69135 2013-02-11  Tom de Vries  <tom@codesourcery.com>
69137         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
69138         comment.
69139         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
69140         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
69141         (CHECK_EOL): Add undef.
69143 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
69145         * bits/stdlib-bsearch.h: New file.
69146         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
69147         * stdlib/stdlib.h: Likewise.
69149 2013-02-11  Roland McGrath  <roland@hack.frob.com>
69151         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
69152         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
69153         declaration.
69154         * manual/search.texi (Array Search Function): Add missing const in
69155         lfind prototype.
69156         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
69157         declaration to use rlim_t.
69158         (Basic Scheduling Functions): Remove erroneous const from
69159         sched_getparam prototype.  Remove erroneous * from
69160         sched_get_priority_max and sched_get_priority_min prototypes.
69161         (Resource Usage): Fix summary @comment on vtimes to refer to
69162         sys/vtimes.h rather than vtimes.h.
69163         Add missing *s in vtimes prototype.
69164         (Limits on Resources): Fix ulimit prototype to return long int.
69165         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
69166         prototypes to use long int rather than double.
69167         (BSD Random): Fix initstate and setstate to use char *, not void *.
69168         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
69169         prototype to make second argument 'struct aiocb64 *const[]'.
69170         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
69171         (Status of AIO Operations): Remove erroneous const in aio_return and
69172         aio_return64 prototypes.
69173         (Synchronizing I/O): Fix sync prototype to return void.
69174         * manual/startup.texi (Suboptions): Remove an erroneous const in
69175         getsubopt prototype.
69176         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
69177         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
69178         use size_t rather than int.
69179         (Scanning All Users): Likewise for getpwent_r.
69180         (Setting Groups): Add missing const to setgroups prototype.
69181         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
69182         * manual/socket.texi (Host Names): Fix gethostbyaddr and
69183         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
69184         'const void *' rather than 'const char *'.
69185         (Host Address Functions): Likewise for inet_ntop.
69186         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
69187         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
69188         ssize_t for return value.
69189         (Sending Data): Likewise for send, sendto, sendmsg.
69190         (Socket Option Functions): Add a missing const in setsockopt prototype.
69191         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
69192         use wchar_t for the argument.
69193         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
69194         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
69195         take no arguments.
69196         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
69197         double/float/long double for second argument.
69198         Fix return types of significand, significandf, significandl.
69199         * manual/filesys.texi (Setting Permissions): Use mode_t for second
69200         argument in fchmod prototype.
69201         (File Owner): Use uid_t and gid_t in fchown prototype.
69202         (File Times): Add const to utimes, futimes, and lutimes prototypes.
69203         (Making Special Files): Use mode_t and dev_t in mknod prototype.
69204         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
69205         use 'const struct dirent **' as argument types to CMP function pointer
69206         argument.
69207         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
69208         (File Times): Fix summary magic @comment for struct utimbuf and utime
69209         to refer to utime.h, not time.h.
69210         * manual/string.texi (Argz Functions): Add missing const in
69211         argz_extract and argz_next prototypes.
69212         (Finding Tokens in a String): Likewise for basename.
69213         (String/Array Comparison): Fix typo in wcscasecmp prototype.
69214         (Copying and Concatenation): Fix typo in wmemmove prototype.
69215         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
69216         (Signal Stack): Remove erroneous const in sigstack prototype.
69217         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
69218         prototype.
69219         (Simple Calendar Time): Likewise for stime.
69220         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
69221         prototype.
69222         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
69223         say sys/sysctl.h instead.
69224         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
69225         and vsyslog prototypes.
69227 2013-02-11  Tom de Vries  <tom@codesourcery.com>
69229         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
69230         Remove.
69232 2013-02-11  Roland McGrath  <roland@hack.frob.com>
69234         * misc/sys/mman.h: Fix typo in mremap comment.
69236 2013-02-08  Roland McGrath  <roland@hack.frob.com>
69238         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
69239         the '\0' terminator.
69241 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
69243         [BZ #13550]
69244         * debug/segfault.c: Don't include <bp-checks.h>.
69245         * sysdeps/generic/bp-checks.h: Remove file.
69246         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
69247         (__GETDENTS): Don't use CHECK_N.
69248         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
69249         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
69250         (__getgroups): Don't use CHECK_N.
69251         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
69252         (setgroups): Don't use CHECK_N.
69253         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
69254         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
69255         (__libc_msgrcv): Don't use CHECK_N.
69256         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
69257         (__libc_msgsnd): Don't use CHECK_N.
69258         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
69259         <bp-checks.h>.
69260         (__libc_pread): Don't use CHECK_N.
69261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
69262         include <bp-checks.h>.
69263         (__libc_pread64): Don't use CHECK_N.
69264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
69265         include <bp-checks.h>.
69266         (__libc_pwrite): Don't use CHECK_N.
69267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
69268         include <bp-checks.h>.
69269         (__libc_pwrite64): Don't use CHECK_N.
69270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
69271         <bp-checks.h>.
69272         (__libc_pread): Don't use CHECK_N.
69273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
69274         include <bp-checks.h>.
69275         (__libc_pread64): Don't use CHECK_N.
69276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
69277         include <bp-checks.h>.
69278         (__libc_pwrite): Don't use CHECK_N.
69279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
69280         include <bp-checks.h>.
69281         (__libc_pwrite64): Don't use CHECK_N.
69282         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
69283         (do_pread): Don't use CHECK_N.
69284         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
69285         (do_pread64): Don't use CHECK_N.
69286         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
69287         (do_pwrite): Don't use CHECK_N.
69288         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
69289         (do_pwrite64): Don't use CHECK_N.
69290         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
69291         (__libc_readv): Don't use CHECK_N.
69292         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
69293         (semop): Don't use CHECK_N.
69294         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
69295         <bp-checks.h>.
69296         (semtimedop): Don't use CHECK_N.
69297         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
69298         (__libc_pread): Don't use CHECK_N.
69299         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
69300         <bp-checks.h>.
69301         (__libc_pread64): Don't use CHECK_N.
69302         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
69303         <bp-checks.h>.
69304         (__libc_pwrite): Don't use CHECK_N.
69305         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
69306         <bp-checks.h>.
69307         (__libc_pwrite64): Don't use CHECK_N.
69308         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
69309         <bp-checks.h>.
69310         (__libc_msgrcv): Don't use CHECK_N.
69311         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
69312         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
69313         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
69314         (__libc_writev): Don't use CHECK_N.
69316 2013-02-08  Roland McGrath  <roland@hack.frob.com>
69318         * string/strcpy.c: Removed unused variable.
69320         * Makeconfig (+sysdep-includes): Define with := rather than =.
69321         Use an existing include/ subdir of each sysdeps dir before it.
69323 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
69325         * nscd/connection.c (register_traced_file): Comment function.
69326         [HAVE_INOTIFY] (union __inev): Define.
69327         [HAVE_INOTIFY] (inotify_check_files): New function.
69328         [HAVE_INOTIFY] (clear_db_cache): Likewise.
69329         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
69330         clear_db_cache.
69331         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
69333 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
69335         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
69336         loaded if not already and that a failure is permanent.
69338 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
69340         [BZ #15006]
69341         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
69342         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
69344 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
69346         [BZ #13550]
69347         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
69348         (CHECK_1_NULL_OK): Likewise.
69349         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
69350         (__fxstat): Do not use CHECK_1.
69351         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
69352         <bp-checks.h>.
69353         (___fxstat64): Do not use CHECK_1.
69354         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
69355         <bp-checks.h>.
69356         (__fxstatat): Do not use CHECK_1.
69357         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
69358         <bp-checks.h>.
69359         (__fxstatat64): Do not use CHECK_1.
69360         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
69361         <bp-checks.h>.
69362         (__fxstat): Do not use CHECK_1.
69363         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
69364         <bp-checks.h>.
69365         (__fxstatat): Do not use CHECK_1.
69366         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
69367         <bp-checks.h>.
69368         (__getresgid): Do not use CHECK_1.
69369         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
69370         <bp-checks.h>.
69371         (__getresuid): Do not use CHECK_1.
69372         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
69373         <bp-checks.h>.
69374         (__lxstat): Do not use CHECK_1.
69375         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
69376         <bp-checks.h>.
69377         (__old_msgctl): Do not use CHECK_1.
69378         (__new_msgctl): Likewise.
69379         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
69380         <bp-checks.h>.
69381         (__new_setrlimit): Do not use CHECK_1.
69382         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
69383         <bp-checks.h>.
69384         (__old_shmctl): Do not use CHECK_1.
69385         (__new_shmctl): Likewise.
69386         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
69387         <bp-checks.h>.
69388         (__xstat): Do not use CHECK_1.
69389         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
69390         (__lxstat): Do not use CHECK_1.
69391         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
69392         <bp-checks.h>.
69393         (___lxstat64): Do not use CHECK_1.
69394         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
69395         (__old_msgctl): Do not use CHECK_1.
69396         (__new_msgctl): Likewise.
69397         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
69398         <bp-checks.h>.
69399         (__gettimeofday): Do not use CHECK_1.
69400         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
69401         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
69402         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
69403         <bp-checks.h>.
69404         (__gettimeofday): Do not use CHECK_1.
69405         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
69406         (__old_shmctl): Do not use CHECK_1_NULL_OK.
69407         (__new_shmctl): Do not use CHECK_1.
69408         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
69409         <bp-checks.h>.
69410         (do_sigtimedwait): Do not use CHECK_1.
69411         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
69412         <bp-checks.h>.
69413         (do_sigwaitinfo): Do not use CHECK_1.
69414         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
69415         <bp-checks.h>.
69416         (msgctl): Do not use CHECK_1.
69417         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
69418         <bp-checks.h>.
69419         (shmctl): Do not use CHECK_1.
69420         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
69421         (ustat): Do not use CHECK_1.
69422         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
69423         <bp-checks.h>.
69424         (__fxstat): Do not use CHECK_1.
69425         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
69426         <bp-checks.h>.
69427         (__fxstatat): Do not use CHECK_1.
69428         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
69429         <bp-checks.h>.
69430         (__lxstat): Do not use CHECK_1.
69431         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
69432         <bp-checks.h>.
69433         (__xstat): Do not use CHECK_1.
69434         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
69435         (__xstat): Do not use CHECK_1.
69436         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
69437         (___xstat64): Do not use CHECK_1.
69439         [BZ #13550]
69440         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
69441         definitions.
69442         (CHECK_BOUNDS_HIGH): Likewise.
69443         * string/strcpy.c: Do not include <bp-checks.h>.
69444         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
69446 2013-02-07  Roland McGrath  <roland@hack.frob.com>
69448         * nscd/nscd-client.h (__nscd_drop_map_ref):
69449         Add __attribute__ ((unused)).
69450         * nis/nss-nisplus.h (niserr2nss): Likewise.
69452         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
69453         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
69455         * csu/libc-tls.c (init_static_tls, init_slotinfo):
69456         Remove inline keyword.
69457         * include/rounding-mode.h (round_away): Likewise.
69458         * libio/wfileops.c (adjust_wide_data): Likewise.
69459         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
69460         (__m128i_strloadu_tolower): Likewise.
69461         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
69462         (__m128i_strloadu_tolower): Likewise.
69463         * time/mktime.c (ydhms_diff): Likewise.
69464         * locale/elem-hash.h (elem_hash): Likewise.
69465         * locale/setlocale.c (setdata): Likewise.
69466         * posix/regex_internal.h (re_string_char_size_at): Likewise.
69467         (re_string_wchar_at): Likewise.
69468         (bitset_not, bitset_merge, bitset_mask): Likewise.
69469         [!(__GNUC__ > 3)] (inline): Remove macro.
69470         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
69471         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
69472         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
69473         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
69474         * string/memcmp.c (memcmp_bytes): Likewise.
69475         * locale/programs/locarchive.c (compute_hashval): Likewise.
69476         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
69477         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
69478         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
69479         * nss/getent.c (print_rpc, print_protocols): Likewise.
69480         (print_passwd, print_group, print_aliases): Likewise.
69481         * nis/nss-nisplus.h (niserr2nss): Likewise.
69482         * nscd/connections.c (restart_p): Likewise.
69483         Change return type to bool.
69485 2013-02-05  Roland McGrath  <roland@hack.frob.com>
69487         * Makeconfig (all-Depend-files): Add existing
69488         $(sorted-subdirs:=/Depend) files.
69489         (all-subdirs): Remove nss.
69490         * sysdeps/unix/inet/Subdirs: Add it here instead.
69491         * hesiod/Depend: New file.
69493         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
69494         instead of calling alloca.
69496         * io/lseek.c (__lseek): Rename to __libc_lseek.
69497         Define __lseek as an alias.
69499         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
69501 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
69503         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
69504         else clause and remove check for non-standard endianness.
69506 2013-02-04  David S. Miller  <davem@davemloft.net>
69508         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69510 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
69512         [BZ #13550]
69513         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
69514         (__ubp_memchr): Remove prototype.
69515         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
69516         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
69517         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
69518         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
69519         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
69520         Remove alias.
69521         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
69522         (__ubp_memchr): Likewise.
69523         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
69524         (__ubp_memchr): Likewise.
69525         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
69526         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
69527         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
69528         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
69529         CHECK_STRING.
69530         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
69531         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
69532         (__getcwd): Do not use CHECK_STRING.
69533         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
69534         <bp-checks.h>.
69535         (__real_chown): Do not use CHECK_STRING.
69536         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
69537         <bp-checks.h>.
69538         (fchownat): Do not use CHECK_STRING.
69539         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
69540         CHECK_STRING.
69541         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
69542         <bp-checks.h>.
69543         (__lchown): Do not use CHECK_STRING.
69544         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
69545         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
69546         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
69547         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
69548         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
69549         include <bp-checks.h>.
69550         (truncate64): Do not use CHECK_STRING.
69551         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
69552         <bp-checks.h>.
69553         (__real_chown): Do not use CHECK_STRING.
69554         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
69555         <bp-checks.h>.
69556         (__lchown): Do not use CHECK_STRING.
69557         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
69558         <bp-checks.h>.
69559         (__chown): Do not use CHECK_STRING.
69560         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
69561         <bp-checks.h>.
69562         (truncate64): Do not use CHECK_STRING.
69563         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
69564         Likewise.
69565         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
69566         (__xmknod): Do not use CHECK_STRING.
69567         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
69568         <bp-checks.h>.
69569         (__xmknodat): Do not use CHECK_STRING.
69570         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
69571         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
69573 2013-02-04  Andreas Schwab  <schwab@suse.de>
69575         [BZ #14142]
69576         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
69577         * include/netdb.h: Likewise for h_errno.
69578         * elf/tst-stackguard1.c: Include <tls.h>.
69580 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
69582         * elf/link.h (struct link_map): Extend the l_addr comment.
69583         * include/link.h (struct link_map): Likewise.
69585 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
69587         [BZ #13550]
69588         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
69589         (BOUNDED_1): Remove macro.
69590         * debug/backtrace.c: Don't include <bp-checks.h>.
69591         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
69592         (__backtrace): Likewise.
69593         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
69594         <bp-checks.h>.
69595         (__backtrace): Don't use BOUNDED_1.
69596         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
69597         <bp-checks.h>.
69598         (__backtrace): Don't use BOUNDED_1.
69599         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
69600         (__backtrace): Don't use BOUNDED_1.
69601         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
69602         (shmat): Don't use BOUNDED_N.
69604 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
69606         [BZ #13550]
69607         * sysdeps/generic/bp-start.h: Remove file.
69608         * csu/libc-start.c: Don't include <bp-start.h>.
69609         (LIBC_START_MAIN): Set up __environ directly instead of using
69610         INIT_ARGV_and_ENVIRON.
69611         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
69612         <bp-start.h>.
69614         [BZ #13550]
69615         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
69616         definitions.
69617         (CHECK_FCNTL): Likewise.
69618         (CHECK_N_PAGES): Likewise.
69620         [BZ #13550]
69621         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
69622         definitions.
69623         (CHECK_SIGSET_NULL_OK): Likewise.
69624         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
69625         <bp-checks.h>.
69626         (sigpending): Don't use CHECK_SIGSET.
69627         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
69628         <bp-checks.h>.
69629         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
69630         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
69631         <bp-checks.h>.
69632         (do_sigsuspend): Don't use CHECK_SIGSET.
69633         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
69634         use CHECK_SIGSET.
69635         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
69636         (do_sigwait): Don't use CHECK_SIGSET.
69637         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
69638         use CHECK_SIGSET.
69639         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
69640         include <bp-checks.h>.
69641         (sigpending): Don't use CHECK_SIGSET.
69642         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
69643         include <bp-checks.h>.
69644         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
69645         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
69646         <bp-checks.h>.
69647         (sigpending): Don't use CHECK_SIGSET.
69648         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
69649         <bp-checks.h>.
69650         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
69652         [BZ #13550]
69653         * sysdeps/generic/bp-semctl.h: Remove file.
69654         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
69655         <bp-checks.h> and <bp-semctl.h>.
69656         (__old_semctl): Don't use CHECK_SEMCTL.
69657         (__new_semctl): Likewise.
69658         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
69659         and <bp-semctl.h>.
69660         (__old_semctl): Don't use CHECK_SEMCTL.
69661         (__new_semctl): Likewise.
69662         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
69663         <bp-checks.h> and <bp-semctl.h>.
69664         (__old_semctl): Don't use CHECK_SEMCTL.
69665         (__new_semctl): Likewise.
69666         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
69667         <bp-checks.h> and <bp-semctl.h>.
69668         (semctl): Don't use CHECK_SEMCTL.
69670         [BZ #13550]
69671         * Makerules (elide-bp-thunks): Remove variable.
69672         (elide-routines.oS): Don't use $(elide-bp-thunks).
69673         (elide-routines.os): Likewise.
69674         (elide-routines.o): Likewise.
69675         (elide-routines.op): Likewise.
69676         (elide-routines.og): Likewise.
69677         (objects): Don't use $(bp-thunks).
69678         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
69679         include.
69680         (common-generated): Do not add s-proto-bp.d.
69681         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
69682         (int): Likewise.
69683         (typ): Likewise.
69684         Do not generate makefile rules for bounded-pointer thunks.
69685         * sysdeps/generic/bp-thunks.h: Remove file.
69686         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
69687         * sysdeps/unix/s-proto-bp.S: Likewise.
69689         [BZ #15062]
69690         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
69691         parts of result separately when argument is not close to line from
69692         -i to i and one part of argument is small.
69693         * math/k_casinhf.c (__kernel_casinhf): Likewise.
69694         * math/k_casinhl.c (__kernel_casinhl): Likewise.
69695         * math/libm-test.inc (cacos_test): Add more tests.
69696         (casin_test): Likewise.
69697         (casinh_test): Likewise.
69698         * sysdeps/i386/fpu/libm-test-ulps: Update.
69699         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69701 2013-01-31  David S. Miller  <davem@davemloft.net>
69703         * po/de.po: Update from translation team.
69705 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
69707         * time/tzfile.c: Include stdint.h for SIZE_MAX.
69709 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
69711         * configure.in (_AC_PROG_CC_C89): New definition.
69712         * configure: Regenerate.
69714         * configure.in (AC_PROG_CPP): New definition.
69715         * configure: Regenerate.
69717 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
69719         * debug/tst-backtrace.h: New file.
69720         * debug/tst-backtrace2.c: Include tst-backtrace.h.
69721         (ret): Remove variable.
69722         (x): Likewise.
69723         (FAIL): Remove macro.
69724         (NO_INLINE): Likewise.
69725         (fn1): Use match function instead of strstr.
69726         * debug/tst-backtrace3.c: Include tst-backtrace.h.
69727         (ret): Remove variable.
69728         (x): Likewise.
69729         (FAIL): Remove macro.
69730         (NO_INLINE): Likewise.
69731         (fn): Use match function instead of strstr.
69732         * debug/tst-backtrace4.c: Include tst-backtrace.h.
69733         (ret): Remove variable.
69734         (x): Likewise.
69735         (FAIL): Remove macro.
69736         (NO_INLINE): Likewise.
69737         (handle_signal): Use match function instead of strstr.
69738         * debug/tst-backtrace5.c: Include tst-backtrace.h.
69739         (ret): Remove variable.
69740         (x): Likewise.
69741         (FAIL): Remove macro.
69742         (NO_INLINE): Likewise.
69743         (handle_signal): Use match function instead of strstr.
69745 2013-01-23  Roland McGrath  <roland@hack.frob.com>
69747         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
69749 2013-01-23  David S. Miller  <davem@davemloft.net>
69751         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
69752         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
69753         argument of CAS if possible.
69754         * sysdeps/sparc/sparc64/bits/atomic.h
69755         (__arch_compare_and_exchange_val_32_acq): Likewise.
69756         (__arch_compare_and_exchange_val_64_acq): Likewise.
69758 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
69760         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
69761         * sysdeps/posix/ulimit.c: ... this.
69762         Include <limits.h>.
69763         * sysdeps/unix/bsd/ulimit.c: Remove file.
69765 2013-01-23  Adam Conrad  <adconrad@0c3.net>
69767         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
69768         (LDFLAGS-tst-array5): Likewise.
69770 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
69772         [BZ #15036]
69773         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
69774         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
69775         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
69776         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
69778 2013-01-21  David S. Miller  <davem@davemloft.net>
69780         * sysdeps/sparc/backtrace.c: New file.
69781         * sysdeps/sparc/sparc32/backtrace.h: New file.
69782         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
69783         * sysdeps/sparc/sparc64/backtrace.h: New file.
69784         * sysdeps/sparc/sparc64/backtrace.c: Delete.
69785         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
69786         -funwind-tables.
69788 2013-01-21  Andreas Schwab  <schwab@suse.de>
69790         [BZ #15020]
69791         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
69792         closed its stdout.
69794 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
69796         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
69797         "mpa2.h".
69798         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
69800 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
69801             Mark Mitchell  <mark@codesourcery.com>
69802             Tom de Vries  <tom@codesourcery.com>
69803             Paul Pluzhnikov  <ppluzhnikov@google.com>
69805         * debug/tst-backtrace2.c: New file.
69806         * debug/tst-backtrace3.c: Likewise.
69807         * debug/tst-backtrace4.c: Likewise.
69808         * debug/tst-backtrace5.c: Likewise.
69809         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
69810         (CFLAGS-tst-backtrace3.c): Likewise.
69811         (CFLAGS-tst-backtrace4.c): Likewise.
69812         (CFLAGS-tst-backtrace5.c): Likewise.
69813         (LDFLAGS-tst-backtrace2): Likewise.
69814         (LDFLAGS-tst-backtrace3): Likewise.
69815         (LDFLAGS-tst-backtrace4): Likewise.
69816         (LDFLAGS-tst-backtrace5): Likewise.
69817         (tests): Add new tests tst-backtrace2, tst-backtrace3,
69818         tst-backtrace4 and tst-backtrace5.
69820 2013-01-18  Anton Blanchard  <anton@samba.org>
69821             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
69823         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
69824         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
69825         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
69826         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
69827         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
69828         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
69829         "+r" and remove output regs list as redundant.  Add explicit inline
69830         asm to specify register of return val to work around compiler codegen
69831         bug.  Remove (int) cast on return value.  Add return type parameter to
69832         use in macro so that this macro does not truncate return value for
69833         64-bit values.
69834         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
69835         pass to INTERNAL_VSYSCALL_NCS.
69836         (INLINE_VSYSCALL): Add 'long int' as return type to
69837         INTERNAL_VSYSCALL_NCS macro invocation.
69838         (INTERNAL_VSYSCALL): Add 'long int' as return type to
69839         INTERNAL_VSYSCALL_NCS macro invocation.
69840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
69842 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
69844         [BZ #14496]
69845         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
69846         Fix application of SIMD FP exception mask.
69848         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
69849         mp_no from a power of two.
69850         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
69851         __mpexp_twomm1.  Use __pow_mp.
69853         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
69854         multiplication.
69856 2013-01-17  David S. Miller  <davem@davemloft.net>
69858         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69860 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
69862         [BZ #15023]
69863         * include/complex.h: Condition contents on [!_COMPLEX_H].
69864         (__kernel_casinhf): New prototype.
69865         (__kernel_casinh): Likewise.
69866         (__kernel_casinhl): Likewise.
69867         * math/Makefile (libm_calls): Add k_casinh.
69868         * math/k_casinh.c: New file.
69869         * math/k_casinhf.c: Likewise.
69870         * math/k_casinhl.c: Likewise.
69871         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
69872         finite nonzero arguments.
69873         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
69874         finite nonzero arguments.
69875         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
69876         finite nonzero arguments.
69877         * math/s_casinh.c: Do not include <float.h>.
69878         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
69879         * math/s_casinhf.c: Do not include <float.h>.
69880         (__casinhf): Move code for finite nonzero arguments to
69881         k_casinhf.c.
69882         * math/s_casinhl.c: Do not include <float.h>.
69883         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
69884         redefine.
69885         (__casinhl): Move code for finite nonzero arguments to
69886         k_casinhl.c.
69887         * math/libm-test.inc (cacos_test): Add more tests.
69888         * sysdeps/i386/fpu/libm-test-ulps: Update.
69889         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69891 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
69893         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
69894         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
69895         [!HAVE_MREMAP]: Remove [defined linux] case.
69896         * malloc/arena.c: Do not include <malloc-sysdep.h>.
69898 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
69900         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
69902 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
69904         * elf/elf.h (R_386_SIZE32): New relocation.
69905         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
69906         R_386_SIZE32.
69907         (elf_machine_rela): Likewise.
69908         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
69909         R_X86_64_SIZE64 and R_X86_64_SIZE32.
69911 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
69913         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
69914         (FP_FAST_FMA): Do not define.
69915         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
69916         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
69917         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
69918         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
69919         !_SOFT_FLOAT]: Likewise.
69920         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
69921         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
69922         value.
69923         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
69924         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
69925         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
69926         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
69927         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
69928         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
69929         file.
69931 2013-01-16  Andreas Schwab  <schwab@suse.de>
69933         [BZ #14327]
69934         * include/stdlib.h (__mktemp): Add declaration.
69935         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
69936         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
69938 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
69940         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
69941         definitions.
69942         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
69943         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
69944         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
69945         definitions here.
69946         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
69947         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
69948         definitions.
69949         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
69950         and ONE.
69951         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
69952         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
69953         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
69954         definitions.
69955         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
69956         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
69957         definitions.
69958         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
69960         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
69962 2013-01-15  David S. Miller  <davem@davemloft.net>
69964         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
69965         trunc{,f} to libm-sysdep_routes.
69966         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
69967         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
69968         file.
69969         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
69970         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
69971         file.
69972         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
69973         file.
69974         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
69975         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
69976         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
69977         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
69978         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
69979         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
69980         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
69981         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
69983         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
69984         nearbyint{,f} to libm-sysdep_routes.
69985         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
69986         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
69987         New file.
69988         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
69989         file.
69990         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
69991         New file.
69992         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
69993         file.
69994         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
69995         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
69996         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
69997         file.
69998         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
69999         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
70000         file.
70001         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
70002         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
70003         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
70005         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
70006         libc_feholdexcept and libc_fesetenv.
70008 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
70010         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
70012 2013-01-14  David S. Miller  <davem@davemloft.net>
70014         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
70015         (SPARC_ASM_VIS2_IFUNC): Likewise.
70016         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
70017         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
70018         use of 'siam' instruction.
70019         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
70020         Likewise.
70021         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
70022         Likewise.
70023         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
70024         Likewise.
70025         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
70026         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
70027         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
70028         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
70029         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
70030         file.
70031         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
70032         file.
70033         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
70034         file.
70035         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
70036         file.
70037         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
70038         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
70039         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
70040         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
70041         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
70042         new VIS2 routines.
70043         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
70044         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
70045         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
70046         Likewise.
70047         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
70048         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
70049         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
70050         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
70051         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
70052         routines to libm-sysdep_routines.
70053         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
70055         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
70056         fdim/fdimf to libm-sysdep_routines.
70057         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
70058         file.
70059         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
70060         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
70061         file.
70062         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
70063         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
70064         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
70065         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
70066         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
70067         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
70068         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
70070 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
70072         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
70073         to optimize copies.
70075         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
70076         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
70077         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
70079         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
70080         local variable MPTWO.
70081         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
70082         Likewise.
70084 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
70086         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
70087         GLOB_NOESCAPE.
70089 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
70091         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
70093 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
70095         * manual/pattern.texi (glob_t): Document gl_flags.
70096         (glob64_t): Likewise.
70098 2013-01-11  David S. Miller  <davem@davemloft.net>
70100         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
70101         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
70102         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
70103         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
70104         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
70105         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
70106         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
70107         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
70108         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
70109         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
70110         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
70111         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
70112         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
70114         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
70115         sparc V9 rather than using V8 code.
70116         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
70117         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
70119         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
70120         Move to...
70121         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
70122         Here.
70124 2013-01-11  Roland McGrath  <roland@hack.frob.com>
70126         [BZ #14941]
70127         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
70128         not in the main loop.
70129         * configure: Regenerated.
70131 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
70133         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
70134         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
70135         to just #else.
70136         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
70137         [!__GLIBC_HAVE_LONG_LONG] case.
70138         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
70139         condition to just #else.
70140         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
70141         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
70142         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
70143         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
70144         unconditional.
70145         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
70146         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
70147         #elif condition to just #else.
70148         * sysdeps/unix/sysv/linux/sys/sysmacros.h
70149         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
70150         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
70151         #elif condition to just #else.
70153 2013-01-11  Steve Ellcey  <sellcey@mips.com>
70155         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
70156         (EF_MIPS_ARCH_64): Fix value.
70157         (EF_MIPS_ARCH_32R2): New.
70158         (EF_MIPS_ARCH_64R2): New.
70160 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
70162         * Makeconfig (+link-pie-before-libc): New.
70163         (+link-pie-after-libc): Likewise.
70164         (+link-pie-tests): Likewise.
70165         (+link-pie): Rewritten.
70166         (link-before-libc): Remove $(config-LDFLAGS).
70167         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
70168         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
70169         (config-LDFLAGS): Renamed to ...
70170         (rtld-LDFLAGS): This.
70171         (rtld-tests-LDFLAGS): New macro.
70172         (link-libc-rpath-link): Likewise.
70173         (link-libc-tests-rpath-link): Likewise.
70174         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
70175         (link-libc): Prepand $(link-libc-rpath-link).
70176         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
70177         (test-program-prefix): New macro.
70178         (test-via-rtld-prefix): Likewise.
70179         (test-program-cmd): Likewise.
70180         (host-test-program-cmd): Likewise.
70181         * Makefile ($(common-objpfx)testrun.sh): Replace
70182         $(run-program-prefix) with $(test-program-prefix).
70183         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
70184         $(rtld-LDFLAGS).
70185         ($(common-objpfx)shlib.lds): Likewise.
70186         (build-module-helper): Likewise.
70187         ($(common-objpfx)format.lds): Likewise.
70188         * Rules (binaries-pie-tests): New.
70189         (binaries-pie-notests): Likewise.
70190         (binaries-pie): Rewritten.
70191         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
70192         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
70193         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
70194         (make-test-out): Replace $(host-built-program-cmd) with
70195         $(host-test-program-cmd).
70196         * config.make.in (build-hardcoded-path-in-tests): New variable.
70197         * configure.in (--enable-hardcoded-path-in-tests): New configure
70198         option.
70199         (hardcoded_path_in_tests): New AC_SUBST.
70200         * configure: Regenerated.
70201         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
70202         $(built-program-cmd) with $(test-program-cmd).
70203         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
70204         (test_program_cmd): This.
70205         * elf/Makefile ($(objpfx)order.out): Run test with
70206         $(test-program-prefix).
70207         ($(objpfx)order2.out): Likewise.
70208         ($(objpfx)tst-initorder.out): Likewise.
70209         ($(objpfx)tst-initorder2.out): Likewise.
70210         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
70211         $(test-program-cmd).
70212         ($(objpfx)tst-array1-static.out): Likewise.
70213         ($(objpfx)tst-array2.out): Likewise.
70214         ($(objpfx)tst-array3.out): Likewise.
70215         ($(objpfx)tst-array4.out): Likewise.
70216         ($(objpfx)tst-array5.out): Likewise.
70217         ($(objpfx)tst-array5-static.out): Likewise.
70218         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
70219         $(test-program-cmd).
70220         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
70221         $(run-program-prefix) with $(test-program-prefix).
70222         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
70223         (test_program_prefix): This.
70224         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
70225         $(run-program-prefix) with $(test-program-prefix).
70226         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
70227         (test_program_prefix): This.
70228         * iconvdata/tst-tables.sh: Likewise.
70229         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
70230         $(run-program-prefix) with $(test-program-prefix).
70231         ($(objpfx)tst-translit.out): Likewise.
70232         ($(objpfx)tst-gettext2.out): Likewise.
70233         ($(objpfx)tst-gettext4.out): Likewise.
70234         ($(objpfx)tst-gettext6.out): Likewise.
70235         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
70236         (test_program_prefix): This.
70237         * intl/tst-gettext2.sh: Likewise.
70238         * intl/tst-gettext4.sh  Likewise.
70239         * intl/tst-gettext6.sh: Likewise.
70240         * intl/tst-translit.sh: Likewise.
70241         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
70242         with $(test-program-cmd).
70243         * libio/Makefile ($(objpfx)test-freopen.out): Replace
70244         $(run-program-prefix) with $(test-program-prefix).
70245         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
70246         (test_program_prefix): This.
70247         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
70248         $(run-program-prefix) with $(test-program-prefix).
70249         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
70250         (test_program_prefix): This.
70251         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
70252         * posix/Makefile ($(objpfx)globtest.out): Replace
70253         $(run-via-rtld-prefix) and $(test-wrapper) with
70254         $(test-program-prefix) and $(test-via-rtld-prefix).
70255         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
70256         $(test-program-prefix).
70257         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
70258         $(host-test-program-cmd).
70259         (tst-spawn-ARGS): Likewise.
70260         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
70261         $(test-program-prefix).
70262         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
70263         (test_via_rtld_prefix): This.
70264         (test_wrapper): Renamed to ...
70265         (test_program_prefix): This.
70266         (run_program_prefix): Replaced by test_program_prefix.
70267         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
70268         (test_program_prefix): This.
70269         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
70270         with $(host-test-program-cmd).
70271         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
70272         $(run-program-prefix) with $(test-program-prefix).
70273         ($(objpfx)tst-printf.out): Likewise.
70274         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
70275         $(test-program-cmd).
70276         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
70277         (test_program_prefix): This.
70278         * stdio-common/tst-unbputc.sh: Likewise.
70279         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
70280         $(run-program-prefix) with $(test-program-prefix).
70281         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
70282         (test_program_prefix): This.
70283         * string/Makefile ($(objpfx)tst-svc.out):  Replace
70284         $(built-program-cmd) with $(test-program-cmd).
70286 2013-01-11  Andreas Jaeger  <aj@suse.de>
70288         [BZ #15003]
70289         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
70290         value. Sync with Linux 3.7.
70292 2013-01-10  David S. Miller  <davem@davemloft.net>
70294         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
70295         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
70296         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
70298 2013-01-10  Roland McGrath  <roland@hack.frob.com>
70300         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
70301         never set.
70302         * configure: Regenerated.
70304 2013-01-10  David S. Miller  <davem@davemloft.net>
70306         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
70307         sparc V9 rather than using V8 code.
70308         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
70309         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
70311 2013-01-10  Roland McGrath  <roland@hack.frob.com>
70313         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
70314         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
70315         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
70316         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
70317         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
70318         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
70319         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
70320         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
70321         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
70322         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
70323         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
70324         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
70325         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
70326         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
70327         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
70328         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
70329         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
70330         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
70331         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
70332         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
70333         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
70334         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
70335         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
70336         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
70337         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
70338         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
70339         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
70341 2013-01-10  David S. Miller  <davem@davemloft.net>
70343         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70345 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
70347         * posix/Makefile (tests-static): New variable.
70348         (tests): Add $(tests-static).
70349         (tst-exec-static-ARGS): New variable.
70350         (tst-spawn-static-ARGS): Likewise.
70351         * posix/tst-exec-static.c: New file.
70352         * posix/tst-spawn-static.c: Likewise.
70353         * posix/tst-exec.c: Support run directly.
70354         * posix/tst-spawn.c: Likewise.
70356 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
70358         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
70359         long.
70360         * math/bits/mathcalls.h (llrint): Likewise.
70361         (llround): Likewise.
70362         * stdlib/stdlib.h (struct drand48_data): Likewise.
70363         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
70364         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
70365         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
70366         Likewise.
70367         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
70368         Likewise.
70369         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
70370         (elf_greg_t): Likewise.
70371         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
70372         (__jmp_buf): Likewise.
70373         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
70374         definitions.
70375         (llrint): Likewise, for all definitions.
70376         (llrintl): Likewise.
70378         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
70379         Remove [__GNUC__] condition.
70380         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
70381         condition to just [__USE_ISOC99].
70382         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
70384 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
70386         [BZ #14200]
70387         * sysdeps/unix/sysv/linux/x86/bits/environments.h
70388         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
70389         defined.
70390         (_POSIX_V6_ILP32_OFF32): Likewise.
70391         (_XBS5_ILP32_OFF32): Likewise.
70392         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
70393         (__ILP32_OFFBIG_LDFLAGS): Likewise.
70395 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
70397         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
70399         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
70400         doubles __mpexp_twomm1.  Adjust usage.
70401         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
70402         Remove.
70404 2013-01-10  Andreas Schwab  <schwab@suse.de>
70406         [BZ #14964]
70407         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
70408         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
70410 2013-01-09  David S. Miller  <davem@davemloft.net>
70412         [BZ #15003]
70413         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
70414         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
70415         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
70416         (TCP_FASTOPEN): Define.
70417         (tcp_repair_opt): New structure.
70418         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
70419         enum values.
70420         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
70421         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
70422         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
70423         (tcp_cookie_transactions): New structure.
70425 2013-01-09  Anton Blanchard  <anton@samba.org>
70427         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
70428         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
70429         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
70430         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
70432 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
70434         * include/features.h (__USE_ANSI): Remove.
70436 2013-01-09  Roland McGrath  <roland@hack.frob.com>
70438         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
70440         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
70442 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
70444         * sysdeps/s390/fpu/libm-test-ulps: Update.
70446         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70448         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
70449         (__acr): Likewise.
70450         (__cpy): Likewise.
70451         (norm): Likewise.
70452         (denorm): Likewise.
70453         (__mp_dbl): Likewise.
70454         (__dbl_mp): Likewise.
70455         (add_magnitudes): Likewise.
70456         (sub_magnitudes): Likewise.
70457         (__add): Likewise.
70458         (__sub): Likewise.
70459         (__mul): Likewise.
70460         (__inv): Likewise.
70461         (__dvd): Likewise.
70462         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
70463         (__acr): Likewise.
70464         (__cpy): Likewise.
70465         (norm): Likewise.
70466         (denorm): Likewise.
70467         (__mp_dbl): Likewise.
70468         (__dbl_mp): Likewise.
70469         (add_magnitudes): Likewise.
70470         (sub_magnitudes): Likewise.
70471         (__add): Likewise.
70472         (__sub): Likewise.
70473         (__mul): Likewise.
70474         (__inv): Likewise.
70475         (__dvd): Likewise.
70476         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
70477         (__acr): Likewise.
70478         (__cpy): Likewise.
70479         (norm): Likewise.
70480         (denorm): Likewise.
70481         (__mp_dbl): Likewise.
70482         (__dbl_mp): Likewise.
70483         (add_magnitudes): Likewise.
70484         (sub_magnitudes): Likewise.
70485         (__add): Likewise.
70486         (__sub): Likewise.
70487         (__mul): Likewise.
70488         (__inv): Likewise.
70489         (__dvd): Likewise.
70491 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
70493         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
70494         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
70495         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
70496         2 && __USE_EXTERN_INLINES]: Likewise.
70498 2013-01-08  Andreas Jaeger  <aj@suse.de>
70500         [BZ #14985]
70501         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
70502         Remove.
70503         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
70504         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
70506 2013-01-07  Anton Blanchard  <anton@samba.org>
70508         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
70509         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
70510         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
70511         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
70512         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
70513         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
70514         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
70515         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
70516         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
70517         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
70518         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
70519         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
70520         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
70521         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
70522         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
70523         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
70524         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
70525         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
70526         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
70527         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
70528         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
70529         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
70530         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
70531         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
70532         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
70533         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
70534         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
70535         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
70536         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
70537         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
70538         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
70539         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
70540         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
70541         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
70542         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
70543         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
70544         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
70545         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
70546         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
70547         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
70548         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
70549         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
70550         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
70552 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
70554         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
70555         (__MALLOC_PMT): Likewise.
70556         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
70557         [__GNUC__], only on [_LIBC].
70558         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
70559         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
70560         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
70561         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
70562         forward declaration.
70563         (realloc_hook_ini): Likewise.
70564         (memalign_hook_ini): Likewise.
70565         (__libc_memalign): Do not use __MALLOC_PMT in variable
70566         declaration.
70567         (__libc_valloc): Likewise.
70568         (__libc_pvalloc): Likewise.
70569         (__libc_calloc): Likewise.
70570         (__posix_memalign): Likewise.
70572         [BZ #14996]
70573         * math/s_casinh.c: Include <float.h>.
70574         (__casinh): Do not do computation with squaring and square root
70575         for large arguments.
70576         * math/s_casinhf.c: Include <float.h>.
70577         (__casinhf): Do not do computation with squaring and square root
70578         for large arguments.
70579         * math/s_casinhl.c: Include <float.h>.
70580         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
70581         (__casinhl): Do not do computation with squaring and square root
70582         for large arguments.
70583         * math/libm-test.inc (casin_test): Add more tests.
70584         (casinh_test): Likewise.
70585         * sysdeps/i386/fpu/libm-test-ulps: Update.
70586         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70588 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
70590         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
70591         (__x86_64_raw_data_cache_size): Likewise.
70592         (__x86_64_data_cache_size_half): Likewise.
70593         (__x86_64_raw_data_cache_size_half): Likewise.
70594         (__x86_64_shared_cache_size): Likewise.
70595         (__x86_64_raw_shared_cache_size): Likewise.
70596         (__x86_64_shared_cache_size_half): Likewise.
70597         (__x86_64_raw_shared_cache_size_half): Likewise.
70598         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
70599         to ...
70600         (__x86_data_cache_size): This.
70601         (__x86_64_raw_data_cache_size): Renamed to ...
70602         (__x86_raw_data_cache_size): This.
70603         (__x86_64_data_cache_size_half): Renamed to ...
70604         (__x86_data_cache_size_half): This.
70605         (__x86_64_raw_data_cache_size_half): Renamed to ...
70606         (__x86_raw_data_cache_size_half): This.
70607         (__x86_64_shared_cache_size): Renamed to ...
70608         (__x86_shared_cache_size): This.
70609         (__x86_64_raw_shared_cache_size): Renamed to ...
70610         (__x86_raw_shared_cache_size): This.
70611         (__x86_64_shared_cache_size_half): Renamed to ...
70612         (__x86_shared_cache_size_half): This.
70613         (__x86_64_raw_shared_cache_size_half): Renamed to ...
70614         (__x86_raw_shared_cache_size_half): This.
70615         * sysdeps/x86_64/memcpy.S: Updated.
70616         * sysdeps/x86_64/memset.S: Likewise.
70617         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
70618         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
70619         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
70621 2013-01-04  David S. Miller  <davem@davemloft.net>
70623         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70625 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
70627         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
70628         1 to avoid redefinition warning.
70629         (__USE_GNU): Don't define.
70630         (init_signaling_nan): Protoize.
70632         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70634 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
70636         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
70637         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
70638         (__cpymn): Likewise.
70639         (norm): Remove commented code.
70640         (denorm): Likewise.
70641         (__mp_dbl): Likewise.
70642         (__inv): Likewise.
70643         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
70644         (__cpymn): Likewise.
70645         (norm): Remove commented code.
70646         (denorm): Likewise.
70647         (__mp_dbl): Likewise.
70648         (__inv): Likewise.
70650         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
70651         mp_no value for 1.0 and 2.0.
70652         (norm): Use RADIXI instead of radixi.d.
70653         (denorm): Likewise.
70654         (__mul): Use 0.0 instead of zero.d.
70655         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
70656         mp_no value for 1.0 and 2.0.
70657         (norm): Use RADIXI instead of radixi.d.
70658         (denorm): Likewise.
70659         (__mul): Use 0.0 instead of zero.d.
70661 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
70663         [BZ #14994]
70664         * math/s_casinh.c (__casinh): Reduce finite argument to first
70665         quadrant then set signs of results at the end.
70666         * math/s_casinhf.c (__casinhf): Likewise.
70667         * math/s_casinhl.c (__casinhl): Likewise.
70668         * math/libm-test.inc (casin_test): Add more tests.
70669         (casinh_test): Likewise.
70670         * sysdeps/i386/fpu/libm-test-ulps: Update.
70671         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70673 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
70675         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
70677         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
70679         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
70680         declarations.
70681         (denorm): Likewise.
70682         (__mp_dbl): Likewise.
70683         (__inv): Likewise.
70685         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
70686         and adjust the header comment.
70688         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
70689         variable name from declaration.
70691 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
70693         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
70694         Initialize COMMON_CPUID_INDEX_7 element.
70695         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
70696         (CPUID_RTM): Likewise.
70697         (HAS_RTM): Likewise.
70698         (COMMON_CPUID_INDEX_7): New enum.
70700 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
70702         [BZ #14981]
70703         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
70704         size is zero, record memory as freed.
70706 2013-01-03  Andreas Jaeger  <aj@suse.de>
70708         * po/ia.po: Add new Interlingua translation.
70710 2012-01-03  Allan McRae  <allan@archlinux.org>
70712         * locale/programs/localedef.c: Fix description of '--posix' flag.
70714 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
70716         * NEWS: Update dates in second copyright notice.
70717         * README: Update copyright dates in example.
70718         * manual/libc.texinfo: Update copyright dates.
70719         * scripts/test-installation.pl: Update copyright date in --version
70720         output.
70722         * hurd/ctty-input.c: Fix copyright notice formatting.
70723         * hurd/ctty-output.c: Likewise.
70724         * hurd/dtable.c: Likewise.
70725         * hurd/hurd-raise.c: Likewise.
70726         * hurd/hurdprio.c: Likewise.
70727         * hurd/msgportdemux.c: Likewise.
70728         * misc/sys/file.h: Likewise.
70729         * misc/sys/ioctl.h: Likewise.
70730         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
70731         * sysdeps/mach/hurd/chdir.c: Likewise.
70732         * sysdeps/mach/hurd/fchdir.c: Likewise.
70733         * sysdeps/mach/hurd/rename.c: Likewise.
70734         * sysdeps/mach/hurd/rmdir.c: Likewise.
70735         * sysdeps/mach/hurd/seekdir.c: Likewise.
70736         * sysdeps/mach/hurd/setsid.c: Likewise.
70737         * sysdeps/posix/wait3.c: Likewise.
70739         * All files with FSF copyright notices: Update copyright dates
70740         using scripts/update-copyrights.
70741         * intl/plural.c: Regenerated.
70742         * locale/programs/charmap-kw.h: Likewise.
70743         * locale/programs/locfile-kw.h: Likewise.
70745 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
70747         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
70748         four values.
70750         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
70751         calculation loop and add branch prediction.
70753         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
70754         check access beyond bounds of m1np.
70756         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
70757         MPTWO.
70758         (__inv): Remove local variable MPTWO to use the global
70759         constant.
70760         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
70761         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
70762         variable MPTWO.
70763         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
70764         MP3HALFS static const.
70766 2013-01-01  David S. Miller  <davem@davemloft.net>
70768         * po/ca.po: Update from translation team.
70770 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
70772         * scripts/update-copyrights: New file.
70773         * Makeconfig: Reformat copyright notice.
70774         * ctype/ctype.h: Likewise.
70775         * debug/swprintf_chk.c: Likewise.
70776         * elf/dl-cache.c: Likewise.
70777         * elf/dl-debug.c: Likewise.
70778         * elf/dl-object.c: Likewise.
70779         * grp/initgroups.c: Likewise.
70780         * hurd/Makefile: Likewise.
70781         * hurd/hurd/signal.h: Likewise.
70782         * hurd/hurdfault.c: Likewise.
70783         * hurd/hurdioctl.c: Likewise.
70784         * hurd/hurdlookup.c: Likewise.
70785         * hurd/intr-msg.c: Likewise.
70786         * iconv/gconv_open.c: Likewise.
70787         * libio/swprintf.c: Likewise.
70788         * locale/lc-ctype.c: Likewise.
70789         * locale/nl_langinfo.c: Likewise.
70790         * mach/Machrules: Likewise.
70791         * mach/Makefile: Likewise.
70792         * malloc/obstack.h: Likewise.
70793         * manual/Makefile: Likewise.
70794         * manual/tsort.awk: Likewise.
70795         * misc/bits/stab.def: Likewise.
70796         * nis/nis_print_group_entry.c: Likewise.
70797         * nis/nis_table.c: Likewise.
70798         * nis/nss_compat/compat-pwd.c: Likewise.
70799         * nis/nss_compat/compat-spwd.c: Likewise.
70800         * po/Makefile: Likewise.
70801         * posix/fnmatch.c: Likewise.
70802         * posix/regex.h: Likewise.
70803         * resolv/Makefile: Likewise.
70804         * resolv/nss_dns/dns-network.c: Likewise.
70805         * resolv/res_hconf.c: Likewise.
70806         * scripts/gen-sorted.awk: Likewise.
70807         * soft-fp/soft-fp.h: Likewise.
70808         * stdio-common/printf.h: Likewise.
70809         * stdlib/monetary.h: Likewise.
70810         * stdlib/random.c: Likewise.
70811         * stdlib/random_r.c: Likewise.
70812         * sysdeps/generic/Makefile: Likewise.
70813         * sysdeps/gnu/Makefile: Likewise.
70814         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
70815         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
70816         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
70817         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
70818         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
70819         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
70820         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
70821         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
70822         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
70823         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
70824         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
70825         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
70826         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
70827         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
70828         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
70829         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
70830         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
70831         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
70832         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
70833         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
70834         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
70835         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
70836         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
70837         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
70838         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
70839         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
70840         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
70841         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
70842         * sysdeps/mach/hurd/errnos.awk: Likewise.
70843         * sysdeps/mach/hurd/fork.c: Likewise.
70844         * sysdeps/mach/hurd/getcwd.c: Likewise.
70845         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
70846         * sysdeps/mach/hurd/mmap.c: Likewise.
70847         * sysdeps/mach/hurd/utimes.c: Likewise.
70848         * sysdeps/mach/hurd/xmknod.c: Likewise.
70849         * sysdeps/posix/profil.c: Likewise.
70850         * sysdeps/posix/readdir_r.c: Likewise.
70851         * sysdeps/powerpc/bits/mathdef.h: Likewise.
70852         * sysdeps/powerpc/bits/setjmp.h: Likewise.
70853         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
70854         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
70855         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
70856         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
70857         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
70858         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
70859         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
70860         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
70861         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
70862         * sysdeps/pthread/lio_listio.c: Likewise.
70863         * sysdeps/sparc/dl-procinfo.h: Likewise.
70864         * sysdeps/unix/i386/sysdep.S: Likewise.
70865         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
70866         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
70867         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
70868         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
70869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
70870         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
70871         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
70872         * sysdeps/unix/sysv/linux/speed.c: Likewise.
70873         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
70874         * sysdeps/wordsize-32/divdi3.c: Likewise.
70875         * time/sys/time.h: Likewise.
70876         * wcsmbs/Makefile: Likewise.
70878 2013-01-01  David S. Miller  <davem@davemloft.net>
70880         * po/fr.po: Update from translation team.
70882         * catgets/gencat.c: Update copyright year.
70883         * csu/version.c: Likewise.
70884         * debug/catchsegv.sh: Likewise.
70885         * debug/pcprofiledump.c: Likewise.
70886         * debug/xtrace.sh: Likewise.
70887         * elf/ldconfig.c: Likewise.
70888         * elf/ldd.bash.in: Likewise.
70889         * elf/pldd.c: Likewise.
70890         * elf/sotruss.ksh: Likewise.
70891         * elf/sprof.c: Likewise.
70892         * iconv/iconv_prog.c: Likewise.
70893         * iconv/iconvconfig.c: Likewise.
70894         * locale/programs/locale.c: Likewise.
70895         * locale/programs/localedef.c: Likewise.
70896         * login/programs/pt_chown.c: Likewise.
70897         * malloc/memusage.sh: Likewise.
70898         * malloc/memusagestat.c: Likewise.
70899         * malloc/mtrace.pl: Likewise.
70900         * nscd/nscd.c: Likewise.
70901         * nss/getent.c: Likewise.
70902         * nss/makedb.c: Likewise.
70903         * posix/getconf.c: Likewise.
70905 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
70907         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
70908         numbers.
70910 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
70912         * math/bits/mathcalls.h (modf): Use __nonnull.
70914 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
70916         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
70917         (split): Use macro CN instead of the bare value.
70918         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
70919         could be used.
70920         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
70921         instead of the bare value.
70922         (power1): Likewise.
70924 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
70926         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
70927         __ATAN_TWOM.
70928         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
70930         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
70931         their values.
70932         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
70933         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
70934         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
70935         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
70937 2012-12-28  Andreas Jaeger  <aj@suse.de>
70939         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
70940         values are from Linux 3.7.
70942         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
70943         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
70945 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
70947         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
70948         TRUE case.
70950         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
70951         (norm): Likewise.
70952         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
70953         variables with preprocessor constants.
70954         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
70955         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
70956         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
70958 2012-12-27  Bruno Haible  <bruno@clisp.org>
70960         [BZ #14317]
70961         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
70962         only if needed.
70964 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
70966         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
70967         and use variable directly.
70968         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
70970         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
70971         MPONE.
70972         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
70973         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
70974         variable MPONE.
70975         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
70976         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
70977         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
70978         include directive.  Remove local variable MPONE.
70979         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
70980         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
70981         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
70983 2012-12-25  David S. Miller  <davem@davemloft.net>
70985         * version.h (RELEASE): Set to "development".
70986         (VERSION): Set to "2.17.90".
70987         * NEWS: Add 2.18 section.
70989 2012-12-21  David S. Miller  <davem@davemloft.net>
70991         * po/hr.po: Update from translation team.
70993 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70995         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
70997 2012-12-19  Steve Ellcey  <sellcey@mips.com>
70999         * NEWS:  Mention new memcpy for MIPS.
71001 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
71003         * manual/contrib.texi (Contributors): Spelling correction.
71005 2012-12-15  David S. Miller  <davem@davemloft.net>
71007         * po/ru.po: Update from translation team.
71009 2012-12-13  David S. Miller  <davem@davemloft.net>
71011         * NEWS: Mention IFUNC testsuite enhancements.
71013         * po/pl.po: Update from translation team.
71014         * po/bg.po: Likewise.
71016         * manual/contrib.texi (Contributors): Update entries for Hongjiu
71017         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
71019 2012-12-11  David S. Miller  <davem@davemloft.net>
71021         * po/sv.po: Update from translation team.
71023         * po/vi.po: Update from translation team.
71025         * po/cs.po: Update from translation team.
71027         * po/de.po: Update from translation team.
71028         * po/eo.po: Likewise.
71029         * po/nl.po: Likewise.
71031 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
71033         [BZ #14246]
71034         * manual/argp.texi (Argp Helper Functions): Move node to follow
71035         Argp Parsing State.
71037         [BZ #14872]
71038         * manual/conf.texi (Limits on File System Capacity): Mention if
71039         terminating null is included in the max size.
71041 2012-12-10  Andreas Jaeger  <aj@suse.de>
71043         * po/cs.po: Update from translation team.
71045 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
71047         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
71048         void pointer and cast to uintptr_t.
71049         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
71050         path.
71051         * sysdeps/s390/s390-64/memcpy.S: Likewise.
71052         * sysdeps/s390/s390-64/memset.S: Likewise.
71054 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
71056         [BZ #14833]
71057         * menual/message.texi (Message Translation): Fix typos.
71058         (Helper programs for gettext): Likewise.
71060 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
71062         [BZ #14898]
71063         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
71064         Change to -1.
71066 2012-12-07  David S. Miller  <davem@davemloft.net>
71068         * po/libc.pot: Update.
71070 2012-12-07  Richard Henderson  <rth@redhat.com>
71072         [BZ #10114]
71073         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
71074         normal/normal case to before the switch.
71075         (_FP_DIV): Likewise.
71077 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
71078             Mike Frysinger  <vapier@gentoo.org>
71080         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
71081         check for __NR_fadvise64_64.
71083 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
71085         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
71086         0, not just to plain "0" as a statement.
71087         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
71088         with cw.
71090 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
71092         * NEWS: Use sourceware.org in Bugzilla URL.
71094 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
71096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
71097         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
71099         * stdio-common/tst-put-error.c (do_test): Add newline to the
71100         padded test to ensure flush.
71102 2012-12-05  Jeff Law  <law@redhat.com>
71104         * sunrpc/etc.rpc (fedfs_admin): Add entry.
71106 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
71108         * README: Don't refer to ports add-on as distributed separately.
71109         Mention AArch64 in list of systems supported in the ports add-on.
71111         * LICENSES: Add more non-FSF copyright and license notices.
71113         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
71114         ((unused)).
71116         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
71118         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
71119         10000 as width of padded output.
71121 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
71123         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
71125         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
71126         variable LX with __attribute__ ((unused)).
71127         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
71128         Likewise.
71129         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
71130         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
71131         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
71132         with __attribute__ ((unused)).
71134 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
71136         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
71138 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
71140         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
71141         (CFLAGS-nldbl-acos.c): New variable.
71142         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
71143         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
71144         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
71145         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
71146         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
71147         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
71148         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
71149         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
71150         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
71151         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
71152         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
71153         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
71154         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
71155         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
71156         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
71157         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
71158         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
71159         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
71160         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
71161         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
71162         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
71163         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
71164         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
71165         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
71166         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
71167         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
71168         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
71169         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
71170         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
71171         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
71172         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
71173         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
71174         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
71175         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
71176         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
71177         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
71178         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
71179         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
71180         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
71181         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
71182         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
71183         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
71184         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
71185         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
71186         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
71187         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
71188         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
71189         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
71190         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
71191         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
71192         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
71193         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
71194         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
71195         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
71196         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
71197         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
71198         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
71199         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
71200         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
71201         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
71202         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
71203         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
71204         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
71205         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
71206         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
71207         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
71208         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
71209         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
71210         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
71211         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
71212         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
71213         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
71214         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
71215         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
71216         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
71217         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
71218         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
71219         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
71220         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
71221         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
71222         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
71223         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
71224         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
71225         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
71226         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
71227         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
71228         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
71229         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
71230         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
71231         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
71232         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
71233         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
71234         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
71235         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
71236         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
71237         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
71238         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
71240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
71241         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
71243         [BZ #14914]
71244         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
71245         whole low double instead of just low 47 bits when splitting values
71246         into two parts.
71248 2012-12-03  Allan McRae  <allan@archlinux.org>
71250         * manual/stdio.texi (Predefined Printf Handlers): Remove
71251         @hsep and @vsep usage.
71253 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
71255         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
71256         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
71258 2012-12-03  Jeff Law  <law@redhat.com>
71260         * time/sys/time.h (settimeofday): Do not mark TV argument
71261         as __nonnull.
71263 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
71265         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
71266         when currently writing and seek to current position when not.
71267         * libio/Makefile (tests): Remove bug-fclose1.
71268         * libio/bug-fclose1.c: Delete.
71270 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
71272         * manual/arith.texi (feenableexcept): Fix typo.
71273         (fedisableexcept): Likewise.
71275 2012-11-30  Roland McGrath  <roland@hack.frob.com>
71277         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
71278         second, differently-typed declaration, rather than a cast.
71280 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
71282         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
71283         * include/rpc/svc.h: ... here.
71285 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
71287         [BZ #13013]
71288         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
71289         depending n and resplen2 to catch cases where answer
71290         equals answerp2.
71292 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
71294         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
71295         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
71297 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
71299         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
71301 2012-11-29  Roland McGrath  <roland@hack.frob.com>
71303         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
71305 2012-11-28  Jeff Law  <law@redhat.com>
71307         [BZ #13761]
71308         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
71309         dataset_temporary.  Track alloca usage into alloca_used.
71310         If dataset is large allocate and release it via malloc/free.
71312 2012-06-04  Florian Weimer  <fweimer@redhat.com>
71314         [BZ #14197]
71315         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
71317 2012-11-28  David S. Miller  <davem@davemloft.net>
71319         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71321 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
71323         [BZ #14803]
71324         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
71325         of pi/2 rounded to nearest to 64 bits.
71326         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
71327         nearest to 64 bits.
71328         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
71329         bits.
71331 2012-11-28  Jeff Law <law@redhat.com>
71332             Martin Osvald <mosvald@redhat.com>
71334         [BZ #14889]
71335         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
71336         * sunrpc/svc.c: Include time.h.
71337         (__svc_accept_failed): New function.
71338         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
71339         any reason other than EINTR, call __svc_accept_failed.
71340         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
71341         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
71343 2012-11-28  Andreas Schwab  <schwab@suse.de>
71345         * scripts/abilist.awk: Also handle indirect functions in .opd
71346         section.
71348 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
71350         [BZ #13881]
71351         * sysdeps/x86/fpu/powl_helper.c: New file.
71352         * sysdeps/x86/fpu/Makefile: Likewise.
71353         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
71354         (p3): New object.
71355         (__ieee754_powl): Use __powl_helper for finite arguments except
71356         integer exponents below 8.
71357         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
71358         (p3): New object.
71359         (__ieee754_powl): Use __powl_helper for finite arguments except
71360         integer exponents below 8.
71361         * math/libm-test.inc (pow_test): Add more tests and enable some
71362         previously disabled tests.
71363         * sysdeps/i386/fpu/libm-test-ulps: Update.
71364         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71366 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
71367             Carlos O'Donell  <carlos_odonell@mentor.com>
71369         * nss/makedb.c (is_prime): Assert that input is odd and greater
71370         than 4.  Note that fact in a comment too.
71371         (next_prime): Add 4 to input.
71373 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
71375         [BZ #11741]
71376         * libio/Makefile (tests): Add test case tst-fwrite-error.
71377         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
71378         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
71379         * libio/tst-fwrite-error.c: New test case.
71381 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
71383         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
71384         before casting to void *.
71385         * include/libc-internal.h (__pointer_type): New macro.
71386         (__integer_if_pointer_type_sub): Likewise.
71387         (__integer_if_pointer_type): Likewise.
71388         (cast_to_integer): Likewise.
71389         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
71390         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
71391         before casting to atomic64_t.
71392         (atomic_exchange_acq): Likewise.
71393         (__arch_exchange_and_add_body): Likewise.
71394         (__arch_add_body): Likewise.
71395         (atomic_add_negative): Likewise.
71396         (atomic_add_zero): Likewise.
71398 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
71400         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
71401         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
71402         (add_fdes): Likewise.
71403         (linear_search_fdes): Likewise.
71404         (binary_search_unencoded_fdes): Likewise.
71406 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
71408         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
71410 2012-11-24  Adam Conrad  <adconrad@0c3.net>
71412         * configure.in: Autodetect C++ header directories.
71413         * configure: Regenerated.
71415 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
71417         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
71419 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
71421         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71423 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
71425         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
71426         LDBL_MANT_DIG == 106]: Disable some tests.
71427         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
71428         Likewise.
71429         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
71430         Likewise.
71432         [BZ #14871]
71433         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
71434         input for small inputs.  Return +/- pi/2 for large inputs.
71435         * math/libm-test.inc (atan_test): Add more tests.
71437         * sysdeps/generic/unwind-dw2-fde-glibc.c
71438         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
71439         __attribute__ ((unused)).
71441         [BZ #14645]
71442         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
71443         x * y if x and y are nonzero and z is zero.
71445         [BZ #14811]
71446         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
71447         nonzero exponents with absolute value below 0x1p-117 to +/-
71448         0x1p-117.
71450         [BZ #14869]
71451         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
71452         up arguments below 2**-450, not just those below 2**-500.
71453         * math/libm-test.inc (hypot_test): Add another test.
71455         [BZ #14868]
71456         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
71457         Return a+b for ratio over 2**120, not 2**60.
71458         * math/libm-test.inc (hypot_test): Add another test.
71460         * math/libm-test.inc (clog_test): Use
71461         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
71462         (clog10_test): Likewise.
71464         [BZ #6778]
71465         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
71467 2012-11-22  Andreas Schwab  <schwab@suse.de>
71469         * sysdeps/i386/fpu/libm-test-ulps: Update.
71471 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
71473         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
71474         printf output with newline.
71476 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
71478         [BZ #14865]
71479         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
71480         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
71481         -z nodlopen, -z initfirst and -z execstack support.
71482         * configure: Regenerated.
71484         * elf/elf.h (DF_1_NODIRECT): New macro.
71485         (DF_1_IGNMULDEF): Likewise.
71486         (DF_1_NOKSYMS): Likewise.
71487         (DF_1_NOHDR): Likewise.
71488         (DF_1_EDITED): Likewise.
71489         (DF_1_NORELOC): Likewise.
71490         (DF_1_SYMINTPOSE): Likewise.
71491         (DF_1_GLOBAUDIT): Likewise.
71492         (DF_1_SINGLETON): Likewise.
71493         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
71494         DT_1_SUPPORTED_MASK bits.
71495         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
71497 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
71499         * sysdeps/unix/make-syscalls.sh: Document prefixes.
71501 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
71503         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
71504         macro.
71506         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
71507         (sendmmsg): Move declarations...
71508         * socket/sys/socket.h: ... here.
71509         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
71510         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
71511         include it from...
71512         * socket/recvmmsg.c: ... this new file.
71513         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
71514         (sendmmsg): Rename to __sendmmsg, create weak alias and make
71515         definition of __sendmmsg hidden.
71516         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
71517         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
71518         Move ENOSYS stub into and include it from...
71519         * socket/sendmmsg.c: ... this new file.
71520         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
71521         (sysdep_routines): Move recvmmsg and sendmmsg...
71522         * socket/Makefile (routines): ... here.
71523         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
71524         (GLIBC_PRIVATE): Add __sendmmsg.
71525         * include/sys/socket.h (__sendmmsg): Add declarations.
71526         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
71527         sendmmsg.
71529 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
71531         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
71532         variable I1 with __attribute__ ((unused)).
71533         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
71535 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
71537         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
71538         DUMMY variables with __attribute__ ((unused)).
71540         * bits/byteswap.h: Include <bits/types.h>.
71541         (__bswap_64): Use __uint64_t instead of unsigned long long int.
71543 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
71545         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
71546         string_t.  Do not manually set errno.
71547         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
71548         length with __strnlen.  Make sure to both set errno and return it on
71549         failure.
71551 2012-11-19  David S. Miller  <davem@davemloft.net>
71553         With help from Joseph Myers.
71554         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
71555         very large arguments properly.
71556         * math/libm-test.inc (atan_test): New tests.
71557         (atan2_test): New tests.
71558         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71559         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
71561 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
71563         [BZ #14856]
71564         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
71565         Define to 3.
71567         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
71568         [POSIX] (EADDRNOTAVAIL): Likewise.
71569         [POSIX] (EAFNOSUPPORT): Likewise.
71570         [POSIX] (EALREADY): Likewise.
71571         [POSIX] (ECONNABORTED): Likewise.
71572         [POSIX] (ECONNREFUSED): Likewise.
71573         [POSIX] (ECONNRESET): Likewise.
71574         [POSIX] (EDESTADDRREQ): Likewise.
71575         [POSIX] (EDQUOT): Likewise.
71576         [POSIX] (EHOSTUNREACH): Likewise.
71577         [POSIX] (EIDRM): Likewise.
71578         [POSIX] (EISCONN): Likewise.
71579         [POSIX] (ELOOP): Likewise.
71580         [POSIX] (EMULTIHOP): Likewise.
71581         [POSIX] (ENETDOWN): Likewise.
71582         [POSIX] (ENETUNREACH): Likewise.
71583         [POSIX] (ENOBUFS): Likewise.
71584         [POSIX] (ENODATA): Likewise.
71585         [POSIX] (ENOLINK): Likewise.
71586         [POSIX] (ENOMSG): Likewise.
71587         [POSIX] (ENOPROTOOPT): Likewise.
71588         [POSIX] (ENOSR): Likewise.
71589         [POSIX] (ENOSTR): Likewise.
71590         [POSIX] (ENOTCONN): Likewise.
71591         [POSIX] (ENOTSOCK): Likewise.
71592         [POSIX] (EOPNOTSUPP): Likewise.
71593         [POSIX] (EOVERFLOW): Likewise.
71594         [POSIX] (EPROTO): Likewise.
71595         [POSIX] (EPROTONOSUPPORT): Likewise.
71596         [POSIX] (EPROTOTYPE): Likewise.
71597         [POSIX] (ESTALE): Likewise.
71598         [POSIX] (ETIME): Likewise.
71599         [POSIX] (ETXTBSY): Likewise.
71600         [POSIX] (EWOULDBLOCK): Likewise.
71601         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
71602         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
71603         [POSIX] (SEEK_CUR): Likewise.
71604         [POSIX] (SEEK_END): Likewise.
71605         [POSIX || UNIX98] (mode_t): Do not require.
71606         [POSIX] (off_t): Likewise.
71607         [POSIX] (pid_t): Likewise.
71608         [POSIX] (sys/stat.h): Do not allow header.
71609         [POSIX] (unistd.h): Likewise.
71610         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
71611         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
71612         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
71613         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
71614         require.
71615         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
71616         sigevent): Specify elements.
71617         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
71618         entry.
71619         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
71620         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
71622         * conform/data/cpio.h-data [POSIX]: Disable whole file.
71623         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
71624         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
71625         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
71626         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
71627         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
71628         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
71629         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
71630         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
71631         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
71632         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
71633         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
71634         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
71635         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
71636         Likewise.
71637         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
71638         Likewise.
71639         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
71640         Likewise.
71641         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
71642         Likewise.
71643         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
71644         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
71645         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
71646         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
71647         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
71648         Specify lower bound on value.
71649         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
71650         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
71651         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
71652         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
71653         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
71654         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
71655         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
71656         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
71657         value.
71658         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
71659         as optional.
71660         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
71661         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
71662         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
71663         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
71664         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
71665         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
71666         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
71667         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
71668         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
71669         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
71670         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
71671         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
71672         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
71673         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
71674         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
71675         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
71676         entry.
71677         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
71678         optional.
71679         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
71680         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
71681         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
71682         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
71683         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
71684         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
71685         Likewise.
71686         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
71687         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
71688         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
71689         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
71690         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
71691         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
71692         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
71693         as optional.
71694         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
71695         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
71696         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
71697         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
71698         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
71699         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
71700         specify as optional.
71701         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
71702         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
71703         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
71704         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
71705         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
71706         [XPG3] (NL_LANGMAX): Likewise.
71707         [POSIX || XPG3] (NL_MSGMAX): Likewise.
71708         [POSIX || XPG3] (NL_NMAX): Likewise.
71709         [POSIX || XPG3] (NL_SETMAX): Likewise.
71710         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
71711         [XPG3] (NZERO): Likewise.
71712         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
71713         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
71714         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
71715         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
71716         (REG_ERANGE): Expect.
71717         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
71718         optional-constant.
71719         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
71720         Use (void) in prototype.
71721         [POSIX] (*_t): Allow.
71722         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
71723         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
71724         (WRDE_BADVAL): Expect.
71726         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
71727         expect.
71728         [XPG3 || XPG4] (O_RSYNC): Likewise.
71729         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
71730         Likewise.
71731         [XPG3 || XPG4] (pthread_sigmask): Likewise.
71732         [XPG3 || XPG4] (sigqueue): Likewise.
71733         [XPG3 || XPG4] (sigtimedwait): Likewise.
71734         [XPG3 || XPG4] (sigwaitinfo): Likewise.
71735         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
71736         [XPG3 || XPG4] (vsnprintf): Likewise.
71737         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
71738         Likewise.
71739         [XPG3 || XPG4] (blksize_t): Likewise.
71740         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
71741         Likewise.
71742         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
71743         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
71744         [XPG3 || XPG4] (struct itimerspec): Likewise.
71745         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
71746         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
71747         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
71748         [XPG3 || XPG4] (clockid_t): Likewise.
71749         [XPG3 || XPG4] (timer_t): Likewise.
71750         [XPG3 || XPG4] (clock_getres): Likewise.
71751         [XPG3 || XPG4] (clock_gettime): Likewise.
71752         [XPG3 || XPG4] (clock_settime): Likewise.
71753         [XPG3 || XPG4] (nanosleep): Likewise.
71754         [XPG3 || XPG4] (timer_create): Likewise.
71755         [XPG3 || XPG4] (timer_delete): Likewise.
71756         [XPG3 || XPG4] (timer_gettime): Likewise.
71757         [XPG3 || XPG4] (timer_getoverrun): Likewise.
71758         [XPG3 || XPG4] (timer_settime): Likewise.
71759         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
71760         [XPG3 || XPG4] (getlogin_r): Likewise.
71761         [XPG3 || XPG4] (pread): Likewise.
71762         [XPG3 || XPG4] (pthread_atfork): Likewise.
71763         [XPG3 || XPG4] (pwrite): Likewise.
71765         [BZ #14835]
71766         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
71767         <bits/siginfo.h>.
71769 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
71771         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
71772         finalizing MALLSTREAM.
71774         * sysdeps/mach/hurd/syncfs.c: New file.
71776 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
71778         [BZ #14719]
71779         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
71780         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
71781         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
71782         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
71783         (_nss_dns_gethostbyname4_r): Likewise.
71784         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
71785         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
71787 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
71789         [BZ #13763]
71790         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
71792 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
71794         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
71795         * elf/cache.c (print_entry): Print ",AArch64" for
71796         FLAG_AARCH64_LIB64
71798         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
71799         * elf/cache.c (print_entry): Print ",hard-float" for
71800         FLAG_ARM_LIBHF.
71802 2012-11-18  David S. Miller  <davem@davemloft.net>
71804         With help from Joseph Myers.
71805         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
71806         cutoff to 2**-13.
71807         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
71808         cutoff to 2**-25.
71809         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
71810         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
71811         small.
71812         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
71813         * math/libm-test.inc (y0_test): New tests.
71814         (y1_test): New tests.
71815         * sysdeps/i386/fpu/libm-test-ulps: Update.
71816         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
71817         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71819 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
71821         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
71822         64-bit targets.
71823         * configure: Regenerated.
71825 2012-11-17  David S. Miller  <davem@davemloft.net>
71827         [BZ #14811]
71828         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
71829         nonzero exponents with absolute value below 0x1p-128 to +/-
71830         0x1p-128.
71832 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
71834         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
71836         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
71838         * posix/getconf-speclist.c: New file.
71839         * posix/posix-envs.def: Likewise.
71840         * posix/confstr.c (START_ENV_GROUP): New macro.
71841         (END_ENV_GROUP): Likewise.
71842         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
71843         (KNOWN_PRESENT_ENV_STRING): Likewise.
71844         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
71845         (UNKNOWN_ENVIRONMENT): Likewise.
71846         (confstr): Include posix-envs.def instead of handling
71847         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
71848         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
71849         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
71850         (END_ENV_GROUP): Likewise.
71851         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
71852         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
71853         (UNKNOWN_ENVIRONMENT): Likewise.
71854         (__sysconf): Include posix-envs.def instead of handling associated
71855         cases directly here.
71856         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
71857         preprocessing getconf-speclist.c rather than running getconf or
71858         generating empty file.
71860 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
71862         * scripts/check-local-headers.sh: Ignore 'mach' headers.
71864 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
71866         [BZ #14672]
71867         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
71869 2012-11-16  David S. Miller  <davem@davemloft.net>
71871         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
71872         smaller than LDBL_EPSILON/2.0L, just return xm1.
71874 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
71876         * elf/tst-array1.c (init): Set constructor priority to 1000.
71877         (fini): Set destructor priority to 1000.
71878         * elf/tst-array2dep.c: Likewise.
71880 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
71882         [BZ #11741]
71883         * libio/fileops.c (_IO_new_file_write): Correctly return error.
71884         (_IO_new_file_xsputn): Also return EOF if none of the input
71885         data was written when overflow failed.
71886         * libio/iopadn.c (_IO_padn): Likewise.
71887         * libio/iowpadn.c (_IO_wpadn): Likewise.
71888         * stdio-common/tst-put-error.c: Add copyright notice.
71889         (do_test): Add case for printing padded string.
71890         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
71891         _IO_padn returned error.
71892         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
71893         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
71894         return EOF.
71896 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
71898         * libio/libioP.h: Add comment note that the references to C++
71899         bits are now obsolete.
71901 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
71903         * math/libm-test.inc (check_complex): Use asprintf.
71905 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
71907         * debug/pcprofiledump.c (print_version): Update copyright year.
71908         * malloc/memusagestat.c (print_version): Likewise.
71910 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
71912         [BZ #14831]
71913         * elf/Makefile (tests): Add tst-audit8.
71914         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
71915         ($(objpfx)tst-audit8.out): New target.
71916         (tst-audit8-ENV): New variable.
71917         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
71918         audit if l_reloc_result is NULL.
71919         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
71920         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
71921         * elf/tst-audit8.c: New file.
71923 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
71925         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
71926         * misc/Makefile (CFLAGS-select.c): Define.
71927         * posix/Makefile (CFLAGS-pause.c): Define.
71929 2012-11-13  David S. Miller  <davem@davemloft.net>
71931         * crypt/Makefile: Move test targets after toplevel Rules
71932         inclusion.  Grab any necessary sysdep routines when linking.
71933         * crypt/md5.c (md5_process_block): Remove define, we will always
71934         name it __md5_process_block.
71935         (md5_finish_ctx): Update md5_process_block call.
71936         (md5_stream): Likewise.
71937         (md5_process_bytes): Likewise.
71938         (md5_process_block): Rename to __md5_process_block and move to ...
71939         * crypt/md5-block.c: ... here.
71940         * crypt/sha256.c (sha256_process_block): Move to ...
71941         * crypt/sha256-block.c: ... here.
71942         * crypt/sha512.c (sha512_process_block): Move to ...
71943         * crypt/sha512-block.c: ... here.
71944         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
71945         path.
71946         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
71947         * sysdeps/sparc/sparc64/multiarch/Makefile
71948         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
71949         crypt subdir.
71950         (localedef-aux): Add md5 crypto assembler when in locale subdir.
71951         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
71952         multiarch changes.
71953         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
71954         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
71955         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
71956         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
71957         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
71958         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
71959         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
71960         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
71961         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
71962         file.
71963         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
71964         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
71965         file.
71966         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
71968 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
71970         * timezone/tzselect.ksh: Update from tzcode git revision
71971         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
71972         * timezone/zdump.c: Likewise.
71973         * timezone/zic.c: Likewise.
71974         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
71975         in TZVERSION setting, not $(PKGVERSION).
71976         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
71977         REPORT_BUGS_TO settings.
71979         [BZ #14838]
71980         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
71981         macro.
71983 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
71985         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
71986         detection to immediately after _FP_ROUND().
71987         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
71988         bits are 0.
71990 2012-11-11  David S. Miller  <davem@davemloft.net>
71992         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
71993         inttypes.h
71994         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
71995         __close rather than their public counterparts.
71997 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
71999         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
72000         file.
72001         [UNIX98] (sem_timedwait): Do not expect.
72002         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
72003         [XPG4 || UNIX98] (sockatmark): Do not expect.
72004         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
72005         (clock_getcpuclockid): Do not expect.
72006         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
72007         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
72008         Do not expect.
72009         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
72010         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
72011         [UNIX98] (vwscanf): Likewise.
72012         [UNIX98] (vswscanf): Likewise.
72014 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
72016         * timezone/version.h: Remove file.
72017         * timezone/README: Do not refer to version.h.
72018         * timezone/Makefile ($(objpfx)zic.o): New dependency on
72019         $(objpfx)version.h.
72020         ($(objpfx)zdump.o): Likewise.
72021         ($(objpfx)version.h): New target.
72023         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
72024         2012i.
72025         * timezone/README: Don't mention modification to tzselect.ksh.
72026         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
72027         work on unmodified tzselect.ksh.  Substitute version numbers in
72028         tzselect.ksh.
72030         * Makefile (format-me): Remove.
72031         (INSTALL): Adjust indentation.  Use commands directly instead of
72032         using $(format-me).
72034         * aclocal.m4 (ACX_PKGVERSION): New macro.
72035         (ACX_BUGURL): Likewise.
72036         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
72037         (PKGVERSION): New AC_DEFINE_UNQUOTED.
72038         (REPORT_BUGS_TO): Likewise.
72039         * configure: Regenerated.
72040         * config.h.in (PKGVERSION): New macro.
72041         (REPORT_BUGS_TO): Likewise.
72042         * config.make.in (PKGVERSION): New variable.
72043         (PKGVERSION_TEXI): Likewise.
72044         (REPORT_BUGS_TO): Likewise.
72045         (REPORT_BUGS_TEXI): Likewise.
72046         * Makefile (format-me): Use -I$(common-objpfx)manual.
72047         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
72048         ($(common-objpfx)manual/%): New target.
72049         (manual/%): Remove target.
72050         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
72051         (print_version): Use PKGVERSION.
72052         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
72053         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
72054         and REPORT_BUGS_TO.
72055         ($(objpfx)xtrace): Likewise.
72056         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
72057         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
72058         (print_version): Use PKGVERSION.
72059         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
72060         (do_version): Use PKGVERSION.
72061         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
72062         REPORT_BUGS_TO.
72063         (common-ldd-rewrite): Likewise.
72064         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
72065         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
72066         (print_version): Use PKGVERSION.
72067         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
72068         * elf/pldd.c (argp_program_bug_address): Remove variable.
72069         (more_help): New function.
72070         (argp): Use more_help.
72071         (print_version): Use PKGVERSION.
72072         * elf/sln.c (main): Use PKGVERSION.
72073         (usage): Use REPORT_BUGS_TO.
72074         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
72075         (top level): Use PKGVERSION.
72076         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
72077         (print_version): Use PKGVERSION.
72078         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
72079         (print_version): Use PKGVERSION.
72080         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
72081         (print_version): Use PKGVERSION.
72082         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
72083         (print_version): Use PKGVERSION.
72084         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
72085         (print_version): Use PKGVERSION.
72086         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
72087         (print_version): Use PKGVERSION.
72088         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
72089         and BUGURL.
72090         ($(objpfx)memusage): Likewise.
72091         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
72092         (do_version): Use PKGVERSION.
72093         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
72094         (print_version): Use PKGVERSION.
72095         * malloc/mtrace.pl ($PACKAGE): Remove variable.
72096         ($PKGVERSION): New variable.
72097         ($REPORT_BUGS_TO): Likewise.
72098         (usage): Use $REPORT_BUGS_TO.
72099         (top level): Use $PKGVERSION.
72100         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
72101         ($(objpfx)pkgvers.texi): New rule.
72102         ($(objpfx)stamp-pkgvers): Likewise.
72103         * manual/install.texi: Include pkgvers.texi.
72104         (--with-pkgversion): Document new configure option.
72105         (--with-bugurl): Likewise.
72106         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
72107         than necessarily for this particular distribution.  Use
72108         REPORT_BUGS_TO for where to report bugs.
72109         * INSTALL: Regenerated.
72110         * manual/libc.texinfo: Include pkgvers.texi.
72111         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
72112         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
72113         (print_version): Use PKGVERSION.
72114         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
72115         (print_version): Use PKGVERSION.
72116         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
72117         (print_version): Use PKGVERSION.
72118         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
72119         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
72120         macro.
72121         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
72122         (print_version): Use PKGVERSION.
72123         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
72124         (print_version): Use PKGVERSION.
72125         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
72126         and PKGVERSION.
72128         * timezone/checktab.awk: Update from tzcode 2012i.
72129         * timezone/ialloc.c: Likewise.
72130         * timezone/private.h: Likewise.
72131         * timezone/scheck.c: Likewise.
72132         * timezone/tzfile.h: Likewise.
72133         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
72134         (TZVERSION): Hardcode tzcode version number.
72135         * timezone/zdump.c: Update from tzcode 2012i.
72136         * timezone/zic.c: Likewise.
72137         * timezone/version.h: New file.
72138         * timezone/README: Describe version.h.  Update upstream location.
72140         [BZ #14824]
72141         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
72142         (mktemp): Enable declaration.
72143         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
72144         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
72145         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
72146         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
72147         Likewise.
72148         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
72149         Likewise.
72150         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
72151         Likewise.
72152         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
72153         Likewise.
72154         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
72155         Likewise.
72156         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
72157         Likewise.
72159         [BZ #14821]
72160         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
72161         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
72162         for copies of such integer values.
72163         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
72164         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
72166 2012-11-09  Andreas Jaeger  <aj@suse.de>
72168         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
72169         definitions and declarations that are provided by
72170         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
72172 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72174         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
72175         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
72176         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
72177         definition.
72179 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
72181         * elf/elf.h: Update comment before AArch64 relocations.
72183 2012-11-07  David S. Miller  <davem@davemloft.net>
72185         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
72186         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
72187         (__start_context): Declare.
72188         (__makecontext_ret): Delete.
72189         (__makecontext): Hook up __start_context instead of
72190         __makecontext_ret.
72191         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
72192         (sysdep_routines): Add __start_context when in stdlib.
72194 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
72196         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
72197         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
72198         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
72199         hardcoded "nm".
72200         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
72201         (READELF): New variable.  Use it instead of hardcoded "readelf".
72203 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
72205         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
72206         * sysdeps/x86/Makefile: Here.
72207         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
72208         * sysdeps/x86/tst-xmmymm.sh: This.
72210 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
72212         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
72213         expectations.
72214         [UNIX98] (pthread_barrier_t): Do not expect.
72215         [UNIX98] (pthread_barrierattr_t): Likewise.
72216         [UNIX98] (pthread_spinlock_t): Likewise.
72217         [UNIX98] (pthread_barrier_destroy): Likewise.
72218         [UNIX98] (pthread_barrier_init): Likewise.
72219         [UNIX98] (pthread_barrier_wait): Likewise.
72220         [UNIX98] (pthread_barrierattr_destroy): Likewise.
72221         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
72222         [UNIX98] (pthread_barrierattr_init): Likewise.
72223         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
72224         [UNIX98] (pthread_getcpuclockid): Likewise.
72225         [UNIX98] (pthread_mutex_timedlock): Likewise.
72226         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
72227         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
72228         [UNIX98] (pthread_sigmask): Likewise.
72229         [UNIX98] (pthread_spin_destroy): Likewise.
72230         [UNIX98] (pthread_spin_init): Likewise.
72231         [UNIX98] (pthread_spin_lock): Likewise.
72232         [UNIX98] (pthread_spin_trylock): Likewise.
72233         [UNIX98] (pthread_spin_unlock): Likewise.
72234         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
72235         Do not expect.
72236         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
72237         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
72238         [XPG3 || XPG4] (pthread_cond_t): Likewise.
72239         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
72240         [XPG3 || XPG4] (pthread_key_t): Likewise.
72241         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
72242         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
72243         [XPG3 || XPG4] (pthread_once_t): Likewise.
72244         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
72245         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
72246         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
72247         [XPG3 || XPG4] (pthread_t): Likewise.
72249         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
72250         not expect.
72251         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
72253         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
72254         Change function return type to int.
72256         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
72257         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
72258         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
72259         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
72260         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
72261         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
72262         [!POSIX] (posix_madvise): Likewise.
72263         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
72264         && !UNIX98].
72265         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
72266         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
72267         (mode_t): Likewise.
72268         (posix_mem_offset): Likewise.
72269         (posix_typed_mem_get_info): Likewise.
72270         (posix_typed_mem_open): Likewise.
72272         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
72273         Change condition to [XOPEN2K8].
72275         * conform/conformtest.pl: Preprocess allow-header data with -x c
72276         instead of from stdin.
72277         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
72278         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
72279         [C99-based standards] (cerfc): Likewise.
72280         [C99-based standards] (cexp2): Likewise.
72281         [C99-based standards] (cexpm1): Likewise.
72282         [C99-based standards] (clog10): Likewise.
72283         [C99-based standards] (clog1p): Likewise.
72284         [C99-based standards] (clog2): Likewise.
72285         [C99-based standards] (clgamma): Likewise.
72286         [C99-based standards] (ctgamma): Likewise.
72287         [C99-based standards] (cerff): Likewise.
72288         [C99-based standards] (cerfcf): Likewise.
72289         [C99-based standards] (cexp2f): Likewise.
72290         [C99-based standards] (cexpm1f): Likewise.
72291         [C99-based standards] (clog10f): Likewise.
72292         [C99-based standards] (clog1pf): Likewise.
72293         [C99-based standards] (clog2f): Likewise.
72294         [C99-based standards] (clgammaf): Likewise.
72295         [C99-based standards] (ctgammaf): Likewise.
72296         [C99-based standards] (cerfl): Likewise.
72297         [C99-based standards] (cerfcl): Likewise.
72298         [C99-based standards] (cexp2l): Likewise.
72299         [C99-based standards] (cexpm1l): Likewise.
72300         [C99-based standards] (clog10l): Likewise.
72301         [C99-based standards] (clog1pl): Likewise.
72302         [C99-based standards] (clog2l): Likewise.
72303         [C99-based standards] (clgammal): Likewise.
72304         [C99-based standards] (ctgammal): Likewise.
72305         * conform/data/inttypes.h-data [C99-based standards]: Include
72306         stdint.h-data.  Remove all expectations for stdint.h contents.
72307         [C99-based standards] (PRI*): Do not allow.
72308         [C99-based standards] (SCN*): Likewise.
72309         [C99-based standards] (*_t): Likewise.
72310         [C99-based-standards] (PRId8): Expect macro.
72311         [C99-based-standards] (PRIi8): Likewise.
72312         [C99-based-standards] (PRIo8): Likewise.
72313         [C99-based-standards] (PRIu8): Likewise.
72314         [C99-based-standards] (PRIx8): Likewise.
72315         [C99-based-standards] (PRIX8): Likewise.
72316         [C99-based-standards] (SCNd8): Likewise.
72317         [C99-based-standards] (SCNi8): Likewise.
72318         [C99-based-standards] (SCNo8): Likewise.
72319         [C99-based-standards] (SCNu8): Likewise.
72320         [C99-based-standards] (SCNx8): Likewise.
72321         [C99-based-standards] (PRIdLEAST8): Likewise.
72322         [C99-based-standards] (PRIiLEAST8): Likewise.
72323         [C99-based-standards] (PRIoLEAST8): Likewise.
72324         [C99-based-standards] (PRIuLEAST8): Likewise.
72325         [C99-based-standards] (PRIxLEAST8): Likewise.
72326         [C99-based-standards] (PRIXLEAST8): Likewise.
72327         [C99-based-standards] (SCNdLEAST8): Likewise.
72328         [C99-based-standards] (SCNiLEAST8): Likewise.
72329         [C99-based-standards] (SCNoLEAST8): Likewise.
72330         [C99-based-standards] (SCNuLEAST8): Likewise.
72331         [C99-based-standards] (SCNxLEAST8): Likewise.
72332         [C99-based-standards] (PRIdFAST8): Likewise.
72333         [C99-based-standards] (PRIiFAST8): Likewise.
72334         [C99-based-standards] (PRIoFAST8): Likewise.
72335         [C99-based-standards] (PRIuFAST8): Likewise.
72336         [C99-based-standards] (PRIxFAST8): Likewise.
72337         [C99-based-standards] (PRIXFAST8): Likewise.
72338         [C99-based-standards] (SCNdFAST8): Likewise.
72339         [C99-based-standards] (SCNiFAST8): Likewise.
72340         [C99-based-standards] (SCNoFAST8): Likewise.
72341         [C99-based-standards] (SCNuFAST8): Likewise.
72342         [C99-based-standards] (SCNxFAST8): Likewise.
72343         [C99-based-standards] (PRId16): Likewise.
72344         [C99-based-standards] (PRIi16): Likewise.
72345         [C99-based-standards] (PRIo16): Likewise.
72346         [C99-based-standards] (PRIu16): Likewise.
72347         [C99-based-standards] (PRIx16): Likewise.
72348         [C99-based-standards] (PRIX16): Likewise.
72349         [C99-based-standards] (SCNd16): Likewise.
72350         [C99-based-standards] (SCNi16): Likewise.
72351         [C99-based-standards] (SCNo16): Likewise.
72352         [C99-based-standards] (SCNu16): Likewise.
72353         [C99-based-standards] (SCNx16): Likewise.
72354         [C99-based-standards] (PRIdLEAST16): Likewise.
72355         [C99-based-standards] (PRIiLEAST16): Likewise.
72356         [C99-based-standards] (PRIoLEAST16): Likewise.
72357         [C99-based-standards] (PRIuLEAST16): Likewise.
72358         [C99-based-standards] (PRIxLEAST16): Likewise.
72359         [C99-based-standards] (PRIXLEAST16): Likewise.
72360         [C99-based-standards] (SCNdLEAST16): Likewise.
72361         [C99-based-standards] (SCNiLEAST16): Likewise.
72362         [C99-based-standards] (SCNoLEAST16): Likewise.
72363         [C99-based-standards] (SCNuLEAST16): Likewise.
72364         [C99-based-standards] (SCNxLEAST16): Likewise.
72365         [C99-based-standards] (PRIdFAST16): Likewise.
72366         [C99-based-standards] (PRIiFAST16): Likewise.
72367         [C99-based-standards] (PRIoFAST16): Likewise.
72368         [C99-based-standards] (PRIuFAST16): Likewise.
72369         [C99-based-standards] (PRIxFAST16): Likewise.
72370         [C99-based-standards] (PRIXFAST16): Likewise.
72371         [C99-based-standards] (SCNdFAST16): Likewise.
72372         [C99-based-standards] (SCNiFAST16): Likewise.
72373         [C99-based-standards] (SCNoFAST16): Likewise.
72374         [C99-based-standards] (SCNuFAST16): Likewise.
72375         [C99-based-standards] (SCNxFAST16): Likewise.
72376         [C99-based-standards] (PRId32): Likewise.
72377         [C99-based-standards] (PRIi32): Likewise.
72378         [C99-based-standards] (PRIo32): Likewise.
72379         [C99-based-standards] (PRIu32): Likewise.
72380         [C99-based-standards] (PRIx32): Likewise.
72381         [C99-based-standards] (PRIX32): Likewise.
72382         [C99-based-standards] (SCNd32): Likewise.
72383         [C99-based-standards] (SCNi32): Likewise.
72384         [C99-based-standards] (SCNo32): Likewise.
72385         [C99-based-standards] (SCNu32): Likewise.
72386         [C99-based-standards] (SCNx32): Likewise.
72387         [C99-based-standards] (PRIdLEAST32): Likewise.
72388         [C99-based-standards] (PRIiLEAST32): Likewise.
72389         [C99-based-standards] (PRIoLEAST32): Likewise.
72390         [C99-based-standards] (PRIuLEAST32): Likewise.
72391         [C99-based-standards] (PRIxLEAST32): Likewise.
72392         [C99-based-standards] (PRIXLEAST32): Likewise.
72393         [C99-based-standards] (SCNdLEAST32): Likewise.
72394         [C99-based-standards] (SCNiLEAST32): Likewise.
72395         [C99-based-standards] (SCNoLEAST32): Likewise.
72396         [C99-based-standards] (SCNuLEAST32): Likewise.
72397         [C99-based-standards] (SCNxLEAST32): Likewise.
72398         [C99-based-standards] (PRIdFAST32): Likewise.
72399         [C99-based-standards] (PRIiFAST32): Likewise.
72400         [C99-based-standards] (PRIoFAST32): Likewise.
72401         [C99-based-standards] (PRIuFAST32): Likewise.
72402         [C99-based-standards] (PRIxFAST32): Likewise.
72403         [C99-based-standards] (PRIXFAST32): Likewise.
72404         [C99-based-standards] (SCNdFAST32): Likewise.
72405         [C99-based-standards] (SCNiFAST32): Likewise.
72406         [C99-based-standards] (SCNoFAST32): Likewise.
72407         [C99-based-standards] (SCNuFAST32): Likewise.
72408         [C99-based-standards] (SCNxFAST32): Likewise.
72409         [C99-based-standards] (PRId64): Likewise.
72410         [C99-based-standards] (PRIi64): Likewise.
72411         [C99-based-standards] (PRIo64): Likewise.
72412         [C99-based-standards] (PRIu64): Likewise.
72413         [C99-based-standards] (PRIx64): Likewise.
72414         [C99-based-standards] (PRIX64): Likewise.
72415         [C99-based-standards] (SCNd64): Likewise.
72416         [C99-based-standards] (SCNi64): Likewise.
72417         [C99-based-standards] (SCNo64): Likewise.
72418         [C99-based-standards] (SCNu64): Likewise.
72419         [C99-based-standards] (SCNx64): Likewise.
72420         [C99-based-standards] (PRIdLEAST64): Likewise.
72421         [C99-based-standards] (PRIiLEAST64): Likewise.
72422         [C99-based-standards] (PRIoLEAST64): Likewise.
72423         [C99-based-standards] (PRIuLEAST64): Likewise.
72424         [C99-based-standards] (PRIxLEAST64): Likewise.
72425         [C99-based-standards] (PRIXLEAST64): Likewise.
72426         [C99-based-standards] (SCNdLEAST64): Likewise.
72427         [C99-based-standards] (SCNiLEAST64): Likewise.
72428         [C99-based-standards] (SCNoLEAST64): Likewise.
72429         [C99-based-standards] (SCNuLEAST64): Likewise.
72430         [C99-based-standards] (SCNxLEAST64): Likewise.
72431         [C99-based-standards] (PRIdFAST64): Likewise.
72432         [C99-based-standards] (PRIiFAST64): Likewise.
72433         [C99-based-standards] (PRIoFAST64): Likewise.
72434         [C99-based-standards] (PRIuFAST64): Likewise.
72435         [C99-based-standards] (PRIxFAST64): Likewise.
72436         [C99-based-standards] (PRIXFAST64): Likewise.
72437         [C99-based-standards] (SCNdFAST64): Likewise.
72438         [C99-based-standards] (SCNiFAST64): Likewise.
72439         [C99-based-standards] (SCNoFAST64): Likewise.
72440         [C99-based-standards] (SCNuFAST64): Likewise.
72441         [C99-based-standards] (SCNxFAST64): Likewise.
72442         [C99-based-standards] (PRIdMAX): Likewise.
72443         [C99-based-standards] (PRIiMAX): Likewise.
72444         [C99-based-standards] (PRIoMAX): Likewise.
72445         [C99-based-standards] (PRIuMAX): Likewise.
72446         [C99-based-standards] (PRIxMAX): Likewise.
72447         [C99-based-standards] (PRIXMAX): Likewise.
72448         [C99-based-standards] (SCNdMAX): Likewise.
72449         [C99-based-standards] (SCNiMAX): Likewise.
72450         [C99-based-standards] (SCNoMAX): Likewise.
72451         [C99-based-standards] (SCNuMAX): Likewise.
72452         [C99-based-standards] (SCNxMAX): Likewise.
72453         [C99-based-standards] (PRIdPTR): Likewise.
72454         [C99-based-standards] (PRIiPTR): Likewise.
72455         [C99-based-standards] (PRIoPTR): Likewise.
72456         [C99-based-standards] (PRIuPTR): Likewise.
72457         [C99-based-standards] (PRIxPTR): Likewise.
72458         [C99-based-standards] (PRIXPTR): Likewise.
72459         [C99-based-standards] (SCNdPTR): Likewise.
72460         [C99-based-standards] (SCNiPTR): Likewise.
72461         [C99-based-standards] (SCNoPTR): Likewise.
72462         [C99-based-standards] (SCNuPTR): Likewise.
72463         [C99-based-standards] (SCNxPTR): Likewise.
72464         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
72465         allow.
72466         * conform/data/stdint.h-data: Update comments to clarify
72467         requirements.
72468         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
72469         type.
72470         [C99-based standards] (INT8_MAX): Likewise.
72471         [C99-based standards] (INT16_MIN): Likewise.
72472         [C99-based standards] (INT16_MAX): Likewise.
72473         [C99-based standards] (INT32_MIN): Likewise.
72474         [C99-based standards] (INT32_MAX): Likewise.
72475         [C99-based standards] (INT64_MIN): Likewise.
72476         [C99-based standards] (INT64_MAX): Likewise.
72477         [C99-based standards] (UINT8_MAX): Likewise.
72478         [C99-based standards] (UINT16_MAX): Likewise.
72479         [C99-based standards] (UINT32_MAX): Likewise.
72480         [C99-based standards] (UINT64_MAX): Likewise.
72481         [C99-based standards] (INT_LEAST8_MIN): Likewise.
72482         [C99-based standards] (INT_LEAST8_MAX): Likewise.
72483         [C99-based standards] (INT_LEAST16_MIN): Likewise.
72484         [C99-based standards] (INT_LEAST16_MAX): Likewise.
72485         [C99-based standards] (INT_LEAST32_MIN): Likewise.
72486         [C99-based standards] (INT_LEAST32_MAX): Likewise.
72487         [C99-based standards] (INT_LEAST64_MIN): Likewise.
72488         [C99-based standards] (INT_LEAST64_MAX): Likewise.
72489         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
72490         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
72491         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
72492         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
72493         [C99-based standards] (INT_FAST8_MIN): Likewise.
72494         [C99-based standards] (INT_FAST8_MAX): Likewise.
72495         [C99-based standards] (INT_FAST16_MIN): Likewise.
72496         [C99-based standards] (INT_FAST16_MAX): Likewise.
72497         [C99-based standards] (INT_FAST32_MIN): Likewise.
72498         [C99-based standards] (INT_FAST32_MAX): Likewise.
72499         [C99-based standards] (INT_FAST64_MIN): Likewise.
72500         [C99-based standards] (INT_FAST64_MAX): Likewise.
72501         [C99-based standards] (UINT_FAST8_MAX): Likewise.
72502         [C99-based standards] (UINT_FAST16_MAX): Likewise.
72503         [C99-based standards] (UINT_FAST32_MAX): Likewise.
72504         [C99-based standards] (UINT_FAST64_MAX): Likewise.
72505         [C99-based standards] (INTPTR_MIN): Likewise.
72506         [C99-based standards] (INTPTR_MAX): Likewise.
72507         [C99-based standards] (UINTPTR_MAX): Likewise.
72508         [C99-based standards] (INTMAX_MIN): Likewise.
72509         [C99-based standards] (INTMAX_MAX): Likewise.
72510         [C99-based standards] (UINTMAX_MAX): Likewise.
72511         [C99-based standards] (PTRDIFF_MIN): Likewise.
72512         [C99-based standards] (PTRDIFF_MAX): Likewise.
72513         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
72514         [C99-based standards] (SIZE_MAX): Likewise.
72515         [C99-based standards] (WCHAR_MAX): Likewise.
72516         [C99-based standards] (WINT_MAX): Likewise.
72517         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
72518         constraint on value.
72519         [C99-based standards] (WCHAR_MIN): Likewise.
72520         [C99-based standards] (WINT_MIN): Likewise.
72521         [C99-based standards] (*_t): Allow.
72522         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
72523         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
72524         Include math.h-data and complex.h-data.  Remove all expectations
72525         of math.h and complex.h contents.
72526         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
72527         at end of line.
72528         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
72529         (struct tm): Expect tag.
72530         [C99-based-standards] (wcstof): Expect function.
72531         [C99-based-standards] (wcstold): Likewise.
72532         [C99-based-standards] (wcstoll): Likewise.
72533         [C99-based-standards] (wcstoull): Likewise.
72534         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
72535         macro-int-constant.  Specify type.
72536         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
72537         constraint on value.
72538         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
72539         Specify type.
72540         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
72541         Specify value.
72542         [ISO C standards]: Do not allow headers.
72543         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
72544         wcs[abcdefghijklmnopqrstuvwxyz]*.
72545         [ISO C standards] (*_t): Do not allow.
72546         * conform/data/wctype.h-data [C99-based standards] (iswblank):
72547         Expect function.
72548         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
72549         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
72550         Specify type.
72551         [ISO C standards]: Do not allow headers.
72552         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
72553         is[abcdefghijklmnopqrstuvwxyz]*.
72554         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
72555         to[abcdefghijklmnopqrstuvwxyz]*.
72556         [ISO C standards] (*_t): Do not allow.
72557         * conform/data/stdalign.h-data: New file.
72558         * conform/data/stdbool.h-data: Likewise.
72559         * conform/data/stdnoreturn.h-data: Likewise.
72561 2012-11-07  Roland McGrath  <roland@hack.frob.com>
72563         [BZ #14815]
72564         * manual/filesys.texi (Directory Entries): Typo fix.
72565         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
72567 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
72569         * elf/elf.h (EM_AARCH64): New macro.
72570         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
72571         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
72572         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
72573         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
72574         (R_AARCH64_TLSDESC): Likewise.
72575         (NT_ARM_TLS): Likewise.
72576         (NT_ARM_HW_BREAK): Likewise.
72577         (NT_ARM_HW_WATCH): Likewise.
72579 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
72581         [BZ #14811]
72582         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
72583         (__ieee754_powl): Saturate nonzero exponents with absolute value
72584         below 0x1p-79 to +/- 0x1p-79.
72585         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
72586         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
72587         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
72588         nonzero exponents with absolute value below 0x1p-32 to +/-
72589         0x1p-32.
72590         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
72591         (__ieee754_powl): Saturate nonzero exponents with absolute value
72592         below 0x1p-79 to +/- 0x1p-79.
72593         * math/libm-test.inc (pow_test): Add more tests.
72595 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72597         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
72598         _dl_s390_cap_flags with kernel. Increase string length.
72599         (_dl_s390_platforms): Add z196 and zEC12.
72601 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
72603         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
72604         Change XOPEN21K to XOPEN2K.
72606 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
72608         * string/memmove.c: Use memcpy when possible.
72610 2012-11-06  Andreas Jaeger  <aj@suse.de>
72612         * po/eo.po: Update from translation team.
72614 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
72616         [BZ #14793]
72617         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
72618         exponent and small x and y exponents, scale x or y up.  Increase
72619         by 2 the exponent used in scaling up.
72620         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
72621         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
72622         * math/libm-test.inc (fma_test): Add more tests.
72623         (fma_test_towardzero): Likewise.
72624         (fma_test_downward): Likewise.
72625         (fma_test_upward): Likewise.
72627 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
72629         [BZ #14805]
72630         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
72631         fenv_t *.
72633         [BZ #14801]
72634         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
72635         namespace for names of struct fields.
72636         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
72637         fenv_t fields.
72638         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
72639         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
72641 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72643         [BZ #3665]
72644         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
72646 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
72648         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
72649         PTR_DEMANGLE.
72651         [BZ #5246]
72652         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
72653         PTR_DEMANGLE.
72655 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
72657         [BZ #14797]
72658         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
72659         definitely overflow as x * y not x * y + z.
72660         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
72661         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
72662         * math/libm-test.inc (fma_test): Add more tests.
72663         (fma_test_towardzero): Likewise.
72664         (fma_test_downward): Likewise.
72665         (fma_test_upward): Likewise.
72667 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
72669         [BZ #157]
72671         * include/stub-tag.h: Remove file.
72672         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
72673         '#include' of it.
72674         * manual/maint.texi (Porting): Don't reference it.
72675         * Makerules ($(objpfx)stubs): Likewise.
72676         * dirent/closedir.c: Don't include <stub-tag.h>.
72677         * dirent/dirfd.c: Likewise.
72678         * dirent/fdopendir.c: Likewise.
72679         * dirent/getdents.c: Likewise.
72680         * dirent/getdents64.c: Likewise.
72681         * dirent/opendir.c: Likewise.
72682         * dirent/readdir.c: Likewise.
72683         * dirent/readdir64.c: Likewise.
72684         * dirent/readdir64_r.c: Likewise.
72685         * dirent/readdir_r.c: Likewise.
72686         * dirent/rewinddir.c: Likewise.
72687         * dirent/seekdir.c: Likewise.
72688         * dirent/telldir.c: Likewise.
72689         * gmon/profil.c: Likewise.
72690         * grp/setgroups.c: Likewise.
72691         * inet/if_index.c: Likewise.
72692         * io/access.c: Likewise.
72693         * io/chdir.c: Likewise.
72694         * io/chmod.c: Likewise.
72695         * io/chown.c: Likewise.
72696         * io/close.c: Likewise.
72697         * io/dup.c: Likewise.
72698         * io/dup2.c: Likewise.
72699         * io/dup3.c: Likewise.
72700         * io/euidaccess.c: Likewise.
72701         * io/faccessat.c: Likewise.
72702         * io/fchdir.c: Likewise.
72703         * io/fchmod.c: Likewise.
72704         * io/fchmodat.c: Likewise.
72705         * io/fchown.c: Likewise.
72706         * io/fchownat.c: Likewise.
72707         * io/fcntl.c: Likewise.
72708         * io/flock.c: Likewise.
72709         * io/fstatfs.c: Likewise.
72710         * io/fstatfs64.c: Likewise.
72711         * io/fstatvfs.c: Likewise.
72712         * io/fstatvfs64.c: Likewise.
72713         * io/futimens.c: Likewise.
72714         * io/fxstat.c: Likewise.
72715         * io/fxstat64.c: Likewise.
72716         * io/fxstatat.c: Likewise.
72717         * io/fxstatat64.c: Likewise.
72718         * io/getcwd.c: Likewise.
72719         * io/isatty.c: Likewise.
72720         * io/lchmod.c: Likewise.
72721         * io/lchown.c: Likewise.
72722         * io/link.c: Likewise.
72723         * io/linkat.c: Likewise.
72724         * io/lseek.c: Likewise.
72725         * io/lseek64.c: Likewise.
72726         * io/lxstat64.c: Likewise.
72727         * io/mkdir.c: Likewise.
72728         * io/mkdirat.c: Likewise.
72729         * io/mkfifo.c: Likewise.
72730         * io/mkfifoat.c: Likewise.
72731         * io/open.c: Likewise.
72732         * io/open64.c: Likewise.
72733         * io/openat.c: Likewise.
72734         * io/openat64.c: Likewise.
72735         * io/pipe.c: Likewise.
72736         * io/pipe2.c: Likewise.
72737         * io/poll.c: Likewise.
72738         * io/posix_fadvise.c: Likewise.
72739         * io/posix_fadvise64.c: Likewise.
72740         * io/posix_fallocate.c: Likewise.
72741         * io/posix_fallocate64.c: Likewise.
72742         * io/read.c: Likewise.
72743         * io/readlink.c: Likewise.
72744         * io/readlinkat.c: Likewise.
72745         * io/rmdir.c: Likewise.
72746         * io/sendfile.c: Likewise.
72747         * io/sendfile64.c: Likewise.
72748         * io/statfs.c: Likewise.
72749         * io/statfs64.c: Likewise.
72750         * io/statvfs.c: Likewise.
72751         * io/statvfs64.c: Likewise.
72752         * io/symlink.c: Likewise.
72753         * io/symlinkat.c: Likewise.
72754         * io/ttyname.c: Likewise.
72755         * io/ttyname_r.c: Likewise.
72756         * io/umask.c: Likewise.
72757         * io/unlink.c: Likewise.
72758         * io/unlinkat.c: Likewise.
72759         * io/utime.c: Likewise.
72760         * io/utimensat.c: Likewise.
72761         * io/write.c: Likewise.
72762         * io/xmknod.c: Likewise.
72763         * io/xmknodat.c: Likewise.
72764         * io/xstat.c: Likewise.
72765         * io/xstat64.c: Likewise.
72766         * login/getpt.c: Likewise.
72767         * login/grantpt.c: Likewise.
72768         * login/unlockpt.c: Likewise.
72769         * math/e_acoshl.c: Likewise.
72770         * math/e_acosl.c: Likewise.
72771         * math/e_asinl.c: Likewise.
72772         * math/e_atan2l.c: Likewise.
72773         * math/e_atanhl.c: Likewise.
72774         * math/e_coshl.c: Likewise.
72775         * math/e_expl.c: Likewise.
72776         * math/e_fmodl.c: Likewise.
72777         * math/e_gammal_r.c: Likewise.
72778         * math/e_hypotl.c: Likewise.
72779         * math/e_j0l.c: Likewise.
72780         * math/e_j1l.c: Likewise.
72781         * math/e_jnl.c: Likewise.
72782         * math/e_lgammal_r.c: Likewise.
72783         * math/e_log10l.c: Likewise.
72784         * math/e_log2l.c: Likewise.
72785         * math/e_logl.c: Likewise.
72786         * math/e_powl.c: Likewise.
72787         * math/e_rem_pio2l.c: Likewise.
72788         * math/e_sinhl.c: Likewise.
72789         * math/e_sqrtl.c: Likewise.
72790         * math/fclrexcpt.c: Likewise.
72791         * math/fedisblxcpt.c: Likewise.
72792         * math/feenablxcpt.c: Likewise.
72793         * math/fegetenv.c: Likewise.
72794         * math/fegetexcept.c: Likewise.
72795         * math/fegetround.c: Likewise.
72796         * math/feholdexcpt.c: Likewise.
72797         * math/fesetenv.c: Likewise.
72798         * math/fesetround.c: Likewise.
72799         * math/feupdateenv.c: Likewise.
72800         * math/fgetexcptflg.c: Likewise.
72801         * math/fraiseexcpt.c: Likewise.
72802         * math/fsetexcptflg.c: Likewise.
72803         * math/ftestexcept.c: Likewise.
72804         * math/k_cosl.c: Likewise.
72805         * math/k_rem_pio2l.c: Likewise.
72806         * math/k_sinl.c: Likewise.
72807         * math/k_tanl.c: Likewise.
72808         * math/s_asinhl.c: Likewise.
72809         * math/s_atanl.c: Likewise.
72810         * math/s_cbrtl.c: Likewise.
72811         * math/s_erfl.c: Likewise.
72812         * math/s_expm1l.c: Likewise.
72813         * math/s_log1pl.c: Likewise.
72814         * math/s_tanhl.c: Likewise.
72815         * misc/acct.c: Likewise.
72816         * misc/brk.c: Likewise.
72817         * misc/chflags.c: Likewise.
72818         * misc/chroot.c: Likewise.
72819         * misc/fchflags.c: Likewise.
72820         * misc/fgetxattr.c: Likewise.
72821         * misc/flistxattr.c: Likewise.
72822         * misc/fremovexattr.c: Likewise.
72823         * misc/fsetxattr.c: Likewise.
72824         * misc/fsync.c: Likewise.
72825         * misc/ftruncate.c: Likewise.
72826         * misc/futimes.c: Likewise.
72827         * misc/futimesat.c: Likewise.
72828         * misc/getdomain.c: Likewise.
72829         * misc/getdtsz.c: Likewise.
72830         * misc/gethostid.c: Likewise.
72831         * misc/gethostname.c: Likewise.
72832         * misc/getloadavg.c: Likewise.
72833         * misc/getpagesize.c: Likewise.
72834         * misc/getsysstats.c: Likewise.
72835         * misc/getxattr.c: Likewise.
72836         * misc/gtty.c: Likewise.
72837         * misc/ioctl.c: Likewise.
72838         * misc/lgetxattr.c: Likewise.
72839         * misc/listxattr.c: Likewise.
72840         * misc/llistxattr.c: Likewise.
72841         * misc/lremovexattr.c: Likewise.
72842         * misc/lsetxattr.c: Likewise.
72843         * misc/lutimes.c: Likewise.
72844         * misc/madvise.c: Likewise.
72845         * misc/mincore.c: Likewise.
72846         * misc/mlock.c: Likewise.
72847         * misc/mlockall.c: Likewise.
72848         * misc/mmap.c: Likewise.
72849         * misc/mprotect.c: Likewise.
72850         * misc/msync.c: Likewise.
72851         * misc/munlock.c: Likewise.
72852         * misc/munlockall.c: Likewise.
72853         * misc/munmap.c: Likewise.
72854         * misc/preadv.c: Likewise.
72855         * misc/preadv64.c: Likewise.
72856         * misc/ptrace.c: Likewise.
72857         * misc/pwritev.c: Likewise.
72858         * misc/pwritev64.c: Likewise.
72859         * misc/readv.c: Likewise.
72860         * misc/reboot.c: Likewise.
72861         * misc/remap_file_pages.c: Likewise.
72862         * misc/removexattr.c: Likewise.
72863         * misc/revoke.c: Likewise.
72864         * misc/select.c: Likewise.
72865         * misc/setdomain.c: Likewise.
72866         * misc/setegid.c: Likewise.
72867         * misc/seteuid.c: Likewise.
72868         * misc/sethostid.c: Likewise.
72869         * misc/sethostname.c: Likewise.
72870         * misc/setregid.c: Likewise.
72871         * misc/setreuid.c: Likewise.
72872         * misc/setxattr.c: Likewise.
72873         * misc/sstk.c: Likewise.
72874         * misc/stty.c: Likewise.
72875         * misc/swapoff.c: Likewise.
72876         * misc/swapon.c: Likewise.
72877         * misc/sync.c: Likewise.
72878         * misc/syncfs.c: Likewise.
72879         * misc/syscall.c: Likewise.
72880         * misc/truncate.c: Likewise.
72881         * misc/ualarm.c: Likewise.
72882         * misc/usleep.c: Likewise.
72883         * misc/ustat.c: Likewise.
72884         * misc/utimes.c: Likewise.
72885         * misc/vhangup.c: Likewise.
72886         * misc/writev.c: Likewise.
72887         * posix/_exit.c: Likewise.
72888         * posix/alarm.c: Likewise.
72889         * posix/execve.c: Likewise.
72890         * posix/fexecve.c: Likewise.
72891         * posix/fork.c: Likewise.
72892         * posix/fpathconf.c: Likewise.
72893         * posix/getaddrinfo.c: Likewise.
72894         * posix/getegid.c: Likewise.
72895         * posix/geteuid.c: Likewise.
72896         * posix/getgid.c: Likewise.
72897         * posix/getgroups.c: Likewise.
72898         * posix/getlogin.c: Likewise.
72899         * posix/getlogin_r.c: Likewise.
72900         * posix/getpgid.c: Likewise.
72901         * posix/getpid.c: Likewise.
72902         * posix/getppid.c: Likewise.
72903         * posix/getresgid.c: Likewise.
72904         * posix/getresuid.c: Likewise.
72905         * posix/getsid.c: Likewise.
72906         * posix/getuid.c: Likewise.
72907         * posix/glob64.c: Likewise.
72908         * posix/nanosleep.c: Likewise.
72909         * posix/pathconf.c: Likewise.
72910         * posix/pause.c: Likewise.
72911         * posix/posix_madvise.c: Likewise.
72912         * posix/pread.c: Likewise.
72913         * posix/pread64.c: Likewise.
72914         * posix/pwrite.c: Likewise.
72915         * posix/pwrite64.c: Likewise.
72916         * posix/sched_getaffinity.c: Likewise.
72917         * posix/sched_getp.c: Likewise.
72918         * posix/sched_gets.c: Likewise.
72919         * posix/sched_primax.c: Likewise.
72920         * posix/sched_primin.c: Likewise.
72921         * posix/sched_rr_gi.c: Likewise.
72922         * posix/sched_setaffinity.c: Likewise.
72923         * posix/sched_setp.c: Likewise.
72924         * posix/sched_sets.c: Likewise.
72925         * posix/sched_yield.c: Likewise.
72926         * posix/setgid.c: Likewise.
72927         * posix/setlogin.c: Likewise.
72928         * posix/setpgid.c: Likewise.
72929         * posix/setresgid.c: Likewise.
72930         * posix/setresuid.c: Likewise.
72931         * posix/setsid.c: Likewise.
72932         * posix/setuid.c: Likewise.
72933         * posix/sleep.c: Likewise.
72934         * posix/spawni.c: Likewise.
72935         * posix/sysconf.c: Likewise.
72936         * posix/times.c: Likewise.
72937         * posix/wait.c: Likewise.
72938         * posix/wait3.c: Likewise.
72939         * posix/wait4.c: Likewise.
72940         * posix/waitpid.c: Likewise.
72941         * resolv/gai_sigqueue.c: Likewise.
72942         * resource/getpriority.c: Likewise.
72943         * resource/getrlimit.c: Likewise.
72944         * resource/getrusage.c: Likewise.
72945         * resource/nice.c: Likewise.
72946         * resource/setpriority.c: Likewise.
72947         * resource/setrlimit.c: Likewise.
72948         * resource/ulimit.c: Likewise.
72949         * rt/aio_cancel.c: Likewise.
72950         * rt/aio_fsync.c: Likewise.
72951         * rt/aio_read.c: Likewise.
72952         * rt/aio_sigqueue.c: Likewise.
72953         * rt/aio_suspend.c: Likewise.
72954         * rt/aio_write.c: Likewise.
72955         * rt/clock_getres.c: Likewise.
72956         * rt/clock_gettime.c: Likewise.
72957         * rt/clock_nanosleep.c: Likewise.
72958         * rt/clock_settime.c: Likewise.
72959         * rt/lio_listio.c: Likewise.
72960         * rt/mq_close.c: Likewise.
72961         * rt/mq_getattr.c: Likewise.
72962         * rt/mq_notify.c: Likewise.
72963         * rt/mq_open.c: Likewise.
72964         * rt/mq_receive.c: Likewise.
72965         * rt/mq_send.c: Likewise.
72966         * rt/mq_setattr.c: Likewise.
72967         * rt/mq_timedreceive.c: Likewise.
72968         * rt/mq_timedsend.c: Likewise.
72969         * rt/mq_unlink.c: Likewise.
72970         * rt/shm_open.c: Likewise.
72971         * rt/shm_unlink.c: Likewise.
72972         * rt/timer_create.c: Likewise.
72973         * rt/timer_delete.c: Likewise.
72974         * rt/timer_getoverr.c: Likewise.
72975         * rt/timer_gettime.c: Likewise.
72976         * rt/timer_settime.c: Likewise.
72977         * setjmp/__longjmp.c: Likewise.
72978         * setjmp/setjmp.c: Likewise.
72979         * signal/kill.c: Likewise.
72980         * signal/killpg.c: Likewise.
72981         * signal/raise.c: Likewise.
72982         * signal/sigaction.c: Likewise.
72983         * signal/sigaltstack.c: Likewise.
72984         * signal/sigblock.c: Likewise.
72985         * signal/sigignore.c: Likewise.
72986         * signal/sigintr.c: Likewise.
72987         * signal/signal.c: Likewise.
72988         * signal/sigpause.c: Likewise.
72989         * signal/sigpending.c: Likewise.
72990         * signal/sigqueue.c: Likewise.
72991         * signal/sigreturn.c: Likewise.
72992         * signal/sigset.c: Likewise.
72993         * signal/sigsetmask.c: Likewise.
72994         * signal/sigstack.c: Likewise.
72995         * signal/sigsuspend.c: Likewise.
72996         * signal/sigtimedwait.c: Likewise.
72997         * signal/sigvec.c: Likewise.
72998         * signal/sigwait.c: Likewise.
72999         * signal/sigwaitinfo.c: Likewise.
73000         * signal/sysv_signal.c: Likewise.
73001         * socket/accept.c: Likewise.
73002         * socket/accept4.c: Likewise.
73003         * socket/bind.c: Likewise.
73004         * socket/connect.c: Likewise.
73005         * socket/getpeername.c: Likewise.
73006         * socket/getsockname.c: Likewise.
73007         * socket/getsockopt.c: Likewise.
73008         * socket/isfdtype.c: Likewise.
73009         * socket/listen.c: Likewise.
73010         * socket/recv.c: Likewise.
73011         * socket/recvfrom.c: Likewise.
73012         * socket/recvmsg.c: Likewise.
73013         * socket/send.c: Likewise.
73014         * socket/sendmsg.c: Likewise.
73015         * socket/sendto.c: Likewise.
73016         * socket/setsockopt.c: Likewise.
73017         * socket/shutdown.c: Likewise.
73018         * socket/sockatmark.c: Likewise.
73019         * socket/socket.c: Likewise.
73020         * socket/socketpair.c: Likewise.
73021         * stdio-common/ctermid.c: Likewise.
73022         * stdio-common/cuserid.c: Likewise.
73023         * stdio-common/remove.c: Likewise.
73024         * stdio-common/rename.c: Likewise.
73025         * stdio-common/renameat.c: Likewise.
73026         * stdio-common/tempname.c: Likewise.
73027         * stdlib/getcontext.c: Likewise.
73028         * stdlib/makecontext.c: Likewise.
73029         * stdlib/setcontext.c: Likewise.
73030         * stdlib/swapcontext.c: Likewise.
73031         * stdlib/system.c: Likewise.
73032         * streams/fattach.c: Likewise.
73033         * streams/fdetach.c: Likewise.
73034         * streams/getmsg.c: Likewise.
73035         * streams/getpmsg.c: Likewise.
73036         * streams/putmsg.c: Likewise.
73037         * streams/putpmsg.c: Likewise.
73038         * sysdeps/unix/bsd/getpt.c: Likewise.
73039         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
73040         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
73041         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
73042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
73043         Likewise.
73044         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
73045         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
73046         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
73047         * sysvipc/msgctl.c: Likewise.
73048         * sysvipc/msgget.c: Likewise.
73049         * sysvipc/msgrcv.c: Likewise.
73050         * sysvipc/msgsnd.c: Likewise.
73051         * sysvipc/semctl.c: Likewise.
73052         * sysvipc/semget.c: Likewise.
73053         * sysvipc/semop.c: Likewise.
73054         * sysvipc/semtimedop.c: Likewise.
73055         * sysvipc/shmat.c: Likewise.
73056         * sysvipc/shmctl.c: Likewise.
73057         * sysvipc/shmdt.c: Likewise.
73058         * sysvipc/shmget.c: Likewise.
73059         * termios/tcdrain.c: Likewise.
73060         * termios/tcflow.c: Likewise.
73061         * termios/tcflush.c: Likewise.
73062         * termios/tcgetattr.c: Likewise.
73063         * termios/tcgetpgrp.c: Likewise.
73064         * termios/tcsendbrk.c: Likewise.
73065         * termios/tcsetattr.c: Likewise.
73066         * termios/tcsetpgrp.c: Likewise.
73067         * time/adjtime.c: Likewise.
73068         * time/clock.c: Likewise.
73069         * time/getitimer.c: Likewise.
73070         * time/gettimeofday.c: Likewise.
73071         * time/setitimer.c: Likewise.
73072         * time/settimeofday.c: Likewise.
73073         * time/stime.c: Likewise.
73074         * time/time.c: Likewise.
73076 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
73078         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
73079         /usr/old/bin.
73081         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
73082         instead of spaces.
73083         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
73085 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
73087         [BZ #14796]
73088         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
73089         FE_TONEAREST before applying Dekker multiplication and Knuth
73090         addition.  Clear inexact exceptions and check for exact zero
73091         results afterwards.
73092         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
73093         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
73094         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
73095         * math/libm-test.inc (fma_test): Add more tests.
73096         (fma_test_towardzero): Likewise.
73097         (fma_test_downward): Likewise.
73098         (fma_test_upward): Likewise.
73099         * sysdeps/generic/math_private.h (default_libc_fesetround): New
73100         function.
73101         (libc_fesetround): New macro.
73102         (libc_fesetroundf): Likewise.
73103         (libc_fesetroundl): Likewise.
73104         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
73105         function.
73106         (libc_fesetround_387): Likewise.
73107         (libc_fesetroundf): New macro.
73108         (libc_fesetround): Likewise.
73109         (libc_fesetroundl): Likewise.
73110         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
73111         function.
73112         (libc_fesetroundf): New macro.
73113         (libc_fesetround): Likewise.
73114         (libc_fesetroundl): Likewise.
73115         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
73116         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
73117         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
73118         libm_hidden_ver.
73119         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
73120         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
73121         libm_hidden_def.
73122         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
73123         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
73124         libm_hidden_ver.
73125         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
73126         libm_hidden_def.
73128         [BZ #3439]
73129         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
73130         integer constant usable in #if and use that to give value to enum
73131         constant.
73132         (FE_DIVBYZERO): Likewise.
73133         (FE_UNDERFLOW): Likewise.
73134         (FE_OVERFLOW): Likewise.
73135         (FE_INVALID): Likewise.
73136         (FE_INVALID_SNAN): Likewise.
73137         (FE_INVALID_ISI): Likewise.
73138         (FE_INVALID_IDI): Likewise.
73139         (FE_INVALID_ZDZ): Likewise.
73140         (FE_INVALID_IMZ): Likewise.
73141         (FE_INVALID_COMPARE): Likewise.
73142         (FE_INVALID_SOFTWARE): Likewise.
73143         (FE_INVALID_SQRT): Likewise.
73144         (FE_INVALID_INTEGER_CONVERSION): Likewise.
73145         (FE_TONEAREST): Likewise.
73146         (FE_TOWARDZERO): Likewise.
73147         (FE_UPWARD): Likewise.
73148         (FE_DOWNWARD): Likewise.
73149         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
73150         (FE_DIVBYZERO): Likewise.
73151         (FE_OVERFLOW): Likewise.
73152         (FE_UNDERFLOW): Likewise.
73153         (FE_INEXACT): Likewise.
73154         (FE_TONEAREST): Likewise.
73155         (FE_DOWNWARD): Likewise.
73156         (FE_UPWARD): Likewise.
73157         (FE_TOWARDZERO): Likewise.
73158         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
73159         (FE_UNDERFLOW): Likewise.
73160         (FE_OVERFLOW): Likewise.
73161         (FE_DIVBYZERO): Likewise.
73162         (FE_INVALID): Likewise.
73163         (FE_TONEAREST): Likewise.
73164         (FE_TOWARDZERO): Likewise.
73165         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
73166         (FE_OVERFLOW): Likewise.
73167         (FE_UNDERFLOW): Likewise.
73168         (FE_DIVBYZERO): Likewise.
73169         (FE_INEXACT): Likewise.
73170         (FE_TONEAREST): Likewise.
73171         (FE_TOWARDZERO): Likewise.
73172         (FE_UPWARD): Likewise.
73173         (FE_DOWNWARD): Likewise.
73174         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
73175         (FE_DIVBYZERO): Likewise.
73176         (FE_OVERFLOW): Likewise.
73177         (FE_UNDERFLOW): Likewise.
73178         (FE_INEXACT): Likewise.
73179         (FE_TONEAREST): Likewise.
73180         (FE_DOWNWARD): Likewise.
73181         (FE_UPWARD): Likewise.
73182         (FE_TOWARDZERO): Likewise.
73184 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
73186         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
73188 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
73190         * scripts/cross-test-ssh.sh (command): Use newlines to separate
73191         commands.  Quote $PWD.
73192         (blacklist_exports): Don't use remove_newlines.  Replace "declare
73193         -x" by "export".
73194         (remove_newlines): Remove.
73196 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
73198         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
73199         * stdlib/stdlib.h (atof): Moved to ...
73200         * include/bits/stdlib-float.h: Here.  New file.
73201         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
73202         * stdlib/bits/stdlib-float.h: New file.
73203         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
73204         -mno-sse -mno-mmx.
73205         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
73206         <xmmintrin.h>.
73208 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
73210         * conform/conformtest.pl (@headers): Add fenv.h.
73211         * conform/data/fenv.h-data: New file.
73212         * include/fenv.h [_ISOMAC]: Disable all contents of file except
73213         include of <math/fenv.h>.
73215         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
73216         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
73217         && !UNIX98].  Enables tests for XOPEN2K8.
73218         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
73219         POSIX2008]: Likewise.
73221         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
73222         (struct rusage): Do not expect type or its members.
73224         [BZ #3439]
73225         * math/math.h (FP_NAN): Define macro to integer constant usable in
73226         #if and use that to give value to enum constant.
73227         (FP_INFINITE): Likewise.
73228         (FP_ZERO): Likewise.
73229         (FP_SUBNORMAL): Likewise.
73230         (FP_NORMAL): Likewise.
73232 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
73234         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
73235         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
73236         arguments.
73238 2012-11-02  Roland McGrath  <roland@hack.frob.com>
73240         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
73241         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
73242         autoconf-time if not.
73243         * configure.in: Remove AC_PREREQ.
73245 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
73247         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
73248         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
73249         of the internal implementation.
73251 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
73253         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
73254         except include of <misc/sys/syslog.h>.
73256 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
73258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
73259         function returns with a NULL context exit with zero.
73261 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
73263         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
73265 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
73267         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
73268         (run_program_cmd): This.
73269         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
73270         (tst_langinfo): New variable.  Use it.
73272 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
73274         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
73275         floating point opcodes.
73277 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
73279         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
73280         variable.
73282         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
73284         * sysdeps/mach/hurd/powerpc: Remove directory.
73285         * sysdeps/mach/powerpc: Likewise.
73287 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
73289         * scripts/check-local-headers.sh: Ignore c++ headers.
73291 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
73293         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
73294         __libc_cleanup_region_start argument.
73296 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
73298         [BZ #14784]
73299         [BZ #14785]
73300         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
73301         x * y using scaling, not as x * y + z.
73302         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
73303         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
73304         * math/libm-test.inc (fma_test): Add more tests.
73305         (fma_test_towardzero): Likewise.
73306         (fma_test_downward): Likewise.
73307         (fma_test_upward): Likewise.
73309 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
73311         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
73313 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
73315         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
73316         New variable.
73318 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
73320         * rt/tst-shm.c (worker): Correct checking for mmap failure.
73322 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
73324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
73325         Fix sort order.
73326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
73327         Likewise.
73329 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
73331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
73332         Fix the order of the list for glibc 2.17.
73333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
73334         Likewise.
73336 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
73338         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73340 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
73342         [BZ #14610]
73343         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
73344         for low part of x being zero before using __atanl (y).
73345         * math/libm-test.inc (atan2_test): Add another test.
73347         * manual/install.texi (Configuring and compiling): Document
73348         general use of test-wrapper and test-wrapper-env.
73349         * INSTALL: Regenerated.
73351         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
73352         (__fma): Do not extract and scale down low bits on after-rounding
73353         systems when result rounded to normal precision would have normal
73354         exponent.
73355         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
73356         (__fmal): Do not extract and scale down low bits on after-rounding
73357         systems when result rounded to normal precision would have normal
73358         exponent.
73359         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
73360         (__fmal): Do not extract and scale down low bits on after-rounding
73361         systems when result rounded to normal precision would have normal
73362         exponent.
73363         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
73364         macro.
73365         (fma_test): Add more tests.
73366         (fma_test_towardzero): Likewise.
73367         (fma_test_downward): Likewise.
73368         (fma_test_upward): Likewise.
73370 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
73372         * sysdeps/i386/tininess.h: Renamed to ...
73373         * sysdeps/x86/tininess.h: This.
73374         * sysdeps/x86_64/tininess.h: Removed.
73376 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
73378         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
73379         input.  Use $(build-program-cmd).
73380         ($(objpfx)tst-array1-static.out): Likewise.
73381         ($(objpfx)tst-array2.out): Likewise.
73382         ($(objpfx)tst-array3.out): Likewise.
73383         ($(objpfx)tst-array4.out): Likewise.
73384         ($(objpfx)tst-array5.out): Likewise.
73385         ($(objpfx)tst-array5-static.out): Likewise.
73387 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
73389         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
73390         if defined.
73392         * nss/nsswitch.h (nss_interface_function): Provide new
73393         macro for use with NSS functions.
73394         * grp/initgroups.c: Use new macro.
73395         * nss/getXXbyYY.c: Likewise.
73396         * nss/getXXbyYY_r.c: Likewise.
73397         * nss/getXXent.c: Likewise.
73398         * nss/getXXent_r.c: Likewise.
73399         * sysdeps/posix/getaddrinfo.c: Likewise.
73401 2012-10-30  Andreas Jaeger  <aj@suse.de>
73403         * po/ru.po: Update Russion translation from translation project.
73405 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
73407         [BZ #14152]
73408         [BZ #14783]
73409         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
73410         result and shift together with sticky bit instead of replicating
73411         round-to-nearest rounding.
73412         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
73413         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
73414         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
73415         missing underflow exceptions.
73416         (fma_test_towardzero): Add more tests.
73417         (fma_test_downward): Likewise.
73418         (fma_test_upward): Likewise.
73420         [BZ #14047]
73421         * sysdeps/generic/tininess.h: New file.
73422         * sysdeps/i386/tininess.h: Likewise.
73423         * sysdeps/sh/tininess.h: Likewise.
73424         * sysdeps/x86_64/tininess.h: Likewise.
73425         * stdlib/tst-strtod-underflow.c: Likewise.
73426         * stdlib/tst-tininess.c: Likewise.
73427         * stdlib/strtod_l.c: Include <tininess.h>.
73428         (round_and_return): Do not set errno for exact underflow cases.
73429         Force an underflow exception when setting errno for underflow.
73430         Determine underflow based on rounding to normal precision if
73431         TININESS_AFTER_ROUNDING.
73432         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
73433         ERANGE for exact underflow cases.
73434         * stdlib/Makefile (tests): Add tst-tininess and
73435         tst-strtod-underflow.
73436         ($(objpfx)tst-tininess): Use $(link-libm).
73437         ($(objpfx)tst-strtod-underflow): Likewise.
73439 2012-10-30  Andreas Jaeger  <aj@suse.de>
73441         [BZ #14767]
73442         * elf/Makefile (tests): Remove conditional for have-initfini-array
73443         since this is now always required and the variable does not exist
73444         anymore.
73445         (tests-static): Likewise.
73446         (modules-names): Likewise.
73448         * po/eo.po: Add Esperanto translation from translation project.
73450         * elf/tst-array1.c (fini_array): Make writeable so that it can be
73451         merged with constructor/destructor.
73452         (init_array): Likewise.
73453         * elf/tst-array2dep.c (fini_array): Likewise.
73454         (init_array): Likewise.
73456 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
73458         * manual/message.texi: Delete @cartouche tags.
73460 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
73462         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
73463         EOPNOTSUPP.
73464         * sysdeps/mach/hurd/fsync.c: Likewise.
73466         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
73467         [_POSIX_REALTIME_SIGNALS]: Change condition to
73468         [_POSIX_REALTIME_SIGNALS > 0].
73470 2012-10-27  Andreas Jaeger  <aj@suse.de>
73472         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
73473         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
73474         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
73475         [__WORDSIZE != 64]: Likewise.
73477 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
73479         *  iconvdata/tst-table.sh: Remove ${SHELL}.
73480         *  iconvdata/tst-tables.sh: Likewise.
73482 2012-10-25  David S. Miller  <davem@davemloft.net>
73484         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
73485         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
73486         of strtoull.
73488         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
73489         ifunc-impl-list.c
73490         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
73491         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
73492         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
73493         file.
73495 2012-10-25  Roland McGrath  <roland@hack.frob.com>
73497         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
73498         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
73499         __getdirentries.
73501 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
73502             Jim Blandy  <jimb@codesourcery.com>
73504         * scripts/cross-test-ssh.sh: New file.
73505         * manual/install.texi (Configuring and compiling): Document use of
73506         cross-test-ssh.sh.
73507         * INSTALL: Regenerated.
73509 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
73511         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
73512         EOPNOTSUPP.
73514 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
73516         * Makeconfig (run-program-prefix): Fix comment.
73518 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
73519             Jim Blandy  <jimb@codesourcery.com>
73521         * Makeconfig (test-wrapper): New variable,
73522         (test-wrapper-env): Likewise.
73523         [$(cross-compiling) = yes && $(test-wrapper) != ""]
73524         (run-built-tests): Define to yes.
73525         (run-program-prefix): Use $(test-wrapper).
73526         (built-program-cmd): Likewise.
73527         * Rules (make-test-out): Use $(test-wrapper-env) and
73528         $(host-built-program-cmd).
73529         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
73530         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
73531         tst-pathopt.sh.
73532         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
73533         $(test-wrapper-env) to tst-rtld-load-self.sh.
73534         ($(objpfx)order2.out): Use $(test-wrapper).
73535         ($(objpfx)tst-initorder.out): Likewise.
73536         ($(objpfx)tst-initorder2.out): Likewise.
73537         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
73538         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
73539         (test_wrapper_env): New variable.  Use it to run ld.so.
73540         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
73541         Use it to run ld.so.
73542         (test_wrapper_env): Likewise.
73543         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
73544         $(test-wrapper) to run-iconv-test.sh.
73545         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
73546         (ICONV): Use $test_wrapper.
73547         * posix/Makefile ($(objpfx)globtest.out): Pass
73548         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
73549         globtest.sh, not $(run-program-prefix).
73550         * posix/globtest.sh (run_via_rtld_prefix): New variable.
73551         (test_wrapper): Likewise.
73552         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
73553         set together with run_via_rtld_prefix.
73554         (run_program_prefix): Define in terms of test_wrapper and
73555         run_via_rtld_prefix.
73557 2012-10-24  Roland McGrath  <roland@hack.frob.com>
73559         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
73560         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
73561         Targets removed.
73563         [BZ #14743]
73564         * include/time.h: Remove librt_hidden_proto (clock_gettime).
73565         Declare __clock_getres, __clock_gettime, __clock_settime,
73566         __clock_nanosleep, and __clock_getcpuclockid.
73567         * rt/clock_gettime.c: Define __clock_gettime as an alias.
73568         Remove librt_hidden_def (clock_gettime).
73569         * sysdeps/unix/clock_gettime.c: Likewise.
73570         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
73571         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
73572         * rt/clock_getres.c: Define __clock_getres as an alias.
73573         * sysdeps/posix/clock_getres.c: Likewise.
73574         * rt/clock_settime.c: Define __clock_settime as an alias.
73575         * sysdeps/unix/clock_settime.c: Likewise.
73576         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
73577         * sysdeps/unix/clock_nanosleep.c: Likewise.
73578         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
73579         * rt/clock-compat.c: New file.
73580         * rt/Makefile (librt-routines): Add clock-compat and move
73581         $(clock-routines) to ...
73582         (routines): ... here, new variable.
73583         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
73584         Don't add get_clockfreq here.
73585         * rt/Versions (libc: GLIBC_2.17): New version set.
73586         Add clock_* symbols here.
73587         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
73588         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
73589         (GLIBC_2.17): Add clock_* symbols.
73590         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
73591         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
73592         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
73593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
73594         Likewise.
73595         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
73596         Likewise.
73597         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
73598         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
73599         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
73600         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
73601         * NEWS: Mention the move.
73603         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
73604         Use __open, __read, __close rather than their public counterparts.
73605         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
73606         (__get_clockfreq_via_cpuinfo): Likewise.
73607         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
73608         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
73610         * config.h.in (HAVE_IFUNC): New #undef.
73611         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
73612         was successful.
73613         * configure: Regenerated.
73615 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
73617         * configure.in: Move READELF check to start of file.
73618         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
73619         libc_cv_asm_gnu_indirect_function in the process.
73620         * configure: Regenerated.
73622 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
73624         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
73625         send the output to /dev/null.
73626         (libc_cv_cc_with_libunwind): Likewise.
73627         (libc_cv_as_noexecstack): Likewise.
73628         * configure: Regenerate.
73630 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
73632         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
73634         * posix/globtest.sh (TMPDIR): Do not set.
73635         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
73636         (testout): Likewise.
73638 2012-10-24  Andreas Jaeger  <aj@suse.de>
73640         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
73641         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
73642         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
73643         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
73644         posix_fadvise64, posix_fallocate64.
73646         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
73647         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
73648         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
73649         Likewise.
73650         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
73651         Likewise.
73652         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
73654         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
73655         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
73656         <bits/fcntl-linux.h>.
73657         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
73659         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
73660         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
73661         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
73662         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
73663         [__WORDSIZE != 64]: Likewise.
73665 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
73667         * Makeconfig (run-built-tests): New variable.
73668         * Rules [$(cross-compiling) = yes]: Change condition to
73669         [$(run-built-tests) = no].
73670         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
73671         to [$(run-built-tests) = yes].
73672         * elf/Makefile [$(cross-compiling) = no]: Likewise.
73673         * grp/Makefile [$(cross-compiling) = no]: Likewise.
73674         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
73675         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
73676         * intl/Makefile [$(cross-compiling) = no]: Likewise.
73677         * io/Makefile [$(cross-compiling) = no]: Likewise.
73678         * libio/Makefile [$(cross-compiling) = no]: Likewise.
73679         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
73680         * misc/Makefile [$(cross-compiling) = no]: Likewise.
73681         * posix/Makefile [$(cross-compiling) = no]: Likewise.
73682         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
73683         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
73684         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
73685         * string/Makefile [$(cross-compiling) = no]: Likewise.
73687         * posix/Makefile ($(objpfx)globtest.out): Pass
73688         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
73689         $(rtld-installed-name).
73690         * posix/globtest.sh (elf_objpfx): Remove variable.
73691         (rtld_installed_name): Likewise.
73692         (library_path): Likewise.
73693         (run_program_prefix): New variable.  Use for running globtest
73694         binary.
73696 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
73697             Joseph Myers  <joseph@codesourcery.com>
73699         * Makeconfig (host-built-program-cmd): New variable.
73700         * elf/Makefile (tst-stackguard1-ARGS): Use
73701         $(host-built-program-cmd).
73702         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
73703         (tst-spawn-ARGS): Likewise.
73704         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
73706 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
73707             Jim Blandy  <jimb@codesourcery.com>
73709         * Makeconfig (run-via-rtld-prefix): New variable.
73710         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
73711         (built-program-cmd): Likewise.
73713 2012-10-22  Andreas Jaeger  <aj@suse.de>
73715         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
73716         __O_RSYNC if it exists, otherwise to O_SYNC.
73718 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
73719             Joseph Myers  <joseph@codesourcery.com>
73721         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
73722         /dev/null.
73723         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
73724         from /dev/null
73725         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
73726         /dev/null.
73728 2012-10-22  Andreas Jaeger  <aj@suse.de>
73730         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
73731         Define always.
73732         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
73734         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
73735         bits/fcntl-linux.h.
73737         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
73738         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
73740         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
73741         to __O_LARGEFILE.
73742         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
73743         to __O_LARGEFILE.
73745 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
73746             Joseph Myers  <joseph@codesourcery.com>
73748         * config.make.in (NM): New variable.
73750 2012-10-21  Andreas Jaeger  <aj@suse.de>
73752         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
73753         definitions and declarations that are provided by
73754         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
73756 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
73758         [BZ #14683]
73759         * elf/Makefile (tests-static): Add tst-leaks1-static.
73760         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
73761         ($(objpfx)tst-leaks1-static): New rule.
73762         ($(objpfx)tst-leaks1-static-mem): Likewise.
73763         (tst-leaks1-static-ENV): New macro.
73764         * elf/dl-open.c (dl_open_worker): Check the main application
73765         only if SHARED is defined.
73766         * elf/tst-leaks1-static.c: New file.
73768 2012-10-20  Andreas Jaeger  <aj@suse.de>
73770         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
73771         generic values for Linux.
73772         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
73773         and declarations that are provided by <bits/fcntl-linux.h> and
73774         include <bits/fcntl-linux.h>.
73775         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
73776         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
73778 2012-10-20  Roland McGrath  <roland@hack.frob.com>
73780         * io/fcntl.h: Move include of <bits/types.h> to the top and
73781         include it unconditionally.
73783 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
73785         * wcsmbs/Makefile (tests-ifunc): New variable.
73786         (tests): Add $(tests-ifunc).
73787         * wcsmbs/test-wcschr-ifunc.c: New file.
73788         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
73789         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
73790         * wcsmbs/test-wcslen-ifunc.c: Likewise.
73791         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
73792         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
73794         * string/Makefile (tests-ifunc): New variable.
73795         (tests): Add $(tests-ifunc).
73796         * string/test-memccpy.c (TEST_NAME): New macro.
73797         * string/test-memchr.c (TEST_NAME): Likewise.
73798         * string/test-memcmp.c (TEST_NAME): Likewise.
73799         * string/test-memcpy.c (TEST_NAME): Likewise.
73800         * string/test-memmem.c (TEST_NAME): Likewise.
73801         * string/test-memmove.c (TEST_NAME): Likewise.
73802         * string/test-memset.c (TEST_NAME): Likewise.
73803         * string/test-rawmemchr.c (TEST_NAME): Likewise.
73804         * string/test-stpcpy.c (TEST_NAME): Likewise.
73805         * string/test-stpncpy.c (TEST_NAME): Likewise.
73806         * string/test-strcasecmp.c (TEST_NAME): Likewise.
73807         * string/test-strcasestr.c (TEST_NAME): Likewise.
73808         * string/test-strcat.c (TEST_NAME): Likewise.
73809         * string/test-strchr.c (TEST_NAME): Likewise.
73810         * string/test-strcmp.c(TEST_NAME): Likewise.
73811         * string/test-strcpy.c (TEST_NAME): Likewise.
73812         * string/test-strcspn.c (TEST_NAME): Likewise.
73813         * string/test-strlen.c (TEST_NAME): Likewise.
73814         * string/test-strncasecmp.c (TEST_NAME): Likewise.
73815         * string/test-strncmp.c (TEST_NAME): Likewise.
73816         * string/test-strncpy.c (TEST_NAME): Likewise.
73817         * string/test-strnlen.c (TEST_NAME): Likewise.
73818         * string/test-strpbrk.c (TEST_NAME): Likewise.
73819         * string/test-strrchr.c (TEST_NAME): Likewise.
73820         * string/test-strspn.c (TEST_NAME): Likewise.
73821         * string/test-strstr.c (TEST_NAME): Likewise.
73822         * string/test-bcopy-ifunc.c: New file.
73823         * string/test-bzero-ifunc.c: Likewise.
73824         * string/test-memccpy-ifunc.c: Likewise.
73825         * string/test-memchr-ifunc.c: Likewise.
73826         * string/test-memcmp-ifunc.c: Likewise.
73827         * string/test-memcpy-ifunc.c: Likewise.
73828         * string/test-memmem-ifunc.c: Likewise.
73829         * string/test-memmove-ifunc.c: Likewise.
73830         * string/test-mempcpy-ifunc.c: Likewise.
73831         * string/test-memset-ifunc.c: Likewise.
73832         * string/test-rawmemchr-ifunc.c: Likewise.
73833         * string/test-stpcpy-ifunc.c: Likewise.
73834         * string/test-stpncpy-ifunc.c: Likewise.
73835         * string/test-strcasecmp-ifunc.c: Likewise.
73836         * string/test-strcasestr-ifunc.c: Likewise.
73837         * string/test-strcat-ifunc.c: Likewise.
73838         * string/test-strchr-ifunc.c: Likewise.
73839         * string/test-strchrnul-ifunc.c: Likewise.
73840         * string/test-strcmp-ifunc.c: Likewise.
73841         * string/test-strcpy-ifunc.c: Likewise.
73842         * string/test-strcspn-ifunc.c: Likewise.
73843         * string/test-strlen-ifunc.c: Likewise.
73844         * string/test-strncasecmp-ifunc.c: Likewise.
73845         * string/test-strncat-ifunc.c: Likewise.
73846         * string/test-strncmp-ifunc.c: Likewise.
73847         * string/test-strncpy-ifunc.c: Likewise.
73848         * string/test-strnlen-ifunc.c: Likewise.
73849         * string/test-strpbrk-ifunc.c: Likewise.
73850         * string/test-strrchr-ifunc.c: Likewise.
73851         * string/test-strspn-ifunc.c: Likewise.
73852         * string/test-strstr-ifunc.c: Likewise.
73854         * debug/Makefile (tests-ifunc): New variable.
73855         (tests): Add $(tests-ifunc).
73856         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
73857         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
73858         * debug/test-stpcpy_chk-ifunc.c: New file.
73859         * debug/test-strcpy_chk-ifunc.c: Likewise.
73861 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
73863         [BZ #13601]
73864         * elf/dl-load.c (open_verify): Retry read if the entire ELF
73865         header is not read in.
73867 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
73869         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
73870         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
73871         directly.  Pass built executable to script as
73872         $(built-program-cmd).
73873         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
73874         $testprogram without using LD_LIBRARY_PATH and $ldso.
73876         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
73877         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
73878         $(rtld-installed-name).
73879         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
73880         (rtld_installed_name): Likewise.
73881         (library_path): Likewise.
73882         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
73883         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
73884         $(run-program-prefix) to tst-tables.sh.
73885         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
73886         it to run tst-table-from and tst-table-to.
73887         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
73888         Pass it to tst-table.sh.
73889         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
73890         $(run-program-prefix) to tst-gettext.sh.
73891         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
73892         tst-translit.sh.
73893         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
73894         tst-gettext2.sh.
73895         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
73896         to run tst-gettext.
73897         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
73898         to run tst-gettext2.
73899         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
73900         to run tst-translit.
73901         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
73902         $(run-program-prefix) to tst-mtrace.sh.
73903         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
73904         to run tst-mtrace.
73905         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
73906         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
73907         $(rtld-installed-name).
73908         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
73909         (rtld_installed_name): Likewise.
73910         (run_program_prefix): New variable.  Use it to run wordexp-test.
73912         * Makeconfig (ARCH): Remove all definitions.
73913         (machine): Likewise.
73914         [ARCH]: Remove conditional code.
73915         [!objdir]: Give error.
73916         [!objdir] (objpfx): Remove.
73917         [!objdir] (common-objpfx): Likewise.
73918         [!objdir] (common-objdir): Likewise.
73919         * configure.in (config_makefile): Remove.  Hardcode Makefile in
73920         AC_CONFIG_FILES call.
73921         * configure: Regenerated.
73923         [BZ #13888]
73924         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
73925         or TMPDIR.
73926         (testout): Likewise.
73928         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
73929         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
73930         $(rtld-installed-name).
73931         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
73932         (rtld_installed_name): Likewise.
73933         (runit): Remove function.
73934         (run_getconf): New variable,  Use it for running getconf binary.
73936 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
73938         [BZ #14716]
73939         * string/test-memmem.c (check_result): New function.
73940         (do_one_test): Use it.
73941         (check1): New function.
73942         (test_main): Use it.
73944 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
73946         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
73948 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
73950         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
73951         (_G_LSEEK64): Likewise.
73952         (_G_MMAP64): Likewise.
73953         (_G_FSTAT64): Likewise.
73954         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
73955         (_G_LSEEK64): Likewise.
73956         (_G_MMAP64): Likewise.
73957         (_G_FSTAT64): Likewise.
73958         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
73959         unconditional.  Call __mmap64 directly.
73960         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
73961         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
73962         __lseek64 directly.
73963         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
73964         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
73965         __mmap64 directly.
73966         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
73967         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
73968         __lseek64 directly.
73969         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
73970         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
73971         __lseek64 directly.
73972         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
73973         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
73974         __lseek64 directly.
73975         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
73976         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
73977         __fxstat64 directly.
73978         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
73979         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
73980         unconditional.
73981         (freopen64) [!_G_OPEN64]: Remove conditional code.
73982         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
73983         unconditional.
73984         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
73985         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
73986         unconditional.
73987         (ftello64) [!_G_LSEEK64]: Remove conditional code.
73988         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
73989         unconditional.
73990         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
73991         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
73992         unconditional.
73993         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
73994         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
73995         unconditional.
73996         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
73997         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
73998         unconditional.
73999         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
74000         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
74001         unconditional.
74002         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
74004 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
74006         [BZ #12140]
74007         * manual/memory.texi (Malloc Tunable Parameters): Add note
74008         about free list pointers overwriting some perturb bytes.
74009         Wording suggested by Roland McGrath.
74011 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
74013         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
74014         (lgamma_test): Likewise.
74015         (tgamma_test): Likewise.
74017 2012-10-16  Florian Weimer  <fweimer@redhat.com>
74019         [BZ #14700]
74020         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
74021         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
74023 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
74025         * NEWS: Mention BZ #14716.
74026         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
74027         when removing AVAILABLE1_USES_J macro.
74029 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
74031         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
74032         (__bswap_64): __uint64_t for unsigned 64-bit int.
74034 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
74036         * include/string.h (memmem): Declare libc hidden alias.
74037         * string/memmem.c (memmem): Define libc hidden alias.
74038         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
74039         __read, __close instead of open, read, close.
74041 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
74043         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
74044         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
74045         global and hidden.
74046         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
74047         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
74048         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
74049         Likewise.
74050         (__rawmemchr_sse2): Likewise.
74051         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
74052         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
74053         (__strchr_sse2): Likewise.
74054         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
74055         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
74056         (__strcasecmp_sse2): Likewise.
74057         (__strncasecmp_sse2): Likewise.
74058         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
74059         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
74060         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
74061         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
74062         (__strrchr_sse2): Likewise.
74063         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
74064         ifunc-impl-list.c.
74065         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
74066         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
74067         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
74068         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
74069         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
74070         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
74071         * sysdeps/x86_64/multiarch/memset.S: Likewise.
74072         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
74073         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
74074         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
74075         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
74076         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
74077         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
74078         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
74079         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
74080         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
74081         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
74082         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
74083         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
74084         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
74085         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
74086         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
74087         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
74088         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
74089         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
74090         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
74091         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
74092         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
74093         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
74094         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
74096         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
74097         global and hidden.
74098         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
74099         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
74100         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
74101         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
74102         Likewise.
74103         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
74104         Likewise.
74105         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
74106         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
74107         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
74108         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
74109         ifunc-impl-list.c.
74110         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
74111         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
74112         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
74113         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
74114         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
74115         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
74116         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
74117         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
74118         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
74119         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
74120         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
74121         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
74122         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
74123         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
74124         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
74125         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
74126         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
74127         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
74128         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
74129         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
74130         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
74131         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
74132         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
74133         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
74134         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
74135         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
74136         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
74137         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
74138         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
74139         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
74140         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
74141         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
74142         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
74143         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
74144         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
74145         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
74146         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
74147         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
74148         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
74149         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
74150         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
74152         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
74153         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
74154         * include/ifunc-impl-list.h: New file.
74155         * misc/ifunc-impl-list.c: Likewise.
74156         * misc/Makefile (routines): Add ifunc-impl-list.
74157         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
74158         * string/test-string.h: Include <ifunc-impl-list.h>.
74159         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
74160         TEST_NAME]: New variables.
74161         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
74162         are defined.
74163         (test_init): Call __libc_ifunc_impl_list to initialize
74164         func_list if TEST_IFUNC and TEST_NAME are defined.
74166         * string/Makefile (strop-tests): Add bcopy and bzero.
74167         * string/test-bcopy.c: New file.
74168         * string/test-bzero.c: Likewise.
74169         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
74170         defined.
74171         * string/test-memset.c: Support bzero test if TEST_BZERO is
74172         defined.
74173         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
74174         __libc_memmove.
74175         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
74176         __libc_memset.
74177         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
74178         of memset.
74180 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
74182         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
74183         * configure: Regenerated.
74185         * Makeconfig (+link-static-before-libc): Don't include
74186         $(link-static-libc).
74188         * libio/libio.h (_IO_pos_t): Remove.
74190 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
74192         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
74193         McGrath.
74195 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
74197         * crypt/crypt-entry.c: Include fips-private.h.
74198         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
74199         * crypt/md5c-test.c (main): Tolerate disabled MD5.
74200         * sysdeps/unix/sysv/linux/fips-private.h: New file.
74201         * sysdeps/generic/fips-private.h: New file, dummy fallback.
74203 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
74205         * crypt/crypt-private.h: Include stdbool.h.
74206         (_ufc_setup_salt_r): Return bool.
74207         * crypt/crypt-entry.c: Include errno.h.
74208         (__crypt_r): Return NULL with EINVAL for bad salt.
74209         * crypt/crypt_util.c (bad_for_salt): New.
74210         (_ufc_setup_salt_r): Check that salt is long enough and within
74211         the specified alphabet.
74212         * crypt/badsalttest.c: New file.
74213         * crypt/Makefile (tests): Add it.
74214         ($(objpfx)badsalttest): New.
74216 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
74218         * NEWS: Add entry for BZ #14602.
74220 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
74222         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
74223         type-generic.
74224         * math/libm-test.inc: Update comment listing what functions and
74225         macros are tested.
74226         (isgreater_test): New function.
74227         (isgreaterequal_test): Likewise.
74228         (isless_test): Likewise.
74229         (islessequal_test): Likewise.
74230         (islessgreater_test): Likewise.
74231         (isunordered_test): Likewise.
74232         (main): Call the new functions.
74234 2012-10-09  Roland McGrath  <roland@hack.frob.com>
74236         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
74237         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
74238         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
74239         * sysdeps/i386/configure: Regenerated.
74240         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
74241         * sysdeps/mach/configure: Regenerated.
74242         * sysdeps/mach/hurd/configure: Regenerated.
74243         * sysdeps/powerpc/configure: Regenerated.
74244         * sysdeps/powerpc/powerpc32/configure: Regenerated.
74245         * sysdeps/powerpc/powerpc64/configure: Regenerated.
74246         * sysdeps/s390/s390-32/configure: Regenerated.
74247         * sysdeps/s390/s390-64/configure: Regenerated.
74248         * sysdeps/sh/configure: Regenerated.
74249         * sysdeps/sparc/configure: Regenerated.
74250         * sysdeps/unix/sysv/linux/configure: Regenerated.
74251         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
74252         * sysdeps/x86_64/configure: Regenerated.
74254         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
74255         defined.  Don't check if MAP is NULL.
74257 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
74259         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
74260         (_G_stat64): Likewise.
74261         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
74262         (_G_stat64): Likewise.
74263         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
74264         instead of struct _G_stat64.
74265         * libio/fileops.c (mmap_remap_check): Likewise.
74266         (decide_maybe_mmap): Likewise.
74267         (_IO_new_file_seekoff): Likewise.
74268         (_IO_file_stat): Likewise.
74269         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
74270         _G_off64_t.
74271         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
74272         instead of struct _G_stat64.
74273         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
74275 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
74277         [BZ #14602]
74278         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
74279         Replace with ...
74280         (CHECK_EOL): New macro.
74281         (two_way_short_needle): Check beginning of haystack for EOL.  Use
74282         CHECK_EOL.
74283         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
74284         Replace with CHECK_EOL.
74285         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
74286         Replace with CHECK_EOL.
74288 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
74290         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
74291         type-generic.
74292         * math/libm-test.inc: Update comment listing what functions and
74293         macros are tested.
74294         (finite_test): New function.
74295         (isinf_test): Likewise.
74296         (isnan_test): Likewise.
74297         (fpclassify_test): Test subnormal input.
74298         (isfinite_test): Likewise.
74299         (isnormal_test): Likewise.
74300         (main): Call the new functions.
74302 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
74304         [BZ #14660]
74305         * Makerules (%.dynsym): Force C locale when running
74306         $(OBJDUMP) --dynamic-syms.
74308 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
74310         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
74311         <stdint.h>.
74313 2012-10-06  David S. Miller  <davem@davemloft.net>
74315         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
74316         upper 32-bits of the length value in %o2 since we use branch-on-register
74317         tests which consider the entire 64-bit register.
74319 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
74321         * string/test-strstr.c (check2): Add a test for page boundary.
74323 2012-10-05  David S. Miller  <davem@davemloft.net>
74325         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
74326         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
74327         file.
74328         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
74329         sysdep_routines.
74330         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
74331         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
74332         and bzero when HWCAP_SPARC_CRYPTO is present.
74334 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
74336         [BZ #14602]
74337         * string/test-strstr.c (check2): New function.
74338         (test_main): Call check2.
74340         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
74341         and bug-strchr1.
74342         * string/bug-strcasestr1.c (do_test): Moved to ...
74343         * string/test-strcasestr.c (check1): Here.  New function.
74344         (do_one_test): Break out result checking code into ...
74345         (check_result): This.  New function.
74346         (do_one_test): Call check_result.
74347         (test_main): Call check1.
74348         * string/bug-strchr1.c (do_test): Moved to ...
74349         * string/test-strchr.c (check1): Here.  New function.
74350         (do_one_test): Break out result checking code into ...
74351         (check_result): This.  New function.
74352         (do_one_test): Call check_result.
74353         (test_main): Call check1.
74354         * string/bug-strstr1.c (main): Moved to ...
74355         * string/test-strstr.c (check1): Here.  New function.
74356         (do_one_test): Break out result checking code into ...
74357         (check_result): This.  New function.
74358         (do_one_test): Call check_result.
74359         (test_main): Call check1.
74360         * string/bug-strcasestr1.c: Removed.
74361         * string/bug-strchr1.c: Likewise.
74362         * string/bug-strstr1.c: Likewise.
74364         * elf/Makefile (dl-routines): Add hwcaps.
74365         * elf/dl-support.c (_dl_important_hwcaps): Removed.
74366         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
74367         (_dl_important_hwcaps): Moved to ...
74368         * elf/dl-hwcaps.c: Here.  New file.
74369         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
74371         [BZ #14557]
74372         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
74373         if IS_IN_rtld isn't defined.
74375         * elf/dl-support.c (_dl_sysinfo_map): New.
74376         Include "get-dynamic-info.h" and "setup-vdso.h".
74377         (_dl_non_dynamic_init): Call setup_vdso.
74378         * elf/dynamic-link.h: Don't include <assert.h>.
74379         (elf_get_dynamic_info): Moved to ...
74380         * elf/get-dynamic-info.h: Here.  New file.
74381         * elf/dynamic-link.h: Include "get-dynamic-info.h".
74382         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
74383         * elf/setup-vdso.h: Here.  New file.
74384         * elf/rtld.c: Include "setup-vdso.h".
74385         (dl_main): Call setup_vdso.
74387 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
74389         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
74390         creal in comment listing functions tested.  List finite, isinf,
74391         isnan, isless, islessequal, isgreater, isgreaterequal,
74392         islessgreater, isunordered, lgamma_r and pow10 as functions and
74393         macros not tested.  Mention which functions not tested are aliases
74394         for other functions.  Fix typo.  Note that signs of NaNs are not
74395         tested.
74397         * scripts/config.guess: Update from config.git.
74398         * scripts/config.sub: Likewise.
74400 2012-10-04  Roland McGrath  <roland@hack.frob.com>
74402         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
74403         * misc/madvise.c (madvise): Renamed to __madvise.
74404         Make madvise a weak alias.
74405         * include/sys/mman.h: Declare __madvise.
74406         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
74407         * sysdeps/unix/syscalls.list
74408         (madvise): Make __madvise the strong name, and madvise a weak alias.
74409         * sysdeps/unix/sysv/linux/syscalls.list
74410         (madvise, mmap): Remove redundant entries.
74411         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
74412         * malloc/malloc.c (mtrim): Likewise.
74413         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
74415 2012-10-03  Roland McGrath  <roland@hack.frob.com>
74417         * sysdeps/mach/hurd/dl-cache.c: File removed.
74418         * config.h.in (USE_LDCONFIG): New #undef.
74419         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
74420         * configure: Regenerated.
74421         * elf/Makefile (dl-routines): Add dl-cache only under
74422         [$(use-ldconfig) = yes].
74423         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
74424         cache on [USE_LDCONFIG].
74425         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
74426         [USE_LDCONFIG].
74427         * elf/rtld.c (dl_main): Likewise.
74429 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
74431         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
74432         _SC_LEVEL4_CACHE_LINESIZE.
74434 2012-10-03  Roland McGrath  <roland@hack.frob.com>
74436         * sysdeps/unix/bsd/confstr.h: File removed.
74438 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
74440         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
74441         sys/sdt-config.h.
74443 2012-10-02  Roland McGrath  <roland@hack.frob.com>
74445         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
74446         Make 'mapoff' field ElfW(Off) rather than off_t.
74448 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
74450         * nscd/Makefile: Remove nscd-cflags and all its users.
74451         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
74452         (CFLAGS-nonlib): Add compiler flags for nscd modules.
74454         [BZ #10631]
74455         * malloc.c (malloc_printerr): Clarify error message.
74457 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
74459         [BZ #14648]
74460         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
74461         Set bit_FMA_Usable if FMA is supported.
74462         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
74463         macro.
74464         (bit_FMA4_Usable): Updated.
74465         (index_FMA_Usable): New macro.
74466         (CPUID_FMA): Likewise.
74467         (HAS_FMA): Defined with bit_FMA_Usable.
74469 2012-10-01  Roland McGrath  <roland@hack.frob.com>
74471         * bits/types.h (__swblk_t): Type removed.
74472         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
74473         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
74474         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
74475         (__SWBLK_T_TYPE): Likewise.
74476         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
74477         (__SWBLK_T_TYPE): Likewise.
74478         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
74479         (__SWBLK_T_TYPE): Likewise.
74480         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
74481         (__SWBLK_T_TYPE): Likewise.
74483 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
74484             Honza Horak <hhorak@redhat.com>
74486         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
74487         (xdr_mapname): Use YPMAXMAP as maxsize.
74488         (xdr_peername): Use YPMAXPEER as maxsize.
74489         (xdr_keydat): Use YPAXRECORD as maxsize.
74490         (xdr_valdat): Use YPMAXRECORD as maxsize.
74492 2012-10-01  Roland McGrath  <roland@hack.frob.com>
74494         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
74496         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
74497         * csu/init-first.c: ... here.
74498         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
74499         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
74500         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
74501         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
74502         * sysdeps/i386/init-first.c: File removed.
74503         * sysdeps/sh/init-first.c: File removed.
74505 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
74507         [BZ #14645]
74508         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
74509         if x * y might underflow to zero and z is zero.
74510         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
74511         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
74512         * math/libm-test.inc (min_subnorm_value): New variable.
74513         (fma_test): Add more tests.
74514         (fma_test_towardzero): Likewise.
74515         (fma_test_downward): Likewise.
74516         (fma_test_upward): Likewise.
74517         (initialize): Set min_subnorm_value.
74519 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
74521         [BZ #14638]
74522         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
74523         0 + 0.
74524         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
74525         mode for addition resulting in exact zero.
74526         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
74527         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
74528         exact 0 + 0.
74529         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
74530         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
74531         * math/libm-test.inc (fma_test): Add more tests.
74532         (fma_test_towardzero): New function.
74533         (fma_test_downward): Likewise.
74534         (fma_test_upward): Likewise.
74535         (main): Call the new functions.
74537 2012-09-28  David S. Miller  <davem@davemloft.net>
74539         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
74541 2012-09-28  Roland McGrath  <roland@hack.frob.com>
74543         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
74544         instead of SIGALRM.
74546         * sysdeps/gnu/_G_config.h: Moved to ...
74547         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
74548         * sysdeps/mach/hurd/_G_config.h: Moved to ...
74549         * sysdeps/generic/_G_config.h: ... here.
74551         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
74553         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
74555         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
74556         Conditionalize target on [libnss_test1.so-version].
74558         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
74560         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
74561         (elfobjdir): Move out of conditionals.
74563         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
74564         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
74565         (__nss_lookup_function): Conditionalize label remove_from_tree on
74566         [!DO_STATIC_NSS || SHARED], matching its only use.
74568 2012-09-28  David S. Miller  <davem@davemloft.net>
74570         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
74571         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
74572         file.
74573         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
74574         sysdep_routines.
74575         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
74576         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
74577         when HWCAP_SPARC_CRYPTO is present.
74579 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
74581         * io/tst-mknodat.c: Create a FIFO instead of a socket.
74583 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
74585         [BZ #6530]
74586         * stdio-common/vfprintf.c (process_string_arg): Revert
74587         2000-07-22 change.
74589 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
74591         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
74592         for testcase.
74593         * stdio-common/tst-sprintf.c: Include <locale.h>
74594         (main): Test sprintf's handling of incomplete multibyte
74595         characters.
74597 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
74599         * elf/dl-runtime.c (VERSYMIDX): Removed.
74600         * elf/dl-version.c (VERSYMIDX): Likewise.
74601         * elf/do-rel.h (VERSYMIDX): Likewise.
74602         (VALIDX): Likewise.
74603         * elf/dynamic-link.h (VERSYMIDX): Likewise.
74604         * elf/rtld.c (VALIDX): Likewise.
74605         (ADDRIDX): Likewise.
74606         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
74607         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
74608         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
74609         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
74610         (VALIDX): Likewise.
74611         (ADDRIDX): Likewise.
74613 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
74615         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
74617 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
74619         [BZ #11438]
74620         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
74621         to global scope.
74622         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
74623         addresses are in the same scope as 192.0.2/24.
74624         * posix/gai.conf: Document new scope table defaults.
74626 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
74628         [BZ #5298]
74629         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
74630         for ftell.  Compute offsets from write pointers instead.
74631         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
74633 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
74635         [BZ #14543]
74636         * libio/Makefile (tests): New test case tst-fseek.
74637         * libio/tst-fseek.c: New test case to verify that fseek/ftell
74638         combination works in wide mode.
74639         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
74640         state when the external buffer state changes.
74642 2012-09-27  David S. Miller  <davem@davemloft.net>
74644         [BZ #14376]
74645         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
74646         pass reloc->r_addend in as the 'high' argument to
74647         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
74649         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74651 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
74653         * rt/tst-aio2.c: Include <pthread.h>.
74654         * rt/tst-aio3.c: Likewise.
74656 2012-09-27  Steve Ellcey  <sellcey@mips.com>
74658         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
74660 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
74662         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
74663         contents on [SHARED].
74665 2012-09-26  Marek Polacek  <polacek@redhat.com>
74667         [BZ #14530]
74668         [BZ #13741]
74669         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
74670         for C++ and GCC <4.3 as well as for non GCC compilers.
74672 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
74674         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
74676 2012-09-25  Roland McGrath  <roland@hack.frob.com>
74678         * Makefile.in (all, install): Declare with .PHONY.
74679         Reported by Michael Hope <michael.hope@linaro.org>.
74681 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
74683         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
74684         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
74685         system header.
74686         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
74687         Likewise.
74688         (sydep_routines): Add the new and the internal functions.
74689         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
74690         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
74691         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
74692         (GLIBC_2.17): Add the new function.
74693         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
74694         (GLIBC_2.17): Likewise.
74695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
74696         (GLIBC_2.17): Likewise.
74697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
74698         (GLIBC_2.17): Likewise.
74699         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
74701 2012-09-25  Alan Modra  <amodra@gmail.com>
74703         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
74704         Add release barrier before setting once_control to say
74705         initialisation is done.  Add hints on lwarx.  Use macro in
74706         place of isync.
74707         (clear_once_control): Add release barrier.
74709 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
74711         [BZ #13629]
74712         * math/s_clog.c (__clog): Handle more values close to |z| = 1
74713         specially.
74714         * math/s_clog10.c (__clog10): Likewise.
74715         * math/s_clog10f.c (__clog10f): Likewise.
74716         * math/s_clog10l.c (__clog10l): Likewise.
74717         * math/s_clogf.c (__clogf): Likewise.
74718         * math/s_clogl.c (__clogl): Likewise.
74719         * math/Makefile (libm-calls): Add x2y2m1.
74720         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
74721         (__x2y2m1): Likewise.
74722         (__x2y2m1l): Likewise.
74723         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
74724         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
74725         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
74726         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
74727         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
74728         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
74729         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
74730         * sysdeps/i386/fpu/libm-test-ulps: Update.
74731         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74733         [BZ #14621]
74734         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
74735         int as type of variable DEPTH.
74736         (glob): Use size_t instead of int as type of variables NEWCOUNT
74737         and OLD_PATHC.
74739 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74741         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
74742         Add s_sincosf-sse2.
74743         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
74744         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
74745         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
74746         macros for using routine as __sincosf_ia32.
74747         Use macro for function declaration and weak_alias.
74748         * sysdeps/i386/fpu/libm-test-ulps: Update.
74750         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
74751         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
74753         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
74754         subnormal argument.
74755         * math/s_cexpf.c (__cexpf): Likewise.
74756         * math/s_csinf.c (__csinf): Likewise.
74757         * math/s_csinhf.c (__csinhf): Likewise.
74758         * math/s_ctanf.c (__ctanf): Likewise.
74759         * math/s_ctanhf.c (__ctanhf): Likewise.
74760         * math/s_ccosh.c (__ccoshf): Likewise.
74761         * math/s_cexp.c (__cexpl): Likewise.
74762         * math/s_csin.c (__csin): Likewise.
74763         * math/s_csinh.c (__csinh): Likewise.
74764         * math/s_ctan.c (__ctan): Likewise.
74765         * math/s_ctanh.c (ctanh): Likewise.
74766         * math/s_ccoshl.c (__ccoshl): Likewise.
74767         * math/s_cexpl.c (__cexpl): Likewise.
74768         * math/s_csinl.c (__csinl): Likewise.
74769         * math/s_csinhl.c (__csinhl): Likewise.
74770         * math/s_ctanl.c (__ctanl): Likewise.
74771         * math/s_ctanhl.c (__ctanhl): Likewise.
74773 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
74775         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
74776         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
74777         (_IO_off_t): Define to __off_t, not _G_off_t.
74778         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
74779         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
74780         (_IO_wint_t): Define to wint_t, not _G_wint_t.
74781         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
74782         type of __dummy and __dummy2 fields.
74783         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
74784         (_G_ssize_t): Likewise.
74785         (_G_off_t): Likewise.
74786         (_G_pid_t): Likewise.
74787         (_G_uid_t): Likewise.
74788         (_G_wchar_t): Likewise.
74789         (_G_wint_t): Likewise.
74790         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
74791         (_G_ssize_t): Likewise.
74792         (_G_off_t): Likewise.
74793         (_G_pid_t): Likewise.
74794         (_G_uid_t): Likewise.
74795         (_G_wchar_t): Likewise.
74796         (_G_wint_t): Likewise.
74797         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
74798         (_G_ssize_t): Likewise.
74799         (_G_off_t): Likewise.
74800         (_G_pid_t): Likewise.
74801         (_G_uid_t): Likewise.
74802         (_G_wchar_t): Likewise.
74803         (_G_wint_t): Likewise.
74805 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
74807         * malloc/arena.c: Include malloc-sysdep.h.
74808         (shrink_heap): Use check_may_shrink_heap to decide if madvise
74809         is sufficient to shrink the heap or an unmap is needed.
74810         * sysdeps/generic/malloc-sysdep.h: New file.  Define
74811         new function check_may_shrink_heap.
74812         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
74813         new function check_may_shrink_heap.
74815 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
74817         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
74818         comments.
74820 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
74822         * catgets/test-gencat.sh: Add "set -e".
74823         * elf/tst-pathopt.sh: Likewise.
74824         * grp/tst_fgetgrent.sh: Likewise.
74825         * iconvdata/run-iconv-test.sh: Likewise.
74826         * intl/tst-gettext.sh: Likewise.
74827         * intl/tst-gettext2.sh: Likewise.
74828         * intl/tst-gettext4.sh: Likewise.
74829         * intl/tst-gettext6.sh: Likewise.
74830         * intl/tst-translit.sh: Likewise.
74831         * io/ftwtest-sh: Likewise.
74832         * libio/test-freopen.sh: Likewise.
74833         * malloc/tst-mtrace.sh: Likewise.
74834         * posix/globtest.sh: Likewise.
74835         * posix/tst-getconf.sh: Likewise.
74836         * posix/wordexp-tst.sh: Likewise.
74837         * stdio-common/tst-printf.sh: Likewise.
74838         * stdio-common/tst-unbputc.sh: Likewise.
74839         * stdlib/tst-fmtmsg.sh: Likewise.
74840         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
74841         * catgets/Makefile: Do not specify -e option when running
74842         testsuite shell scripts.
74843         * elf/Makefile: Likewise.
74844         * grp/Makefile: Likewise.
74845         * iconvdata/Makefile: Likewise.
74846         * intl/Makefile: Likewise.
74847         * io/Makefile: Likewise.
74848         * libio/Makefile: Likewise.
74849         * malloc/Makefile: Likewise.
74850         * posix/Makefile: Likewise.
74851         * stdio-common/Makefile: Likewise.
74852         * stdlib/Makefile: Likewise.
74853         * sysdeps/x86_64/Makefile: Likewise.
74855         * io/ftwtest-sh: Add copyright header.
74856         * posix/globtest.sh: Likewise.
74857         * posix/tst-getconf.sh: Likewise.
74858         * posix/wordexp-tst.sh: Likewise.
74859         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
74861 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
74863         [BZ #13679]
74864         * Makeconfig (+link): Defined as $(+link-static) if
74865         $(build-shared) isn't yes.
74866         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
74867         isn't yes.
74868         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
74870         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
74872         [BZ #14562]
74873         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
74874         new chunk size with MALLOC_ALIGN_MASK.
74876 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
74878         [BZ #5044]
74879         * stdio-common/printf_fphex.c: Include <stdbool.h> and
74880         <rounding-mode.h>.
74881         (__printf_fphex): Determine rounding using get_rounding_mode and
74882         round_away.
74883         * stdio-common/tst-printf-round.c (struct hex_test): New
74884         structure.
74885         (hex_tests): New variable.
74886         (test_hex_in_one_mode): New function.
74887         (do_test): Also run tests for hex float output.
74889 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
74891         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
74892         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
74893         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
74894         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
74895         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
74896         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
74897         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
74898         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
74900 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
74902         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
74903         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
74904         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
74905         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
74907 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
74909         [BZ #14579]
74910         * elf/rtld.c (dl_main): Limit the check for self loading to normal
74911         mode only.
74912         * elf/tst-rtld-load-self.sh: New test.
74913         * elf/Makefile: Run it.
74915 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
74917         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
74918         (tst-writev-ENV): Remove.
74919         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
74921 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
74923         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
74925 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
74927         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
74928         unconditional.
74929         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
74930         Likewise.
74931         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
74932         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
74933         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
74934         Likewise.
74936 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
74938         [BZ #14587]
74939         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
74940         * config.make.in (have-cpp-asm-debuginfo): Removed.
74941         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
74942         * configure: Regenerated.
74944 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
74946         [BZ #5044]
74947         * stdio-common/printf_fp.c: Include <stdbool.h> and
74948         <rounding-mode.h>.
74949         (___printf_fp): Determine rounding using get_rounding_mode and
74950         round_away.
74951         * stdio-common/tst-printf-round.c: New file.
74952         * stdio-common/Makefile (tests): Add tst-printf-round.
74953         (link-libm): New variable.
74954         ($(objpfx)tst-printf-round): Depend in $(link-libm).
74956 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
74958         [BZ #14576]
74959         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
74960         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
74961         Likewise.
74962         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
74963         Likewise.
74965 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
74967         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
74968         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
74969         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
74970         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
74972 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
74974         [BZ #14518]
74975         * include/rounding-mode.h: New file.
74976         * sysdeps/generic/get-rounding-mode.h: Likewise.
74977         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
74978         * stdlib/strtod_l.c: Include <rounding-mode.h>.
74979         (MAX_VALUE): New macro.
74980         (MIN_VALUE): Likewise.
74981         (overflow_value): New function.
74982         (underflow_value): Likewise.
74983         (round_and_return): Use overflow_value and underflow_value to
74984         determine return values in overflow and underflow cases.  Use
74985         round_away to determine rounding depending on rounding mode.
74986         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
74987         determine return values in overflow and underflow cases.
74988         * stdlib/tst-strtod-round.c: Include <fenv.h>.
74989         (struct test_results): New structure.
74990         (struct test): Use struct test_results to store expected results
74991         for all rounding modes.
74992         (TEST): Include expected results for all rounding modes.
74993         (test_in_one_mode): New function.
74994         (do_test): Use test_in_one_mode to compute and check results.
74995         Check results for all rounding modes.
74996         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
74997         $(link-libm).
74999 2012-12-09  Allan McRae  <allan@archlinux.org>
75001         * sysdeps/i386/fpu/libm-test-ulps: Update
75003 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
75005         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
75006         (_G_int32_t): Likewise.
75007         (_G_uint16_t): Likewise.
75008         (_G_uint32_t): Likewise.
75009         (_G_HAVE_BOOL): Likewise.
75010         (_G_HAVE_ATEXIT): Likewise.
75011         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
75012         (_G_HAVE_IO_FILE_OPEN): Likewise.
75013         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
75014         (_G_int32_t): Likewise.
75015         (_G_uint16_t): Likewise.
75016         (_G_uint32_t): Likewise.
75017         (_G_HAVE_BOOL): Likewise.
75018         (_G_HAVE_ATEXIT): Likewise.
75019         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
75020         (_G_HAVE_IO_FILE_OPEN): Likewise.
75021         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
75022         (_G_int32_t): Likewise.
75023         (_G_uint16_t): Likewise.
75024         (_G_uint32_t): Likewise.
75025         (_G_HAVE_BOOL): Likewise.
75026         (_G_HAVE_ATEXIT): Likewise.
75027         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
75028         (_G_HAVE_IO_FILE_OPEN): Likewise.
75030 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
75032         * csu/libc-tls.c: Update copyright years.
75034 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
75036         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
75037         [!_G_USING_THUNKS]: Remove conditional code.
75038         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
75039         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
75041         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
75042         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
75043         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
75044         (_G_VTABLE_LABEL_PREFIX): Likewise.
75045         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
75046         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
75047         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
75048         (_G_VTABLE_LABEL_PREFIX): Likewise.
75049         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
75050         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
75051         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
75052         (_G_VTABLE_LABEL_PREFIX): Likewise.
75053         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
75055 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
75057         * libio/Makefile: Include ../Makeconfig before tests.
75058         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
75059         only if $(build-shared) is yes.
75061         * iconv/gconv_db.c: Update copyright years.
75063 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75065         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
75066         unwind info if defined PIC. Fix special cases description.
75067         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
75069         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
75070         DP_HI_MASK entry.
75071         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
75073 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
75075         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
75077         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
75078         is NULL.
75080         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
75081         (LDLIBS-tst-chk4): This.
75082         (LDFLAGS-tst-chk5): Renamed to ...
75083         (LDLIBS-tst-chk5): This.
75084         (LDFLAGS-tst-chk6): Renamed to ...
75085         (LDLIBS-tst-chk6): This.
75086         (LDFLAGS-tst-lfschk4): Renamed to ...
75087         (LDLIBS-tst-lfschk4): This.
75088         (LDFLAGS-tst-lfschk5): Renamed to ...
75089         (LDLIBS-tst-lfschk5): This.
75090         (LDFLAGS-tst-lfschk6): Renamed to ...
75091         (LDLIBS-tst-lfschk6): This.
75093         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
75094         on $(common-objpfx)soversions.mk.
75096 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
75098         [BZ #10014]
75099         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
75100         example host name.
75102 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
75104         * malloc/arena.c (arena_get_retry): New function that gets
75105         another arena for the caller to try its request on.
75106         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
75107         current arena cannot fulfill the request.
75108         (__libc_memalign): Likewise.
75109         (__libc_memalign): Likewise.
75110         (__libc_pvalloc): Likewise.
75111         (__libc_calloc): Likewise.
75113 2012-09-05  John Tobey  <john.tobey@gmail.com>
75115         [BZ #13542]
75116         * manual/arith.texi (Operations on Complex): Fix description
75117         of carg branch cut.
75119 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
75121         [BZ #10014]
75122         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
75123         host name.
75125         [BZ #10038]
75126         * manual/memory.texi (Memory): Make order of menu items match
75127         order of sections.
75129 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
75131         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
75132         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
75133         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
75135 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
75137         * csu/libc-tls.c (static_dtv): Renamed to ...
75138         (_dl_static_dtv): This.  Make it global.
75139         (_dl_initial_dtv): Removed.
75140         (__libc_setup_tls): Updated.
75141         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
75142         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
75143         DL_INITIAL_DTV.
75145 2012-09-06  Petr Machata  <pmachata@redhat.com>
75147         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
75148         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
75149         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
75150         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
75152 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
75154         [BZ #14545]
75155         * csu/libc-tls.c (_dl_initial_dtv): New variable.
75156         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
75157         freeing dtv[-1].
75159 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
75161         [BZ #14544]
75162         * Makeconfig (link-static-before-libc): Replace $(+prector)
75163         with $(+prectorT).
75164         (link-static-after-libc): Replace $(+postctor) with
75165         $(+postctorT).
75166         (link-bounded): Replace $(+prector)/$(+postctor) with
75167         $(+prectorT)/$(+postctorT).
75168         (+prectorT): New macro.
75169         (+postctorT): Likewise.
75171 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
75173         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
75174         (round_str): Handle values above the maximum for IBM long double
75175         as inexact.
75176         * stdlib/tst-strtod-round.c (tests): Regenerated.
75178 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75180         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
75181         assembler flag.
75182         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
75183         zarch_nohighgprs around the zarch optimized routines.
75184         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
75185         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
75186         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
75187         for zarch.
75189 2012-09-05  David S. Miller  <davem@davemloft.net>
75191         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75193         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
75194         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
75195         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
75196         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
75197         entries.
75199 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
75201         * malloc/arena.c: Fold copyright years.
75202         * malloc/mcheck.c, malloc/memusage.c: Likewise.
75204 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
75206         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
75208 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
75210         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
75212 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
75214         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
75215         change internal state upon failure.
75217 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
75219         * malloc/mcheck.c (mcheck_check_all): Fix typo.
75220         * malloc/memusage.c (mmap): Likewise.
75221         (mmap64, mremap): Likewise.  Adjust name in comment.
75223 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
75225         * libio/fileops.c: Fix typos in comments.
75226         * libio/oldfileops.c: Likewise.
75227         * libio/wfileops.c: Likewise.
75229 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
75231         [BZ #1349]
75232         * malloc/Makefile (tests): Add tst-malloc-usable test case.
75233         (tst-malloc-usable-ENV): Set environment for test case.
75234         * malloc/hooks.c (malloc_check_get_size): New function to get
75235         requested size.
75236         * malloc/malloc.c (musable): Use malloc_check_get_size.
75237         * malloc/tst-malloc-usable.c: New test case.
75239 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
75241         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
75243 2012-09-05  Allan McRae  <allan@archlinux.org>
75245         [BZ #13966]
75246         * configure.in (CXX_SYSINCLUDES): Use compiler output to
75247         determine header location.
75248         * configure: Regenerated.
75250 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
75252         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
75253         float format.
75254         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
75255         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
75256         format.
75257         (test): Regenerate.
75259 2012-09-04  David S. Miller  <davem@davemloft.net>
75261         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
75262         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
75263         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
75265 2012-09-04  Florian Weimer  <fweimer@redhat.com>
75267         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
75268         failures.
75270         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
75272 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
75274         [BZ #9914]
75275         * libio/iogetdelim.c: Include <limits.h>.
75276         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
75277         + len + 1 would overflow.
75279 2012-09-03  Andreas Jaeger  <aj@suse.de>
75281         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
75282         * sysdeps/i386/fpu/libm-test-ulps: Update.
75284 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75286         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
75287         Add s_sinf-sse2, s_conf-sse2.
75289         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
75290         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
75291         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
75292         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
75294         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
75295         for using routine as __sinf_ia32.
75296         Use macro for function declaration and weak_alias.
75297         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
75298         for using routine as __cosf_ia32.
75299         Use macro for function declaration and weak_alias.
75301         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
75302         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
75304         * sysdeps/x86_64/fpu/s_sinf.S: New file.
75305         * sysdeps/x86_64/fpu/s_cosf.S: New file.
75306         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
75308         * math/libm-test.inc (cos_test): Add more test cases.
75309         (sin_test): Likewise.
75310         (sincos_test): Likewise.
75312 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75314         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
75315         (IFUNC_RESOLVE): Make pointers to the specialized implementations
75316         hidden.
75317         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
75319 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
75321         [BZ #14538]
75322         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
75323         first element of the GOT.
75324         (elf_machine_load_address): Return the difference between
75325         the runtime address of _DYNAMIC and elf_machine_dynamic ().
75327 2012-09-01  Allan McRae  <allan@archlinux.org>
75329         [BZ #13412]
75330         * configure.in (AWK): Require gawk version 3.0 or later.
75331         * configure: Regenerated.
75333 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
75335         * sysdeps/unix/sysv/linux/kernel-features.h
75336         (__ASSUME_POSIX_CPU_TIMERS): Remove.
75337         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
75338         [__NR_clock_getres]: Make code unconditional.
75339         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
75340         (clock_getcpuclockid): Remove code left unreachable by removal of
75341         conditionals.
75342         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
75343         code unconditional.
75344         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
75345         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
75346         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
75347         Make code unconditional.
75348         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
75349         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
75350         * sysdeps/unix/sysv/linux/clock_settime.c
75351         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
75352         conditional code.
75353         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
75354         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
75356 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
75358         [BZ #14476]
75359         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
75360         scripts/test-installation.pl.
75362         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
75363         and $ld_so_version if it is set.
75365 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
75367         [BZ #14516]
75368         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
75369         failure if reading from procfs failed.
75370         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
75372 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
75374         * sysdeps/unix/sysv/linux/kernel-features.h
75375         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
75376         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
75377         Remove conditional code.
75378         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
75379         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
75380         Remove conditional code.
75381         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
75382         * sysdeps/unix/sysv/linux/i386/fxstat.c
75383         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
75384         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
75385         * sysdeps/unix/sysv/linux/i386/fxstatat.c
75386         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
75387         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
75388         * sysdeps/unix/sysv/linux/i386/lxstat.c
75389         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
75390         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
75391         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
75392         Remove conditional code.
75393         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
75394         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
75395         Remove conditional code.
75396         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
75397         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
75398         <kernel-features.h>.
75399         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
75400         Remove.
75401         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
75402         Remove conditional code.
75403         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
75404         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
75405         Remove conditional.
75407 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
75409         [BZ #5400]
75410         * NEWS: Add fixed bug number.
75412 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
75414         [BZ #14519]
75415         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
75416         underflowing exponent in case of negative sign.
75417         * stdlib/tst-strtod-round-data: Add more tests.
75418         * stdlib/tst-strtod-round.c (tests): Regenerated.
75420         [BZ #3479]
75421         * stdlib/strtod_l.c (NDIG): Remove.
75422         (HEXNDIG): Likewise.
75423         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
75424         smallest representable value.
75425         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
75426         lie within an exact representation of 1/2 ulp of the result.
75427         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
75428         unconditionally.
75429         (TENS_P9_IDX): Define unconditionally.
75430         (TENS_P9_SIZE): Likewise.
75431         (TENS_P10_IDX): Likewise.
75432         (TENS_P10_SIZE): Likewise.
75433         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
75434         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
75435         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
75436         entries for 10^2^13 and 10^2^14.
75437         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
75438         (TENS_P13_IDX): Define.
75439         (TENS_P13_SIZE): Likewise.
75440         (TENS_P14_IDX): Likewise.
75441         (TENS_P14_SIZE): Likewise.
75442         (_fpioconst_pow10): Change array size to
75443         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
75444         unconditional.
75445         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
75446         1024]: Add entries for 10^2^13 and 10^2^14.
75447         [LAST_POW10 > _LAST_POW10]: Remove #error.
75448         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
75449         (_fpioconst_pow10): Change array size to
75450         FPIOCONST_POW10_ARRAY_SIZE.
75451         * stdlib/gen-fpioconst.c: New file.
75452         * stdlib/gen-tst-strtod-round.c: Likewise.
75453         * stdlib/tst-strtod-round-data: Likewise.
75454         * stdlib/tst-strtod-round.c: Likewise.
75455         * stdlib/Makefile (tests): Add tst-strtod-round.
75457         [BZ #14459]
75458         * stdlib/strtod_l.c: Include <stdint.h>.
75459         (NDEBUG): Do not define.
75460         (round_and_return): Change EXPONENT parameter to type intmax_t.
75461         Rearrange calculations to avoid internal overflow possibilities.
75462         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
75463         Rearrange calculations to avoid internal overflow possibilities.
75464         Assert that number fits inside MPNSIZE limbs.
75465         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
75466         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
75467         calculations and add assertions to avoid internal overflow
75468         possibilities.  Add casts to avoid signed/unsigned operations.
75469         * stdlib/tst-strtod-overflow.c: New file.
75470         * stdlib/Makefile (tests): Add tst-strtod-overflow.
75472 2012-08-25  Marek Polacek  <polacek@redhat.com>
75474         * time/time.h: Fix some typos in comments.
75476 2012-08-23  Roland McGrath  <roland@hack.frob.com>
75478         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
75479         * posix/tst-rfc3484-2.c: Likewise.
75480         * posix/tst-rfc3484-3.c: Likewise.
75482 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
75484         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
75485         (EF_ARM_ABI_FLOAT_HARD): Likewise.
75487 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
75489         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
75490         #include of fxstatat64.c.
75492 2012-08-22  Roland McGrath  <roland@hack.frob.com>
75494         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
75495         * shadow/getspent_r.c: Likewise.
75496         * shadow/getspnam.c: Likewise.
75497         * shadow/getspnam_r.c: Likewise.
75498         * gshadow/getsgent.c: Likewise.
75499         * gshadow/getsgent_r.c: Likewise.
75500         * gshadow/getsgnam.c: Likewise.
75501         * gshadow/getsgnam_r.c: Likewise.
75502         * inet/getnetbyad.c: Likewise.
75503         * inet/getnetbyad_r.c: Likewise.
75504         * inet/getnetbynm.c: Likewise.
75505         * inet/getnetbynm_r.c: Likewise.
75506         * inet/getnetent.c: Likewise.
75507         * inet/getnetent_r.c: Likewise.
75508         * inet/getproto.c: Likewise.
75509         * inet/getproto_r.c: Likewise.
75510         * inet/getprtent.c: Likewise.
75511         * inet/getprtent_r.c: Likewise.
75512         * inet/getprtname.c: Likewise.
75513         * inet/getprtname_r.c: Likewise.
75514         * inet/getrpcbyname.c: Likewise.
75515         * inet/getrpcbyname_r.c: Likewise.
75516         * inet/getrpcbynumber.c: Likewise.
75517         * inet/getrpcbynumber_r.c: Likewise.
75518         * inet/getrpcent.c: Likewise.
75519         * inet/getrpcent_r.c: Likewise.
75520         * inet/getaliasent.c: Likewise.
75521         * inet/getaliasent_r.c: Likewise.
75522         * inet/getaliasname.c: Likewise.
75523         * inet/getaliasname_r.c: Likewise.
75524         * nscd/getgrgid_r.c: Likewise.
75525         * nscd/getgrnam_r.c: Likewise.
75526         * nscd/gethstbyad_r.c: Likewise.
75527         * nscd/gethstbynm3_r.c: Likewise.
75528         * nscd/getpwnam_r.c: Likewise.
75529         * nscd/getpwuid_r.c: Likewise.
75530         * nscd/getsrvbynm_r.c: Likewise.
75531         * nscd/getsrvbypt_r.c: Likewise.
75532         * nscd/gai.c: Likewise.
75534         * configure.in (build_nscd): New substituted variable, set
75535         by --disable-build-nscd and defaults to $use_nscd.
75536         * configure: Regenerated.
75537         * config.make.in (build-nscd): New substituted variable.
75538         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
75539         Change conditional to require [$(build-nscd) = yes] as well.
75540         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
75542         [BZ #13696]
75543         * configure.in (use_nscd): New substituted variable, set by
75544         --disable-nscd.  If enabled, define USE_NSCD.
75545         * configure: Regenerated.
75546         * config.h.in: Add USE_NSCD.
75547         * config.make.in (use-nscd): New substituted variable.
75548         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
75549         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
75550         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
75551         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
75552         (CFLAGS-getgrnam_r.c): Likewise.
75553         (CFLAGS-initgroups.c): Likewise.
75554         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
75555         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
75556         Variables removed.
75557         * inet/getnetgrent_r.c
75558         (nscd_setnetgrent): New function, broken out of ...
75559         (setnetgrent): ... here.  Call it.
75560         (innetgr): Conditionalize nscd bits on [USE_NSCD].
75561         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
75562         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
75563         * nscd/Makefile (routines, aux): Move definitions after include of
75564         Makeconfig.  Conditionalize on [$(use-nscd) != no].
75565         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
75566         Conditionalize on [USE_NSCD].
75567         (is_nscd, nscd_init_cb): Likewise.
75568         (nss_load_library): Conditionalize init callback on [USE_NSCD].
75569         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
75570         * nss/nss_db/db-init.c: Likewise.
75571         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
75572         [USE_NSCD].
75573         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
75574         (make_request): Use it.
75575         (cache_valid_p): New function.
75576         (__check_pf): Use it.
75577         * NEWS: Add item for --disable-nscd.
75579 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
75581         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
75582         to support sed >= 4.2.1-20-ga9bf076.
75583         * configure: Regenerated.
75585 2012-08-22  Roland McGrath  <roland@hack.frob.com>
75587         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
75588         Conditionalize whole body on [IREL].
75590 2012-08-22  Jeff Law <law@redhat.com>
75592         [BZ #14505]
75593         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
75594         if the family is PF_UNSPEC.
75596 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
75598         * Makerules (lib-version): Rename from V.
75599         (install-lib-nosubdir): Change V to lib-version.
75601 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
75603         [BZ #14252]
75604         * powerpc32/power6/wcschr.c: New file.
75605         * powerpc32/power6/wcscpy.c: New file.
75606         * powerpc32/power6/wcsrchr.c: New file.
75607         * powerpc64/power6/wcschr.c: New file.
75608         * powerpc64/power6/wcscpy.c: New file.
75609         * powerpc64/power6/wcsrchr.c: New file.
75611 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
75613         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
75614         (two_way_short_needle): Use it.
75615         * string/strstr.c (AVAILABLE1_USES_J): Define.
75616         * string/strcasestr.c: Likewise.
75618         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
75619         array references.
75620         * string/strcasestr.c (TOLOWER): Make side-effect safe.
75622         [BZ #11607]
75623         * NEWS: Add an entry.
75624         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
75625         define their defaults.
75626         (two_way_short_needle): Detect end-of-string on-the-fly.
75627         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
75628         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
75629         * string/bug-strcasestr1.c: New test.
75630         * string/Makefile: Run it.
75632 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
75634         [BZ #11607]
75635         * string/str-two-way.h (two_way_short_needle): Optimize matching of
75636         the first character.
75638 2012-08-21  Roland McGrath  <roland@hack.frob.com>
75640         * csu/elf-init.c (__libc_csu_irel): Function removed.
75641         * csu/libc-start.c (apply_irel): New function.
75642         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
75644 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
75646         * sysdeps/unix/sysv/linux/kernel-features.h
75647         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
75648         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
75649         <kernel-features.h>.
75650         [__NR_fadvise64_64]: Make code unconditional.
75651         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
75652         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
75653         !__NR_fadvise64_64)]: Likewise.
75654         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
75655         !__NR_fadvise64_64))]: Likewise.
75656         [__NR_fadvise64]: Make code unconditional.
75657         [!__NR_fadvise64]: Remove conditional code.
75658         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
75659         <kernel-features.h>.
75660         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
75661         unconditional.
75662         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
75663         conditional code.
75664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
75665         not include <kernel-features.h>.
75666         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
75667         unconditional.
75668         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
75669         conditional code.
75670         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
75671         include <kernel-features.h>.
75672         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
75673         unconditional.
75674         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
75675         conditional code.
75677 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
75679         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
75680         slight instruction rearrangements per scrollpipe analysis.
75681         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
75683 2012-08-20  Roland McGrath  <roland@hack.frob.com>
75685         * manual/syslog.texi (syslog; vsyslog, closelog):
75686         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
75687         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
75689         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
75690         DSOCAPS to match condition on defining it.
75692 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
75694         * sysdeps/unix/sysv/linux/kernel-features.h
75695         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
75696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
75697         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
75698         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
75699         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
75700         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
75701         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
75702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
75703         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
75704         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
75706         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
75707         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
75709         * sysdeps/unix/sysv/linux/kernel-features.h
75710         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
75711         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
75712         unconditional.
75713         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
75714         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
75715         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
75716         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
75717         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
75718         Make code unconditional.
75719         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
75720         (__mmap64) [!__NR_mmap2]: Likewise.
75721         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
75722         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
75723         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
75724         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
75725         [__NR_mmap2]: Make code unconditional.
75726         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
75727         (__mmap64) [!__NR_mmap2]: Likewise.
75729 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75731         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
75733 2012-08-18  Andreas Jaeger  <aj@suse.de>
75735         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
75737 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
75739         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
75740         * include/unistd.h (__have_sock_cloexec): Likewise.
75741         (__have_pipe2): Likewise.
75742         (__have_dup3): Likewise.
75744 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
75746         [BZ #9685]
75747         * include/unistd.h (__have_pipe2): Change define into an extern int.
75748         (__have_dup3): Likewise.
75749         * socket/have_sock_cloexec.c: Include fcntl.h.
75750         (__have_pipe2): New variable.
75751         (__have_dup3): Likewise.
75753 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
75755         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
75757 2012-08-17  Marek Polacek  <polacek@redhat.com>
75759         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
75760         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
75762 2012-08-17  Roland McGrath  <roland@hack.frob.com>
75764         * configure.in: Add AC_SUBST for sysheaders.
75765         * configure: Regenerated.
75766         * config.make.in (sysheaders): New substituted variable.
75768         * sysdeps/unix/mkfifo.c: Moved ...
75769         * sysdeps/posix/mkfifo.c: ... here.
75770         * sysdeps/unix/mkfifoat.c: Moved ...
75771         * sysdeps/posix/mkfifoat.c: ... here.
75773         * sysdeps/unix/utime.c: Moved ...
75774         * sysdeps/posix/utime.c: ... here.
75776         * sysdeps/unix/time.c: Moved ...
75777         * sysdeps/posix/time.c: ... here.
75778         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
75779         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
75781         * sysdeps/unix/nice.c: Moved ...
75782         * sysdeps/posix/nice.c: ... here.
75784         * sysdeps/unix/alarm.c: Moved ...
75785         * sysdeps/posix/alarm.c: ... here.
75787         * intl/Makefile ($(codeset_mo)): Depend on the input file.
75789 2012-08-17  Jeff Law <law@redhat.com>
75791         * intl/Makefile (codeset_mo): New variable.
75792         ($(codeset_mo)): New target.
75793         (tst-codeset.out): Depend on that.  Remove explicit rule.
75794         (tst-gettext3.out, tst-gettext5.out): Likewise.
75795         (LOCPATH-ENV, tst-codeset-ENV): New variables.
75796         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
75797         * intl/tst-codeset.sh: Remove.
75798         * intl/tst-gettext3.sh: Likewise.
75799         * intl/tst-gettext5.sh: Likewise.
75801 2012-08-17  Roland McGrath  <roland@hack.frob.com>
75803         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
75804         * sysdeps/unix/syscalls.list: ... here.
75806         * sysdeps/posix/getaddrinfo.c
75807         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
75808         (gaiconf_init, gaiconf_reload): Use them.
75809         [!_STATBUF_ST_NSEC]
75810         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
75811         Define using time_t rather than struct timespec.
75813         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
75814         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
75815         Macros removed.
75816         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
75817         [!NO_THREADS].
75818         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
75819         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
75820         Likewise.
75822         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
75823         __libc_cleanup_push argument.
75825         * bits/param.h: New file.
75826         * misc/sys/param.h: New file.
75827         * include/sys/param.h: New file.
75828         * misc/Makefile (headers): Add bits/param.h.
75829         * sysdeps/generic/sys/param.h: File removed.
75830         * sysdeps/unix/sysv/linux/bits/param.h: New file.
75831         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
75832         * sysdeps/mach/hurd/bits/param.h: New file.
75833         * sysdeps/mach/hurd/sys/param.h: File removed.
75835         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
75836         last change.
75838         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
75839         [_IO_MTSAFE_IO].
75840         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
75841         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
75842         New macros.
75844         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
75845         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
75846         rather than -D_IO_MTSAFE_IO conditionally.
75847         * stdio-common/Makefile (CPPFLAGS): Likewise.
75848         * wcsmbs/Makefile (CPPFLAGS): Likewise.
75849         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
75850         Use $(libio-mtsafe).
75851         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
75852         of -D_IO_MTSAFE_IO.
75853         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
75854         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
75855         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
75856         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
75857         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
75858         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
75859         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
75860         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
75861         (CFLAGS-fread_u_chk.c): Likewise.
75862         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
75863         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
75864         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
75865         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
75866         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
75867         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
75868         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
75869         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
75870         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
75872         * libio/Makefile: Test [$(libc-reentrant) = yes]
75873         instead of [$(filter %REENTRANT, $(defines)) nonempty].
75875         * Makeconfig
75876         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
75877         * sysdeps/pthread/configure: File removed.
75878         * sysdeps/pthread/Makeconfig: New file.
75879         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
75880         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
75882 2012-08-16  Gary Benson  <gbenson@redhat.com>
75884         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
75885         unmapping the first object in a namespace.
75887 2012-08-16  Roland McGrath  <roland@hack.frob.com>
75889         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
75890         (__internal_setnetgrent): ... this.  Add internal_function to
75891         definition.  Add libc_hidden_def.
75892         (setnetgrent): Update caller.
75893         (internal_endnetgrent): Renamed to ...
75894         (__internal_endnetgrent): ... this.  Add internal_function to
75895         definition.  Add libc_hidden_def.
75896         (endnetgrent): Update caller.
75897         (internal_getnetgrent_r): Renamed to ...
75898         (__internal_getnetgrent_r): ... this.  Add internal_function to
75899         definition.  Add libc_hidden_def.
75900         (__getnetgrent_r): Update caller.
75901         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
75903 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
75905         * stdlib/longlong.h: Update from GCC.
75907 2012-08-16  Roland McGrath  <roland@hack.frob.com>
75909         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
75910         on _QL, which is set by umul_ppmm but never used.
75911         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
75912         variables, which are set by GMP macros but never used.
75913         * stdio-common/_itowa.c (_itowa): Likewise.
75914         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
75915         * stdlib/mod_1.c (mpn_mod_1): Likewise.
75917 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
75919         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
75920         struct La_sh_regs is not constant.
75921         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
75922         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
75923         and struct La_sparc64_regs are not constant.
75925 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
75927         * sysdeps/unix/sysv/linux/kernel-features.h
75928         (__ASSUME_POSIX_TIMERS): Remove.
75929         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
75930         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
75931         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
75932         Make code unconditional.
75933         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
75934         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
75935         Make code unconditional.
75936         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
75937         * sysdeps/unix/sysv/linux/clock_nanosleep.c
75938         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
75939         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
75940         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
75941         Make code unconditional.
75942         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
75943         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
75944         (__libc_missing_posix_timers): Remove.
75946 2012-08-15  Roland McGrath  <roland@hack.frob.com>
75948         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
75949         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
75951         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
75953         * elf/dl-sym.c: Include <stdlib.h>.
75955         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
75956         constants, which avoids warnings in 32-bit builds.
75958         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
75959         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
75961         * misc/lseek.c: File moved to ...
75962         * io/lseek.c: ... here.
75964         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
75966         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
75967         shifting LEN more than 31 bits at once.
75969 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75971         [BZ #14195]
75972         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
75973         segmentation fault for a case of two empty input strings.
75974         * string/test-strncasecmp.c (check1): Renamed to...
75975         (bz12205): ...this.
75976         (bz14195): Add new testcase for two empty input strings and N > 0.
75977         (test_main): Call new testcase, adapt for renamed function.
75979 2012-08-15  Andreas Jaeger  <aj@suse.de>
75981         [BZ #14090]
75982         * crypt/md5test2.c: New test, based on test supplied by Serge
75983         Belyshev <belyshev@depni.sinp.msu.ru>.
75984         * crypt/Makefile (xtests): Add md5test-giant..
75985         * crypt/Makefile ($(objpfx)md5test-giant): Add.
75987 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
75989         [BZ #14090]
75990         * crypt/md5.c (md5_process_block): Don't assume the buffer
75991         length is less than 2**32.
75992         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
75993         length is less than 2**64.
75995 2012-08-15  Roland McGrath  <roland@hack.frob.com>
75997         * string/str-two-way.h: Include <sys/param.h>.
75998         (MAX): Macro removed.
76000         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
76001         Move #define and #undef of memmove to just before and after
76002         including <string.h>.
76004         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
76005         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
76006         and after including <string.h>.  Move declarations of
76007         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
76008         to before #include "string/memmove.c".
76010         * include/dirent.h: Declare __getdirentries.
76012         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
76013         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
76015 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
76017         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
76018         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
76019         * sysdeps/i386/configure: Regenerated.
76020         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
76021         STABS_CURRENT_FILE, and STABS_FUN.
76022         (END): Remove call to STABS_FUN_END.
76023         (STABS_CURRENT_FILE1): Delete.
76024         (STABS_CURRENT_FILE): Likewise.
76025         (STABS_FUN): Likewise.
76026         (STABS_FUN_END): Likewise.
76027         (STABS_FUN2): Likewise.
76028         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
76029         * sysdeps/x86_64/configure: Regenerated.
76031 2012-08-14  Roland McGrath  <roland@hack.frob.com>
76033         * elf/dl-open.c: Include <atomic.h>.
76034         * elf/dl-lookup.c: Likewise.
76036 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
76038         * sysdeps/unix/sysv/linux/kernel-features.h
76039         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
76040         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
76041         unconditionally.
76042         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
76043         unconditionally.
76044         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
76045         condition on __ASSUME_CLONE_THREAD_FLAGS.
76047 2012-08-14  Andreas Jaeger  <aj@suse.de>
76049         * sysdeps/i386/fpu/libm-test-ulps: Update.
76051 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
76053         * include/atomic.h (atomic_exchange_and_add): Split into ...
76054         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
76055         New atomic macros.
76057 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
76059         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
76061 2012-08-13  Jeff Law <law@redhat.com>
76063         * manual/stdio.texi (snprintf): Clarify handling of the trailing
76064         null byte in the output string.
76066 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
76068         * sysdeps/unix/sysv/linux/kernel-features.h
76069         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
76070         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
76071         (__ASSUME_ARG_MAX_STACK_BASED): Define.
76072         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
76073         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
76074         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
76075         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
76077 2012-08-09  Jeff Law <law@redhat.com>
76079         [BZ #13939]
76080         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
76081         When avoid_arena is set, don't retry in the that arena.  Pick the
76082         next one, whatever it might be.
76083         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
76084         (arena_lock): Pass in new parameter to arena_get2.
76085         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
76086         arena_get2.
76087         (__libc_malloc): Unify retrying after main arena failure with
76088         __libc_memalign version.
76089         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
76091 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
76093         [BZ #14166]
76094         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
76095         to __redirect_strstr.
76096         (__strstr_sse42): Use typeof __redirect_strstr.
76097         (__strstr_ia32): Likewise.
76098         (__libc_strstr): New prototype.
76099         (strstr): Renamed to ...
76100         (__libc_strstr): This.
76101         (strstr): New strong alias of __libc_strstr.
76102         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
76103         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
76104         __redirect_time.
76105         Include <time.h>.
76106         (__libc_time): New prototype.
76107         (time_ifunc): Replace time with __libc_time.
76108         (time): New strong alias and hidden definition of __libc_time.
76109         (__GI_time): Remove strong alias.
76110         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
76111         Include <stddef.h>.
76112         (memmove): Redefined to __redirect_memmove.
76113         (__memmove_sse2): Use typeof __redirect_memmove.
76114         (__memmove_ssse3): Likewise.
76115         (__memmove_ssse3_back): Likewise.
76116         (__libc_memmove): New prototype.
76117         (memmove): Renamed to ...
76118         (__libc_memmove): This.
76119         (memmove): New strong alias of __libc_memmove.
76121 2012-08-08  Mark Salter  <msalter@redhat.com>
76123         * elf/elf.h
76124         (R_MN10300_TLS_GD): Define.
76125         (R_MN10300_TLS_LD): Likewise.
76126         (R_MN10300_TLS_LDO): Likewise.
76127         (R_MN10300_TLS_GOTIE): Likewise.
76128         (R_MN10300_TLS_IE): Likewise.
76129         (R_MN10300_TLS_LE): Likewise.
76130         (R_MN10300_TLS_DTPMOD): Likewise.
76131         (R_MN10300_TLS_DTPOFF): Likewise.
76132         (R_MN10300_TLS_TPOFF): Likewise.
76133         (R_MN10300_SYM_DIFF): Likewise.
76134         (R_MN10300_ALIGN): Likewise.
76135         (R_MN10300_NUM): Update.
76137 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
76139         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
76140         Remove.
76142 2012-08-08  Roland McGrath  <roland@hack.frob.com>
76144         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
76146         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
76147         sysdeps/unix -> sysdeps/posix move.
76148         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
76150 2012-08-07      Allan McRae     <allan@archlinux.org>
76152         [BZ #14303]
76153         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
76154         (SUNOS_CPP): Likewise.
76155         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
76156         not found.
76157         (open_input): Call CPP using execvp.
76159 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
76161         * sysdeps/unix/sysv/linux/kernel-features.h
76162         (__ASSUME_PROT_GROWSUPDOWN): Remove.
76163         (__ASSUME_NO_CLONE_DETACHED): Likewise.
76164         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
76165         (__ASSUME_WAITID_SYSCALL): Likewise.
76166         * sysdeps/unix/sysv/linux/dl-execstack.c
76167         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
76168         code unconditional.
76169         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
76170         conditional code.
76171         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
76172         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
76173         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
76174         code.
76175         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
76176         unconditional.
76177         [__ASSUME_WAITID_SYSCALL]: Likewise.
76178         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
76180 2012-08-07  Roland McGrath  <roland@hack.frob.com>
76182         * sysdeps/unix/closedir.c: Renamed to ...
76183         * sysdeps/posix/closedir.c: ... here.
76184         * sysdeps/unix/dirfd.c: Renamed to ...
76185         * sysdeps/posix/dirfd.c: ... here.
76186         * sysdeps/unix/dirstream.h: Renamed to ...
76187         * sysdeps/posix/dirstream.h: ... here.
76188         * sysdeps/unix/fdopendir.c: Renamed to ...
76189         * sysdeps/posix/fdopendir.c: ... here.
76190         * sysdeps/unix/opendir.c: Renamed to ...
76191         * sysdeps/posix/opendir.c: ... here.
76192         * sysdeps/unix/readdir.c: Renamed to ...
76193         * sysdeps/posix/readdir.c: ... here.
76194         * sysdeps/unix/readdir_r.c: Renamed to ...
76195         * sysdeps/posix/readdir_r.c: ... here.
76196         * sysdeps/unix/rewinddir.c: Renamed to ...
76197         * sysdeps/posix/rewinddir.c: ... here.
76198         * sysdeps/unix/seekdir.c: Renamed to ...
76199         * sysdeps/posix/seekdir.c: ... here.
76200         * sysdeps/unix/telldir.c: Renamed to ...
76201         * sysdeps/posix/telldir.c: ... here.
76202         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
76203         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
76204         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
76205         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
76207         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
76208         * bits/fcntl.h: ... here.
76210         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
76211         not 0.
76212         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
76213         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
76214         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
76215         (struct flock): Move l_start, l_len to the beginning.
76216         Use __pid_t for l_pid.
76217         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
76218         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
76219         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
76220         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
76221         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
76222         [__USE_LARGEFILE64] (struct flock64): New type.
76223         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
76225         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
76226         * bits/dirent.h: ... here.
76228         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
76229         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
76231 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
76233         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
76234         Change from 2.6.0 to 2.6.16.
76235         * sysdeps/unix/sysv/linux/configure: Regenerated.
76236         * sysdeps/unix/sysv/linux/kernel-features.h
76237         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
76238         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
76239         version.
76240         (__ASSUME_UTIMES): Likewise.
76241         (__ASSUME_CLONE_STOPPED): Remove.
76242         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
76243         architectures, not kernel version.
76244         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
76245         (__ASSUME_NO_CLONE_DETACHED): Likewise.
76246         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
76247         (__ASSUME_WAITID_SYSCALL): Likewise.
76248         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
76249         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
76250         * README: State 2.6.16 as minimum Linux kernel version.  Do not
76251         refer to older versions.
76253 2012-08-06  Roland McGrath  <roland@hack.frob.com>
76255         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
76256         Define alphasort64 as an alias.
76257         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
76258         Define versionsort64 as an alias.
76259         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
76260         Define scandir64 as an alias.
76261         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
76262         Define scandirat64 as an alias.
76263         * dirent/alphasort64.c (alphasort64):
76264         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
76265         * dirent/versionsort64.c: Likewise.
76266         * dirent/scandir64.c: Likewise.
76267         * dirent/scandirat64.c: Likewise.
76268         * sysdeps/wordsize-64/alphasort.c: File removed.
76269         * sysdeps/wordsize-64/alphasort64.c: File removed.
76270         * sysdeps/wordsize-64/scandir.c: File removed.
76271         * sysdeps/wordsize-64/scandir64.c: File removed.
76272         * sysdeps/wordsize-64/scandirat.c: File removed.
76273         * sysdeps/wordsize-64/scandirat64.c: File removed.
76274         * sysdeps/wordsize-64/versionsort.c: File removed.
76275         * sysdeps/wordsize-64/versionsort64.c: File removed.
76276         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
76277         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
76278         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
76279         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
76280         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
76281         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
76282         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
76283         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
76285         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
76286         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
76287         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
76288         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
76289         [defined __arch64__ || defined __sparcv9]
76290         (__INO_T_MATCHES_INO64_T): New macro.
76291         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
76292         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
76293         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
76294         * sysdeps/unix/sysv/linux/bits/dirent.h
76295         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
76296         (_DIRENT_MATCHES_DIRENT64): New macro.
76298         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
76299         Define lockf64 as an alias.
76300         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
76301         Define fseeko64 as an alias.
76302         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
76303         Define ftello64 as an alias.
76304         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
76305         Define _IO_fgetpos64 and fgetpos64 as aliases.
76306         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
76307         Define _IO_fsetpos64 and fsetpos64 as aliases.
76308         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
76309         Conditionalize body on this.
76310         * libio/fseeko64.c: Likewise.
76311         * libio/ftello64.c: Likewise.
76312         * libio/iofgetpos64.c: Likewise.
76313         * libio/iofsetpos64.c: Likewise.
76314         * sysdeps/wordsize-64/lockf.c: File removed.
76315         * sysdeps/wordsize-64/lockf64.c: File removed.
76316         * sysdeps/wordsize-64/fseeko.c: File removed.
76317         * sysdeps/wordsize-64/fseeko64.c: File removed.
76318         * sysdeps/wordsize-64/ftello.c: File removed.
76319         * sysdeps/wordsize-64/ftello64.c: File removed.
76320         * sysdeps/wordsize-64/iofgetpos.c: File removed.
76321         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
76322         * sysdeps/wordsize-64/iofsetpos.c: File removed.
76323         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
76324         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
76325         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
76326         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
76327         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
76328         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
76329         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
76330         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
76331         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
76332         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
76333         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
76335         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
76336         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
76337         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
76338         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
76339         [defined __arch64__ || defined __sparcv9]
76340         (__OFF_T_MATCHES_OFF64_T): New macro.
76341         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
76342         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
76343         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
76344         (__OFF_T_MATCHES_OFF64_T): New macro.
76346 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
76348         * stdlib/secure-getenv.c (__secure_getenv): Replace
76349         GLIBC_2_16 with GLIBC_2_17.
76351 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
76353         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
76354         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
76356 2012-08-03  David S. Miller  <davem@davemloft.net>
76358         * sysdeps/sparc/fpu/libm-test-ulps: Update.
76360 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
76362         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
76363         Remove.
76364         (__ASSUME_CORRECT_SI_PID): Likewise.
76365         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
76366         (__ASSUME_TMPFS_NAME): Likewise.
76367         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
76368         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
76369         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
76370         (HAVE_AUX_SECURE): Make definition unconditional.
76371         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
76372         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
76374 2012-08-03  Roland McGrath  <roland@hack.frob.com>
76376         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
76377         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
76378         * sysdeps/mach/hurd/eloop-threshold.h: New file.
76379         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
76380         __eloop_threshold instead of SYMLOOP_MAX.
76382         * sysdeps/generic/eloop-threshold.h: New file.
76383         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
76384         of MAXSYMLINKS.
76385         * elf/chroot_canon.c (chroot_canon): Likewise.
76387 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
76389         [BZ #13717]
76390         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
76391         Change to 2.6.0 everywhere.
76392         * sysdeps/unix/sysv/linux/configure: Regenerated.
76393         * sysdeps/unix/sysv/linux/kernel-features.h
76394         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
76395         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
76396         kernel versions.
76397         (__ASSUME_POSIX_TIMERS): Define unconditionally.
76398         (__ASSUME_FUTEX_REQUEUE): Remove.
76399         (__ASSUME_STATFS64): Define unconditionally.
76400         (__ASSUME_AT_SECURE): Likewise.
76401         (__ASSUME_CORRECT_SI_PID): Likewise.
76402         (__ASSUME_TGKILL): Define without depending on kernel version for
76403         i386.
76404         (__ASSUME_UTIMES): Likewise.
76405         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
76406         kernel version.
76407         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
76408         (__ASSUME_TMPFS_NAME): Likewise.
76409         * README: Update reference to Linux kernel versions.
76411 2012-08-02  Marek Polacek  <polacek@redhat.com>
76413         [BZ #14150]
76414         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
76415         libc_cv_asm_type_prefix with %.
76416         * configure: Regenerated.
76417         * include/libc-symbols.h: Remove comment about
76418         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
76419         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
76420         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
76421         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
76422         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
76423         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
76424         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
76425         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
76426         * elf/tst-unique2mod1.c: Likewise.
76427         * elf/tst-unique1mod2.c: Likewise.
76428         * elf/tst-unique1mod1.c: Likewise.
76429         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
76430         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
76431         Replace ASM_TYPE_DIRECTIVE with .type.
76432         * sysdeps/s390/s390-64/sysdep.h: Likewise.
76433         * sysdeps/i386/sysdep.h: Likewise.
76434         * sysdeps/x86_64/sysdep.h: Likewise.
76435         * sysdeps/sh/sysdep.h: Likewise.
76436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
76437         Do not define ASM_TYPE_DIRECTIVE.
76438         * sysdeps/powerpc/sysdep.h: Likewise.
76439         * sysdeps/powerpc/powerpc32/sysdep.h:
76440         Replace ASM_TYPE_DIRECTIVE with .type.
76441         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
76442         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
76443         * sysdeps/i386/fpu/e_powf.S: Likewise.
76444         * sysdeps/i386/fpu/e_expl.S: Likewise.
76445         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
76446         * sysdeps/i386/fpu/e_acosh.S: Likewise.
76447         * sysdeps/i386/fpu/e_pow.S: Likewise.
76448         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
76449         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
76450         * sysdeps/i386/fpu/s_expm1.S: Likewise.
76451         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
76452         * sysdeps/i386/fpu/e_log2.S: Likewise.
76453         * sysdeps/i386/fpu/e_log2l.S: Likewise.
76454         * sysdeps/i386/fpu/e_scalb.S: Likewise.
76455         * sysdeps/i386/fpu/e_powl.S: Likewise.
76456         * sysdeps/i386/fpu/e_log10f.S: Likewise.
76457         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
76458         * sysdeps/i386/fpu/e_logl.S: Likewise.
76459         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
76460         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
76461         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
76462         * sysdeps/i386/fpu/e_log2f.S: Likewise.
76463         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
76464         * sysdeps/i386/fpu/e_log.S: Likewise.
76465         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
76466         * sysdeps/i386/fpu/e_logf.S: Likewise.
76467         * sysdeps/i386/fpu/e_log10l.S: Likewise.
76468         * sysdeps/i386/fpu/e_atanh.S: Likewise.
76469         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
76470         * sysdeps/i386/fpu/e_log10.S: Likewise.
76471         * sysdeps/i386/fpu/s_frexp.S: Likewise.
76472         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
76473         * sysdeps/i386/fpu/s_asinh.S: Likewise.
76474         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
76475         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
76476         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
76477         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
76478         * sysdeps/i386/i686/strtok.S: Likewise.
76479         * sysdeps/i386/i386-mcount.S: Likewise.
76480         * sysdeps/i386/strtok.S: Likewise.
76481         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
76482         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
76483         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
76484         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
76485         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
76486         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
76487         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
76488         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
76489         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
76490         * sysdeps/x86_64/_mcount.S: Likewise.
76491         * sysdeps/x86_64/strtok.S: Likewise.
76492         * sysdeps/sh/_mcount.S: Likewise.
76494 2012-08-01  Roland McGrath  <roland@hack.frob.com>
76496         * libio/iofopen.c: Include <fcntl.h>.
76497         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
76498         (_IO_fopen64, fopen64): Define as aliases.
76499         * libio/iofopen64.c: Include <fcntl.h>.
76500         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
76501         Conditionalize body on this.
76502         * sysdeps/wordsize-64/iofopen.c: File removed.
76503         * sysdeps/wordsize-64/iofopen64.c: File removed.
76505 2012-08-01  Marek Polacek  <polacek@redhat.com>
76507         * libc/Makeconfig: Use elf in place of binfmt-subdir.
76508         Use dlfcn directly instead of a variable.
76509         (binfmt-subdir): Do not define.
76510         (dlfcn): Likewise.
76512 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
76514         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
76515         Remove all definitions.
76516         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
76517         <kernel-features.h>.
76518         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
76519         (miss_F_GETOWN_EX): Remove all definitions.
76520         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
76521         macro definition.
76522         [!__ASSUME_FCNTL64]: Remove conditional code.
76523         [__ASSUME_FCNTL64]: Make code unconditional.
76524         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
76525         <kernel-features.h>.
76526         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
76527         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
76528         (lockf64) [__NR_fcntl64]: Make code unconditional.
76529         (lockf64) [__ASSUME_FCNTL64]: Likewise.
76531         * sysdeps/unix/sysv/linux/kernel-features.h
76532         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
76533         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
76534         Make code unconditional.
76535         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
76536         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
76537         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
76538         [__NR_vfork]: Make code unconditional.
76539         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
76540         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
76541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
76542         [__NR_vfork]: Make code unconditional.
76543         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
76544         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
76546 2012-08-01  Roland McGrath  <roland@hack.frob.com>
76548         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
76549         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
76551         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
76552         Define mkstemp64 as an alias.
76553         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
76554         Define mkstemps64 as an alias.
76555         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
76556         Define mkostemp64 as an alias.
76557         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
76558         Define mkostemps64 as an alias.
76559         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
76560         Conditionalize body on this.
76561         * misc/mkostemp64.c: Likewise.
76562         * misc/mkostemps64.c: Likewise.
76563         * misc/mkstemps64.c: Likewise.
76564         * sysdeps/wordsize-64/mkstemp64.c: File removed.
76565         * sysdeps/wordsize-64/mkostemp64.c: File removed.
76566         * sysdeps/wordsize-64/mkostemp.c: File removed.
76567         * sysdeps/wordsize-64/mkstemp.c: File removed.
76568         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
76569         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
76570         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
76571         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
76573         [BZ #14138]
76574         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
76575         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
76576         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
76577         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
76579         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
76580         compat_symbol macros from <shlib-compat.h> rather than the underlying
76581         default_symbol_version and symbol_version macros, so that DEFAULT
76582         lines in shlib-versions are respected.
76583         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
76585 2012-08-01  Florian Weimer  <fweimer@redhat.com>
76587         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
76588         Declare with warn_unused_result.
76589         (setgid, setregid, setegid, setresgid): Likewise.
76590         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
76591         Likewise.
76592         * WUR-REPORT: Remove set*id functions.
76594 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
76596         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
76598 2012-07-31  Roland McGrath  <roland@hack.frob.com>
76600         [BZ #10191]
76601         * include/sys/socket.h (__libc_accept, __libc_accept4):
76602         Add attribute_hidden.
76603         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
76605         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
76606         use of PTR_MANGLE.
76607         * inet/getnetgrent_r.c (setup): Likewise.
76609         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
76611 2012-07-31  David S. Miller  <davem@davemloft.net>
76613         * sysdeps/sparc/fpu/libm-test-ulps: Update.
76615 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
76617         [BZ #13629]
76618         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
76619         value between 1.0 and 2.0 and smaller part has absolute value less
76620         than 1.0.
76621         * math/s_clog10.c (__clog10): Likewise.
76622         * math/s_clog10f.c (__clog10f): Likewise.
76623         * math/s_clog10l.c (__clog10l): Likewise.
76624         * math/s_clogf.c (__clogf): Likewise.
76625         * math/s_clogl.c (__clogl): Likewise.
76626         * math/libm-test.inc (clog_test): Add more tests.
76627         (clog10_test): Likewise.
76628         * sysdeps/i386/fpu/libm-test-ulps: Update.
76629         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76631 2012-07-31  Florian Weimer  <fweimer@redhat.com>
76633         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
76634         Exit with zero in case no suitable GID is found, and write a
76635         message to standard error.
76637 2012-07-30  Roland McGrath  <roland@hack.frob.com>
76639         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
76640         rather than to 1.
76641         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
76642         (MAXPATHLEN): Removed.
76643         (NOGROUP, NODEV): New macros.
76644         (setbit, clrbit, isset, isclr): New macros.
76645         (howmany, roundup, powerof2): New macros.
76646         (DEV_BSIZE): New macro.
76648         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
76649         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
76651         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
76652         definition on [!__NO_LONG_DOUBLE_MATH].
76654         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
76655         PTR_MANGLE and PTR_DEMANGLE.
76657         * socket/accept4.c (accept4): Rename to __libc_accept4.
76658         Define accept4 as a weak alias.
76660         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
76661         on [_DIRENT_HAVE_D_TYPE].
76662         * io/ftw.c (ftw_dir): Likewise.
76664         * io/xmknod.c (__xmknod): Don't check PATH for being null.
76666         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
76668         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
76669         Use the BSD numbers rather than the arbitrary ones we had.
76670         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
76671         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
76672         (SIGXCPU, SIGXFSZ): New macros.
76673         (_NSIG): Now 32.
76675         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
76676         initializer on [_LIBC_REENTRANT].
76678         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
76679         definitions inside [_POSIX_MAPPED_FILES].
76681         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
76683         * dirent/opendir.c: Include <fcntl.h>.
76685         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
76686         (__libc_getspecific): Likewise.
76687         (__libc_key_create): Likewise.
76689         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
76690         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
76691         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
76692         (tmpfile64): Define as alias.
76693         * sysdeps/wordsize-64/tmpfile.c: File removed.
76694         * sysdeps/wordsize-64/tmpfile64.c: File removed.
76695         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
76696         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
76698         * stdio-common/vfscanf.c: Include <stdbool.h>.
76699         * nss/makedb.c: Likewise.
76700         * stdio-common/_i18n_number.h: Likewise.
76701         * argp/argp-help.c: Likewise.
76702         * posix/wordexp.c: Likewise.
76703         * sysdeps/posix/spawni.c: Likewise.
76704         * nss/nss_files/files-initgroups.c: Likewise.
76705         * stdio-common/reg-modifier.c: Include <stdlib.h>.
76706         * nss/nss_files/files-initgroups.c: Likewise.
76707         * nss/nss_db/db-netgrp.c: Likewise.
76708         * nss/nss_db/db-initgroups.c: Likewise.
76709         * io/fchmodat.c: Include <sys/stat.h>.
76711         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
76712         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
76714         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
76715         [HAVE_MMAP].
76717         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
76718         Add multiple inclusion protection.
76720 2012-07-27  David S. Miller  <davem@davemloft.net>
76722         * sysdeps/sparc/fpu/libm-test-ulps: Update.
76724 2012-07-27  Gary Benson  <gbenson@redhat.com>
76726         [BZ #14298]
76727         * elf/rtld.c: Include <stap-probe.h>.
76728         (dl_main): Added static probes "init_start" and "init_complete".
76729         * elf/dl-load.c: Include <stap-probe.h>.
76730         (lose): Take new parameter "nsid".
76731         Added static probe "map_failed".
76732         (_dl_map_object_from_fd): Pass namespace id to lose.
76733         Added static probe "map_start".
76734         (open_verify): Pass namespace id to lose.
76735         * elf/dl-open.c: Include <stap-probe.h>.
76736         (dl_open_worker) Added static probes "map_complete", "reloc_start"
76737         and "reloc_complete".
76738         * elf/dl-close.c: Include <stap-probe.h>.
76739         (_dl_close_worker): Added static probes "unmap_start" and
76740         "unmap_complete".
76741         * elf/rtld-debugger-interface.txt: New file documenting the above.
76743 2012-07-26  Roland McGrath  <roland@hack.frob.com>
76745         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
76746         rather than a string variable.
76747         * sunrpc/rpc_main.c (h_output): Likewise.
76748         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
76750 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
76752         * inet/check_native.c: New file.
76754 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
76756         [BZ #13629]
76757         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
76758         if larger part has absolute value 1.0.
76759         * math/s_clog10.c (__clog10): Likewise.
76760         * math/s_clog10f.c (__clog10f): Likewise.
76761         * math/s_clog10l.c (__clog10l): Likewise.
76762         * math/s_clogf.c (__clogf): Likewise.
76763         * math/s_clogl.c (__clogl): Likewise.
76764         * math/libm-test.inc (clog_test): Add more tests.
76765         (clog10_test): Likewise.
76766         * sysdeps/i386/fpu/libm-test-ulps: Update.
76767         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76769         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
76770         (pltexit): Likewise.
76771         (La_regs): Likewise.
76772         (La_retval): Likewise.
76773         (int_retval): Likewise.
76774         Update #error for removed macros to refer only to definitions in
76775         tst-audit.h.
76776         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
76777         macro.
76778         (pltexit): Likewise.
76779         (La_regs): Likewise.
76780         (La_retval): Likewise.
76781         (int_retval): Likewise.
76782         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
76783         macro.
76784         (pltexit): Likewise.
76785         (La_regs): Likewise.
76786         (La_retval): Likewise.
76787         (int_retval): Likewise.
76788         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
76789         macro.
76790         (pltexit): Likewise.
76791         (La_regs): Likewise.
76792         (La_retval): Likewise.
76793         (int_retval): Likewise.
76794         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
76795         macro.
76796         (pltexit): Likewise.
76797         (La_regs): Likewise.
76798         (La_retval): Likewise.
76799         (int_retval): Likewise.
76800         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
76801         macro.
76802         (pltexit): Likewise.
76803         (La_regs): Likewise.
76804         (La_retval): Likewise.
76805         (int_retval): Likewise.
76806         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
76807         macro.
76808         (pltexit): Likewise.
76809         (La_regs): Likewise.
76810         (La_retval): Likewise.
76811         (int_retval): Likewise.
76812         * sysdeps/generic/tst-audit.h: Update comment to refer only to
76813         macro definitions in tst-audit.h.
76814         * sysdeps/i386/tst-audit.h: New file.
76815         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
76816         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
76817         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
76818         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
76819         * sysdeps/sh/tst-audit.h: Likewise.
76820         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
76821         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
76822         * sysdeps/x86_64/tst-audit.h: Likewise.
76824 2012-07-26  Andreas Jaeger  <aj@suse.de>
76826         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
76827         ptrace.
76829         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
76830         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
76831         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
76832         PTRACE_O_MASK.
76833         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
76834         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
76835         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
76837         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
76838         value.
76840         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
76841         _sigsys.
76842         (si_call_addr, si_syscall, si_arch): Define new macro.
76843         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
76844         _sigsys.
76845         (si_call_addr, si_syscall, si_arch): Define new marcro.
76846         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
76847         _sigsys.
76848         (si_call_addr, si_syscall, si_arch): Define new macro.
76849         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
76850         _sigsys.
76851         (si_call_addr, si_syscall, si_arch): Define new macro.
76853 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
76855         [BZ #13717]
76856         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
76857         Change to 2.4.21 where previously 2.4.1.
76858         * sysdeps/unix/sysv/linux/configure: Regenerated.
76859         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
76860         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
76861         Linux kernel version.
76862         (__ASSUME_STD_AUXV): Remove.
76863         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
76864         kernel version.
76865         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
76866         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
76867         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
76868         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
76869         (__ASSUME_NETLINK_SUPPORT): Likewise.
76870         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
76871         (__no_netlink_support): Remove conditional definition.
76872         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
76873         Remove.
76874         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
76875         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
76876         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
76877         (if_nameindex_ioctl): Remove.
76878         (if_nameindex_netlink): Do not handle __no_netlink_support.
76879         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
76880         code.
76881         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
76882         Remove conditional code.
76883         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
76884         code.
76885         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
76886         unconditional.
76887         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
76888         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
76889         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
76890         Remove.
76891         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
76892         [!__ASSUME_STD_AUXV]: Remove conditional code.
76893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
76894         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
76895         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
76896         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
76897         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
76898         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
76899         code.
76900         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
76901         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
76902         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
76903         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
76904         conditional code.
76905         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
76906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
76907         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
76908         code.
76909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
76910         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
76911         conditional code.
76912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
76913         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
76914         code unconditional.
76915         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
76916         conditional code.
76917         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
76918         unconditional.
76919         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
76920         conditional code.
76921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
76922         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
76923         unconditional.
76924         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
76925         conditional code.
76926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
76927         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
76928         code unconditional.
76929         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
76930         conditional code.
76931         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
76932         unconditional.
76933         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
76934         conditional code.
76935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
76936         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
76937         code unconditional.
76938         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
76939         conditional code.
76940         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
76941         unconditional.
76942         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
76943         conditional code.
76945 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
76947         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
76948         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
76949         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
76950         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
76951         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
76952         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
76953         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
76954         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
76955         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
76956         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
76957         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
76958         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
76959         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
76960         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
76961         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
76962         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
76963         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
76964         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
76965         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
76966         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
76967         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
76968         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
76969         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
76971 2012-07-25  Florian Weimer  <fweimer@redhat.com>
76973         * Versions.def: Add GLIBC_2.17.
76974         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
76975         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
76976         Introduce __libc_secure_getenv.
76977         * stdlib/Versions (2.17): Add secure_getenv
76978         (GLIBC_PRIVATE): Add __libc_secure_getenv.
76979         * stdlib/secure-getenv.c: Rename __secure_getenv to
76980         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
76981         symbol __secure_getenv for GLIBC_2.0.
76982         * stdlib/tst-secure-getenv.c: New.
76983         * stdlib/Makefile (tests): Add testcase.
76984         * manual/startup.texi (Environment Access): Document
76985         secure_getenv.
76986         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
76987         __libc_secure_getenv.
76988         * inet/ruserpass.c (ruserpass): Likewise.
76989         * malloc/mtrace.c (mtrace): Likewise.
76990         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
76991         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
76992         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
76993         * sysdeps/posix/tempname.c: Likewise.  Evaluate
76994         HAVE_SECURE_GETENV.
76995         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
76996         __secure_getenv to __libc_secure_getenv.
76997         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
76998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
76999         Likewise.
77000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
77001         Likewise.
77002         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
77003         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
77004         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
77005         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
77006         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
77007         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
77008         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
77010 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
77012         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
77013         (struct La_i86_retval): Likewise.
77014         (struct La_x86_64_regs): Likewise.
77015         (struct La_x86_64_retval): Likewise.
77016         (struct La_x32_regs): Likewise.
77017         (struct La_x32_retval): Likewise.
77018         (struct La_ppc32_regs): Likewise.
77019         (struct La_ppc32_retval): Likewise.
77020         (struct La_ppc64_regs): Likewise.
77021         (struct La_ppc64_retval): Likewise.
77022         (struct La_sh_regs): Likewise.
77023         (struct La_sh_retval): Likewise.
77024         (struct La_s390_32_regs): Likewise.
77025         (struct La_s390_32_retval): Likewise.
77026         (struct La_s390_64_regs): Likewise.
77027         (struct La_s390_64_retval): Likewise.
77028         (struct La_sparc32_regs): Likewise.
77029         (struct La_sparc32_retval): Likewise.
77030         (struct La_sparc64_regs): Likewise.
77031         (struct La_sparc64_retval): Likewise.
77032         (struct audit_ifaces): Remove architecture-specific pltenter and
77033         pltexit members.
77034         * sysdeps/i386/ldsodefs.h: New file.
77035         * sysdeps/powerpc/ldsodefs.h: Likewise.
77036         * sysdeps/s390/ldsodefs.h: Likewise.
77037         * sysdeps/sh/ldsodefs.h: Likewise.
77038         * sysdeps/sparc/ldsodefs.h: Likewise.
77039         * sysdeps/x86_64/ldsodefs.h: Likewise.
77041 2012-07-25  Marek Polacek  <polacek@redhat.com>
77043         [BZ #6808]
77044         * math/libm-test.inc (yn_test): Add another test.
77045         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
77046         to ERANGE when the result is +-Inf.
77047         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
77048         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
77049         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
77050         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
77052 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
77054         * conform/data/time.h-data (NULL): Use macro-constant.  Require
77055         equal to 0.
77056         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
77057         clock_t.
77058         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
77060 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
77062         * configure.in <sysdeps resolving>: Correct printing
77063         Implies_before.
77064         * configure: Regenerate.
77066 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
77068         * math/w_ilogb.c: Include <limits.h>.
77069         * math/w_ilogbl.c: Likewise.
77071 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
77073         * manual/lang.texi (__va_copy): Document primarily as ISO C99
77074         va_copy.  Document allowing for unavailable va_copy only as
77075         pre-C99 compatibility.
77076         * manual/string.texi (Copying and Concatenation): Use va_copy
77077         instead of __va_copy in concat example.
77079 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
77081         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
77082         (__sendto): Use create_address_port.  Initialize APORT and deallocate
77083         it if not null.
77085         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
77086         with O_NOLINK passed to __file_name_lookup.
77088         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
77089         with O_NOLINK passed to __file_name_lookup.
77091         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
77092         negative N or less than NGIDS.
77094         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
77095         type to string_t.  Set ERANGE as errno and return it if NAME is not big
77096         enough.  Use memcpy instead of strncpy.
77098 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
77100         * elf/Makefile (check-data): Remove.
77101         (localplt.data): New vpath directive.
77102         ($(objpfx)check-localplt.out): Use localplt.data from vpath
77103         instead of $(check-data).
77104         * scripts/data/localplt-generic.data: Move to ...
77105         * sysdeps/generic/localplt.data: ... here.
77106         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
77107         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
77108         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
77109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
77110         ... here.
77111         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
77112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
77113         ... here.
77114         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
77115         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
77116         ... here.
77117         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
77118         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
77119         ... here.
77120         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
77121         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
77122         ... here.
77123         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
77124         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
77125         ... here.
77127 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77129         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
77130         PPC32 and PPC64 files.
77131         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
77132         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
77134 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77136         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
77137         __makecontext_ret to ...
77138         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
77139         ... here and call exit if uc_link is NULL.  New file.
77140         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
77141         __makecontext_ret.S.
77142         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
77143         __makecontext_ret to ...
77144         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
77145         ... here and call exit if uc_link is NULL.  New file.
77146         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
77147         __makecontext_ret.S.
77149 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77151         * elf/elf.h (R_390_IRELATIVE): New definition.
77152         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
77153         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
77154         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
77155         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
77156         (elf_machine_lazy_rel): Likewise.
77157         * sysdeps/s390/dl-irel.h: New file.
77158         * sysdeps/s390/s390-64/memcpy.S: New asm code.
77159         * sysdeps/s390/s390-64/memset.S: New asm code.
77160         * sysdeps/s390/s390-64/memcmp.S: New asm code.
77161         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
77162         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
77163         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
77164         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
77165         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
77166         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
77167         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
77168         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
77169         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
77170         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
77171         * sysdeps/s390/s390-32/memcpy.S: New asm code.
77172         * sysdeps/s390/s390-32/memset.S: New asm code.
77173         * sysdeps/s390/s390-32/memcmp.S: New asm code.
77175 2012-07-17  Marek Polacek  <polacek@redhat.com>
77177         [BZ #14349]
77178         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
77179         * sysdeps/s390/s390-64/configure.in: Likewise.
77180         * sysdeps/sparc/configure.in: Likewise.
77181         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
77182         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
77183         * sysdeps/i386/configure.in: Likewise.
77184         * sysdeps/x86_64/configure.in: Likewise.
77185         * sysdeps/sh/configure.in: Likewise.
77186         * sysdeps/s390/s390-32/configure: Regenerated.
77187         * sysdeps/s390/s390-64/configure: Likewise.
77188         * sysdeps/x86_64/configure: Likewise.
77189         * sysdeps/sh/configure: Likewise.
77190         * sysdeps/powerpc/powerpc64/configure: Likewise.
77191         * sysdeps/powerpc/powerpc32/configure: Likewise.
77192         * sysdeps/sparc/configure: Likewise.
77193         * sysdeps/i386/configure: Likewise.
77195         * elf/dl-open.c: Comment fixes.
77197 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
77199         * Makefile [CXX] (check-data): Remove.
77200         [CXX] (c++-types.data): New vpath directive.
77201         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
77202         vpath.  Do not allow for C++ type data being missing.
77203         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
77204         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
77205         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
77206         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
77207         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
77208         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
77209         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
77210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
77211         ... here.
77212         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
77213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
77214         ... here.
77215         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
77216         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
77217         ... here.
77218         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
77219         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
77220         ... here.
77221         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
77222         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
77223         ... here.
77224         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
77225         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
77226         ... here.
77227         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
77228         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
77229         ... here.
77230         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
77231         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
77233         * elf/tls-macros.h (TLS_LE): Move architecture-specific
77234         definitions to architecture-specific files.
77235         (TLS_IE): Likewise.
77236         (TLS_LD): Likewise.
77237         (TLS_GD): Likewise.
77238         * sysdeps/i386/tls-macros.h: New file.
77239         * sysdeps/powerpc/tls-macros.h: Likewise.
77240         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
77241         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
77242         * sysdeps/sh/tls-macros.h: Likewise.
77243         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
77244         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
77245         * sysdeps/x86_64/tls-macros.h: Likewise.
77247 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
77249         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
77250         zero value for regular exit case.
77252         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
77253         (__start_context): Preserve zero value for regular exit case.
77255 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
77256             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77258         * manual/setjmp.texi (setcontext): Clarify normal process
77259         termination when uc_link is the null pointer.
77260         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
77261         exit call.
77263 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
77265         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
77266         preprocessor.  Test for each exception mask separately.
77268 2012-07-16  Andreas Jaeger  <aj@suse.de>
77270         * po/ru.po: Update from translation team.
77272 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
77274         * conform/data/string.h-data (NULL): Use macro-constant.  Require
77275         equal to 0.
77276         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
77277         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
77278         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
77279         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
77280         [ISO || ISO99 || ISO11] (*_t): Do not allow.
77282 2012-07-13  Andreas Jaeger  <aj@suse.de>
77284         * po/fr.po: Update from translation team.
77286 2012-07-12  Marek Polacek  <polacek@redhat.com>
77288         [BZ #14173]
77289         * math/libm-test.inc (yn_test): Add test for BZ #14173.
77290         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
77291         loop condition.
77293 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
77295         [BZ #13717]
77296         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
77297         Change to 2.4.1 where previously 2.4.0.
77298         * sysdeps/unix/sysv/linux/configure: Regenerated.
77299         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
77300         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
77301         version.
77302         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
77303         (__ASSUME_AT_CLKTCK): Remove.
77304         (__ASSUME_AT_PAGESIZE): Likewise.
77305         (__ASSUME_AT_XID): Likewise.
77306         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
77307         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
77308         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
77309         unconditionally.
77310         (HAVE_AUX_PAGESIZE): Likewise.
77311         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
77312         [__ASSUME_AT_CLKTCK]: Make code unconditional.
77313         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
77315 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
77317         [BZ #14307]
77318         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
77319         the temporary buffer used to invoke __gethostbyname2_r,
77320         __gethostbyaddr_r and gethostbyname4_r to make room for struct
77321         host_data / struct gaih_addrtuple.
77322         * resolv/nss_dns/dns-host.c (global scope): Move definition of
77323         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
77324         header file nss/nsswitch.h.
77325         * nss/nsswitch.h (global scope): Add definition of implementation
77326         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
77327         resolv/nss_dns/dns-host.c).
77329 2012-07-11  Andreas Jaeger  <aj@suse.de>
77331         * po/fr.po: Update from translation team.
77333         * po/sv.po: Update from translation team
77334         * po/fr.po: Another update from translation team.
77336 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77338         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
77339         for subnormals or multiply small sinh result by itself.
77340         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
77341         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
77343 2012-07-11  David S. Miller  <davem@davemloft.net>
77345         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77347 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
77349         [BZ #14347]
77350         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
77351         (INTERNAL_MARK): Shift it here.
77353 2012-07-10  Marek Polacek  <polacek@redhat.com>
77355         [BZ #14151]
77356         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
77357         libc_cv_asm_global_directive with .globl.
77358         * configure: Regenerated.
77359         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
77360         with .globl.
77361         * sysdeps/i386/configure: Regenerated.
77362         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
77363         with .globl.
77364         * sysdeps/x86_64/configure: Regenerated.
77365         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
77366         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
77367         * elf/tst-unique2mod2.c: Likewise.
77368         * elf/tst-unique2mod1.c: Likewise.
77369         * elf/tst-unique1mod2.c: Likewise.
77370         * elf/tst-unique1mod1.c: Likewise.
77371         * sysdeps/s390/s390-32/sysdep.h: Likewise.
77372         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
77373         * sysdeps/s390/s390-64/sysdep.h: Likewise.
77374         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
77375         * sysdeps/mach/sysdep.h: Likewise.
77376         * sysdeps/i386/sysdep.h: Likewise.
77377         * sysdeps/i386/i386-mcount.S: Likewise.
77378         * sysdeps/x86_64/_mcount.S: Likewise.
77379         * sysdeps/x86_64/sysdep.h: Likewise.
77380         * sysdeps/sh/_mcount.S: Likewise.
77381         * sysdeps/sh/sysdep.h: Likewise.
77382         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
77383         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
77384         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
77385         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
77386         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
77387         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
77388         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
77389         * locale/localeinfo.h: Likewise.
77390         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
77391         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
77393 2012-07-09  Roland McGrath  <roland@hack.frob.com>
77395         [BZ #14336]
77396         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
77397         system".
77398         * manual/message.texi (The Uniforum approach): Likewise.
77399         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
77400         (glibc iconv Implementation): Likewise.
77402 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
77404         [BZ #14337]
77405         * math/s_clog.c (__clog): Avoid scaling a value down where that
77406         could result in underflow.
77407         * math/s_clog10.c (__clog10): Likewise.
77408         * math/s_clog10f.c (__clog10f): Likewise.
77409         * math/s_clog10l.c (__clog10l): Likewise.
77410         * math/s_clogf.c (__clogf): Likewise.
77411         * math/s_clogl.c (__clogl): Likewise.
77412         * math/libm-test.inc (clog_test): Add more tests.
77413         (clog10_test): Likewise.
77414         * sysdeps/i386/fpu/libm-test-ulps: Update.
77415         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77417 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
77419         [BZ #14283]
77420         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
77421         by 7 not 8 to examine high bit of fractional part.
77423         [BZ #14042]
77424         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
77425         for call to __mcount_internal.
77426         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
77427         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
77428         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
77430 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
77432         [BZ #14154]
77433         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
77434         approximation for values within 0x1p-13f of an odd multiple of
77435         pi/4.
77436         * math/libm-test.inc (tan_test): Do not allow spurious underflow
77437         exception.  Add more tests.
77438         * sysdeps/i386/fpu/libm-test-ulps: Update.
77440         [BZ #6778]
77441         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
77442         inputs and return -1 for them.  Do not check for +Inf in case not
77443         reachable for +Inf.
77444         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
77445         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
77446         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
77447         and return -1 for them.  Do not check for +Inf in case not
77448         reachable for +Inf.
77449         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
77450         define.
77451         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
77452         and return -1 for them.  Do not check for +Inf in case not
77453         reachable for +Inf.
77454         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
77455         spurious underflow.
77456         * sysdeps/i386/fpu/libm-test-ulps: Update.
77457         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77459 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
77461         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
77463 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
77465         [BZ #14157]
77466         [BZ #14331]
77467         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
77468         could result in spurious underflow.  Scale down values above
77469         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
77470         * math/s_csqrtf.c (__csqrtf): Likewise.
77471         * math/s_csqrtl.c (__csqrtl): Likewise.
77472         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
77473         spurious underflow.
77474         * sysdeps/i386/fpu/libm-test-ulps: Update.
77475         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77477 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
77479         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
77480         xopen-msg.sed.
77481         * catgets/xopen-msg.awk: New file.
77482         * catgets/xopen-msg.sed: Removed.
77484         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
77485         po2text.sed.
77486         * intl/po2test.awk: New file.
77487         * intl/po2test.sed: Removed.
77489 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
77491         [BZ #14328]
77492         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
77493         or multiply small sinh result by itself.
77494         * math/s_ctanf.c (__ctanf): Likewise.
77495         * math/s_ctanh.c (__ctanh): Likewise.
77496         * math/s_ctanhf.c (__ctanhf): Likewise.
77497         * math/s_ctanhl.c (__ctanhl): Likewise.
77498         * math/s_ctanl.c (__ctanl): Likewise.
77499         * math/libm-test.inc (ctan_test_tonearest): New function.
77500         (ctan_test_towardzero): Likewise.
77501         (ctan_test_downward): Likewise.
77502         (ctan_test_upward): Likewise.
77503         (ctanh_test_tonearest): Likewise.
77504         (ctanh_test_towardzero): Likewise.
77505         (ctanh_test_downward): Likewise.
77506         (ctanh_test_upward): Likewise.
77507         (main): Call these new functions.
77508         * sysdeps/i386/fpu/libm-test-ulps: Update.
77509         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77511 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
77513         * .gitignore: Delete /ports entry.
77515 2012-07-03  Andreas Jaeger  <aj@suse.de>
77517         * po/bg.po: Update from translation team.
77518         * po/cs.po: Likewise.
77519         * po/de.po: Likewise.
77520         * po/hr.po: Likewise.
77521         * po/nl.pl: Likewise.
77522         * po/pl.po: Likewise.
77523         * po/vi.po: Likewise.
77525 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
77527         * Makeconfig [!+link] (+link-before-libc): New variable.
77528         [!+link] (+link-after-libc): Likewise.
77529         [!+link] (+link-tests): Likewise.
77530         [!+link] (+link): Define in terms of $(+link-before-libc) and
77531         $(+link-after-libc).
77532         [!+link-static] (+link-static-before-libc): New variable.
77533         [!+link-static] (+link-static-after-libc): Likewise.
77534         [!+link-static] (+link-static-tests): Likewise.
77535         [!+link-static] (+link-static): Define in terms of
77536         $(+link-static-before-libc) and $(+link-static-after-libc).
77537         [build-shared] (link-libc-before-gnulib): New variable.
77538         [build-shared] (link-libc-tests): Likewise.
77539         [build-shared] (link-libc): Define in terms of
77540         $(link-libc-before-gnulib).
77541         [!build-shared] (link-libc-tests): New variable.
77542         (link-libc-static-tests): New variable.
77543         [!gnulib] (gnulib-arch): New variable.
77544         [!gnulib] (gnulib-tests): Likewise.
77545         [!gnulib] (static-gnulib-arch): Likewise.
77546         [!gnulib] (static-gnulib-tests): Likewise.
77547         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
77548         Define with "=" instead of ":=".
77549         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
77550         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
77551         * Rules (binaries-all-notests): New variable.
77552         (binaries-all-tests): Likewise.
77553         (binaries-static-notests): Likewise.
77554         (binaries-static-tests): Likewise.
77555         (binaries-all): Define using $(binaries-all-notests) and
77556         $(binaries-all-tests).
77557         (binaries-static): Define using $(binaries-static-notests) and
77558         $(binaries-static-tests).
77559         (binaries-shared-tests): New variable.
77560         (binaries-shared-notests): Likewise.
77561         (binaries-shared): Remove variable.
77562         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
77563         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
77564         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
77565         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
77566         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
77567         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
77568         * elf/Makefile (sln-modules): New variable.
77569         (extra-objs): Add $(sln-modules:=.o).
77570         (ldconfig-modules): Add static-stubs.
77571         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
77572         * elf/static-stubs.c: New file.
77574         [BZ #14283]
77575         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
77576         by 7 not 8 to examine high bit of fractional part.  Use volatile
77577         variables when splitting into final array of floats if
77578         __FLT_EVAL_METHOD__ != 0.
77579         * math/libm-test.inc (cos_test): Add another test.
77580         (sin_test): Likewise.
77581         * sysdeps/i386/fpu/libm-test-ulps: Update.
77583         [BZ #14273]
77584         * math/libm-test.inc (cosh_test): Add more tests.
77586         * version.h (RELEASE): Set to "development".
77587         (VERSION): Set to "2.16.90".
77589 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
77591         * NEWS: Update copyright. Remove last-updated date.
77592         Mention math library bug fixes and timezone data changes.
77593         * README: Mention GNU/Hurd, x32, and HPPA support status.
77595 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
77597         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
77599 2012-06-27  Andreas Jaeger  <aj@suse.de>
77601         * manual/contrib.texi (Contributors): Add Samuel Thibault.
77603 2012-06-25  Andreas Jaeger  <aj@suse.de>
77605         * sysdeps/s390/fpu/libm-test-ulps: Update.
77607 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
77608             Thomas Schwinge  <thomas@codesourcery.com>
77610         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
77611         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
77612         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
77613         fanotify_mark.
77615 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
77617         * sysdeps/mach/start.c: Remove file.
77618         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
77619         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
77620         * sysdeps/sh/init-first.c: Likewise.
77622         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
77623         registers for frame unwinding purposes, add CFI directives.
77624         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
77625         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
77626         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
77627         Likewise.
77629         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
77630         __fortify_fail returning.
77631         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
77633         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
77634         sysdeps/sh/____longjmp_chk.S.
77635         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
77636         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
77637         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
77638         (gen-as-const-headers): Append sigaltstack-offsets.sym.
77640         * sysdeps/sh/abort-instr.h: New file.
77641         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
77642         process in case exit returns.
77644         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
77645         initialize the GOT register before use.
77647         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
77648         calculation of ARGC > 4.
77650         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
77651         meaningful names to some local labels.
77653 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
77654             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
77656         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
77657         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
77658         (__arch_compare_and_exchange_val_16_acq): Likewise.
77659         (__arch_compare_and_exchange_val_32_acq): Likewise.
77660         (atomic_exchange_and_add): Fix gUSA sequence.
77661         (atomic_add): Likewise.
77662         (atomic_add_negative): Likewise.
77663         (atomic_add_zero): Likewise.
77664         (atomic_bit_test_set): Likewise.
77666 2012-06-22  Andreas Schwab  <schwab@redhat.com>
77668         [BZ #13579]
77669         * include/link.h (struct link_map): Add l_free_initfini.
77670         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
77671         l_initfini.
77672         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
77673         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
77674         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
77675         set.
77677 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
77679         * configure.in: Use AC_LANG_SOURCE.
77680         * configure: Regenerate.
77682 2012-06-22  Roland McGrath  <roland@hack.frob.com>
77684         * configure.in (libc_cv_localstatedir): New substituted variable.
77685         * configure: Regenerated.
77686         * config.make.in (localstatedir): New variable, substituted from
77687         libc_cv_localstatedir.
77688         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
77689         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
77690         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
77691         * sysdeps/gnu/configure: Regenerated.
77693 2012-06-21  Jeff Law  <law@redhat.com>
77695         [BZ #14277]
77696         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
77697         free.  Simplify list management for _LIBC case.
77699 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
77701         [BZ #14273]
77702         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
77703         Clear sign bit of 64-bit integer value before comparing against
77704         overflow value.
77706         * sysdeps/mach/configure: Regenerated.
77708 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
77710         [BZ #14278]
77711         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
77713 2012-06-21  Jeff Law  <law@redhat.com>
77715         [BZ #13882]
77716         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
77717         uint16_t for elements in the "seen" array to avoid char overflows.
77718         * elf/dl-fini.c (_dl_sort_fini): Likewise.
77719         * elf/dl-open.c (dl_open_worker): Likewise.
77721 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
77723         * scripts/list-sources.sh: Scan PORTS for translations.
77724         * po/libc.pot: Regenerated.
77726 2012-06-21  Andreas Jaeger  <aj@suse.de>
77728         [BZ #12194]
77729         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
77730         warning.
77731         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
77732         * bits/byteswap-16.h (__bswap_16): Likewise.
77733         * bits/byteswap.h (__bswap_constant_16): Likewise.
77735 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
77737         [BZ #14117]
77738         * sysdeps/i386/fpu_control.h: Removed.
77739         * sysdeps/x86_64/fpu_control.h: Moved to ...
77740         * sysdeps/x86/fpu_control.h: Here.
77742         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
77743         (_FPU_SETCW): Likewise.
77745 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
77747         [BZ #14117]
77748         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
77749         * sysdeps/x86/fpu/bits/mathinline.h: This.
77750         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
77752         [BZ #14050]
77753         [BZ #14117]
77754         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
77755         functions if __x86_64__ is defined.
77757 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
77759         * string/endian.h: Add !__ASSEMBLER__ condition for including
77760         conversion interfaces.
77762 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
77764         [BZ #14241]
77765         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
77766         of ABS(x) in calculating zero to negative powers other than odd
77767         integers.
77768         * math/libm-test.inc (pow_test): Add more tests.
77770 2012-06-15  Andreas Jaeger  <aj@suse.de>
77772         * manual/contrib.texi (Contributors): Update entry of Liubov
77773         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
77774         Machado Filho.
77776 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
77778         * string/string.h: Add __wur to GNU version of strerror_r.
77780 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
77782         [BZ #14229]
77783         * string/Makefile (tests): Add tst-strtok_r.
77784         * string/tst-strtok_r.c: New file.
77785         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
77786         RAX_LP/RDX_LP on SAVE_PTR.
77788 2012-06-14  Roland McGrath  <roland@hack.frob.com>
77790         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
77792 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
77794         * libm_test.inc (csqrt_test): Allow more spurious underflow
77795         exceptions.
77796         (j0_test): Likewise.
77797         (j1_test): Likewise.
77798         (y0_test): Likewise.
77799         (y1_test): Likewise.
77801 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
77803         * po/Makefile (libc.pot): Use UTF-8 charset.
77805 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
77807         [BZ #14210]
77808         Suppress sign-conversion warning from FD_SET.
77809         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
77810         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
77811         not unsigned long int.
77812         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
77814 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
77816         [BZ #14050]
77817         [BZ #14117]
77818         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
77819         __extern_always_inline instead of __extern_inline.
77820         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
77821         (__signbit): Likewise.
77822         (__signbitl): Support C++ namespace.
77823         (lrintf): New inline function.
77824         (lrint): Likewise.
77825         (llrintf): Likewise.
77826         (llrint): Likewise.
77827         (fmaxf): Likewise.
77828         (fmax): Likewise.
77829         (fminf): Likewise.
77830         (fmin): Likewise.
77831         (rint): Likewise.
77832         (rintf): Likewise.
77833         (ceil): Likewise.
77834         (ceilf): Likewise.
77835         (floor): Likewise.
77836         (floorf): Likewise.
77837         (nearbyint): Likewise.
77838         (nearbyintf): Likewise.
77840 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
77842         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
77843         non-default versions.
77845 2012-06-11  Roland McGrath  <roland@hack.frob.com>
77847         [BZ #14218]
77848         * manual/argp.texi (Argp): Reword argp_parse description slightly.
77850 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
77852         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
77853         (FE_UPWARD, FE_DOWNWARD): Don't define.
77854         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
77855         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
77857         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
77858         reading it.
77859         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
77860         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
77862 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
77864         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
77865         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
77866         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
77867         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
77869 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
77871         [BZ #14117]
77872         * sysdeps/i386/fpu/bits/fenv.h: Removed.
77873         * sysdeps/i386/fpu/Implies: New file.
77874         * sysdeps/x86_64/fpu/Implies: Likewise.
77875         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
77876         * sysdeps/x86/fpu/bits/fenv.h: This.
77878         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
77879         __SSE_MATH__.
77881 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
77883         [BZ #14134]
77884         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
77885         character 0xffff that matches the last element of the
77886         conversion table.
77888 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77890         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
77891         fmodl commit.
77893 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77895         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
77896         values higher than 25.6283.
77898 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77900         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
77901         subnormal exponent extraction and add some __builtin_expect.
77902         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
77903         Fix for subnormal mantissa calculation.
77905 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
77907         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
77908         cpu2 is -1 and errno is not ENOSYS.
77910 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
77912         [BZ #14117]
77913         * sysdeps/i386/i486/bits/string.h: Renamed to ...
77914         * sysdeps/x86/bits/string.h: This.
77915         * sysdeps/x86_64/bits/string.h: Removed.
77917         * sysdeps/i386/i486/bits/string.h: Define inline functions only
77918         if not compiling for x86-64, but compiling for >= i486.
77920         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
77921         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
77923         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
77924         New macro from Linux kernel 3.4.0.
77925         (FP_XSTATE_MAGIC2): Likewise.
77926         (FP_XSTATE_MAGIC2_SIZE): Likewise.
77927         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
77928         (struct _fpx_sw_bytes): New struct.
77929         (struct _xsave_hdr): Likewise.
77930         (struct _ymmh_state): Likewise.
77931         (struct _xstate): Likewise.
77933         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
77934         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
77935         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
77936         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
77937         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
77938         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
77940         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
77941         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
77942         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
77943         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
77944         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
77945         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
77947 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
77949         [BZ #13743]
77950         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
77951         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
77952         (sysdep_headers): Include sys/platform/ppc.h.
77953         * sysdeps/powerpc/test-gettimebase.c: Test for
77954         __ppc_get_timebase() to catch future ISA opcode/insn changes.
77955         * manual/Makefile (appendices): Include platform.texi.
77956         * manual/contrib.texi (Contributors): Update @node pointers.
77957         * manual/maint.texi (Maintenance): Likewise.
77958         (Platform): New node.
77959         * manual/platform.texi: New file.  Document the new features.
77961 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
77962             Jakub Jelinek  <jakub@redhat.com>
77964         [BZ #14188]
77965         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
77966         where __builtin_expect is unavailable.
77968 2012-06-03  David S. Miller  <davem@davemloft.net>
77970         * stdlib/longlong.h: Updated from GCC.
77972 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
77974         [BZ #14042]
77975         * sysdeps/powerpc/powerpc32/mcount.c: New file.
77976         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
77977         __mcount_internal.
77978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
77979         (GLIBC_2.16): Likewise.
77981 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
77983         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
77985 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
77987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
77988         (default-abi): New variable.
77989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
77990         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
77991         variable.
77992         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
77993         Likewise.
77994         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
77995         Likewise.
77996         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
77997         Likewise.
77999         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
78000         definition.  Document in comment.
78002 2012-06-01  David S. Miller  <davem@davemloft.net>
78004         * stdlib/longlong.h: Updated from GCC.
78006 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
78008         [BZ #14117]
78009         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
78010         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
78011         sys/debugreg.h sys/io.h here.
78012         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
78013         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
78014         sys/io.h.
78015         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
78016         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
78017         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
78018         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
78019         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
78020         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
78022         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
78023         Define only if __x86_64__ is defined.
78025 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
78027         [BZ #14048]
78028         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
78029         Use int64_t for variable i.
78030         * math/libm-test.inc (fmod_test): Add more tests.
78032         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
78033         z computation is not scheduled after fetestexcept.
78034         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
78035         Use math_force_eval instead of asm to ensure calculation scheduled
78036         before exception test.
78037         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
78038         Ensure a1 + u.d computation is not scheduled after fetestexcept.
78040 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
78042         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
78043         computation is not scheduled after fetestexcept.
78045 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
78047         [BZ #14117]
78048         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
78049         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
78051 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78053         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
78054         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
78056 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
78058         [BZ #14117]
78059         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
78060         <bits/wordsize.h>.
78061         (__WCHAR_MIN): Support __WORDSIZE == 64.
78062         (__WCHAR_MAX): Likewise.
78064         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
78065         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
78067         [BZ #14183]
78068         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
78069         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
78071         [BZ #14117]
78072         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
78073         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
78075         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
78076         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
78078         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
78079         Defined to 1 if __x86_64__ isn't defined.
78080         (_STAT_VER_LINUX_OLD): New.
78081         (st_atime): Remove duplicate.
78082         (st_mtime): Likewise.
78083         (st_ctime): Likewise.
78085 2012-05-31  David S. Miller  <davem@davemloft.net>
78087         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
78088         entries.
78090 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
78092         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
78093         gen-libm-test.pl.
78095         [BZ #14132]
78096         * elf/dl-reloc.c: Include <_itoa.h>.
78097         (_dl_reloc_bad_type): Remove use of INTUSE.
78098         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
78099         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
78100         * stdio-common/psiginfo.c (psiginfo): Likewise.
78101         * stdio-common/psignal.c (psignal): Likewise.
78102         * string/strsignal.c (strsignal): Likewise.
78103         * include/signal.h (_sys_siglist): Declare hidden proto.
78104         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
78105         INTVARDEF with libc_hidden_data_def.
78106         * stdio-common/itoa-udigits.c: Likewise.
78107         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
78108         (_itoa_lower_digits_internal): Remove declaration.
78109         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
78110         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
78111         (_sys_sigabbrev_internal): Remove aliases.
78112         (_sys_siglist): Define hidden alias.
78114 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
78116         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
78117         bits/sysctl.h.
78119 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
78121         [BZ #14117]
78122         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
78123         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
78125         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
78126         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
78127         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
78128         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
78129         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
78130         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
78132         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
78133         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
78134         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
78136         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
78137         with __addr.
78138         (insw): Likewise.
78139         (insl): Likewise.
78140         (outsb): Likewise.
78141         (outsw): Likewise.
78142         (outsl): Likewise.
78144         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
78145         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
78146         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
78148         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
78149         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
78150         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
78151         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
78152         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
78153         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
78155         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
78156         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
78158         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
78159         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
78161         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
78162         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
78163         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
78165         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
78166         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
78167         to ...
78168         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
78170         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
78171         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
78172         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
78174         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
78175         for x86-64.
78176         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
78178 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
78180         * math/math.h (M_El): Use two more decimal places.
78181         (M_LOG2El): Likewise.
78182         (M_LOG10El): Likewise.
78183         (M_LN2l): Likewise.
78184         (M_LN10l): Likewise.
78185         (M_PIl): Likewise.
78186         (M_PI_2l): Likewise.
78187         (M_PI_4l): Likewise.
78188         (M_1_PIl): Likewise.
78189         (M_2_PIl): Likewise.
78190         (M_2_SQRTPIl): Likewise.
78191         (M_SQRT2l): Likewise.
78192         (M_SQRT1_2l): Likewise.
78194 2012-05-31  David S. Miller  <davem@davemloft.net>
78196         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
78197         values between float registers.
78198         * sysdeps/sparc/sparc64/memset.S: Likewise.
78199         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
78201 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
78203         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
78204         -D_FORTIFY_SOURCE=1.
78205         (CPPFLAGS-tst-longjmp_chk.c): Define.
78206         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
78207         (CPPFLAGS-tst-longjmp_chk2.c): Define.
78208         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
78209         CFLAGS-tst-wchar-h.c.
78211 2012-05-31  Marek Polacek  <polacek@redhat.com>
78213         [BZ #14132]
78214         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
78215         __endmntent_internal): Remove declaration.
78216         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
78217         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
78218         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
78220 2012-05-30  David S. Miller  <davem@davemloft.net>
78222         * sysdeps/sparc/sparc32/soft-fp/q_util.c
78223         (___Q_simulate_exceptions): Use real FP ops rather than writing
78224         into the %fsr.
78225         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
78226         Likewise.
78228 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
78230         [BZ #14117]
78231         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
78232         * sysdeps/x86/bits/xtitypes.h: This.
78234         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
78235         * sysdeps/x86/bits/wordsize.h: This.
78237         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
78238         * sysdeps/x86/bits/huge_vall.h: This.
78240         * sysdeps/i386/bits/select.h: Removed.
78241         * sysdeps/x86_64/bits/select.h: Renamed to ...
78242         * sysdeps/x86/bits/select.h: This.
78244         * sysdeps/i386/bits/setjmp.h: Removed.
78245         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
78246         * sysdeps/x86/bits/setjmp.h: This.
78248         * sysdeps/i386/bits/mathdef.h: Removed.
78249         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
78250         * sysdeps/x86/bits/mathdef.h: This.
78252 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
78254         [BZ #14132]
78255         * include/sys/socket.h (__connect_internal)
78256         (__libc_sa_len_internal): Remove declaration.
78257         (__connect, __libc_sa_len): Declare hidden_proto.
78258         (SA_LEN): Remove use of INTUSE.
78259         * socket/connect.c: Add libc_hidden_def.
78260         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
78261         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
78262         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
78263         alias.
78264         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
78265         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
78266         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
78267         of adding _internal alias.
78269 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
78271         [BZ #14117]
78272         * sysdeps/i386/bits/link.h: Removed.
78273         * sysdeps/i386/bits/linkmap.h: Likewise.
78274         * sysdeps/x86_64/bits/link.h: Renamed to ...
78275         * sysdeps/x86/bits/link.h: This.
78276         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
78277         * sysdeps/x86/bits/linkmap.h: This.
78279         * sysdeps/i386/bits/endian.h: Removed.
78280         * sysdeps/x86_64/bits/endian.h: Renamed to ...
78281         * sysdeps/x86/bits/endian.h: This.
78283         * sysdeps/i386/bits/byteswap.h: Removed.
78284         * sysdeps/i386/bits/byteswap-16.h: Likewise.
78285         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
78286         * sysdeps/x86/bits/byteswap.h: This.
78287         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
78288         * sysdeps/x86/bits/byteswap-16.h: This.
78289         * sysdeps/i386/Implies: Add x86.
78290         * sysdeps/x86_64/Implies: Likewise.
78292 2012-05-30  David S. Miller  <davem@davemloft.net>
78294         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
78295         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
78296         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
78297         (FP_TRAPPING_EXCEPTIONS): Define.
78298         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
78299         (FP_TRAPPING_EXCEPTIONS): Define.
78300         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
78301         subnormals only when inexact has been signalled or underflow
78302         exceptions are enabled.
78303         (_FP_PACK_CANONICAL): Likewise.
78305 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
78307         [BZ #14183]
78308         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
78309         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
78311 2012-05-30  Richard Henderson  <rth@twiddle.net>
78313         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
78314         with #ifndef NOT_IN_libc.
78316         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
78317         marked to avoid plt entry.
78319 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
78321         [BZ #14112]
78322         * Makeconfig (default-abi): New macro.
78323         (abi-includes): Likewise.
78324         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
78325         $(abi-$(default-abi)-lib-soname) for soname if defined.
78326         ($(common-objpfx)gnu/lib-names.stmp): Generate from
78327         abi-variants.
78328         * Makefile (installed-stubs): Likewise.
78329         * include/stubs-biarch.h: Removed.
78330         * scripts/lib-names.awk: Only handle one library at a time.
78331         * scripts/soversions.awk: Remove WORDSIZE support.
78332         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
78333         entries.
78334         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
78335         Removed.
78336         (syscall-list-default-condition): Likewise.
78337         (syscall-list-default-condition): Likewise.
78338         (syscall-list-includes): Likewise.
78339         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
78340         syscall-list-* with abi-*.  Handle undefined abi-variants.
78341         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
78342         * sysdeps/unix/sysv/linux/i386/Implies: New file.
78343         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
78344         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
78345         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
78346         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
78347         Removed.
78348         (syscall-list-32-options): Likewise.
78349         (syscall-list-32-condition): Likewise.
78350         (syscall-list-64-options): Likewise.
78351         (syscall-list-64-condition): Likewise.
78352         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
78353         macro.
78354         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
78355         Renamed to ...
78356         (abi-*): This.
78357         (abi-64-ld-soname): New macro.
78358         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
78359         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
78360         Renamed to ...
78361         (abi-*): This.
78362         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
78363         * sysdeps/x86_64/x32/shlib-versions: Likewise.
78365 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
78367         * sysdeps/unix/sysv/linux/kernel-features.h
78368         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
78369         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
78370         include <kernel-features.h>.
78371         [!__NR_ftruncate64]: Remove conditional code.
78372         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
78373         [__NR_ftruncate64]: Make code unconditional.
78374         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
78375         * sysdeps/unix/sysv/linux/truncate64.c: Do not
78376         include <kernel-features.h>.
78377         [!__NR_ftruncate64]: Remove conditional code.
78378         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
78379         [__NR_ftruncate64]: Make code unconditional.
78380         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
78381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
78382         include <kernel-features.h>.
78383         [!__NR_ftruncate64]: Remove conditional code.
78384         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
78385         [__NR_ftruncate64]: Make code unconditional.
78386         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
78387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
78388         include <kernel-features.h>.
78389         [!__NR_ftruncate64]: Remove conditional code.
78390         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
78391         [__NR_ftruncate64]: Make code unconditional.
78392         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
78394         * configure.in (libc_cv_fpie): Weaken to a compile test using
78395         LIBC_TRY_CC_OPTION.
78396         * configure: Regenerated.
78398 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78400         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
78401         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
78402         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
78403         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
78404         Refreshed.
78405         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
78406         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
78407         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
78408         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
78409         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
78410         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
78411         Refreshed.
78413 2012-05-27  David S. Miller  <davem@davemloft.net>
78415         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
78416         (___Q_zero): New.
78417         (__Q_simulate_exceptions): Return void.  Change to simulate
78418         exceptions by writing into the %fsr.
78419         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
78420         (__Qp_handle_exceptions): Likewise.
78421         (numbers): Delete.
78422         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
78423         __Qp_handle_exceptions.
78424         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
78425         __Qp_handle_exceptions.
78426         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
78427         as unused and give dummy FP_RND_NEAREST initializer.
78428         (FP_INHIBIT_RESULTS): Define.
78429         (___Q_simulate_exceptions): Update declaration.
78430         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
78431         formatting.
78432         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
78433         as unused and give dummy FP_RND_NEAREST initializer.
78434         (__Qp_handle_exceptions): Update declaration.
78435         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
78436         formatting.
78438 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
78440         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
78441         the temporary FPU control word.
78442         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
78443         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
78444         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
78445         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
78446         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
78447         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
78448         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
78449         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
78450         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
78451         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
78452         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
78454 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
78456         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
78457         fields.
78459 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
78461         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
78462         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
78463         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
78464         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
78465         Likewise.
78466         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
78467         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
78468         Likewise.
78470 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
78472         * po/h.po: Update from translation team.
78474 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
78476         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
78478         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
78479         handling of denormals.
78480         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
78481         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
78482         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
78483         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
78484         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
78485         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
78486         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
78487         Likewise.
78489 2012-05-26  Marek Polacek  <polacek@redhat.com>
78491         [BZ #14152]
78492         * math/libm-test.inc (fma_test): Don't always expect underflow
78493         exception.
78495 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
78497         [BZ #12416]
78498         * elf/tst-execstack.c: Include stackinfo.h.
78499         (do_test): Adjust test case to ensure that pthread_getattr_np
78500         behaviour remains the same after marking stack executable.
78502 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
78504         * sysdeps/unix/sysv/linux/kernel-features.h
78505         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
78506         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
78507         kernel-features.h.
78508         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
78509         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
78510         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
78511         kernel-features.h.
78512         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
78513         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
78515 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
78517         * configure.in: Define the default includes to being none.
78518         * configure: Regenerated.
78520 2012-05-25  Roland McGrath  <roland@hack.frob.com>
78522         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
78523         * sysdeps/x86_64/setjmp.S: Likewise.
78524         * sysdeps/i386/bsd-setjmp.S: Likewise.
78525         * sysdeps/i386/bsd-_setjmp.S: Likewise.
78526         * sysdeps/i386/setjmp.S: Likewise.
78527         * sysdeps/i386/__longjmp.S: Likewise.
78528         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
78529         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
78531         * include/stap-probe.h: New file.
78532         * configure.in: Handle --enable-systemtap.
78533         * configure: Regenerated.
78534         * config.h.in (USE_STAP_PROBE): New #undef.
78535         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
78536         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
78537         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
78539 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
78541         [BZ #13717]
78542         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
78543         to 2.4.0 where earlier.
78544         * sysdeps/unix/sysv/linux/configure: Regenerated.
78545         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
78546         <kernel-features.h>.
78547         [__ASSUME_32BITUIDS]: Make code unconditional.
78548         [!__ASSUME_32BITUIDS]: Remove conditional code.
78549         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
78550         <kernel-features.h>.
78551         [__ASSUME_32BITUIDS]: Make code unconditional.
78552         [!__ASSUME_32BITUIDS]: Remove conditional code.
78553         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
78554         [__ASSUME_32BITUIDS]: Make code unconditional.
78555         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
78556         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
78557         <kernel-features.h>.
78558         [__ASSUME_32BITUIDS]: Make code unconditional.
78559         [!__ASSUME_32BITUIDS]: Remove conditional code.
78560         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
78561         <kernel-features.h>.
78562         [__ASSUME_32BITUIDS]: Make code unconditional.
78563         [!__ASSUME_32BITUIDS]: Remove conditional code.
78564         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
78565         <kernel-features.h>.
78566         [__ASSUME_32BITUIDS]: Make code unconditional.
78567         [!__ASSUME_32BITUIDS]: Remove conditional code.
78568         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
78569         <kernel-features.h>.
78570         [__ASSUME_32BITUIDS]: Make code unconditional.
78571         [!__ASSUME_32BITUIDS]: Remove conditional code.
78572         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
78573         <kernel-features.h>.
78574         [__ASSUME_32BITUIDS]: Make code unconditional.
78575         [!__ASSUME_32BITUIDS]: Remove conditional code.
78576         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
78577         <kernel-features.h>.
78578         [__ASSUME_32BITUIDS]: Make code unconditional.
78579         [!__ASSUME_32BITUIDS]: Remove conditional code.
78580         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
78581         <kernel-features.h>.
78582         [__ASSUME_32BITUIDS]: Make code unconditional.
78583         [!__ASSUME_32BITUIDS]: Remove conditional code.
78584         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
78585         <kernel-features.h>.
78586         [__ASSUME_32BITUIDS]: Make code unconditional.
78587         [!__ASSUME_32BITUIDS]: Remove conditional code.
78588         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
78589         <kernel-features.h>.
78590         [__ASSUME_32BITUIDS]: Make code unconditional.
78591         [!__ASSUME_32BITUIDS]: Remove conditional code.
78592         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
78593         <kernel-features.h>.
78594         [__ASSUME_32BITUIDS]: Make code unconditional.
78595         [!__ASSUME_32BITUIDS]: Remove conditional code.
78596         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
78597         <kernel-features.h>.
78598         [__NR_setresgid] (__setresgid): Do not declare.
78599         [__ASSUME_32BITUIDS]: Make code unconditional.
78600         [!__ASSUME_32BITUIDS]: Remove conditional code.
78601         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
78602         <kernel-features.h>.
78603         [__NR_setresuid] (__setresuid): Do not declare.
78604         [__ASSUME_32BITUIDS]: Make code unconditional.
78605         [!__ASSUME_32BITUIDS]: Remove conditional code.
78606         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
78607         <kernel-features.h>.
78608         [__ASSUME_32BITUIDS]: Make code unconditional.
78609         [!__ASSUME_32BITUIDS]: Remove conditional code.
78610         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
78611         <kernel-features.h>.
78612         [__ASSUME_32BITUIDS]: Make code unconditional.
78613         [!__ASSUME_32BITUIDS]: Remove conditional code.
78614         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
78615         <kernel-features.h>.
78616         [__ASSUME_32BITUIDS]: Make code unconditional.
78617         [!__ASSUME_32BITUIDS]: Remove conditional code.
78618         * sysdeps/unix/sysv/linux/i386/setgroups.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/setregid.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/setresgid.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/setresuid.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/setreuid.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/setuid.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/shmctl.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/kernel-features.h
78647         (__ASSUME_SETRESUID_SYSCALL): Remove.
78648         (__ASSUME_SETRESGID_SYSCALL): Likewise.
78649         (__ASSUME_32BITUIDS): Likewise.
78650         (__ASSUME_LDT_WORKS): Likewise.
78651         (__ASSUME_O_DIRECTORY): Likewise.
78652         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
78653         architecture but not kernel version.
78654         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
78655         (__ASSUME_MMAP2_SYSCALL): Likewise.
78656         (__ASSUME_STAT64_SYSCALL): Likewise.
78657         (__ASSUME_IPC64): Likewise.
78658         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
78659         <kernel-features.h>.
78660         [__ASSUME_32BITUIDS]: Make code unconditional.
78661         [!__ASSUME_32BITUIDS]: Remove conditional code.
78662         * sysdeps/unix/sysv/linux/opendir.c: Do not include
78663         <kernel-features.h>.
78664         [__ASSUME_O_DIRECTORY]: Make code unconditional.
78665         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
78666         132096]: Remove conditional code.
78667         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
78668         * sysdeps/unix/sysv/linux/s390/s390-32/chown.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/s390/s390-32/lchown.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/setegid.c: Do not include
78677         <kernel-features.h>.
78678         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
78679         unconditional.
78680         (__setresgid): Do not declare.
78681         [__ASSUME_32BITUIDS]: Make code unconditional.
78682         [!__ASSUME_32BITUIDS]: Remove conditional code.
78683         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
78684         <kernel-features.h>.
78685         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
78686         unconditional.
78687         (__setresuid): Do not declare.
78688         [__ASSUME_32BITUIDS]: Make code unconditional.
78689         [!__ASSUME_32BITUIDS]: Remove conditional code.
78690         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
78691         <kernel-features.h>.
78692         [__ASSUME_32BITUIDS]: Make code unconditional.
78693         [!__ASSUME_32BITUIDS]: Remove conditional code.
78694         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
78695         <kernel-features.h>.
78696         [__ASSUME_32BITUIDS]: Make code unconditional.
78697         [!__ASSUME_32BITUIDS]: Remove conditional code.
78699 2012-05-25  Richard Henderson  <rth@twiddle.net>
78701         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
78702         dl_hwcap to ifunc resolver.
78703         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
78704         elf_ifunc_invoke.
78705         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
78706         dl_hwcap to ifunc resolver.
78707         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
78709 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
78711         [BZ #14153]
78712         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
78713         for |x| <= 2**-26, not 2**-57.
78714         * math/libm-test.inc (acos_test): Do not allow spurious underflow
78715         exception.
78717 2012-05-24  Jeff Law  <law@redhat.com>
78719         * stdio-common/Makefile (tests): Add bug25.
78720         * stdio-common/bug25.c: New test.
78722 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
78724         [BZ #13576]
78725         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
78726         multiple of MALLOC_ALIGNMENT in size.
78727         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
78729 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
78731         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
78732         Require >= 256.
78733         (FILENAME_MAX): Use macro-int-constant.
78734         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
78735         (_IOFBF): Use macro-int-constant.
78736         (_IOLBF): Likewise.
78737         (_IONBF): Likewise.
78738         (SEEK_CUR): Likewise.
78739         (SEEK_END): Likewise.
78740         (SEEK_SET): Likewise.
78741         (TMP_MAX): Likewise.
78742         (EOF): Use macro-int-constant.  Require < 0.
78743         (NULL): Use macro-constant.  Require == 0.
78744         (stdin): Require type to be FILE *.
78745         (stdout): Likewise.
78746         (stderr): Likewise.
78747         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
78748         macro-int-constant.
78749         (EXIT_SUCCESS): Likewise.
78750         (NULL): Use macro-constant.  Require == 0.
78751         (RAND_MAX): Use macro-int-constant.
78752         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
78753         [C99-based standards] (strtof): Require function.
78754         [C99-based standards] (strtold): Likewise.
78755         [C99-based standards] (strtoll): Likewise.
78756         [C99-based standards] (strtoull): Likewise.
78757         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
78758         [ISO || ISO99 || ISO11] (limits.h): Likewise.
78759         [ISO || ISO99 || ISO11] (math.h): Likewise.
78760         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
78761         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
78762         [ISO || ISO99 || ISO11] (*_t): Do not allow.
78764 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
78766         [BZ #14132]
78767         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
78768         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
78769         * intl/dgettext.c (DCGETTEXT): Likewise.
78770         * intl/gettext.c (DCGETTEXT): Likewise.
78771         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
78772         * posix/regex_internal.h (gettext): Likewise.
78773         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
78774         Remove declaration.
78775         * include/argz.h (__argz_count_internal)
78776         (__argz_stringify_internal): Remove declaration.
78777         (__argz_count, __argz_stringify): Declare hidden proto.
78778         * intl/dcgettext.c: Remove use of INTDEF.
78779         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
78780         * string/argz-stringify.c: Likewise.
78781         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
78782         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
78783         Declare hidden proto.
78784         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
78785         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
78786         Declare hidden proto.
78787         * include/stdio.h (__asprintf_internal): Don't declare.
78788         (__asprintf): Don't define as macro.  Declare hidden proto.
78789         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
78790         (__fsetlocking): Declare hidden proto.
78791         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
78792         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
78793         hidden proto.
78794         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
78795         (_IO_setlinebuf): Remove use of INTUSE.
78796         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
78797         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
78798         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
78799         Remove declaration.
78800         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
78801         (_IO_do_flush): Remove use of INTUSE.
78802         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
78803         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
78804         (_IO_adjust_column, _IO_least_wmarker)
78805         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
78806         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
78807         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
78808         (_IO_default_doallocate, _IO_wdefault_doallocate)
78809         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
78810         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
78811         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
78812         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
78813         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
78814         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
78815         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
78816         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
78817         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
78818         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
78819         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
78820         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
78821         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
78822         proto.
78823         (_IO_flush_all_internal, _IO_adjust_column_internal)
78824         (_IO_default_uflow_internal, _IO_default_finish_internal)
78825         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
78826         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
78827         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
78828         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
78829         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
78830         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
78831         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
78832         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
78833         (_IO_file_close_internal, _IO_file_close_it_internal)
78834         (_IO_file_underflow_internal, _IO_file_overflow_internal)
78835         (_IO_file_init_internal, _IO_file_attach_internal)
78836         (_IO_file_fopen_internal, _IO_file_read_internal)
78837         (_IO_file_sync_internal, _IO_file_seek_internal)
78838         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
78839         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
78840         (_IO_str_underflow_internal, _IO_str_overflow_internal)
78841         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
78842         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
78843         (_IO_list_all_internal, _IO_link_in_internal)
78844         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
78845         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
78846         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
78847         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
78848         (_IO_do_write_internal, _IO_padn_internal)
78849         (_IO_getline_info_internal, _IO_getline_internal)
78850         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
78851         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
78852         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
78853         (_IO_vfscanf_internal, _IO_vfprintf_internal)
78854         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
78855         (_IO_init_internal, _IO_un_link_internal): Don't declare.
78856         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
78857         with libc_hidden_ver, remove use of INTUSE.
78858         * libio/genops.c: Likewise.
78859         * libio/freopen.c: Likewise.
78860         * libio/freopen64.c: Likewise.
78861         * libio/iofclose.c: Likewise.
78862         * libio/iofdopen.c: Likewise.
78863         * libio/iofflush.c: Likewise.
78864         * libio/iofflush_u.c: Likewise.
78865         * libio/iofgets.c: Likewise.
78866         * libio/iofgets_u.c: Likewise.
78867         * libio/iofopen.c: Likewise.
78868         * libio/iofopncook.c: Likewise.
78869         * libio/iofread.c: Likewise.
78870         * libio/iofread_u.c: Likewise.
78871         * libio/ioftell.c: Likewise.
78872         * libio/iofwrite.c: Likewise.
78873         * libio/iogetline.c: Likewise.
78874         * libio/iogets.c: Likewise.
78875         * libio/iogetwline.c: Likewise.
78876         * libio/iopadn.c: Likewise.
78877         * libio/iopopen.c: Likewise.
78878         * libio/ioseekoff.c: Likewise.
78879         * libio/ioseekpos.c: Likewise.
78880         * libio/iosetbuffer.c: Likewise.
78881         * libio/iosetvbuf.c: Likewise.
78882         * libio/ioungetc.c: Likewise.
78883         * libio/ioungetwc.c: Likewise.
78884         * libio/iovdprintf.c: Likewise.
78885         * libio/iovsprintf.c: Likewise.
78886         * libio/iovsscanf.c: Likewise.
78887         * libio/memstream.c: Likewise.
78888         * libio/obprintf.c: Likewise.
78889         * libio/oldfileops.c: Likewise.
78890         * libio/oldiofclose.c: Likewise.
78891         * libio/oldiofdopen.c: Likewise.
78892         * libio/oldiofopen.c: Likewise.
78893         * libio/oldiopopen.c: Likewise.
78894         * libio/oldstdfiles.c: Likewise.
78895         * libio/putc.c: Likewise.
78896         * libio/setbuf.c: Likewise.
78897         * libio/setlinebuf.c: Likewise.
78898         * libio/stdfiles.c: Likewise.
78899         * libio/strops.c: Likewise.
78900         * libio/vasprintf.c: Likewise.
78901         * libio/vscanf.c: Likewise.
78902         * libio/vsnprintf.c: Likewise.
78903         * libio/vswprintf.c: Likewise.
78904         * libio/wfiledoalloc.c: Likewise.
78905         * libio/wfileops.c: Likewise.
78906         * libio/wgenops.c: Likewise.
78907         * libio/wmemstream.c: Likewise.
78908         * libio/wstrops.c: Likewise.
78909         * libio/__fpurge.c: Likewise.
78910         * libio/__fsetlocking.c: Likewise.
78911         * assert/assert.c: Likewise.
78912         * debug/fgets_chk.c: Likewise.
78913         * debug/fgets_u_chk.c: Likewise.
78914         * debug/fread_chk.c: Likewise.
78915         * debug/fread_u_chk.c: Likewise.
78916         * debug/gets_chk.c: Likewise.
78917         * debug/obprintf_chk.c: Likewise.
78918         * debug/vasprintf_chk.c: Likewise.
78919         * debug/vdprintf_chk.c: Likewise.
78920         * debug/vsnprintf_chk.c: Likewise.
78921         * debug/vsprintf_chk.c: Likewise.
78922         * malloc/mtrace.c: Likewise.
78923         * misc/error.c: Likewise.
78924         * misc/syslog.c: Likewise.
78925         * stdio-common/asprintf.c: Likewise.
78926         * stdio-common/fxprintf.c: Likewise.
78927         * stdio-common/getw.c: Likewise.
78928         * stdio-common/isoc99_fscanf.c: Likewise.
78929         * stdio-common/isoc99_scanf.c: Likewise.
78930         * stdio-common/isoc99_vfscanf.c: Likewise.
78931         * stdio-common/isoc99_vscanf.c: Likewise.
78932         * stdio-common/isoc99_vsscanf.c: Likewise.
78933         * stdio-common/printf-prs.c: Likewise.
78934         * stdio-common/printf_fp.c: Likewise.
78935         * stdio-common/printf_fphex.c: Likewise.
78936         * stdio-common/printf_size.c: Likewise.
78937         * stdio-common/putw.c: Likewise.
78938         * stdio-common/scanf.c: Likewise.
78939         * stdio-common/sprintf.c: Likewise.
78940         * stdio-common/tmpfile.c: Likewise.
78941         * stdio-common/vfprintf.c: Likewise.
78942         * stdio-common/vfscanf.c: Likewise.
78943         * stdlib/strfmon_l.c: Likewise.
78944         * sunrpc/openchild.c: Likewise.
78945         * sunrpc/xdr_stdio.c: Likewise.
78946         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
78947         * sysdeps/mach/hurd/tmpfile.c: Likewise.
78949 2012-05-24  Roland McGrath  <roland@hack.frob.com>
78951         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
78953         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
78954         in the third column, to generate for the shared library an IFUNC
78955         that uses _dl_vdso_vsym.
78956         * Makerules (COMPILE.c, compile-stdin.c): New variables.
78957         * Makeconfig (object-suffixes-noshared): New variable.
78959         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
78960         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
78961         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
78962         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
78964         [BZ #14132]
78965         * include/sys/time.h (__gettimeofday): Remove macro.
78966         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
78967         * time/gettimeofday.c (__gettimeofday): Remove #undef.
78968         Remove INTDEF.
78969         (__gettimeofday): Add libc_hidden_def.
78970         (gettimeofday): Add libc_hidden_weak.
78971         * sysdeps/mach/gettimeofday.c: Likewise.
78972         * sysdeps/posix/gettimeofday.c: Likewise.
78973         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
78974         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
78975         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
78976         (__gettimeofday_internal): Remove strong_alias.
78977         (__gettimeofday): Add libc_hidden_def.
78978         (gettimeofday): Add libc_hidden_weak.
78979         * sysdeps/unix/syscalls.list (gettimeofday):
78980         Remove __gettimeofday_internal alias.
78982 2012-05-24  Daniel Jacobowitz  <drow@false.org>
78983             H.J. Lu  <hongjiu.lu@intel.com>
78985         [BZ #12495]
78986         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
78987         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
78988         (largebin_index_32_big): New.
78989         (largebin_index): Use it for 16-byte alignment.
78990         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
78991         correction with front_misalign.
78993 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
78995         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
78996         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
78997         Likewise.
78998         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
78999         Likewise.
79000         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
79001         Likewise.
79002         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
79003         Likewise.
79004         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
79005         Likewise.
79006         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
79007         Likewise.
79008         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
79009         Likewise.
79010         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
79011         Likewise.
79012         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
79013         Likewise.
79014         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
79015         Likewise.
79016         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
79017         Likewise.
79018         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
79019         Likewise.
79021         * scripts/data/c++-types-x32-linux-gnu.data: New file.
79022         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
79024 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
79026         [BZ #10846]
79027         [BZ #14036]
79028         * math/libm-test.inc (exp_test): Add test from bug 14036.
79029         (pow_test): Add test from bug 10846.
79031         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
79032         and other flags.
79033         (special_function): Do not include flags in test name.
79034         (parse_args): Likewise.
79035         * sysdeps/i386/fpu/libm-test-ulps: Update.
79036         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
79037         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
79038         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
79039         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79041         * math/gen-libm-test.pl (%beautify): Add entries for underflow
79042         exceptions.
79043         * math/libm-test.inc ("Philosophy"): Update comment about
79044         exception testing.
79045         (UNDERFLOW_EXCEPTION): New macro.
79046         (UNDERFLOW_EXCEPTION_OK): Likewise.
79047         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
79048         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
79049         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
79050         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
79051         (INVALID_EXCEPTION_OK): Update value.
79052         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
79053         (OVERFLOW_EXCEPTION_OK): Likewise.
79054         (IGNORE_ZERO_INF_SIGN): Likewise.
79055         (test_exceptions): Handle underflow exceptions.
79056         (acos_test): Update for underflow exception expectations.
79057         (cexp_test): Likewise.
79058         (clog_test): Likewise.
79059         (clog10_test): Likewise.
79060         (csqrt_test): Likewise.
79061         (ctan_test): Likewise.
79062         (ctanh_test): Likewise.
79063         (exp_test): Likewise.
79064         (exp10_test): Likewise.
79065         (exp2_test): Likewise.
79066         (expm1_test): Likewise.
79067         (fma_test): Likewise.
79068         (j0_test): Likewise.
79069         (jn_test): Likewise.
79070         (nexttoward_test): Likewise.
79071         (pow_test): Likewise.
79072         (scalbn_test): Likewise.
79073         (scalbln_test): Likewise.
79074         (tan_test): Likewise.
79075         (y1_test): Likewise.
79076         * sysdeps/i386/fpu/libm-test-ulps: Update.
79077         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79079 2012-05-23  David S. Miller  <davem@davemloft.net>
79081         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
79082         (__libc_sigaction): Remove unused local variables.
79084 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
79086         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
79088 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
79090         mktime: avoid signed integer overflow
79091         * time/mktime.c (__mktime_internal): Do not mishandle the case
79092         where diff == INT_MIN.
79094         mktime: simplify computation of average
79095         * time/mktime.c (ranged_convert): Use new time_t_avg function
79096         instead of rolling our own (probably-slower) code.
79098         mktime: do not assume signed right shift propagates sign bit
79099         * time/mktime.c (isdst_differ): New static function.
79100         (__mktime_internal): No need to normalize tm_isdst now.
79101         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
79102         tm_isdst values.
79104         mktime: merge another wrapv change from gnulib
79105         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
79106         from some compilers.
79108         mktime: remove incorrect attempt at unusual arithmetics
79109         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
79110         The code didn't really work on such machines anyway.
79111         (TYPE_MINIMUM): Assume two's complement.
79112         (twos_complement_arithmetic): Verify that long_int and time_t
79113         are two's complement (or unsigned, in the latter case).
79115         mktime: check signed shifts on long_int and time_t, too
79116         * time/mktime.c (SHR): Check that shifts work as desired
79117         on the types long_int and time_t too, as SHR is used on
79118         such types.
79120         mktime: do not assume 'long' is wide enough
79121         * time/mktime.c (verify): Move decl up.
79122         (long_int): New type.
79123         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
79124         to remove assumption in the code that 'long' is wide enough to
79125         store year values.  This assumption is not true on x32 and on
79126         some non-glibc platforms.
79128         mktime: merge wrapv change from gnulib
79129         * time/mktime.c (WRAPV): New macro.
79130         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
79131         (guess_time_tm, __mktime_internal): Do not assume that signed
79132         integer overflow wraps around; modern compilers generate code
79133         where this assumption is no longer valid.
79135 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
79137         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
79138         Replace "jmp L(pseudo_end)" with "ret".
79139         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
79140         Likewise.
79142 2012-05-23  Andreas Jaeger  <aj@suse.de>
79144         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
79145         * sysdeps/unix/sysv/linux/poll.c: Remove file.
79147 2012-05-23  Andreas Jaeger  <aj@suse.de>
79148             Maximilian Attems  <max@stro.at>
79150         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
79151         New macros.
79153 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
79155         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
79156         code so that pseudo_end is just ret and the stack pointer is
79157         correct also for static library in error case.
79159 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
79161         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
79162         move to syscalls.list.
79163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
79164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
79165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
79166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
79168         * manual/install.texi (Running make install): Do not mention Linux
79169         kernel version for which pt_chown is not needed.
79170         (Linux): Do not mention problems with nscd with 2.0 kernels.
79171         * INSTALL: Regenerated.
79173 2012-05-23  Andreas Jaeger  <aj@suse.de>
79175         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
79176         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
79177         macro.
79178         * sysdeps/unix/sysv/linux/s390/bits/mman.h
79179         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
79180         * sysdeps/unix/sysv/linux/sh/bits/mman.h
79181         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
79182         * sysdeps/unix/sysv/linux/i386/bits/mman.h
79183         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
79184         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
79185         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
79186         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
79187         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
79188         * sysdeps/unix/sysv/linux/bits/in.h
79189         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
79191 2012-05-22  Roland McGrath  <roland@hack.frob.com>
79193         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
79194         (PREPARE_VERSION): Just use assert instead, it will be elided
79195         under [NDEBUG] anyway.
79197 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
79199         * sysdeps/unix/sysv/linux/Makefile: Include
79200         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
79201         (sysdep_routines): Remove sysctl.
79202         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
79203         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
79204         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
79205         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
79206         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
79208 2012-05-22  Andreas Jaeger  <aj@suse.de>
79210         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
79211         that pseudo_end is just ret and the stack pointer is correct also
79212         for static library in error case.
79214 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
79216         [BZ #14122]
79217         * nss/nsswitch.c (defconfig_entries): New variable.
79218         (__nss_database_lookup): Don't leak defconfig entries.
79219         (nss_parse_service_list): Don't leak on error paths.
79220         (free_database_entries): New function.
79221         (free_defconfig): New function.
79222         (free_mem): Move common code to free_database_entries.
79224 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
79226         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
79227         Add arch_prctl.
79228         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
79230         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
79231         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
79232         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
79233         New macro.
79234         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
79235         (INTERNAL_SYSCALL_TYPES): Likewise.
79236         (LOAD_ARGS_TYPES_[1-6]): Likewise.
79237         (LOAD_REGS_TYPES_[1-6]): Likewise.
79238         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
79239         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
79241 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79243         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
79244         copysignl for GLIBC_2_0.
79245         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
79246         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
79247         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
79248         logbl for GLIBC_2_0.
79249         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
79250         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
79252 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
79254         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
79255         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
79257         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
79258         Use "neg %eax".
79260         * time/mktime.c: Update copyright years.
79262 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
79264         mktime: merge comment-quoting-style change from gnulib
79265         * time/mktime.c: Quote 'like this' in comments.
79266         The GNU coding standards suggest that we no longer quote `like this',
79267         as "`" and "'" are typically rendered asymmetrically nowadays.
79268         The typical gnulib style is to quote 'like this' when quoting
79269         code, and "like this" when quoting English.
79271         * time/mktime.c (compile-command): Add "-I.".
79273         mktime: merge mktime-internal.h change from gnulib
79274         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
79276         mktime: merge time_r change from gnulib
79277         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
79279         mktime: merge DEBUG change from gnulib
79280         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
79281         case system <time.h> has a #define.
79283         mktime: merge <sys/types.h> change from gnulib
79284         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
79285         since <time.t> is now guaranteed to define time_t.
79287         mktime: merge HAVE_CONFIG_H change from gnulib
79288         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
79290 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
79292         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
79293         Use "neg %eax".
79295         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
79296         __rlim_t cast.
79297         (struct rusage): Use anonymous union to pad each field to
79298         __syscall_slong_t.
79300 2012-05-21  David S. Miller  <davem@davemloft.net>
79302         * Makefules (o-iterator): Remove .s cases.
79303         (compile-command.s): Delete.
79304         (COMPILE.s): Delete.
79305         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
79307 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
79309         * configure.in (libc_cv_predef_stack_protector): Only consider
79310         "foobar" and "__stack_chk_fail" lines in libc_undefs.
79311         * configure: Regenerated.
79313 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
79315         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
79316         New macro.  Use R*LP on int and pointer.
79317         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
79318         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
79319         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
79320         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
79322         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
79323         [__WORDSIZE_TIME64_COMPAT32] instead of
79324         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
79325         (struct utmp): Likewise.
79326         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
79327         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
79328         Renamed to ...
79329         (__WORDSIZE_TIME64_COMPAT32): This.
79330         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
79331         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
79332         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
79333         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
79334         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
79335         (__WORDSIZE_TIME64_COMPAT32): New macro.
79337 2012-05-21  Andreas Jaeger  <aj@suse.de>
79339         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
79340         only if [SHARED]. Add prototype for __wcschr_ia32.
79342 2012-05-21  Roland McGrath  <roland@hack.frob.com>
79344         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
79345         of %rbp unmolested in the jmp_buf while mangling the low bits.
79346         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
79347         unmolested high bits of %rbp while demangling the low bits.
79348         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
79350 2012-05-21  Andreas Jaeger  <aj@suse.de>
79352         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
79353         * sunrpc/svc_simple.c: Use it for registerrpc.
79354         * sunrpc/xcrypt.c: Use it for passwd2des.
79356         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
79358 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
79360         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
79361         Don't define if [__SYSCALL_WORDSIZE != 32].
79362         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
79363         New macro.
79365 2012-05-21  Bruno Haible  <bruno@clisp.org>
79366             Andreas Jaeger  <aj@suse.de>
79368         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
79369         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
79370         inptr and inend for must_buffer_ch.
79371         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
79372         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
79373         * stdio-common/Makefile (tests): Remove bug15.
79374         (bug15-ENV): Remove macro.
79375         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
79376         anymore.
79378 2012-05-19  Andreas Jaeger  <aj@suse.de>
79379             Roland McGrath  <roland@hack.frob.com>
79381         * manual/contrib.texi: Completely rewritten. It contains now an
79382         alphabetical list of contributors and their contributions.
79384 2012-05-21  Richard Henderson  <rth@twiddle.net>
79386         * misc/getauxval.c (__getauxval): Use unsigned long int.
79387         * misc/sys/auxv.h: Include <sys/cdefs.h>.
79388         (getauxval): Use unsigned long int.
79390 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
79392         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
79394 2012-05-21  Roland McGrath  <roland@hack.frob.com>
79396         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
79397         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
79398         __alignof__ (long double).
79400 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79402         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79404 2012-05-20  Richard Henderson  <rth@twiddle.net>
79406         * misc/getauxval.c: New file.
79407         * misc/sys/auxv.h: New file.
79408         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
79409         (routines): Add getauxval.
79410         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
79411         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
79412         * elf/dl-sysdep.c (_dl_auxv): Remove.
79413         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
79414         * elf/dl-support.c (_dl_auxv): New variable.
79415         (_dl_aux_init): Initialize it.
79416         * manual/startup.texi (Auxiliary Vector): New node.
79417         * sysdeps/generic/bits/hwcap.h: New file.
79418         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
79419         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
79420         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
79421         * sysdeps/sparc/sysdep.h: ... here.  Include it.
79422         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
79423         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
79424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
79425         Update.
79426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
79427         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
79428         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
79429         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
79430         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
79431         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
79432         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
79433         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
79435 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79437         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79439 2012-05-19  David S. Miller  <davem@davemloft.net>
79441         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79443 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
79445         [BZ #14123]
79446         * math/s_ccosh.c: Include <float.h>
79447         (__ccosh): Avoid internal overflow calculating sinh and cosh
79448         values before multiplying by sin and cos values.
79449         * math/s_ccoshf.c: Likewise.
79450         * math/s_ccoshl.c: Likewise.
79451         * math/s_csin.c: Likewise.
79452         * math/s_csinf.c: Likewise.
79453         * math/s_csinl.c: Likewise.
79454         * math/s_csinh.c: Likewise.
79455         * math/s_csinhf.c: Likewise.
79456         * math/s_csinhl.c: Likewise.
79457         * math/libm-test.inc (ccos_test): Add more tests.
79458         (ccosh_test): Likewise.
79459         (csin_test): Likewise.
79460         (csinh_test): Likewise.
79461         * sysdeps/i386/fpu/libm-test-ulps: Update.
79462         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79464 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
79466         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
79467         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
79469         * sysdeps/x86_64/x32/_itoa.h: Add comment.
79471 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
79473         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
79474         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
79475         * sysdeps/powerpc/soft-fp/Versions: Likewise.
79476         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
79477         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
79478         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
79479         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
79480         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
79481         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
79482         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
79483         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
79484         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
79485         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
79486         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
79487         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
79488         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
79489         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
79490         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
79491         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
79492         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
79493         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
79494         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
79495         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
79496         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
79497         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
79498         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
79499         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
79500         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
79501         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
79502         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
79503         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
79505 2012-05-18  Andreas Jaeger  <aj@suse.de>
79507         * csu/.gitignore: Delete.
79509 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
79511         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
79512         (timex): Use __syscall_slong_t.
79514 2012-05-18  Andreas Jaeger  <aj@suse.de>
79515             Carlos O'Donell  <carlos_odonell@mentor.com>
79517         * manual/install.texi (Configuring and compiling): Update
79518         description about files modified in the source directory.
79519         * INSTALL: Regenerated.
79521 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
79523         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
79524         value.  Use "or" to set return value to -1.
79525         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
79526         negate return value.
79528 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
79530         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
79531         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
79532         failure if the compiler has Graphite support disabled.
79533         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
79534         Likewise.
79535         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
79536         (CFLAGS-memmove.c): Likewise.
79537         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
79538         Likewise.
79540 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
79542         * sysdeps/x86_64/x32/_itoa.h: New file.
79544         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
79545         getdents system call only if kernel and user dirents have the
79546         same d_ino and d_off.
79548         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
79549         LLONG_MAX != LONG_MAX.
79550         (_itoa_word): Use _ITOA_WORD_TYPE on value.
79551         (_fitoa_word): Likewise.
79553         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
79554         years.
79555         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
79556         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
79557         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
79559         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
79560         include <bits/wordsize.h>.  Check __x86_64__ instead of
79561         __WORDSIZE.
79562         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
79563         if __x86_64__ is defined.  Use anonymous union on fpstate.
79565         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
79566         anonymous union.
79568 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
79570         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
79571         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
79572         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
79573         Refer to _rtld_local_ro instead of _rtld_global_ro.
79574         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
79575         Likewise.
79576         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
79577         Likewise.
79578         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
79579         Likewise.
79580         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
79581         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
79582         of _rtld_global, and rtld_progname instead of _dl_argv[0].
79584         [BZ #10882]
79585         * sysdeps/powerpc/powerpc32/dl-machine.c
79586         (__elf_machine_runtime_setup) [PROF]: Don't reference
79587         _dl_prof_resolve.
79589 2012-05-18  Andreas Jaeger  <aj@suse.de>
79591         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
79592         function only available for GCCs before 3.4 since GCC 3.4
79593         introduced a builtin.
79594         (lrint): Likewise.
79595         (llrintf): Likewise.
79596         (llrint): Likewise.
79597         (fmaxf): Likewise.
79598         (fmax): Likewise.
79599         (fminf): Likewise.
79600         (fmin): Likewise.
79601         (rint): Likewise.
79602         (rintf): Likewise.
79603         (nearbyint): Likewise.
79604         (nearbyintf): Likewise.
79605         (ceil): Likewise.
79606         (ceilf): Likewise.
79607         (floor): Likewise.
79608         (floorf): Likewise.
79610 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
79612         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
79613         on both fields and cast pointer to __syscall_ulong_t.
79615         * bits/types.h (__fsword_t): New type.
79616         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
79617         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
79618         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
79619         (__FSWORD_T_TYPE): Likewise.
79620         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
79621         (__FSWORD_T_TYPE): Likewise.
79622         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
79623         (__FSWORD_T_TYPE): Likewise.
79624         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
79625         (__FSWORD_T_TYPE): Likewise.
79626         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
79627         __SWORD_TYPE with __fsword_t.
79628         (statfs64): Likewise.
79630 2012-05-17  David S. Miller  <davem@davemloft.net>
79632         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
79634 2012-05-17  Andreas Jaeger  <aj@suse.de>
79636         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
79637         warning.
79639 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
79641         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
79643 2012-05-17  Andreas Jaeger  <aj@suse.de>
79645         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
79646         when it is used.
79648 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
79650         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
79652 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
79654         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
79655         * sysdeps/x86_64/tst-mallocalign1.c: New file.
79657 2012-05-17  Andreas Jaeger  <aj@suse.de>
79658             Carlos O'Donell  <carlos_odonell@mentor.com>
79660         [BZ #14059]
79661         * sysdeps/x86_64/multiarch/init-arch.h
79662         (bit_YMM_Usable): Rename to...
79663         (bit_AVX_Usable): ... this.
79664         (bit_FMA4_Usable): New macro.
79665         (bit_XMM_state): New macro.
79666         (bit_YMM_state): New macro.
79667         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
79668         [__ASSEMBLER__] (index_AVX_Usable): ... this.
79669         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
79670         (CPUID_OSXSAVE): New macro.
79671         (CPUID_AVX): New macro.
79672         (CPUID_FMA4): New macro.
79673         (index_YMM_Usable): Rename to...
79674         (index_AVX_Usable): ... this.
79675         (HAS_AVX): Use HAS_ARCH_FEATURE.
79676         (HAS_FMA4): Likewise.
79677         (HAS_YMM_USABLE): Remove.
79678         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
79679         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
79680         are present.
79681         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
79682         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
79683         * sysdeps/x86_64/multiarch/Makefile: Likewise.
79684         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
79685         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
79687 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
79689         * math/libm-test.c: Support platforms without multiple rounding modes.
79690         * math/bug-nextafter.c: Support platforms without FP exceptions.
79691         * math/bug-nexttoward.c: Likewise.
79692         * math/test-fenv.c: Likewise.
79693         * math/test-misc.c: Likewise.
79694         * stdlib/bug-getcontext.c: Likewise.
79696 2012-05-17  Andreas Jaeger  <aj@suse.de>
79698         * manual/examples/search.c (critter_cmp): Change signature to
79699         avoid warnings.
79700         * manual/string.texi (Collation Functions): Likewise.
79702 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
79704         * bits/types.h: Fold copyright years.
79705         * bits/typesizes.h: Likewise.
79706         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
79707         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
79708         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
79709         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
79710         * time/time.h: Likewise.
79712 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
79714         [BZ #208]
79715         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
79716         in instead of returning them.  Return void.
79717         (__libc_mallinfo): Accumulate over all arenas.
79718         (__malloc_stats): Adjust for change in int_mallinfo interface.
79720 2012-05-16  Roland McGrath  <roland@hack.frob.com>
79722         [BZ #10375]
79723         * configure.in (NM): Add AC_CHECK_TOOL for it.
79724         (libc_extra_cflags): New substituted variable.
79725         Check for -fstack-protector being used implicitly.
79726         * configure: Regenerated.
79727         * config.make.in (config-extra-cflags): New variable,
79728         gets @libc_extra_cflags@.
79729         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
79731         [BZ #10375]
79732         * configure.in: Check for _FORTIFY_SOURCE being predefined.
79733         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
79734         * configure: Regenerated.
79735         * config.make.in (CPPUNDEFS): New substituted variable.
79736         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
79737         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
79738         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
79740 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
79742         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
79743         (mq_attr): Use __syscall_slong_t.
79745 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
79747         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
79748         Check __x86_64__ instead of __WORDSIZE.
79749         (_STAT_VER_LINUX): Likewise.
79750         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
79751         __syscall_ulong_t and __syscall_slong_t.
79752         (stat64): Likewise.
79754 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
79756         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
79758 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
79760         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
79762 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
79764         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
79765         __syscall_ulong_t.
79767         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
79768         include <bits/wordsize.h>.  Check __x86_64__ instead of
79769         __WORDSIZE.
79770         (greg_t): Use "__extension__ long long int" if __x86_64__ is
79771         defined.
79772         (mcontext_t): Replace "unsigned long" with "unsigned long long".
79774         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
79775         include <bits/wordsize.h>.  Check __x86_64__ instead of
79776         __WORDSIZE.
79777         (user_regs_struct): Use "__extension__ unsigned long long"
79778         instead of "unsigned long" if __x86_64__ is defined.
79779         (user): Likewise.  Pad after pointer field if __ILP32__ is
79780         defined.
79782 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
79784         * configure.in (makeinfo): Require version 4.5 or later.  Allow
79785         versions 5 to 9.
79786         * configure: Regenerated.
79787         * manual/install.texi (texinfo): Increase version requirement to
79788         4.5 or later.
79789         * INSTALL: Regenerated.
79791         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
79793 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
79795         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
79797         * sysdeps/x86_64/x32/ffs.c: New file.
79799         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
79800         __syscall_ulong_t.
79801         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
79802         defined.  Use __syscall_ulong_t.
79803         (shminfo): Use __syscall_ulong_t.
79804         (shm_info): Likewise.
79806         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
79807         __syscall_ulong_t.
79809         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
79810         <bits/wordsize.h>.
79811         (msgqnum_t): Use __syscall_ulong_t.
79812         (msglen_t): Likewise.
79813         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
79814         __syscall_ulong_t.
79816         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
79817         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
79819         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
79821         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
79822         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
79824         * sysvipc/sys/msg.h (msgbuf): Replace long int with
79825         __syscall_slong_t.
79827         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
79828         include <bits/wordsize.h>.  Check __x86_64__ instead of
79829         __WORDSIZE.
79831         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
79832         "unsigned long long int" if __x86_64__ is defined.
79833         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
79835         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
79836         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
79837         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
79839         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
79840         <stdint.h>.
79841         (GET_PC): Cast to uintptr_t first.
79842         (GET_FRAME): Likewise.
79843         (GET_STACK): Likewise.
79845         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
79846         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
79847         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
79848         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
79849         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
79850         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
79851         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
79852         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
79853         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
79854         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
79855         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
79856         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
79857         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
79858         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
79859         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
79860         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
79861         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
79862         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
79863         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
79864         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
79865         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
79866         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
79867         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
79868         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
79869         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
79870         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
79871         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
79872         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
79873         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
79875 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
79877         * Makerules (+depfiles): Also collect depfiles from .oS in
79878         $(extra-objs).
79879         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
79880         .oS, $(libnldbl-routines)).
79882         * Makerules (native-compile-mkdep-flags): Define.
79883         * sunrpc/Makefile (extra-objs): Add $(addprefix
79884         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
79885         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
79886         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
79887         calling $(make-target-directory).
79889 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79891         * bits/types.h (__snseconds_t): Removed.
79892         * time/time.h (struct timespec): Replace __snseconds_t with
79893         __syscall_slong_t.
79894         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
79895         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
79896         Likewise.
79897         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
79898         (__SNSECONDS_T_TYPE): Likewise.
79899         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
79900         (__SNSECONDS_T_TYPE): Likewise.
79901         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
79902         (__SNSECONDS_T_TYPE): Likewise.
79904 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79906         * sysdeps/mach/hurd/bits/typesizes.h
79907         (__SYSCALL_SLONG_TYPE): New macro.
79908         (__SYSCALL_ULONG_TYPE): Likewise.
79910 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79912         * bits/types.h (__syscall_slong_t): New type.
79913         (__syscall_ulong_t): Likewise.
79915         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
79916         (__SYSCALL_ULONG_TYPE): Likewise.
79917         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
79918         (__SYSCALL_SLONG_TYPE): Likewise.
79919         (__SYSCALL_ULONG_TYPE): Likewise.
79920         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
79921         (__SYSCALL_SLONG_TYPE): Likewise.
79922         (__SYSCALL_ULONG_TYPE): Likewise.
79923         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
79924         (__SYSCALL_SLONG_TYPE): Likewise.
79925         (__SYSCALL_ULONG_TYPE): Likewise.
79927 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79929         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
79930         Add sigaltstack-offsets.sym.
79931         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
79932         <sigaltstack-offsets.h>.
79933         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
79934         longjmp_msg pointer.
79935         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
79936         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
79937         signal stack.
79938         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
79940 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
79942         * elf/stackguard-macros.h: Remove file.
79943         * sysdeps/generic/stackguard-macros.h: New file.
79944         * sysdeps/i386/stackguard-macros.h: Likewise.
79945         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
79946         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
79947         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
79948         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
79949         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
79950         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
79951         * sysdeps/x86_64/stackguard-macros.h: Likewise.
79952         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
79953         <elf/stackguard-macros.h>.
79955         [BZ #14109]
79956         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
79957         __aligned__ in attribute.
79958         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
79959         (gregset_t): Likewise.
79961 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79963         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
79964         * sysdeps/x86_64/64/Implies-after: Here.  New file.
79965         * sysdeps/x86_64/x32/Implies-after: New file.
79967 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79969         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
79970         and access return value for _dl_profile_fixup.  Use R10_LP to
79971         load frame size.
79973 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79975         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
79977 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79979         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
79980         * sysdeps/x86_64/x32/sysdep.h: New file.
79982 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79984         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
79985         * sysdeps/x86_64/setjmp.S: Likewise.
79987 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79989         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
79990         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
79991         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
79992         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
79993         remove unused global constant.
79995 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
79997         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
79998         include of <not-cancel.h>.
80000 2012-05-15  Roland McGrath  <roland@hack.frob.com>
80002         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
80004 2012-05-15  Jeff Law  <law@redhat.com>
80005             Andreas Jaeger  <aj@suse.de>
80007         [BZ #13594]
80008         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
80009         out from...
80010         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
80011         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
80012         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
80013         code changing __hst_map_handle.map.
80015 2012-05-15  Roland McGrath  <roland@hack.frob.com>
80017         * configure.in (sysnames): Look for Implies-before and Implies-after
80018         files.
80019         * configure: Regenerated.
80021 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80023         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
80024         8-byte data alignment with LP_SIZE alignment.
80026 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80028         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
80029         into R10_LP.
80031 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80033         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
80035 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80037         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
80038         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
80039         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
80040         Likewise.
80041         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
80043 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80045         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
80046         (stackinfo_sub_sp): Likewise.
80048 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80050         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
80051         RAX_LP.
80053 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80055         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
80056         into R*_LP.
80058 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80060         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
80061         sizes into R*_LP.
80063 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80065         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
80067 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80069         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
80070         into R11_LP and load __x86_64_shared_cache_size_half into
80071         R8_LP.
80073 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80075         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
80076         R8_LP.
80078 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80080         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
80081         logb for POWER7.
80082         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
80083         logbf for POWER7.
80084         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
80085         logbl for POWER7.
80086         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
80087         powerpc32/power7/fpu/s_logb.c via #include.
80088         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
80089         powerpc32/power7/fpu/s_logbf.c via #include.
80090         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
80091         powerpc32/power7/fpu/s_logbl.c via #include.
80093 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
80095         * README.libm: Remove file.
80097 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
80099         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
80100         count for x32.  Use R*_LP and omit operand-size suffix.
80102 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
80104         * shlib-versions: Move x86_64-.*-linux.* entries to ...
80105         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
80106         * sysdeps/x86_64/x32/shlib-versions: New file.
80108 2012-05-14  Roland McGrath  <roland@hack.frob.com>
80110         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
80111         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
80112         Use _dl_fatal_printf instead.
80114 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
80116         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
80117         set if not set by the user.  Do not allow for being unset.
80118         * sysdeps/unix/sysv/linux/configure: Regenerated.
80120 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
80122         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
80123         the `q' suffix from lea and replace .quad with ASM_ADDR.
80125 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
80127         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
80128         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
80129         instead of $17.
80130         (PTR_DEMANGLE): Likewise.
80132 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
80134         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
80135         (LP_OP): Likewise.
80136         (ASM_ADDR): Likewise.
80137         (RAX_LP): Likewise.
80138         (RBP_LP): Likewise.
80139         (RBX_LP): Likewise.
80140         (RCX_LP): Likewise.
80141         (RDI_LP): Likewise.
80142         (RSI_LP): Likewise.
80143         (RSP_LP): Likewise.
80144         (R8_LP): Likewise.
80145         (R9_LP): Likewise.
80146         (R10_LP): Likewise.
80147         (R10_LP): Likewise.
80148         (R11_LP): Likewise.
80149         (R12_LP): Likewise.
80150         (R13_LP): Likewise.
80151         (R14_LP): Likewise.
80152         (R15_LP): Likewise.
80154 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
80156         * sysdeps/x86_64/x32/dl-machine.h: New file.
80158 2012-05-14  Andreas Jaeger  <aj@suse.de>
80160         * manual/Makefile (subdir): Remove export of subdir.
80161         (all): Remove target.
80162         (.PHONY): Remove all from list.
80163         (mkinstalldirs): Remove.
80164         (.PHONY): Remove installdirs from list.
80165         ($(inst_infodir)/libc.info): Use make-target-directory.
80166         (installdirs): Remove.
80167         (subdir_%): Remove.
80168         (glibc-targets): Remove.
80169         (lib): Remove.
80170         (stubs): Remove.
80171         ($(objpfx)stubs ../po/manual.pot): Remove.
80172         ($(objpfx)stamp%): Remove.
80173         (make-target-directory): Remove.
80174         (subdir_install): Remove.
80175         (routines): Remove.
80176         (aux): Remove.
80177         (sources): Remove.
80178         (objects): Remove.
80179         (headers): Remove.
80181         [BZ #13750]
80182         * manual/.gitignore: Remove, it's not needed anymore.
80183         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
80184         all files in it.
80185         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
80186         directory.
80187         (texis): Renamed to $(objpfx)texis.
80188         (texis-path): New, contains path to generated files.
80189         (chapters.%): Use texis-path for complete path, add extra argument
80190         libc-texinfo.sh.
80191         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
80192         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
80193         (summary,texi, stamp-summary): Use complete path of
80194         files. Generate files in build dir.
80195         (dir-add.texi): Build in build dir.
80196         (libm-err.texi,stamp-libm-err): Likewise.
80197         (version.texi, stamp-version): Likewise.
80198         (.%c.texi): Likewise.
80199         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
80200         (mostlyclean): Remove target.
80201         (realclean): Remove target.
80202         (generated): Add new variable with contents from mostlyclean and
80203         realclean, remove entries duplicated in common-mostlyclean, add
80204         stamp-libm-err and stamp-version.
80205         (generated-dirs): Add libc directory.
80206         ($(inst_infodir)/libc.info): Install files from build dir.
80208         * manual/install.texi (Configuring and compiling): Adjust since
80209         the info files are not part of the tar ball anymore.
80211 2012-05-14  Andreas Jaeger  <aj@suse.de>
80213         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
80214         variable.
80216 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
80218         [BZ #13717]
80219         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
80220         to 2.2.0 where earlier.
80221         * sysdeps/unix/sysv/linux/configure: Regenerated.
80222         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
80223         Remove conditional code.
80224         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
80225         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
80226         Remove conditional code.
80227         [!__NR_lchown]: Likewise.
80228         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
80229         [__NR_lchown]: Likewise.
80230         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
80231         comment referencing __ASSUME_LCHOWN_SYSCALL.
80232         * sysdeps/unix/sysv/linux/i386/sigaction.c
80233         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
80234         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
80235         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
80236         Remove conditional code.
80237         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
80238         (__protocol_available): Remove #if 0 code.
80239         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
80240         conditional code.
80241         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
80242         * sysdeps/unix/sysv/linux/kernel-features.h
80243         (__ASSUME_GETCWD_SYSCALL): Don't define.
80244         (__ASSUME_REALTIME_SIGNALS): Likewise.
80245         (__ASSUME_PREAD_SYSCALL): Likewise.
80246         (__ASSUME_PWRITE_SYSCALL): Likewise.
80247         (__ASSUME_POLL_SYSCALL): Likewise.
80248         (__ASSUME_LCHOWN_SYSCALL): Likewise.
80249         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
80250         non-SPARC.
80251         (__ASSUME_SIOCGIFNAME): Don't define.
80252         (__ASSUME_MSG_NOSIGNAL): Likewise.
80253         (__ASSUME_SENDFILE): Define unconditionally.
80254         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
80255         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
80256         conditional code.
80257         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
80258         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
80259         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
80260         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
80261         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
80262         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
80263         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
80264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
80265         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
80266         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
80267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
80268         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
80269         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
80270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
80271         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
80272         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
80273         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
80274         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
80275         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
80276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
80277         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
80278         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
80279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
80280         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
80281         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
80282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
80283         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
80284         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
80285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
80286         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
80287         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
80288         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
80289         Remove conditional code.
80290         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
80291         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
80292         Remove conditional code.
80293         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
80294         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
80295         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
80296         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
80297         Remove conditional code.
80298         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
80299         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
80300         Remove conditional code.
80301         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
80302         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
80303         Remove conditional code.
80304         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
80305         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
80306         Remove conditional code.
80307         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
80308         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
80309         Remove conditional code.
80310         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
80311         * sysdeps/unix/sysv/linux/sh/pwrite64.c
80312         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
80313         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
80314         * sysdeps/unix/sysv/linux/sigaction.c
80315         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
80316         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
80317         * sysdeps/unix/sysv/linux/sigpending.c
80318         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
80319         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
80320         * sysdeps/unix/sysv/linux/sigprocmask.c
80321         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
80322         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
80323         * sysdeps/unix/sysv/linux/sigsuspend.c
80324         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
80325         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
80326         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
80327         (__libc_missing_rt_sigs): Remove.
80328         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
80329         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
80330         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
80331         Remove conditional code.
80332         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
80333         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
80334         return 1.
80335         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
80336         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
80337         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
80338         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
80340 2012-05-14  Andreas Jaeger  <aj@suse.de>
80342         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
80343         it's not used in glibc.
80344         (__coshm1): Likewise.
80345         (__acosh1p): Likewise.
80346         (__sgn): Likewise.
80348         * manual/string.texi (Copying and Concatenation): Add missing
80349         variable in concat example.
80350         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
80352 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
80354         [BZ #14103]
80355         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
80356         __builtin_clzl with __builtin_clzll.
80358 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
80360         [BZ #14104]
80361         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
80362         libc_freeres_ptr.
80364 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
80366         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
80367         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
80368         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
80369         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
80371 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
80373         * NEWS: Update ia64 info.
80375 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
80377         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
80378         used as bcopy.
80380 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
80382         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
80383         * sysdeps/unix/syscalls.list (dup3): Likewise.
80384         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
80385         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
80387 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
80389         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
80390         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
80392 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
80394         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
80395         thread pointer.
80396         (TLS_IE): Use mov/add instead of movq/addq to load thread
80397         pointer.
80398         (TLS_GD_PREFIX): New.
80399         (TLS_GD): Use it.
80401 2012-05-11  David S. Miller  <davem@davemloft.net>
80403         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
80404         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
80405         (_FPU_SETCW): Likewise.
80407 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
80409         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
80410         is 32-byte aligned.
80412 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
80414         [BZ #11837]
80415         * iconvdata/gb18030.c: Update tables.
80416         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
80417         characters specially.
80418         (BODY for TO_LOOP): Add encoding of missing ranges.
80420 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
80422         [BZ #13673]
80423         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
80424         * sysdeps/mach/hurd/dup3.c: Likewise.
80425         * sysdeps/mach/hurd/readlinkat.c: Likewise.
80426         * sysdeps/powerpc/memmove.c:: Likewise.
80428 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
80430         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
80431         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
80433 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
80435         * elf/elf.h (R_X86_64_RELATIVE64): New.
80436         (R_X86_64_NUM): Updated.
80437         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
80438         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
80439         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
80440         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
80441         tst-quad1pie tst-quad2pie
80442         (modules-names): Add tst-quadmod1 tst-quadmod2.
80443         ($(objpfx)tst-quad1): New dependency.
80444         ($(objpfx)tst-quad2): Likewise.
80445         ($(objpfx)tst-quad1pie): Likewise.
80446         ($(objpfx)tst-quad2pie): Likewise.
80447         * sysdeps/x86_64/tst-quad1.c: New file.
80448         * sysdeps/x86_64/tst-quad1pie.c: New file.
80449         * sysdeps/x86_64/tst-quad2.c: Likewise.
80450         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
80451         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
80452         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
80453         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
80454         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
80456 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80458         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
80459         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
80460         * streams/stropts.h (t_scalar_t): Define type.
80462         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
80463         (_PATH_PRESERVE): Set to "/var/lib".
80464         (_PATH_RWHODIR): Set to "/var/spool/rwho".
80466         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
80467         instead of int.
80469         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
80470         if __dir_mkfile succeeded.
80472         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
80473         checking for _hurd_dtablesize.  Unlock it right after having
80474         finished _hurd_dtable allocation.
80476 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
80478         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
80479         * sysdeps/mach/hurd/configure: Regenerated.
80480         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
80481         special-casing to...
80482         * sysdeps/gnu/configure.in: ... this new file.
80483         * sysdeps/unix/sysv/linux/configure: Regenerated.
80484         * sysdeps/gnu/configure: New generated file.
80486         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
80487         for Linux: use nsec instead of usec, as well as:
80488         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
80489         members of type struct timespec.
80490         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
80491         New macros.
80492         (struct stat64): Likewise.
80493         (_STATBUF_ST_NSEC): New macro.
80494         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
80496         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
80497         __strtoul_internal rather than strtoul.
80499 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
80501         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
80502         and reject them.
80504 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80506         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
80507         which preserves existing values.
80508         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
80510 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
80512         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
80513         TIMEOUT values.  Return EINVAL for NFDS values either negative or
80514         greater than FD_SETSIZE.
80516 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80518         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
80519         allocated, call __vm_protect to finish enabling the existing space, and
80520         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
80521         allocate the remainder.
80523 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
80525         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
80526         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
80528 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80530         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
80531         sysdeps/mach/hurd/readlink.c.
80533         * posix/tst-sysconf.c (posix_options): Only use
80534         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
80535         _POSIX_SYNCHRONIZED_IO when they are defined
80536         * sysdeps/mach/hurd/bits/posix_opt.h:
80537         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
80538         (_XOPEN_REALTIME): Undefine macro.
80539         (_XOPEN_REALTIME_THREADS): Undefine macro.
80540         (_XOPEN_SHM): Undefine macro.
80541         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
80542         macro to -1.
80543         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
80544         macro to -1.
80545         (_POSIX_ASYNC_IO): Undefine macro.
80546         (_POSIX_PRIORITIZED_IO): Undefine macro.
80547         (_POSIX_SPIN_LOCKS): Define macro to -1.
80549         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
80550         SA_NODEFER, SA_RESETHAND.
80551         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
80552         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
80553         F_DUPFD_CLOEXEC.
80555 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
80557         * elf/Makefile (pldd-modules): Define unconditionally.
80559 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
80561         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
80563 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80565         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
80566         Return ENOENT when name is empty.
80567         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
80569 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
80571         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
80573         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
80575 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80577         Fix mlock in all cases except non-readable pages.
80578         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
80579         instead of VM_PROT_ALL as parameter to __vm_wire function.
80581         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
80582         (__mkdir): When path is `/', just fail with EEXIST.
80583         * sysdeps/mach/hurd/mkdirat.c: Likewise.
80585 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
80587         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
80588         <sys/uio.h> (for writev).
80589         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
80590         and <sys/param.h> (for MIN).
80592 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
80594         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
80595         REQUESTED_TIME.  Properly set the remaining time and return EINTR
80596         if interrupted.
80598 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
80600         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
80601         Depend on against $(link-rpcuserlibs).
80603 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80605         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
80606         (__libc_stack_end): Do not use attribute_relro.
80607         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
80608         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
80609         to libthread-provided value.
80610         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
80611         attribute_relro.
80613 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
80615         [BZ #3748]
80616         * bits/libc-lock.h (__libc_once_get): New macro.
80617         * sysdeps/mach/bits/libc-lock.h: Likewise.
80618         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
80619         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
80620         instead of using implementation details.
80622         * libio/fileops.c: Unconditionally include <kernel-features.h>.
80623         * libio/freopen.c: Likewise.
80624         * libio/freopen64.c: Likewise.
80625         * misc/syslog.c: Likewise.
80626         * nscd/connections.c: Likewise.
80627         * nscd/netgroupcache.c: Likewise.
80628         * sysdeps/posix/getcwd.c: Likewise.
80630 2012-05-10  Roland McGrath  <roland@hack.frob.com>
80632         * math/w_ilogbf.c: Add #include <limits.h>.
80634 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80636         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
80637         path instead of returning without unlocking.
80639         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
80640         immediate-write ioctls.
80641         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
80643 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
80645         * sysdeps/mach/hurd/i386/init-first.c (init): Use
80646         __builtin_frame_address instead of making assumptions about the
80647         location of the return address relative to DATA.  Force early load of
80648         the return address.
80649         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
80650         __builtin_frame_address.
80652         dup3 for GNU Hurd.
80653         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
80654         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
80655         implement dup3 and do some further code clean-ups.
80656         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
80657         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
80659 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80661         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
80663         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
80664         HURD_CRITICAL_END around holding _hurd_dtable_lock.
80665         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
80666         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
80667         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
80668         d->port.lock.
80670         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
80671         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
80672         when handler == SIG_ERR, not when handler != SIG_ERR.
80674 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
80676         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
80677         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
80678         definitions.
80680         accept4 for GNU Hurd.
80681         * include/sys/socket.h (__libc_accept4): New prototype.
80682         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
80683         to implement __libc_accept4.
80684         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
80685         __libc_accept4.
80686         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
80688         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
80689         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
80690         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
80691         signal-defines.sym.
80693 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80695         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
80697 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
80699         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
80700         assertion on O_CLOEXEC flag.
80701         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
80702         * hurd/intern-fd.c: Likewise.
80703         * hurd/port2fd.c: Likewise.
80705 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80707         [BZ #3906]
80708         * bits/in.h (IPV6_PKTINFO): Define new macro.
80709         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
80711 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80713         [BZ #13954]
80714         [BZ #13955]
80715         [BZ #13956]
80716         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
80717         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
80718         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
80719         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
80720         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
80721         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
80722         * math/libm-test.inc (logb_test) : Additional logb tests.
80724 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
80725             Andreas Jaeger  <aj@suse.de>
80727         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
80728         * configure: Regenerated.
80729         * config.h.in (LINK_OBSOLETE_RPC): New macro.
80730         * config.make.in (link-obsolete-rpc): New substituted variable.
80731         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
80732         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
80733         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
80734         (shared-only-routines): Don't set it under [link-obsolete-rpc],
80735         so that libc.a contains the symbols.
80736         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
80737         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
80738         * sunrpc/auth_none.c: Likewise.
80739         * sunrpc/auth_unix.c: Likewise.
80740         * sunrpc/authdes_prot.c: Likewise.
80741         * sunrpc/authuxprot.c: Likewise.
80742         * sunrpc/clnt_gen.c: Likewise.
80743         * sunrpc/clnt_perr.c: Likewise.
80744         * sunrpc/clnt_raw.c: Likewise.
80745         * sunrpc/clnt_simp.c: Likewise.
80746         * sunrpc/clnt_tcp.c: Likewise.
80747         * sunrpc/clnt_udp.c: Likewise.
80748         * sunrpc/clnt_unix.c: Likewise.
80749         * sunrpc/des_crypt.c: Likewise.
80750         * sunrpc/des_soft.c: Likewise.
80751         * sunrpc/get_myaddr.c: Likewise.
80752         * sunrpc/key_call.c: Likewise.
80753         * sunrpc/key_prot.c: Likewise.
80754         * sunrpc/netname.c: Likewise.
80755         * sunrpc/pm_getmaps.c: Likewise.
80756         * sunrpc/pm_getport.c: Likewise.
80757         * sunrpc/pmap_clnt.c: Likewise.
80758         * sunrpc/pmap_prot.c: Likewise.
80759         * sunrpc/pmap_prot2.c: Likewise.
80760         * sunrpc/pmap_rmt.c: Likewise.
80761         * sunrpc/publickey.c: Likewise.
80762         * sunrpc/rpc_cmsg.c: Likewise.
80763         * sunrpc/rpc_common.c: Likewise.
80764         * sunrpc/rpc_dtable.c: Likewise.
80765         * sunrpc/rpc_prot.c: Likewise.
80766         * sunrpc/rpc_thread.c: Likewise.
80767         * sunrpc/rtime.c: Likewise.
80768         * sunrpc/svc.c: Likewise.
80769         * sunrpc/svc_auth.c: Likewise.
80770         * sunrpc/svc_raw.c: Likewise.
80771         * sunrpc/svc_run.c: Likewise.
80772         * sunrpc/svc_tcp.c: Likewise.
80773         * sunrpc/svc_udp.c: Likewise.
80774         * sunrpc/svc_unix.c: Likewise.
80775         * sunrpc/svcauth_des.c: Likewise.
80776         * sunrpc/xcrypt.c: Likewise.
80777         * sunrpc/xdr.c: Likewise.
80778         * sunrpc/xdr_array.c: Likewise.
80779         * sunrpc/xdr_float.c: Likewise.
80780         * sunrpc/xdr_intXX_t.c: Likewise.
80781         * sunrpc/xdr_mem.c: Likewise.
80782         * sunrpc/xdr_rec.c: Likewise.
80783         * sunrpc/xdr_ref.c: Likewise.
80784         * sunrpc/xdr_sizeof.c: Likewise.
80785         * sunrpc/xdr_stdio.c: Likewise.
80787 2012-05-10  Roland McGrath  <roland@hack.frob.com>
80789         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
80790         change.  Update copyright years.
80792 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
80794         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
80796 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
80797             Joseph Myers  <joseph@codesourcery.com>
80798             Paul Pluzhnikov  <ppluzhnikov@google.com>
80800         [BZ #14012]
80801         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
80802         requiring rpcgen.
80803         [cross-compiling] (extra-libs): Likewise.
80804         [cross-compiling] (extra-libs-others): Likewise.
80805         [cross-compiling] (librpcsvc-routines): Likewise.
80806         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
80807         [cross-compiling] (omit-deps): Likewise.
80808         (sunrpc-CPPFLAGS): New variable.
80809         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
80810         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
80811         (cross-rpcgen-objs): New variable.
80812         (extra-objs): Append $(cross-rpcgen-objs).
80813         ($(cross-rpcgen-objs)): New rule.
80814         ($(objpfx)cross-rpcgen): Likewise.
80815         (rpcgen-cmd): Define to use $(built-program-file).  Expand
80816         comment.
80817         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
80818         ($(objpfx)x%.stmp): Likewise.
80819         * sunrpc/proto.h [IS_IN_build] (_): Define.
80820         [IS_IN_build] (_libc_intl_domainname): Likewise.
80822 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
80824         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
80825         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
80826         and R_X86_64_TPOFF64.
80828 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
80830         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
80831         sysdeps/unix/sysv/syscalls.list.
80832         (stime): Likewise.
80833         (utime): Likewise.
80834         * sysdeps/unix/sysv/syscalls.list: Remove file.
80836 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
80838         [BZ #3440]
80839         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
80840         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
80841         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
80842         (__LC_IDENTIFICATION): Make these macros useful in #if
80843         expressions, as required by C99.
80845 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
80847         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
80848         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
80849         after this.
80851 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
80853         * stdlib/longlong.h: Updated from GCC.
80855 2012-05-09  Andreas Jaeger  <aj@suse.de>
80857         * nscd/nscd.c (run_modes): Make named enum, reorder so that
80858         default is first entry.
80859         (run_mode): Set type.
80860         (main): Remove informal message about syslog.
80861         (options): Fix typo.
80863         [BZ #14053]
80864         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
80865         to asm.
80866         (lrint): Likewise.
80867         (llrintf): Likewise.
80868         (llrint): Likewise.
80869         (rint): Likewise.
80870         (rintf): Likewise.
80871         (nearbyint): Likewise.
80872         (nearbyintf): Likewise.
80874 2012-05-09  Andreas Jaeger  <aj@suse.de>
80875             Pedro Alves  <palves@redhat.com>
80877         * nscd/nscd.c (run_mode): Use enum.
80878         (main): Cleanup coding style issue.
80880 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
80881             Andreas Jaeger  <aj@suse.de>
80883         * nscd/nscd.c (go_background): Replaced with...
80884         (run_mode): ... this.
80885         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
80886         (options): Add -F --foreground.
80887         (main): Implement it.
80888         (parse_opt): Parse it.
80890 2012-05-09  Andreas Jaeger  <aj@suse.de>
80892         [BZ #14083]
80893         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
80894         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
80895         -Wconversion warning.
80896         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
80897         Likewise.
80899 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
80901         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
80902         == 0.
80903         (LC_ALL): Use macro-int-constant.
80904         (LC_COLLATE): Likewise.
80905         (LC_CTYPE): Likewise.
80906         (LC_MESSAGES): Likewise.
80907         (LC_MONETARY): Likewise.
80908         (LC_NUMERIC): Likewise.
80909         (LC_TIME): Likewise.
80910         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
80911         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
80912         [ISO || ISO99 || ISO11] (*_t): Do not allow.
80913         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
80914         Specify type.
80915         [C99-based standards] (float_t): Expect type.
80916         [C99-based standards] (double_t): Expect type.
80917         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
80918         type.
80919         [C99-based standards] (HUGE_VALL): Likewise.
80920         [C99-based standards] (INFINITY): Likewise.
80921         [C99-based standards] (NAN): Likewise.
80922         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
80923         [C99-based standards] (FP_NAN): Likewise.
80924         [C99-based standards] (FP_NORMAL): Likewise.
80925         [C99-based standards] (FP_SUBNORMAL): Likewise.
80926         [C99-based standards] (FP_ZERO): Likewise.
80927         [C99-based standards] (FP_FAST_FMA): Use
80928         optional-macro-int-constant.  Specify type.  Require == 1.
80929         [C99-based standards] (FP_FAST_FMAF): Likewise.
80930         [C99-based standards] (FP_FAST_FMAL): Likewise.
80931         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
80932         [C99-based standards] (FP_ILOGBNAN): Likewise.
80933         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
80934         Specify type.
80935         [C99-based standards] (MATH_ERREXCEPT): Likewise.
80936         [C99-based standards] (math_errhandling): Specify type.
80937         [ISO99 || ISO11] (signgam): Do not allow.
80938         [non-C99-based standards] (copysignf): Do not allow.
80939         [non-C99-based standards] (exp2f): Likewise.
80940         [non-C99-based standards] (log2f): Likewise.
80941         [non-C99-based standards] (modff): Allow.
80942         [non-C99-based standards] (erff): Do not allow.
80943         [non-C99-based standards] (erfcf): Likewise.
80944         [non-C99-based standards] (gammaf): Likewise.
80945         [non-C99-based standards] (hypotf): Likewise.
80946         [non-C99-based standards] (j0f): Likewise.
80947         [non-C99-based standards] (j1f): Likewise.
80948         [non-C99-based standards] (jnf): Likewise.
80949         [non-C99-based standards] (lgammaf): Likewise.
80950         [non-C99-based standards] (tgammaf): Likewise.
80951         [non-C99-based standards] (y0f): Likewise.
80952         [non-C99-based standards] (y1f): Likewise.
80953         [non-C99-based standards] (ynf): Likewise.
80954         [non-C99-based standards] (isnanf): Likewise.
80955         [non-C99-based standards] (acoshf): Likewise.
80956         [non-C99-based standards] (asinhf): Likewise.
80957         [non-C99-based standards] (atanhf): Likewise.
80958         [non-C99-based standards] (cbrtf): Likewise.
80959         [non-C99-based standards] (expm1f): Likewise.
80960         [non-C99-based standards] (ilogbf): Likewise.
80961         [non-C99-based standards] (log1pf): Likewise.
80962         [non-C99-based standards] (logbf): Likewise.
80963         [non-C99-based standards] (nextafterf): Likewise.
80964         [non-C99-based standards] (remainderf): Likewise.
80965         [non-C99-based standards] (rintf): Likewise.
80966         [non-C99-based standards] (scalbf): Likewise.
80967         [non-C99-based standards] (copysignl): Likewise.
80968         [non-C99-based standards] (exp2l): Likewise.
80969         [non-C99-based standards] (log2l): Likewise.
80970         [non-C99-based standards] (modfl): Allow.
80971         [non-C99-based standards] (erfl): Do not allow.
80972         [non-C99-based standards] (erfcl): Likewise.
80973         [non-C99-based standards] (gammal): Likewise.
80974         [non-C99-based standards] (hypotl): Likewise.
80975         [non-C99-based standards] (j0l): Likewise.
80976         [non-C99-based standards] (j1l): Likewise.
80977         [non-C99-based standards] (jnl): Likewise.
80978         [non-C99-based standards] (lgammal): Likewise.
80979         [non-C99-based standards] (tgammal): Likewise.
80980         [non-C99-based standards] (y0l): Likewise.
80981         [non-C99-based standards] (y1l): Likewise.
80982         [non-C99-based standards] (ynl): Likewise.
80983         [non-C99-based standards] (isnanl): Likewise.
80984         [non-C99-based standards] (acoshl): Likewise.
80985         [non-C99-based standards] (asinhl): Likewise.
80986         [non-C99-based standards] (atanhl): Likewise.
80987         [non-C99-based standards] (cbrtl): Likewise.
80988         [non-C99-based standards] (expm1l): Likewise.
80989         [non-C99-based standards] (ilogbl): Likewise.
80990         [non-C99-based standards] (log1pl): Likewise.
80991         [non-C99-based standards] (logbl): Likewise.
80992         [non-C99-based standards] (nextafterl): Likewise.
80993         [non-C99-based standards] (remainderl): Likewise.
80994         [non-C99-based standards] (rintl): Likewise.
80995         [non-C99-based standards] (scalbl): Likewise.
80996         [ISO || ISO99 || ISO11] (*_t): Do not allow.
80997         [non-C99-based standards] (FP_*): Do not allow.
80998         [C99-based standards] (FP_*): Change to
80999         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
81000         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
81001         allow.
81002         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
81003         (SIG_ERR): Likewise.
81004         [X/Open-based standards] (SIG_HOLD): Likewise.
81005         (SIG_IGN): Likewise.
81006         (SIGABRT): Use macro-int-constant.  Specify type.  Require
81007         positive value.
81008         (SIGFPE): Likewise.
81009         (SIGILL): Likewise.
81010         (SIGINT): Likewise.
81011         (SIGSEGV): Likewise.
81012         (SIGTER): Likewise.
81013         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
81014         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
81015         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
81016         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
81017         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
81018         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
81019         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
81020         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
81021         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
81022         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
81023         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
81024         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
81025         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
81026         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
81027         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
81028         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
81029         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
81030         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
81031         [X/Open-based standards] (SIGTRAP): Likewise.
81032         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
81033         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
81034         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
81035         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
81036         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
81037         allow.
81039 2012-05-08  Ian Wienand  <ianw@vmware.com>
81041         [BZ #14080]
81042         * time/tzset.c (__tzset_parse_tz): Update default rules for
81043         daylight time changes in the Energy Policy Act of 2005.
81045 2012-05-09  Andreas Jaeger  <aj@suse.de>
81047         [BZ #13983]
81048         * elf/ldconfig.c (parse_conf): Change string to make clear that
81049         ldconfig only issued a warning if ld.so.conf does not exist.
81051 2012-05-08  David S. Miller  <davem@davemloft.net>
81053         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
81054         movxtod instead of popping the value on the stack.
81056         * sysdeps/sparc/fpu/libm-test-ulps: Update.
81058 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
81060         * config.h.in: Add HAVE_ARM_PCS_VFP.
81062 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
81064         [BZ #13979]
81065         * include/features.h: Warn if user requests __FORTIFY_SOURCE
81066         checking but the checks are disabled for any reason.
81068 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
81070         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
81071         and ELF64_R_TYPE with ELFW(R_TYPE).
81073 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
81075         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
81076         (ulimit): Likewise.
81078         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
81079         (settimeofday): Likewise.
81081 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
81083         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
81084         a struct th_u2 inside the union, and move tu_block/tu_code into
81085         a new th_u3 union of tu_block/tu_code inside of that.  Move
81086         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
81087         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
81088         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
81089         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
81090         (th_stuff): Change to th_u1.tu_stuff.
81091         (th_data): Define.
81092         (th_msg): Change to th_u1.th_u2.tu_data.
81094 2012-05-07  David S. Miller  <davem@davemloft.net>
81096         * sysdeps/sparc/fpu/libm-test-ulps: Update.
81098         [BZ #14074]
81099         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
81100         (SETUP_PIC_REG): Use it.
81101         (SETUP_PIC_REG_LEAF): Use it.
81103 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
81105         [BZ #13885]
81106         [BZ #13923]
81107         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
81108         USE_AS_EXPM1L.
81109         (EXPL_FINITE): Likewise.
81110         (FLDLOG): Likewise.
81111         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
81112         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
81113         e_expl.S.
81114         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
81115         USE_AS_EXPM1L.
81116         (EXPL_FINITE): Likewise.
81117         (FLDLOG): Likewise.
81118         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
81119         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
81120         e_expl.S.
81121         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
81122         test of -max_value argument for long double.
81123         * sysdeps/i386/fpu/libm-test-ulps: Update.
81124         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81126 2012-05-06  David S. Miller  <davem@davemloft.net>
81128         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
81129         quad soft-float symbols whose references which are compiler
81130         generated.
81131         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
81133 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
81135         [BZ #13884]
81136         [BZ #13914]
81137         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
81138         USE_AS_EXP10L.
81139         (EXPL_FINITE): Likewise.
81140         (FLDLOG): Likewise.
81141         (c0): Likewise.
81142         (c1): Likewise.
81143         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
81144         Adjust comments for base varying.
81145         (__expl_finite): Change alias to EXPL_FINITE.
81146         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
81147         e_expl.S.
81148         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
81149         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
81150         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
81151         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
81152         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
81153         USE_AS_EXP10L.
81154         (EXPL_FINITE): Likewise.
81155         (FLDLOG): Likewise.
81156         (c0): Likewise.
81157         (c1): Likewise.
81158         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
81159         Adjust comments for base varying.
81160         (__expl_finite): Change alias to EXPL_FINITE.
81161         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
81162         tests for bugs.
81163         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
81165         [BZ #14064]
81166         * math/libm-test.inc (check_float_internal): Correct ulp
81167         calculation for subnormal expected results.
81169 2012-05-06  Andreas Jaeger  <aj@suse.de>
81171         * Makeconfig (+math-flags): New, set to -frounding-math.
81172         (+cflags): Add +math-flags so that all of glibc gets compiled with
81173         it.
81175         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
81177 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
81179         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
81180         Disable one test.
81182         [BZ #13787]
81183         [BZ #13922]
81184         [BZ #14036]
81185         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
81186         (__ieee754_expl): Allow for and saturate large arguments.
81187         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
81188         (u_threshold): Likewise.
81189         (__exp): Call __ieee754_exp before checking for overflow and
81190         underflow.
81191         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
81192         (u_threshold): Likewise.
81193         (__expf): Call __ieee754_expf before checking for overflow and
81194         underflow.
81195         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
81196         (u_threshold): Likewise.
81197         (__expl): Call __ieee754_expl before checking for overflow and
81198         underflow.
81199         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
81200         (__ieee754_expl): Allow for and saturate large arguments.
81201         * math/libm-test.inc (exp_test): Add another test.  Do not allow
81202         missing overflow exception on overflow.
81203         (expm1_test): Do not allow missing overflow exception on overflow.
81205         * sysdeps/i386/fpu/e_expl.c: Move to ...
81206         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
81207         rather than using inline asm.
81208         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
81209         * sysdeps/x86_64/fpu/e_expl.S: Copy from
81210         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
81212         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
81213         (nice): Likewise.
81214         (poll): Likewise.
81215         (signal): Likewise.
81216         (time): Likewise.
81217         (times): Likewise.
81219 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
81221         * sysdeps/unix/syscalls.list (adjtime): Add entry from
81222         sysdeps/unix/common/syscalls.list.
81223         (fchmod): Likewise.
81224         (fchown): Likewise.
81225         (ftruncate): Likewise.
81226         (getrusage): Likewise.
81227         (gettimeofday): Likewise.
81228         (setpgid): Likewise.
81229         (setregid): Likewise.
81230         (setreuid): Likewise.
81231         (sigaction): Likewise.
81232         (truncate): Likewise.
81233         (vhangup): Likewise.
81234         * sysdeps/unix/common/syscalls.list: Remove file.
81235         * sysdeps/unix/bsd/Implies: Don't include unix/common.
81236         * sysdeps/unix/sysv/linux/Implies: Likewise.
81238 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
81240         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
81241         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
81242         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
81243         Moved to ...
81244         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
81245         Here.
81246         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
81247         to ...
81248         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
81249         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
81250         to ...
81251         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
81252         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
81253         to ...
81254         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
81255         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
81256         to ...
81257         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
81258         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
81259         to ...
81260         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
81261         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
81262         to ...
81263         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
81264         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
81265         to ...
81266         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
81267         Here.
81268         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
81269         to ...
81270         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
81271         Here.
81272         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
81273         to ...
81274         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
81275         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
81276         Moved to ...
81277         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
81278         Here.
81279         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
81280         to ...
81281         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
81283 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
81285         * sysdeps/unix/common/bits/dirent.h: Remove file.
81286         * sysdeps/unix/common/bits/fcntl.h: Likewise.
81288         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
81289         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
81290         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
81291         * sysdeps/unix/bsd/isatty.c: Likewise.
81292         * sysdeps/unix/bsd/tcdrain.c: Likewise.
81293         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
81294         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
81296 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81298         [BZ #13563]
81299         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
81300         long double comparison inaccuracies.
81301         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
81302         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
81304 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
81306         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
81307         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
81309 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
81311         [BZ #14049]
81312         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
81313         nonzero digits before rounding a hex value.
81314         * stdlib/tst-strtod.c (tests): Add another test.
81316 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
81318         * sysdeps/s390/fpu/libm-test-ulps: Update.
81320 2012-05-03  Andreas Jaeger  <aj@suse.de>
81322         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
81323         does not get optimized out.
81324         (malloc_opt_barrier): New.
81326 2012-05-03  Andreas Jaeger  <aj@suse.de>
81327             Roland McGrath  <roland@hack.frob.com>
81329         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
81330         intermediate file deletion.
81331         (generated): Add .symlist files.
81333 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
81335         [BZ #13775]
81336         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
81337         Redirect under this condition.
81338         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
81339         [__USE_GNU] (__dprintf_chk): Not under this condition.
81340         [__USE_GNU] (__vdprintf_chk): Likewise.
81341         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
81342         under this condition.
81343         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
81344         [__USE_XOPEN2K8] (dprintf): Define under this condition.
81345         [__USE_XOPEN2K8] (vdprintf): Likewise.
81346         [__USE_GNU] (__dprintf_chk): Not under this condition.
81347         [__USE_GNU] (__vdprintf_chk): Likewise.
81348         [__USE_GNU] (dprintf): Likewise.
81349         [__USE_GNU] (vdprintf): Likewise.
81351 2012-05-03  Roland McGrath  <roland@hack.frob.com>
81353         * elf/Makefile (common-generated): Set this instead of generated for
81354         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
81355         $(all-built-dso)-derived lists.
81357 2012-05-03  Andreas Jaeger  <aj@suse.de>
81359         * sysdeps/i386/fpu/libm-test-ulps: Update.
81361         * FAQ: Removed.
81362         * FAQ.in: Likewise.
81363         * scripts/gen-FAQ.pl: Likewise.
81364         * manual/install.texi (Installation): Point to online location of
81365         FAQ.
81366         * Makefile (files-for-dist): Remove FAQ.
81367         (FAQ): Remove.
81369 2012-05-02  Allan McRae  <allan@archlinux.org>
81371         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
81372         (LDFLAGS-reldepmod5.so): Likewise.
81373         (LDFLAGS-reldep6mod1.so): Likewise.
81374         (LDFLAGS-reldep6mod4.so): Likewise.
81375         (LDFLAGS-reldep8mod3.so): Likewise.
81376         (LDFLAGS-unload4mod1.so): Likewise.
81377         (LDFLAGS-unload4mod2.so): Likewise.
81378         (LDFLAGS-tst-initorder): Likewise.
81379         (LDFLAGS-tst-initordera2.so): Likewise.
81380         (LDFLAGS-tst-initordera3.so): Likewise.
81381         (LDFLAGS-tst-initordera4.so): Likewise.
81382         (LDFLAGS-tst-initorderb2.so): Likewise.
81383         (LDFLAGS-noload): Likewise.
81384         (LDFLAGS-next): Likewise.
81385         (LDFLAGS-order2mod1.so): Likewise.
81386         (LDFLAGS-order2mod2.so): Likewise.
81387         (LDFLAGS-tst-initorder2): Likewise.
81388         (LDFLAGS-tst-initorder2a.so): Likewise.
81389         (LDFLAGS-tst-initorder2b.so): Likewise.
81390         (LDFLAGS-tst-initorder2c.so): Likewise.
81391         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
81393 2012-05-02  David S. Miller  <davem@davemloft.net>
81395         * sysdeps/sparc/fpu/libm-test-ulps: Update.
81397 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
81399         [BZ #14055]
81400         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
81402 2012-05-02  Andreas Jaeger  <aj@suse.de>
81404         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
81405         since we manipulate rounding mode.
81406         (CPPFLAGS-test-idouble.c): Likewise.
81407         (CPPFLAGS-test-ifloat.c): Likewise.
81408         (CFLAGS-test-ldouble.c): Likewise.
81409         (CFLAGS-test-double.c): Likewise.
81410         (CFLAGS-test-float.c): Likewise.
81411         (CFLAGS-test-misc.c): Likewise.
81412         (CFLAGS-test-test-fenv.c): Likewise.
81414 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81416         [BZ #2550]
81417         [BZ #2570]
81418         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
81419         comparisons to determine direction to adjust input.
81421 2012-05-01  Roland McGrath  <roland@hack.frob.com>
81423         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
81424         output to the target.
81426         * scripts/localplt.awk: New file.
81427         * elf/Makefile ($(objpfx)check-localplt): Target removed.
81428         (check-localplt-CFLAGS): Variable removed.
81429         ($(all-built-dso:=.jmprel)): New static pattern rule.
81430         (generated): Add those targets.
81431         (localplt-built-dso): New variable.
81432         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
81434         * elf/check-localplt.c: File removed.
81436         * scripts/check-execstack.awk: New file.
81437         * elf/Makefile ($(objpfx)check-execstack): Target removed.
81438         (check-execstack-CFLAGS): Variable removed.
81439         ($(objpfx)check-execstack.h): Target removed.
81440         ($(objpfx)execstack-default): New target.
81441         (generated): Add that instead of check-execstack.h.
81442         ($(all-built-dso:=.phdr)): New static pattern rule.
81443         (generated): Add those targets.
81444         * elf/check-execstack.c: File removed.
81446         * scripts/check-textrel.awk: New file.
81447         * elf/Makefile ($(objpfx)check-textrel): Target removed.
81448         (check-textrel-CFLAGS): Variable removed.
81449         (all-built-dso): Use := to define.o
81450         ($(all-built-dso:=.dyn)): New static pattern rule.
81451         (generated): Add those targets.
81452         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
81453         * config.make.in (READELF): New substituted variable.
81454         * elf/check-textrel.c: File removed.
81456 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
81458         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
81459         allow.
81460         * conform/data/ctype.h-data [C99-based standards] (isblank):
81461         Expect function.
81462         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
81463         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
81464         [ISO || ISO99 || ISO11] (*_t): Do not allow.
81465         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
81466         Specify type.  Require positive value.
81467         (EILSEQ): Likewise.
81468         (ERANGE): Likewise.
81469         [ISO || POSIX] (EILSEQ): Do not expect.
81470         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
81471         Specify type.  Require positive value.
81472         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
81473         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
81474         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
81475         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
81476         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
81477         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
81478         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
81479         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
81480         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
81481         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
81482         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
81483         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
81484         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
81485         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
81486         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
81487         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
81488         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
81489         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
81490         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
81491         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
81492         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
81493         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
81494         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
81495         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
81496         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
81497         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
81498         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
81499         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
81500         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
81501         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
81502         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
81503         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
81504         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
81505         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
81506         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
81507         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
81508         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
81509         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
81510         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
81511         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
81512         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
81513         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
81514         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
81515         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
81516         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
81517         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
81518         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
81519         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
81520         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
81521         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
81522         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
81523         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
81524         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
81525         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
81526         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
81527         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
81528         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
81529         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
81530         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
81531         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
81532         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
81533         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
81534         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
81535         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
81536         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
81537         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
81538         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
81539         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
81540         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
81541         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
81542         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
81543         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
81544         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
81545         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
81546         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
81547         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
81548         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
81549         Require >= 2.
81550         (FLT_ROUNDS): Expect as macro, not constant.
81551         (FLT_MANT_DIG): Use macro-int-constant.
81552         (DBL_MANT_DIG): Likewise.
81553         (LDBL_MANT_DIG): Likewise.
81554         (FLT_DIG): Likewise.
81555         (DBL_DIG): Likewise.
81556         (LDBL_DIG): Likewise.
81557         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
81558         (DBL_MIN_EXP): Likewise.
81559         (LDBL_MIN_EXP): Likewise.
81560         (FLT_MAX_EXP): Use macro-int-constant.
81561         (DBL_MAX_EXP): Likewise.
81562         (LDBL_MAX_EXP): Likewise.
81563         (FLT_MAX_10_EXP): Likewise.
81564         (DBL_MAX_10_EXP): Likewise.
81565         (LDBL_MAX_10_EXP): Likewise.
81566         (FLT_MAX): Use macro-constant.
81567         (DBL_MAX): Likewise.
81568         (LDBL_MAX): Likewise.
81569         (FLT_EPSILON): Use macro-constant.  Give upper bound.
81570         (DBL_EPSILON): Likewise.
81571         (LDBL_EPSILON): Likewise.
81572         (FLT_MIN): Likewise.
81573         (DBL_MIN): Likewise.
81574         (LDBL_MIN): Likewise.
81575         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
81576         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
81577         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
81578         [ISO11] (FLT_HAS_SUBNORM): Likewise.
81579         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
81580         [ISO11] (DBL_DECIMAL_DIG): Likewise.
81581         [ISO11] (FLT_DECIMAL_DIG): Likewise.
81582         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
81583         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
81584         [ISO11] (FLT_TRUE_MIN): Likewise.
81585         [ISO11] (LDBL_TRUE_MIN): Likewise.
81586         [ISO || ISO99 || ISO11] (*_t): Do not allow.
81587         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
81588         (SCHAR_MIN): Use macro-int-constant.  Specify type.
81589         (SCHAR_MAX): Likewise.
81590         (UCHAR_MAX): Likewise.
81591         (CHAR_MIN): Likewise.
81592         (CHAR_MAX): Likewise.
81593         (MB_LEN_MAX): Use macro-int-constant.
81594         (SHRT_MIN): Use macro-int-constant.  Specify type.
81595         (SHRT_MAX): Likewise.
81596         (USHRT_MAX): Likewise.
81597         (INT_MAX): Likewise.
81598         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
81599         bound negative.
81600         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
81601         bound with "U".
81602         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
81603         bound with "L".
81604         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
81605         bound negative.  Suffix upper bound with "L".
81606         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
81607         bound with "UL".
81608         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
81609         Specify type.
81610         [C99-based standards] (LLONG_MAX): Likewise.
81611         [C99-based standards] (ULLONG_MAX): Likewise.
81612         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
81613         == 0.
81614         [ISO11] (max_align_t): Require type.
81615         [ISO || ISO99 || ISO11] (*_t): Do not allow.
81617         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
81618         from $CFLAGS, without defining away __attribute__ calls.
81619         (checknamespace): Use $CFLAGS_namespace.
81621         * conform/conformtest.pl (@keywords): Only include C99 keywords
81622         for standards based on C99 or C11.
81624         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
81625         Disable tests.
81626         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
81627         UNIX98]: Likewise.
81629         * conform/conformtest.pl: Handle "macro-int-constant" and test for
81630         usability of symbols in #if.
81632         * conform/conformtest.pl: If macro or constant types start
81633         "promoted:", expect the symbol to be of the following type
81634         promoted by the integer promotions.
81636         * conform/conformtest.pl: Parse all "constant" and "macro" lines
81637         in one place.  Also handle "macro-constant".
81639         * conform/conformtest.pl: Only accept expected macro values with
81640         "==".  Parse all "macro" lines in one place.
81641         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
81643         * conform/conformtest.pl: Handle braced types on "constant" lines
81644         instead of handling "typed-constant".
81645         * conform/data/signal.h-data: Use "constant" instead of
81646         "typed-constant".
81648         * conform/conformtest.pl: Handle "optional-" at start of lines in
81649         one place rather than duplicating several cases.  Handle each
81650         format of "macro" line with initial "optional-".
81652         * conform/conformtest.pl: Only accept expected constant or
81653         optional-constant values with "==".  Parse all "constant" lines in
81654         one place.  Parse all "optional-constant" lines in one place.
81655         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
81656         * conform/data/fmtmsg.h-data: Likewise.
81657         * conform/data/netinet/in.h-data: Likewise.
81658         * conform/data/tar.h-data: Likewise.
81659         * conform/data/limits.h-data: Use "==" form on "constant" and
81660         "optional-constant" lines.
81662         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
81663         Use -std=c99 for XOPEN2K.
81664         (@knownproblems): Remove.
81665         (newtoken): Don't check %isknown.
81667         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
81668         Do not expect macro.
81669         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
81670         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
81671         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
81672         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
81673         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
81674         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
81675         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
81676         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
81677         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
81678         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
81679         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
81680         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
81681         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
81682         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
81683         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
81684         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
81685         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
81686         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
81687         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
81688         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
81689         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
81690         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
81691         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
81692         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
81693         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
81694         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
81695         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
81696         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
81697         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
81698         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
81699         [XPG3] (acosh): Likewise.
81700         [XPG3] (asinh): Likewise.
81701         [XPG3] (atanh): Likewise.
81702         [XPG3] (cbrt): Likewise.
81703         [XPG3] (expm1): Likewise.
81704         [XPG3] (ilogb): Likewise.
81705         [XPG3] (log1p): Likewise.
81706         [XPG3] (logb): Likewise.
81707         [XPG3] (nextafter): Likewise.
81708         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
81709         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
81710         [XPG3] (remainder): Likewise.
81711         [XPG3] (rint): Likewise.
81712         [XPG3 || XPG4 || UNIX98] (round): Likewise.
81713         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
81714         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
81715         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
81716         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
81717         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
81718         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
81719         [UNIX98 || XOPEN2K] (scalb): Expect.
81720         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
81721         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
81722         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
81723         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
81724         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
81725         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
81726         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
81727         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
81728         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
81729         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
81730         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
81731         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
81732         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
81733         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
81734         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
81735         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
81736         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
81737         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
81738         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
81739         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
81740         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
81741         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
81742         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
81743         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
81744         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
81745         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
81746         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
81747         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
81748         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
81749         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
81750         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
81751         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
81752         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
81753         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
81754         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
81755         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
81756         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
81757         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
81758         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
81759         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
81760         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
81761         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
81762         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
81763         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
81764         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
81765         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
81766         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
81767         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
81768         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
81769         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
81770         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
81771         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
81772         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
81773         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
81774         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
81775         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
81776         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
81777         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
81778         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
81779         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
81780         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
81781         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
81782         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
81783         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
81784         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
81785         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
81786         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
81787         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
81788         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
81789         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
81790         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
81791         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
81792         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
81793         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
81794         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
81795         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
81796         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
81797         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
81798         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
81799         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
81800         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
81801         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
81802         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
81803         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
81804         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
81805         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
81806         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
81807         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
81808         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
81809         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
81810         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
81811         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
81812         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
81813         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
81814         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
81815         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
81816         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
81817         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
81818         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
81819         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
81820         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
81821         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
81822         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
81823         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
81824         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
81825         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
81826         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
81827         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
81828         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
81829         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
81830         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
81831         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
81832         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
81833         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
81834         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
81835         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
81836         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
81837         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
81838         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
81839         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
81840         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
81841         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
81842         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
81843         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
81844         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
81845         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
81846         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
81847         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
81848         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
81849         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
81850         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
81851         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
81852         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
81853         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
81854         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
81855         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
81856         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
81858         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
81859         _XOPEN_SOURCE_EXTENDED for XPG4.
81861         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
81863         * Makeconfig (localtime): Remove variable.
81864         (inst_localtime-file): Likewise.
81866 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
81868         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
81869         Update.
81870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
81871         Update.
81872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
81873         Update.
81874         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
81875         Update.
81876         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
81877         Update.
81878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
81879         Update.
81880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
81881         Update.
81882         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
81883         Update.
81884         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
81885         Update.
81887 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
81889         [BZ #2550]
81890         [BZ #2570]
81891         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
81892         comparisons to determine direction to adjust input.
81893         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
81894         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
81895         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
81896         Likewise.
81897         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
81898         Likewise.
81899         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
81900         Likewise.
81901         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
81902         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
81903         Likewise.
81904         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
81905         Likewise.
81906         * math/libm-test.inc (nexttoward_test): Add more tests.
81908 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
81910         [BZ #14040]
81911         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
81912         in version GLIBC_2.1, not GLIBC_2.0.
81913         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
81914         Likewise.
81916 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
81918         [BZ #13942]
81919         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
81920         (1 - x) * (1 + x).
81921         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
81922         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
81923         * math/libm-test.inc (acos_test): Add more tests.
81924         (asin_test): Likewise.
81925         * sysdeps/i386/fpu/libm-test-ulps: Update.
81926         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81928         [BZ #14034]
81929         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
81930         of square root.
81931         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
81932         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
81933         * math/libm-test.inc (acos_test_tonearest): New function.
81934         (acos_test_towardzero): Likewise.
81935         (acos_test_downward): Likewise.
81936         (acos_test_upward): Likewise.
81937         (asin_test_tonearest): Likewise.
81938         (asin_test_towardzero): Likewise.
81939         (asin_test_downward): Likewise.
81940         (asin_test_upward): Likewise.
81941         (main): Call the new functions.
81942         * sysdeps/i386/fpu/libm-test-ulps: Update.
81943         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
81945         [BZ #13884]
81946         [BZ #13924]
81947         * math/e_exp10.c: Include <float.h>.
81948         (__ieee754_exp10): Handle underflow here rather than multiplying
81949         large negative argument by M_LN10.
81950         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
81951         of __ieee754_expf.
81952         * math/e_exp10l.c: Include <float.h>.
81953         (__ieee754_exp10l): Handle underflow here rather than multiplying
81954         large negative argument by M_LN10l.
81955         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
81956         spurious overflow exception on underflow.
81958 2012-04-29  Marek Polacek  <polacek@redhat.com>
81960         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
81961         (__fortify_function): New macro.
81962         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
81963         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
81964         __extern_always_inline.
81965         * libio/bits/stdio2.h: Likewise.
81966         * libio/bits/stdio.h: Likewise.
81967         * string/string.h: Likewise.
81968         * string/bits/string3.h: Likewise.
81969         * include/stdio.h: Likewise.
81970         * stdlib/bits/stdlib.h: Likewise.
81971         * stdlib/stdlib.h: Likewise.
81972         * rt/bits/mqueue2.h: Likewise.
81973         * rt/mqueue.h: Likewise.
81974         * posix/bits/unistd.h: Likewise.
81975         * posix/unistd.h: Likewise.
81976         * io/bits/poll2.h: Likewise.
81977         * io/bits/fcntl2.h: Likewise.
81978         * io/fcntl.h: Likewise.
81979         * io/sys/poll.h: Likewise.
81980         * misc/bits/syslog.h: Likewise.
81981         * misc/bits/syslog-ldbl.h: Likewise.
81982         * misc/sys/syslog.h: Likewise.
81983         * socket/bits/socket2.h: Likewise.
81984         * socket/sys/socket.h: Likewise.
81985         * debug/tst-chk1.c: Likewise.
81986         * wcsmbs/bits/wchar2.h: Likewise.
81987         * wcsmbs/bits/wchar-ldbl.h: Likewise.
81988         * wcsmbs/wchar.h: Likewise.
81990 2012-04-29  Andreas Jaeger  <aj@suse.de>
81992         * Makerules (tests): Remove enable-check-abi protection.
81993         (check-abi-warn): Remove.
81994         (check-abi-%): Remove check-abi-warn usage.
81996         * configure.in: Remove check-abi configure option.
81997         * configure: Regenerated.
81998         * config.make.in (enable-check-abi): Remove.
82000 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
82002         [BZ #14033]
82003         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
82004         double functions to double *_finite functions.
82006         [BZ #13941]
82007         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
82008         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
82009         LDBL_MIN_EXP.
82010         * stdio-common/Makefile (tests): Add tst-sprintf3.
82011         * stdio-common/tst-sprintf3.c: New file.
82013         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
82014         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
82016 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
82018         * conform/conformtest.pl: Remove duplicate typed-constant
82019         handling.
82021 2012-04-28  David S. Miller  <davem@davemloft.net>
82023         * Makerules (%.abilist): Add vpath on sysdep_dirs.
82024         (check-abi-%): Remove AWK script prerequisite and explicit
82025         abilist directory.
82026         (check-abi): Rewrite to just diff the symlist with the abilist.
82027         (config-tls, config-abi-config): Delete, no longer used.
82028         (update-abi-%): Remove AWK script and explicit abilist directory.
82029         (update-abi): Rewrite to simply compare and conditionally copy the
82030         symlist and the sysdep abilist file.  Remove update-abi-config
82031         checks.
82032         * abilist/ld.abilist: Remove.
82033         * abilist/libBrokenLocale.abilist: Remove.
82034         * abilist/libanl.abilist: Remove.
82035         * abilist/libcrypt.abilist: Remove.
82036         * abilist/libdl.abilist: Remove.
82037         * abilist/librt.abilist: Remove.
82038         * abilist/libthread_db.abilist: Remove.
82039         * abilist/libutil.abilist: Remove.
82040         * scripts/extract-abilist.awk: Remove.
82041         * scripts/merge-abilist.awk: Remove.
82042         * sysdeps/generic/libcidn.abilist: New file.
82043         * sysdeps/generic/libnss_compat.abilist: New file.
82044         * sysdeps/generic/libnss_db.abilist: New file.
82045         * sysdeps/generic/libnss_dns.abilist: New file.
82046         * sysdeps/generic/libnss_files.abilist: New file.
82047         * sysdeps/generic/libnss_hesiod.abilist: New file.
82048         * sysdeps/generic/libnss_nis.abilist: New file.
82049         * sysdeps/generic/libnss_nisplus.abilist: New file.
82050         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
82051         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
82052         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
82053         file.
82054         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
82055         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
82056         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
82057         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
82058         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
82059         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
82060         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
82061         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
82062         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
82063         file.
82064         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
82065         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
82066         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
82067         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
82068         file.
82069         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
82070         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
82071         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
82072         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
82073         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
82074         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
82075         file.
82076         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
82077         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
82078         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
82079         file.
82080         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
82081         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
82082         New file.
82083         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
82084         New file.
82085         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
82086         New file.
82087         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
82088         New file.
82089         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
82090         New file.
82091         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
82092         New file.
82093         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
82094         New file.
82095         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
82096         New file.
82097         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
82098         New file.
82099         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
82100         New file.
82101         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
82102         New file.
82103         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
82104         New file.
82105         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
82106         New file.
82107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
82108         file.
82109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
82110         New file.
82111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
82112         New file.
82113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
82114         file.
82115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
82116         New file.
82117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
82118         New file.
82119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
82120         file.
82121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
82122         New file.
82123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
82124         New file.
82125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
82126         New file.
82127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
82128         New file.
82129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
82130         New file.
82131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
82132         New file.
82133         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
82134         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
82135         file.
82136         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
82137         New file.
82138         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
82139         file.
82140         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
82141         file.
82142         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
82143         file.
82144         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
82145         file.
82146         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
82147         file.
82148         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
82149         New file.
82150         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
82151         file.
82152         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
82153         file.
82154         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
82155         New file.
82156         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
82157         file.
82158         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
82159         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
82160         file.
82161         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
82162         New file.
82163         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
82164         file.
82165         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
82166         file.
82167         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
82168         file.
82169         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
82170         file.
82171         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
82172         file.
82173         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
82174         New file.
82175         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
82176         file.
82177         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
82178         file.
82179         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
82180         New file.
82181         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
82182         file.
82183         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
82184         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
82185         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
82186         file.
82187         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
82188         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
82189         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
82190         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
82191         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
82192         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
82193         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
82194         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
82195         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
82196         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
82197         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
82198         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
82199         file.
82200         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
82201         New file.
82202         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
82203         file.
82204         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
82205         file.
82206         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
82207         file.
82208         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
82209         file.
82210         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
82211         file.
82212         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
82213         New file.
82214         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
82215         New file.
82216         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
82217         file.
82218         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
82219         New file.
82220         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
82221         file.
82222         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
82223         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
82224         file.
82225         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
82226         New file.
82227         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
82228         file.
82229         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
82230         file.
82231         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
82232         file.
82233         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
82234         file.
82235         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
82236         file.
82237         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
82238         New file.
82239         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
82240         New file.
82241         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
82242         file.
82243         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
82244         New file.
82245         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
82246         file.
82248 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
82250         * conform/conformtest.pl: Fix typo in handling typed-constant from
82251         allow-header.
82253 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
82255         * README: Cut down references to pre-2.6 Linux kernels and
82256         Linuxthreads.  Update lists of configurations in libc and ports
82257         and sort alphabetically.  Say "or newer" with Linux kernel version
82258         requirements.
82260         * config.h.in [IS_IN_build]: Allow compiling without optimization.
82262 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
82264         [BZ #887]
82265         * math/libm-test.inc (logb_test_downward): New test to expose
82266         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
82267         rounding mode.
82269 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
82271         [BZ #14027]
82272         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
82273         to be done.
82274         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
82275         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
82277 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
82279         * sysdeps/unix/i386/brk.S: Remove file.
82280         * sysdeps/unix/i386/dl-brk.S: Likewise.
82281         * sysdeps/unix/i386/pipe.S: Likewise.
82282         * sysdeps/unix/i386/sigreturn.S: Likewise.
82283         * sysdeps/unix/i386/syscall.S: Likewise.
82284         * sysdeps/unix/i386/vfork.S: Likewise.
82285         * sysdeps/unix/i386/wait.S: Likewise.
82287         * sysdeps/unix/common/tcsendbrk.c: Move to ...
82288         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
82290         * configure.in (arm*-none*): Do not allow without
82291         --enable-hacker-mode.
82292         (netbsd*): Remove case setting base_os.
82293         (386bsd*): Likewise.
82294         (freebsd*): Likewise.
82295         (bsdi*): Likewise.
82296         (osf*): Likewise.
82297         (sunos*): Likewise.
82298         (ultrix*): Likewise.
82299         (newsos*): Likewise.
82300         (dynix*): Likewise.
82301         (*bsd*): Likewise.
82302         (sysv*): Likewise.
82303         (isc*): Likewise.
82304         (esix*): Likewise.
82305         (sco*): Likewise.
82306         (minix*): Likewise.
82307         (irix4*): Likewise.
82308         (irix6*): Likewise.
82309         (solaris[2-9]*): Likewise.
82310         (none): Likewise.
82311         * configure: Regenerated.
82313 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
82315         [BZ #11521]
82316         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
82317         overflow or cancellation in calculating denominator.
82318         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
82319         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
82320         down expression to avoid unexpected rounding in newer GCCs.
82321         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
82323 2012-04-26  David S. Miller  <davem@davemloft.net>
82325         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
82326         long-double compat symbols.
82327         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
82328         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
82329         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
82330         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
82331         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
82332         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
82333         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
82334         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
82335         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
82336         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
82337         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
82338         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
82339         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
82341 2012-04-25  David S. Miller  <davem@davemloft.net>
82343         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
82344         HWCAP_* values only after the memory barriers have been defined.
82345         (atomic_full_barrier): Define.
82346         (atomic_read_barrier): Define.
82347         (atomic_write_barrier): Define.
82349 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
82351         * shlib-versions: Add libgcc_s version information.
82352         * sysdeps/generic/libgcc_s.h: Remove.
82353         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
82354         libgcc_s.h.
82355         * sysdeps/gnu/unwind-resume.c: Likewise.
82356         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
82358 2012-04-25  David S. Miller  <davem@davemloft.net>
82360         * sysdeps/unix/sparc/brk.S: Delete.
82361         * sysdeps/unix/sparc/dl-brk.S: Delete.
82362         * sysdeps/unix/sparc/pipe.S: Delete.
82363         * sysdeps/unix/sparc/sysdep.S: Delete.
82364         * sysdeps/unix/sparc/sysdep.h: Delete.
82365         * sysdeps/unix/sparc/vfork.S: Delete.
82366         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
82367         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
82368         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
82369         (ret_ERRVAL, r0, r1, MOVE): Define.
82370         (JUMPTARGET): Remove.
82371         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
82372         sysdeps/unix/sparc/sysdep.h
82373         (ENTRY, END): Remove.
82374         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
82376 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
82378         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
82379         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
82380         -DIS_IN_build.
82382         * timezone/README: Update upstream location and email address for
82383         tzcode and tzdata.
82384         * timezone/zdump.c: Update from tzcode 2012b.
82385         * timezone/zic.c: Likewise.
82387         * configure.in (libc_cv_as_needed): Remove test.
82388         * configure: Regenerated.
82389         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
82390         conditional definition.
82391         [$(have-as-needed) != yes] (no-as-needed): Likewise.
82392         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
82393         * config.make.in (have-as-needed): Remove variable.
82395 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
82396             Paul Pluzhnikov  <ppluzhnikov@google.com>
82398         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
82399         strings correctly.
82401 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
82403         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
82404         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
82405         * sysdeps/sh/strlen.S: Likewise.
82407 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
82409         * sysdeps/unix/fork.S: Remove file.
82410         * sysdeps/unix/i386/fork.S: Likewise.
82411         * sysdeps/unix/sparc/fork.S: Likewise.
82413         * sysdeps/unix/system.c: Remove file.
82414         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
82416         * sysdeps/unix/getegid.S: Remove file.
82417         * sysdeps/unix/geteuid.S: Likewise.
82419 2012-04-24  Roland McGrath  <roland@hack.frob.com>
82421         * scripts/check-localplt.awk: New file.
82422         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
82423         of diff.
82424         * scripts/data/localplt-generic.data: Add a comment.
82426         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
82427         NODE when __dir_mkfile failed.
82428         * sysdeps/mach/hurd/symlinkat.c: Likewise.
82429         Reported by Ludovic Courtès <ludo@gnu.org>.
82431 2012-04-24  Andreas Jaeger  <aj@suse.de>
82433         * Makerules (common-clean): Also remove gen-as-const-headers
82434         files.
82436 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
82438         * Makerules (native-compile): Do not change working directory for
82439         build.  Use $(OUTPUT_OPTION) in command.
82440         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
82442 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
82444         [BZ #13886]
82445         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
82446         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
82447         * math/libm-test.inc (floor_test): Add more tests.
82448         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
82450 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
82452         * sysdeps/unix/getdents.c: Remove file.
82453         * sysdeps/unix/sysv/getdents.c: Likewise.
82454         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
82456         * sysdeps/unix/syscalls.list (madvise): Add syscall from
82457         sysdeps/unix/mman/syscalls.list.
82458         (mmap): Likewise.
82459         (mprotect): Likewise.
82460         (msync): Likewise.
82461         (munmap): Likewise.
82462         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
82463         * sysdeps/unix/mman/syscalls.list: Remove.
82464         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
82466         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
82467         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
82468         * configure: Regenerated.
82469         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
82470         $(libgcc_s_suffix).
82471         * config.make.in (libgcc_s_suffix): Remove variable.
82473 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
82475         * sysdeps/unix/sysv/gethostname.c: Move to ...
82476         * sysdeps/posix/gethostname.c: ... here.
82478         * sysdeps/unix/execve.S: Remove file.
82480         * sysdeps/unix/_exit.S: Remove file.
82482 2012-04-23  Andreas Jaeger  <aj@suse.de>
82484         [BZ #13739]
82485         * manual/Makefile: Remove make dist support, there's no
82486         need for a stand-alone documentation tar ball.
82487         (TEXI2DVI): Define always, it's not in Makeconfig.
82488         (dist): Removed.
82489         (tar-it): Removed.
82490         (edition): Removed.
82491         (glibc-doc-$(edition).tar): Removed
82492         (%.Z): Removed.
82493         (%.gz): Removed.
82494         (%.uu): Removed.
82495         (ETAGS): Remove, it's in Makeconfig.
82496         (move-if-change): Remove, it's in Makeconfig.
82498 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
82500         [BZ #13970]
82501         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
82502         (strtod, strtof, strtold, strtol, strtoul, strtoq)
82503         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
82504         (strtod_l, strtof_l, strtold_l): Remove __wur.
82505         It is not necessarily an error to ignore strtol's return value.
82506         One can reliably look at the stored endptr to decide whether
82507         the number had valid syntax.
82509 2012-04-21  Andreas Jaeger  <aj@suse.de>
82511         [BZ #13739]
82512         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
82514 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
82516         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
82517         * sysdeps/unix/sysv/Versions: Remove file.
82519 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
82521         [BZ #13927]
82522         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
82524 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
82526         [BZ #7064]
82527         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
82528         version from __vm86.
82530 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
82532         * sysdeps/unix/common/lxstat.c: Remove file.
82533         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
82535         * sysdeps/unix/sysv/Makefile: Remove file.
82537         * sysdeps/unix/sysv/direct.h: Remove file.
82539         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
82540         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
82541         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
82542         * sysdeps/unix/sysv/bits/signum.h: Likewise.
82543         * sysdeps/unix/sysv/bits/stat.h: Likewise.
82544         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
82545         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
82547         * sysdeps/unix/sysv/setrlimit.c: Remove file.
82549         * sysdeps/unix/xmknod.c: Remove file.
82550         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
82552         * sysdeps/unix/sysv/settimeofday.c: Remove file.
82554         * sysdeps/unix/sysv/i386/time.S: Remove file.
82556         * sysdeps/unix/fxstat.c: Remove file.
82557         * sysdeps/unix/xstat.c: Likewise.
82558         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
82560         * sysdeps/unix/sysv/sigaction.c: Remove file.
82562         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
82563         (sysdep_headers): Remove variable.
82564         [termio.h not in sysdep_headers] (generated): Likewise.
82565         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
82566         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
82567         * sysdeps/unix/sysv/tcdrain.c: Likewise.
82568         * sysdeps/unix/sysv/tcflow.c: Likewise.
82569         * sysdeps/unix/sysv/tcflush.c: Likewise.
82570         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
82571         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
82572         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
82573         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
82574         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
82576         * sysdeps/unix/siglist.c: Remove file.
82578         * sysdeps/unix/getppid.S: Remove file.
82580         * sysdeps/unix/mkdir.c: Remove file.
82581         * sysdeps/unix/rmdir.c: Likewise.
82583 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
82585         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
82586         ERR_MAX value.
82587         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
82588         errlist-compat value.
82590 2012-04-18  David S. Miller  <davem@davemloft.net>
82592         * sysdeps/generic/memcopy.h (reg_char): Delete.
82593         * debug/strcat_chk.c: Use char, not reg_char.
82594         * debug/strcpy_chk.c: Likewise.
82595         * debug/strncat_chk.c: Likewise.
82596         * debug/strncpy_chk.c: Likewise.
82597         * string/memchr.c: Likewise.
82598         * string/memrchr.c: Likewise.
82599         * string/rawmemchr.c: Likewise.
82600         * string/strcat.c: Likewise.
82601         * string/strchr.c: Likewise.
82602         * string/strchrnul.c: Likewise.
82603         * string/strcmp.c: Likewise.
82604         * string/strcpy.c: Likewise.
82605         * string/strncat.c: Likewise.
82606         * string/strncmp.c: Likewise.
82607         * string/strncpy.c: Likewise.
82609 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
82611         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
82612         __builtin_memcopy is called when src and dest ranges are known to not
82613         overlap.
82615 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
82617         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
82618         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
82619         fwd_align_merge macro call.
82620         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
82621         bwd_align_merge macro call.
82622         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
82624 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
82626         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
82627         bwd_align_merge macros.
82628         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
82629         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
82630         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
82632 2012-04-18  David S. Miller  <davem@davemloft.net>
82634         * sysdeps/sparc/sparc64/memcopy.h: Delete.
82636 2012-04-18  Andreas Jaeger  <aj@suse.de>
82638         [BZ #6794]
82639         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
82640         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
82641         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
82643         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
82644         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
82645         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
82647         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
82648         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
82649         Adjust for changed ldbl-128 files.
82651         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
82652         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
82653         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
82655 2012-04-17  David S. Miller  <davem@davemloft.net>
82657         * sysdeps/sparc/sparc32/memcopy.h: Delete.
82659 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
82661         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
82662         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
82663         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
82664         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
82665         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
82666         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
82668 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
82670         [BZ #6794]
82671         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
82672         * math/libm-test.inc: Add ilogb errno and exception tests.
82673         * math/w_ilogb.c: New file: ilogb wrapper.
82674         * math/w_ilogbf.c: New file: ilogbf wrapper.
82675         * math/w_ilogbl.c: New file: ilogbl wrapper.
82676         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
82677         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
82678         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
82679         exception being thrown with 0.0 as argument.
82680         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
82681         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
82682         exception being thrown with 0.0 as argument.
82683         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
82684         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
82685         exception being thrown with 0.0 as argument.
82686         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
82687         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
82688         exception being thrown with 0.0 as argument.
82689         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
82690         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
82691         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
82692         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
82693         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
82694         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
82695         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
82696         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
82697         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
82699 2012-04-17  Petr Baudis  <pasky@ucw.cz>
82701         * include/sys/uio.h: Change __vector to __iovec to avoid clash
82702         with altivec.
82704 2012-04-16  Marek Polacek  <polacek@redhat.com>
82706         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
82708 2012-04-16  Marek Polacek  <polacek@redhat.com>
82710         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
82711         operands of fdivp instruction.
82713 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
82715         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
82716         * elf/tst-auditmod3b.c: Likewise.
82717         * elf/tst-auditmod4b.c: Likewise.
82718         * elf/tst-auditmod5b.c: Likewise.
82719         * elf/tst-auditmod6b.c: Likewise.
82720         * elf/tst-auditmod6c.c: Likewise.
82721         * elf/tst-auditmod7b.c: Likewise.
82722         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
82723         * sysdeps/x86_64/preconfigure.in: Likewise.
82724         * sysdeps/x86_64/preconfigure: Regenerated.
82726 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
82728         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
82729         __ILP32__.
82731 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
82733         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
82734         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
82736 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
82738         [BZ #13973]
82739         * locale/iso-639.def: Fix gl language name. Spotted by
82740         Yaron Shahrabani.
82742 2012-04-12  Roland McGrath  <roland@hack.frob.com>
82744         [BZ #2074]
82745         * libio/libio.h (__io_write_fn): Update comment.
82747 2012-04-12  Petr Baudis  <pasky@ucw.cz>
82749         [BZ #2074]
82750         * stdio.texi (Hook Functions): The user provided writer function
82751         is not allowed to return -1.
82753 2012-04-11  David S. Miller  <davem@davemloft.net>
82755         * sysdeps/sparc/fpu/libm-test-ulps: Update.
82757 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
82759         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
82760         Add a leading slash to rtkaio.
82762 2012-04-11  Jim Meyering  <meyering@redhat.com>
82764         [BZ #11959]
82765         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
82766         It is not necessarily an error to ignore fwrite's return
82767         value.  One can reliably use ferror to test for errors after
82768         the fact.
82770 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
82772         * bits/types.h (__snseconds_t): New type.
82773         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
82775         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
82776         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
82777         (__SNSECONDS_T_TYPE): Likewise.
82778         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
82779         (__SNSECONDS_T_TYPE): Likewise.
82780         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
82781         (__SNSECONDS_T_TYPE): Likewise.
82783 2012-04-10  Andreas Jaeger  <aj@suse.de>
82785         [BZ #2636]
82786         * manual/time.texi (Processor Time): Return type of times is
82787         elapsed real time since an arbitrary point in the past.
82788         (CPU Time): Move CLK_TCK from here...
82789         (Processor Time): ...to here.  Correct description.
82790         * manual/conf.texi (Constants for Sysconf): Correct description of
82791         _SC_CLK_TCK.
82793 2012-04-10  David S. Miller  <davem@davemloft.net>
82795         [BZ #13967]
82796         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
82797         where the is a gap between DT_REL(A) and DT_JMPREL.
82799 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
82801         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
82802         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
82803         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
82805 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
82807         * elf/dl-support.c (_dl_inhibit_cache): New variable.
82808         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
82809         (dl_main): Handle --inhibit-cache.
82810         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
82811         _dl_inhibit_cache.
82812         * elf/dl-load.c (_dl_map_object): Use it.
82813         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
82815 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
82817         [BZ #13872]
82818         * sysdeps/i386/fpu/e_powl.S (p78): New object.
82819         (__ieee754_powl): Saturate large exponents rather than testing for
82820         overflow of y*log2(x).
82821         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
82822         * math/libm-test.inc (pow_test): Do not permit spurious overflow
82823         exceptions.
82825         [BZ #11521]
82826         * math/s_ctan.c: Include <float.h>.
82827         (__ctan): Avoid internal overflow or cancellation in calculating
82828         denominator.
82829         * math/s_ctanf.c: Likewise.
82830         * math/s_ctanl.c: Likewise.
82831         * math/s_ctanh.c: Likewise.
82832         * math/s_ctanhf.c: Likewise.
82833         * math/s_ctanhl.c: Likewise.
82834         * math/libm-test.inc (ctan_test): Add more tests.
82835         (ctanh_test): Likewise.
82836         * sysdeps/i386/fpu/libm-test-ulps: Update.
82837         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82839 2012-04-09  Andreas Jaeger  <aj@suse.de>
82841         [BZ #6894]
82842         * manual/filesys.texi (Directory Entries): Mention that d_namlen
82843         is an optional BSD extension.
82845         [BZ #10254]
82846         * manual/stdio.texi (Opening Streams): Document additional fopen
82847         parameters.
82849 2012-04-09  Roland McGrath  <roland@hack.frob.com>
82851         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
82852         %eax without telling the compiler.
82854 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
82856         [BZ # 13963]
82857         * manual/install.texi: Use sourceware.org.
82859 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
82861         [BZ #13873]
82862         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
82863         (__ieee754_pow): Generate overflow and underflow using huge*huge
82864         and tiny*tiny rather than just returning constant infinity or zero
82865         for large exponents.
82866         * math/libm-test.inc (pow_test): Require overflow exceptions for
82867         applicable cases of large exponents.
82869         [BZ #706]
82870         * sysdeps/i386/fpu/e_pow.S (p10): New object.
82871         (__ieee754_pow): Use iterative multiplication algorithm only for
82872         integer exponents with absolute value below 1024.  Check for odd
82873         integer exponents when using algorithm for real exponents.
82874         * math/libm-test.inc (pow_test): Add more tests.
82875         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
82877 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
82879         [BZ #13705]
82880         * math/libm-test.inc (exp_test): Do not allow overflow exception
82881         on underflow test.
82883 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
82885         [BZ #13705]
82886         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
82887         instead of __kernel_standard_f.
82889 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
82891         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
82892         * sysdeps/x86_64/memset_chk.S: Likewise.
82894 2012-04-08  Andreas Jaeger  <aj@suse.de>
82896         [BZ #10153]
82897         * manual/startup.texi (Environment Access): Describe return value
82898         for putenv and setenv.
82900         [BZ #6895]
82901         * manual/filesys.texi (Directory Entries): Add description for
82902         DT_LNK.
82904         [BZ #6890]
82905         * manual/filesys.texi (Directory Entries): Clarify that it's file
82906         system not operating system in the description of DT_UNKNOWN.
82908         [BZ #6578]
82909         * manual/syslog.texi (closelog): Fix reference, it's openlog.
82911 2012-04-08  Stephen Compall  <s11@member.fsf.org>
82913         [BZ #6649]
82914         * manual/llio.texi (Opening and Closing Files): Add cross
82915         reference to explain mode argument.
82917 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
82919         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
82920         * sysdeps/x86_64/memset_chk.S: Likewise.
82922 2012-04-07  David S. Miller  <davem@davemloft.net>
82924         * elf/elf.h (R_SPARC_WDISP10): Define.
82925         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
82926         R_SPARC_SIZE32.
82927         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
82928         R_SPARC_SIZE64 and R_SPARC_H34.
82930 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
82932         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
82933         conditions and remove no longer applicable assertion.
82935 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
82937         * bits/byteswap.h: Include <features.h>.
82938         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
82939         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
82941 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
82943         * bits/byteswap.h (__bswap_16): Removed.
82944         Include <bits/byteswap-16.h> to get __bswap_16.
82945         * sysdeps/i386/bits/byteswap.h: Likewise.
82946         * sysdeps/s390/bits/byteswap.h: Likewise.
82947         * sysdeps/x86_64/bits/byteswap.h: Likewise.
82948         * bits/byteswap-16.h: New file.
82949         * sysdeps/i386/bits/byteswap-16.h: Likewise.
82950         * sysdeps/s390/bits/byteswap-16.h: Likewise.
82951         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
82952         * string/Makefile (headers): Add bits/byteswap-16.h.
82954 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
82956         [BZ #13895]
82957         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
82958         extra indirection.
82959         * nss/Makefile (tests-static, tests): Add tst-nss-static.
82960         * nss/tst-nss-static.c: New.
82962 2012-04-06  Robert Millan  <rmh@gnu.org>
82964         [BZ #6486]
82965         * manual/llio.texi (File Position Primitive): lseek
82966         refers to WHENCE when it really means OFFSET.
82968 2012-04-06  Andreas Jaeger  <aj@suse.de>
82970         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
82971         strncmp declarations.
82973         * abilist/libc.abilist: Add __poll and __ppoll.
82975 2012-04-05  David S. Miller  <davem@davemloft.net>
82977         * scripts/check-local-headers.sh: Accept a host triplet in the
82978         path matched by the exclude regexp.
82980         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
82981         definition.
82982         * sysdeps/powerpc/powerpc32/dl-machine.h
82983         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
82984         * sysdeps/s390/s390-32/dl-machine.h
82985         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
82986         * sysdeps/sparc/sparc32/dl-machine.h
82987         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
82988         * sysdeps/sparc/sparc64/dl-machine.h
82989         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
82991         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
82992         lazy binding.
82993         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
82994         undefined symbol errors.
82996         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
82997         DT_NEEDED entries.
82999 2012-04-05  Michael Matz  <matz@suse.de>
83001         [BZ #13592]
83002         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
83004 2012-04-05  Andreas Jaeger  <aj@suse.de>
83006         [BZ #13908]
83007         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
83008         comment.
83010 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
83012         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
83013         which ROUND is no valid rounding mode.
83015 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
83017         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
83018         read again.
83019         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
83021 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
83023         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
83024         an exception using FPU order intentionally.
83026 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
83028         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
83029         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
83030         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
83031         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
83033 2012-04-05  Simon Josefsson  <simon@josefsson.org>
83035         [BZ #12340]
83036         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
83037         EINVAL when BUFLEN is too smal.
83039 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
83041         [BZ #13553]
83042         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
83043         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
83045 2012-04-03  Andreas Jaeger  <aj@suse.de>
83047         [BZ #13938]
83048         * manual/setjmp.texi (System V contexts): Fix sentence.
83050         [BZ #13926]
83051         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
83052         New macro for this case.
83053         [!__GNUC__] (__bswap_64): New inline function for this case.
83054         * sysdeps/x86_64/bits/byteswap.h: Likewise.
83055         * bits/byteswap.h: Likewise.
83056         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
83057         ull, guard with __GLIBC_HAVE_LONG_LONG.
83059         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
83060         __GLIBC_HAVE_LONG_LONG.
83062         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
83063         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
83065 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
83067         [BZ #13691]
83068         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
83069         inptr and inend, rather than using last_ch.
83071 2012-04-02  David S. Miller  <davem@davemloft.net>
83073         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
83074         * stdio-common/printf-parse.h (read_int): Change return type to
83075         'int', return -1 on INT_MAX overflow.
83076         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
83077         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
83078         overflows INT_MAX.  Check for overflow of in-format-string precision
83079         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
83080         SIZE_MAX not INT_MAX for integer overflow test.
83081         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
83082         skip the construct in the format string but do not record anything.
83083         * stdio-common/bug22.c: Adjust to test both width/prevision
83084         INT_MAX overflow as well as total length INT_MAX overflow.  Check
83085         explicitly for proper errno values.
83087 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
83089         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
83090         CHAR_MAX.
83091         * string/test-strcmp.c [! WIDE]: Likewise.
83092         * time/tst-mktime2.c: Likewise for INT_MAX.
83093         * string/test-string.h: #include <sys/param.h> for MIN.
83095         * csu/init-first.c (__libc_init_first): Call __ctype_init.
83096         * sysdeps/i386/init-first.c (init): Likewise.
83097         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
83098         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
83099         * sysdeps/sh/init-first.c (init): Likewise.
83101 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
83103         * po/ru.po: Update from translation team.
83104         * po/vi.po: Likewise.
83106 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
83108         * resolv/nss_dns/dns-host.c: Merge copyright years.
83110 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83112         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
83113         Optimize memcpy with prefetch if
83114         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
83115         src, dst pointers have unequal 16 byte alignments.
83117 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
83119         [BZ #13928]
83120         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
83121         from a CNAME entry and return the minimum ttl for the query.
83122         (gaih_getanswer_slice): Likewise.
83124 2012-03-30  Jeff Law  <law@redhat.com>
83126         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
83127         due to long keys.
83128         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
83129         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
83131         * resolv/nss_dns/dns-host.c: Update copyright year.
83133 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
83135         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
83136         requests to save a system call.  Fix check that all bytes are sent.
83138         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
83139         comments for sendmmsg.
83141 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
83143         [BZ #13691]
83144         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
83145         with only 1 character between 0x0041 and 0x01b0.
83146         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
83147         * wcsmbs/tst-mbsnrtowcs.c: New file.
83149 2012-03-29  David S. Miller  <davem@davemloft.net>
83151         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
83152         small copies by hand.
83154 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
83156         [BZ #13761]
83157         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
83158         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
83159         group memberships.
83161 2012-03-28  David S. Miller  <davem@davemloft.net>
83163         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
83164         that branches into memcpy.
83165         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
83166         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
83167         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
83168         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
83169         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
83170         bits.
83171         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
83172         implementation too.
83173         * sysdeps/sparc/mempcpy.S: New file.
83175         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
83176         the IFUNC routine in the libc case.
83177         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
83179         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
83180         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
83181         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
83182         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
83183         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
83184         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
83185         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
83186         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
83188         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
83189         loop to 256 bytes instead of 64 bytes and fix test signedness.
83191         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
83192         * sysdeps/sparc/sparc32/Makefile: rather than here...
83193         * sysdeps/sparc/sparc64/Makefile: and here.
83195 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
83197         * malloc/mallocbug.c: Avoid warnings about unused variables.
83199 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
83201         [BZ #13760]
83202         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
83203         in the right place. Discard and retry query if response is
83204         larger than input buffer size.
83206 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
83208         [BZ #369]
83209         [BZ #2678]
83210         [BZ #3866]
83211         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
83212         x for large integer exponent.
83213         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
83214         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
83215         sign of result as needed afterwards.
83216         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
83217         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
83218         result for underflowing pow the same as for overflow.
83219         (__kernel_standard_l): Handle powl overflow and underflow here
83220         rather than calling __kernel_standard.
83221         * math/libm-test.inc (pow_test): Add more tests.
83223         [BZ #3868]
83224         [BZ #13879]
83225         [BZ #13910]
83226         [BZ #13911]
83227         [BZ #13912]
83228         [BZ #13913]
83229         [BZ #13915]
83230         [BZ #13916]
83231         [BZ #13917]
83232         [BZ #13918]
83233         [BZ #13919]
83234         [BZ #13920]
83235         [BZ #13921]
83236         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
83237         * sysdeps/ieee754/k_standard.c: Include <float.h>.
83238         (__kernel_standard_l): New function.
83239         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
83240         __kernel_standard.
83241         * math/w_acosl.c (__acosl): Likewise.
83242         * math/w_asinl.c (__asinl): Likewise.
83243         * math/w_atan2l.c (__atan2l): Likewise.
83244         * math/w_atanhl.c (__atanhl): Likewise.
83245         * math/w_coshl.c (__coshl): Likewise.
83246         * math/w_exp10l.c (__exp10l): Likewise.
83247         * math/w_exp2l.c (__exp2l): Likewise.
83248         * math/w_fmodl.c (__fmodl): Likewise.
83249         * math/w_hypotl.c (__hypotl): Likewise.
83250         * math/w_j0l.c (__j0l, __y0l): Likewise.
83251         * math/w_j1l.c (__j1l, __y1l): Likewise.
83252         * math/w_jnl.c (__jnl, __ynl): Likewise.
83253         * math/w_lgammal.c (__lgammal): Likewise.
83254         * math/w_log10l.c (__log10l): Likewise.
83255         * math/w_log2l.c (__log2l): Likewise.
83256         * math/w_logl.c (__logl): Likewise.
83257         * math/w_powl.c (__powl): Likewise.
83258         * math/w_remainderl.c (__remainderl): Likewise.
83259         * math/w_scalbl.c (sysv_scalbl): Likewise.
83260         * math/w_sinhl.c (__sinhl): Likewise.
83261         * math/w_sqrtl.c (__sqrtl): Likewise.
83262         * math/w_tgammal.c (__tgammal): Likewise.
83263         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
83264         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
83265         * math/libm-test.inc (acos_test): Add more tests.
83266         (acosh_test): Likewise.
83267         (asin_test): Likewise.
83268         (atanh_test): Likewise.
83269         (exp_test): Likewise.
83270         (exp10_test): Likewise.
83271         (exp2_test): Likewise.
83272         (expm1_test): Likewise.
83273         (lgamma_test): Likewise.
83274         (log_test): Likewise.
83275         (log10_test): Likewise.
83276         (log1p_test): Likewise.
83277         (log2_test): Likewise.
83278         (pow_test): Do not allow some spurious overflow exceptions.
83279         (sqrt_test): Add more tests.
83280         (tgamma_test): Likewise.
83281         (y0_test): Likewise.
83282         (y1_test): Likewise.
83283         (yn_test): Likewise.
83285 2012-03-27  Anton Blanchard  <anton@samba.org>
83287         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
83288         MAP_HUGETLB.
83289         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
83290         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
83291         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
83293 2012-03-27  David S. Miller  <davem@davemloft.net>
83295         * conform/Makefile: Run run-conformtest.sh using $(BASH).
83297         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
83298         have-as-vis3 check.
83300 2012-03-27  Andreas Jaeger  <aj@suse.de>
83302         * sysdeps/x86_64/elf/configure.in: Moved to ...
83303         * sysdeps/x86_64/configure.in: ... here.
83304         * sysdeps/x86_64/elf/start.S: Moved to ...
83305         * sysdeps/x86_64/start.S: ... here.
83306         * sysdeps/x86_64/elf/configure: Delete.
83308         * sysdeps/x86_64/configure.in: Merge contents from
83309         sysdeps/i386/configure.in (without i686 check).
83311         * sysdeps/i386/elf/Versions: Merge into ...
83312         * sysdeps/i386/Versions: ... this.
83313         * sysdeps/i386/elf/Versions: Delete file.
83314         * sysdeps/i386/elf/start.S: Moved to ...
83315         * sysdeps/i386/start.S: ...here.
83316         * sysdeps/i386/elf/configure.in: Merge into...
83317         * sysdeps/i386/configure.in: ...here.
83318         * sysdeps/i386/elf/configure.in: Delete file.
83319         * sysdeps/i386/elf/configure: Delete file.
83321         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
83322         * debug/backtracesyms.c: ... here.
83323         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
83324         * debug/backtracesymsfd.c: ... here.
83325         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
83326         * sysdeps/generic/ifunc-sel.h: ... here.
83328         * sysdeps/unix/i386/start.c: Delete file.
83329         * sysdeps/unix/sparc/start.c: Delete file.
83330         * sysdeps/unix/start.c: Delete file.
83332         * sysdeps/sh/elf/configure.in: Moved to ...
83333         * sysdeps/sh/configure.in: ... here.
83334         * sysdeps/sh/elf/start.S: Moved to ...
83335         * sysdeps/sh/start.S: ... here.
83336         * sysdeps/sh/elf/configure: Delete file.
83338         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
83339         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
83340         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
83341         * sysdeps/powerpc/powerpc64/entry.h: ... here.
83342         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
83343         * sysdeps/powerpc/powerpc64/start.S: here.
83344         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
83345         * sysdeps/powerpc/powerpc64/Makefile: ... this.
83346         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
83347         * sysdeps/powerpc/powerpc64/configure.in: ... this.
83348         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
83350         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
83351         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
83352         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
83353         * sysdeps/powerpc/powerpc32/start.S: ... here.
83354         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
83355         * sysdeps/powerpc/powerpc32/configure.in: ... this.
83356         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
83358         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
83359         * sysdeps/powerpc/ifunc-sel.h: ... here.
83360         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
83361         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
83363         * sysdeps/sparc/elf/configure.in: Moved to ...
83364         * sysdeps/sparc/configure.in: ... here.
83365         * sysdeps/sparc/elf/configure: Delete file.
83366         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
83367         * sysdeps/sparc/sparc32/start.S: ... here.
83368         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
83369         * sysdeps/sparc/sparc64/start.S: ... here.
83370         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
83371         * sysdeps/sparc/sparc32/Makefile: ... this.
83372         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
83373         * sysdeps/sparc/sparc64/Makefile: ... this.
83375         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
83376         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
83377         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
83378         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
83379         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
83380         * sysdeps/s390/s390-32/setjmp.S: ... here.
83381         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
83382         * sysdeps/s390/s390-32/configure.in: ... here.
83383         * sysdeps/s390/s390-32/elf/configure: Delete file.
83384         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
83385         * sysdeps/s390/s390-32/start.S: ... here.
83387         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
83388         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
83389         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
83390         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
83391         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
83392         * sysdeps/s390/s390-64/setjmp.S: ... here.
83393         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
83394         * sysdeps/s390/s390-64/configure.in: ... here
83395         * sysdeps/s390/s390-64/elf/configure: Delete file.
83396         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
83397         * sysdeps/s390/s390-64/start.S: ... here.
83398         * sysdeps/s390/s390-64/elf/configure: Delete.
83400         * configure.in: Remove support for elf directories in sysdeps.
83402         * configure: Regenerated.
83403         * sysdeps/i386/configure: Regenerated.
83404         * sysdeps/powerpc/powerpc32/configure: Regenerated.
83405         * sysdeps/powerpc/powerpc64/configure: Regenerated.
83406         * sysdeps/s390/s390-32/configure: Regenerated.
83407         * sysdeps/s390/s390-64/configure: Regenerated.
83408         * sysdeps/sh/configure: Regenerated.
83409         * sysdeps/sparc/configure: Regenerated.
83410         * sysdeps/x86_64/configure: Regenerated.
83412 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
83414         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
83416         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
83417         denormal result into account.
83419 2012-03-25  Roland McGrath  <roland@hack.frob.com>
83421         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
83422         Reported by Allan McRae <allan@archlinux.org>.
83424 2012-03-23  Jeff Law  <law@redhat.com>
83426         * nss/getnssent.c (__nss_getent): Fix typo.
83428 2012-03-23  David S. Miller  <davem@davemloft.net>
83430         * sysdeps/sparc/fpu/libm-test-ulps: Update.
83432 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
83434         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
83435         to pad to uint64_t for each field.
83436         (dl_tls_index): Replace unsigned long with uint64_t.
83438 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
83439         Paul Pluzhnikov  <ppluzhnikov@google.com>
83441         [BZ #6528]
83442         * grp/Makefile (otherlibs): Don't set it.
83443         * inet/Makefile (otherlibs): Likewise.
83444         * login/Makefile (otherlibs): Likewise.
83445         * nscd/Makefile (otherlibs): Likewise.
83446         * posix/Makefile (otherlibs): Likewise.
83447         * pwd/Makefile (otherlibs): Likewise.
83448         * rt/Makefile (otherlibs): Likewise.
83449         * sunrpc/Makefile (otherlibs): Likewise.
83450         * nss/Makefile (otherlibs): Likewise.
83451         Add libnss_files to routines and static-only-routines.
83452         ($(objpfx)getent): Remove rule.
83453         * resolv/Makefile: Add libnss_dns and libresolv to routines and
83454         static-only-routines.
83456 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
83458         [BZ #13892]
83459         * math/s_cexp.c: Include <float.h>.
83460         (__cexp): Handle exp result overflowing not necessarily
83461         overflowing both real and imaginary parts of result.
83462         * math/s_cexpf.c: Likewise.
83463         * math/s_cexpl.c: Likewise.
83464         * math/libm-test.inc (cexp_test): Add more tests.
83465         * sysdeps/i386/fpu/libm-test-ulps: Update.
83466         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83468 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
83470         * include/link.h (ELFW): New macro.
83471         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
83472         Replace ELF64_R_TYPE with ELFW(R_TYPE).
83474 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
83476         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
83477         with uint64_t.
83479 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
83481         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
83482         declaration.
83483         (struct La_x32_retval): Likewise.
83485 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
83487         * sysdeps/x86_64/preconfigure.in: New file.
83488         * sysdeps/x86_64/preconfigure: New generated file.
83490 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
83492         [BZ #13824]
83493         * math/e_exp2l.c: Include <float.h>.
83494         (__ieee754_exp2l): Handle overflow and underflow cases
83495         separately.  Only pass fractional part of argument to
83496         __ieee754_expl.
83497         * math/libm-test.inc (exp2_test): Add more tests.
83499         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
83500         negating x to take absolute value.
83501         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
83502         Likewise.
83503         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
83504         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
83505         Likewise.
83506         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
83507         computing low part if x was negated.
83508         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
83510 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
83512         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
83513         la_x32_gnu_pltexit.
83514         (pltexit): Cast int_retval to ptrdiff_t.
83515         * elf/tst-auditmod3b.c: Likewise.
83516         * elf/tst-auditmod4b.c: Likewise.
83517         * elf/tst-auditmod5b.c: Likewise.
83518         * elf/tst-auditmod6b.c: Likewise.
83519         * elf/tst-auditmod6c.c: Likewise.
83520         * elf/tst-auditmod7b.c: Likewise.
83522         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
83523         and x32_gnu_pltexit.
83525         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
83526         __ELF_NATIVE_CLASS.
83527         (La_x32_regs): New macro.
83528         (La_x32_retval): Likewise.
83529         (la_x32_gnu_pltenter): New function prototype.
83530         (la_x32_gnu_pltexit): Likewise.
83532 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
83534         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
83535         exponent.
83537         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
83539         * configure.in (libc_cv_cc_nofma): Check for option to disable
83540         generation of FMA instructions.
83541         * configure: Regenerate.
83542         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
83543         * sysdeps/ieee754/dbl-64/Makefile: New file.
83544         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
83545         Remove brandred-fma4.
83546         (CFLAGS-brandred-fma4.c): Remove.
83547         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
83548         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
83549         define.
83550         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
83551         define.
83553 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
83555         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
83556         LLONG_MAX != LONG_MAX.
83557         (_itoa_word): Use _ITOA_WORD_TYPE on value.
83558         (_fitoa_word): Likewise.
83559         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
83560         LLONG_MAX != LONG_MAX.
83561         * stdio-common/_itowa.h: Include <_itoa.h>.
83562         (_itowa_word): Use _ITOA_WORD_TYPE on value.
83563         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
83564         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
83565         only if not defined.
83566         (_ITOA_WORD_TYPE): Likewise.
83567         (_itoa_word): Use _ITOA_WORD_TYPE on value.
83568         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
83570 2012-03-21  David S. Miller  <davem@davemloft.net>
83572         * sysdeps/sparc/fpu/libm-test-ulps: Update.
83574 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
83576         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
83577         of x86_64 when setting libc_cv_slibdir, libdir and
83578         libc_cv_localedir.
83579         * sysdeps/unix/sysv/linux/configure: Regenerated.
83581 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
83583         * manual/lang.texi (Old Varargs): Remove section.
83584         (How Variadic): Update menu.
83585         (va_start): Do not mention varargs.h.
83587 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
83588             Joseph Myers  <joseph@codesourcery.com>
83590         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
83591         link test.
83592         * configure: Regenerated.
83594 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
83596         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
83597         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
83598         conformtest.pl
83600 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
83602         * NOTES: Remove.
83603         * Makefile (files-for-dist): Remove NOTES.
83604         (NOTES): Remove rule.
83605         * README: Don't refer to NOTES.
83606         * manual/creature.texi: Don't include macros.texi.
83607         * manual/intro.texi (creature.texi): Remove comment referring to
83608         NOTES.
83610         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
83611         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
83612         * configure: Regenerated.
83613         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
83614         LIBC_TRY_CC_OPTION.
83615         (libc_cv_as_i686): Likewise.
83616         (libc_cv_cc_avx): Likewise.
83617         (libc_cv_cc_sse2avx): Likewise.
83618         (libc_cv_cc_fma4): Likewise.
83619         (libc_cv_cc_novzeroupper): Likewise.
83620         * sysdeps/i386/configure: Regenerated.
83622         [BZ #13883]
83623         * sysdeps/i386/fpu/s_cexp.S: Remove.
83624         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
83625         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
83626         * math/libm-test.inc (cexp_test): Add more tests.
83627         * sysdeps/i386/fpu/libm-test-ulps: Update.
83628         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83630 2012-03-21  Allan McRae  <allan@archlinux.org>
83632         * timezone/Makefile: Do not install iso3166.tab and zone.tab
83634 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
83636         [BZ #13871]
83637         * math/w_exp2.c: Do not include <float.h>.
83638         (o_threshold, u_threshold): Remove.
83639         (__exp2): Calculate result before checking finiteness and calling
83640         __kernel_standard.
83641         * math/w_exp2f.c: Likewise.
83642         * math/w_exp2l.c: Likewise.
83643         * math/libm-test.inc (exp2_test): Require overflow exception for
83644         1e6 input.
83646         [BZ #3866]
83647         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
83648         range of signed 64-bit integers before using fistpll.  Remove
83649         checks for whether integers fit in mantissa bits.
83650         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
83651         the range of signed 32-bit integers before using fistpl.  Remove
83652         checks for whether integers fit in mantissa bits.
83653         * sysdeps/i386/fpu/e_powl.S (p64): New object.
83654         (__ieee754_powl): Test for y outside the range of signed 64-bit
83655         integers before using fistpll.  Reduce 64-bit values to 63-bit
83656         ones as needed.
83657         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
83658         divide-by-zero is raised for zero to large negative powers.
83659         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
83660         (__ieee754_powl): Test for y outside the range of signed 64-bit
83661         integers before using fistpll.  Reduce 64-bit values to 63-bit
83662         ones as needed.
83663         * math/libm-test.inc (pow_test): Add more tests.
83665 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
83667         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
83668         <stdio-common/_itoa.h>.
83669         * debug/segfault.c: Likewise.
83670         * elf/dl-cache.c: Likewise.
83671         * elf/dl-minimal.c: Likewise.
83672         * elf/dl-misc.c: Likewise.
83673         * elf/dl-sysdep.c: Likewise.
83674         * elf/dl-version.c: Likewise.
83675         * elf/rtld.c: Likewise.
83676         * hurd/hurdsock.c: Likewise.
83677         * hurd/lookup-retry.c: Likewise.
83678         * malloc/malloc.c: Likewise.
83679         * malloc/mtrace.c: Likewise.
83680         * nscd/nscd_getgr_r.c: Likewise.
83681         * nscd/nscd_getpw_r.c: Likewise.
83682         * nscd/nscd_getserv_r.c: Likewise.
83683         * posix/getopt_init.c: Likewise.
83684         * posix/wordexp.c: Likewise.
83685         * stdio-common/_itoa.c: Likewise.
83686         * stdio-common/printf_fphex.c: Likewise.
83687         * stdio-common/vfprintf.c: Likewise.
83688         * string/_strerror.c: Likewise.
83689         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
83690         * sysdeps/i386/i686/hp-timing.h: Likewise.
83691         * sysdeps/mach/_strerror.c: Likewise.
83692         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
83693         * sysdeps/mach/hurd/sethostid.c: Likewise.
83694         * sysdeps/mach/hurd/xmknodat.c: Likewise.
83695         * sysdeps/mach/xpg-strerror.c: Likewise.
83696         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
83697         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
83698         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
83699         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
83700         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
83701         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
83702         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
83703         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
83704         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
83705         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
83706         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
83707         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
83708         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
83709         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
83710         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
83711         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
83712         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
83713         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
83714         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
83715         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
83716         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
83718         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
83720         * stdio-common/_itoa.h: Moved to ...
83721         * sysdeps/generic/_itoa.h: Here.
83723         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
83725         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
83726         instead of "_itoa.h" and "_itowa.h".
83727         * stdio-common/vfprintf.: Likewise.
83729 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
83731         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
83732         <bits/wordsize.h>.
83733         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
83734         (__signbit): Likewise.
83735         (llrintf): Likewise.
83736         (llrint): Likewise.
83738 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
83740         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
83741         __WORDSIZE != 64.
83743 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
83745         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
83746         OVERFLOW_EXCEPTION_OK.
83747         * math/libm-test.inc ("Philosophy"): Update comment about
83748         exception testing.
83749         (OVERFLOW_EXCEPTION): Define.
83750         (OVERFLOW_EXCEPTION_OK): Likewise.
83751         (INVALID_EXCEPTION_OK): Renumber.
83752         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
83753         (IGNORE_ZERO_INF_SIGN): Likewise.
83754         (test_exceptions): Handle FE_OVERFLOW.
83755         (exp10_test): Expect overflow exceptions.
83756         (exp2_test): Likewise.
83757         (expm1_test): Likewise.
83758         (nextafter_test): Likewise.
83759         (pow_test): Likewise.
83760         (scalbn_test): Likewise.
83761         (scalbln_test): Likewise.
83763 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
83765         * sysdeps/x86_64/bits/atomic.h
83766         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
83767         64bit integer.
83768         (atomic_exchange_acq): Likewise.
83769         (__arch_exchange_and_add_body): Likewise.
83770         (__arch_add_body): Likewise.
83771         (atomic_add_negative): Likewise.
83772         (atomic_add_zero): Likewise.
83774 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
83776         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
83777         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
83779 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
83781         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
83782         Check __x86_64__ instead of __WORDSIZE.
83784 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
83786         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
83788 2012-03-19  David S. Miller  <davem@davemloft.net>
83790         * sysdeps/sparc/fpu/libm-test-ulps: Update.
83792         * sysdeps/sparc/fpu/fenv_private.h: New file.
83793         * sysdeps/sparc/fpu/math_private.h: Use it.
83794         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
83795         Remove.
83796         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
83797         (libc_feholdexcept_setroundl): Remove.
83798         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
83799         Remove.
83800         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
83801         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
83803 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
83805         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
83806         int64_t instead of long int.
83807         (INSERT_WORDS64): Likewise.
83809 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
83811         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
83812         _Unwind_GetCFA return to _Unwind_Ptr first.
83814 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
83816         [BZ #13629]
83817         * math/s_clog.c: Include <float.h>.
83818         (__clog): Scale large or subnormal inputs.
83819         * math/s_clogf.c: Likewise.
83820         * math/s_clogl.c: Likewise.
83821         * math/s_clog10.c: Include <float.h>.
83822         (M_LOG10_2): Define.
83823         (__clog10): Scale large or subnormal inputs.
83824         * math/s_clog10f.c: Likewise.
83825         * math/s_clog10l.c: Likewise.
83826         * math/libm-test.inc (clog_test): Add more tests.
83827         (clog10_test): Likewise.
83828         * sysdeps/i386/fpu/libm-test-ulps: Update.
83829         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83831         [BZ #11451]
83832         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
83833         x and y.
83834         * math/libm-test.inc (atan2_test): Add another test.
83836         * Makerules (common-objdir-compile): Remove.
83837         * sysdeps/unix/Makefile (config-generated): Do not add
83838         $(unix-generated) to variable.
83839         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
83840         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
83841         Remove rule.
83842         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
83843         Likewise.
83844         [generic bits/local_lim.h] (before-compile): Do not append to
83845         variable.
83846         [generic bits/local_lim.h] (common-generated): Likewise.
83847         [generic sys/param.h] (before-compile): Do not append to variable.
83848         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
83849         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
83850         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
83851         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
83852         include.
83853         [generic sys/param.h] (sys/param.h-includes): Remove variable.
83854         [generic sys/param.h] (sys/param.h-includes): Remove rule.
83855         [generic sys/param.h] ($(addprefix
83856         $(common-objpfx),$(sys/param.h-includes))): Likewise.
83857         [generic sys/param.h] (common-generated): Do not append to
83858         variable.
83859         [generic sys/param.h] (sysdep_headers): Likewise.
83860         [generic bits/errno.h] (before-compile): Do not append to
83861         variable.
83862         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
83863         rule.
83864         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
83865         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
83866         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
83867         [generic bits/errno.h] (common-generated): Do not append to
83868         variable.
83869         [generic bits/ioctls.h] (before-compile): Do not append to
83870         variable.
83871         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
83872         rule.
83873         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
83874         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
83875         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
83876         rule.
83877         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
83878         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
83879         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
83880         [generic bits/ioctls.h] (common-generated): Do not append to
83881         variable.
83882         [generic sys/syscall.h] (syscall.h): Remove variable.
83883         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
83884         rule.
83885         [generic sys/syscall.h] (before-compile): Do not append to
83886         variable.
83887         [generic sys/syscall.h] (common-generated): Likewise.
83888         * sysdeps/unix/errnos-tmpl.c: Remove file.
83889         * sysdeps/unix/errnos.awk: Likewise.
83890         * sysdeps/unix/ioctls-tmpl.c: Likewise.
83891         * sysdeps/unix/ioctls.awk: Likewise.
83892         * sysdeps/unix/mk-local_lim.c: Likewise.
83893         * sysdeps/unix/snarf-ioctls: Likewise.
83895 2012-03-19  Richard Henderson  <rth@twiddle.net>
83897         * sysdeps/i386/fpu/fenv_private.h: New file.
83898         * sysdeps/i386/fpu/math_private.h: Use it.
83899         (math_opt_barrier, math_force_eval): Remove.
83900         (libc_feholdexcept_setround_53bit): Remove.
83901         (libc_feupdateenv_53bit): Remove.
83902         * sysdeps/x86_64/fpu/math_private.h: Likewise.
83903         (math_opt_barrier, math_force_eval): Remove.
83904         (libc_feholdexcept): Remove.
83905         (libc_feholdexcept_setround): Remove.
83906         (libc_fetestexcept, libc_fesetenv): Remove.
83907         (libc_feupdateenv_test): Remove.
83908         (libc_feupdateenv, libc_feholdsetround): Remove.
83909         (libc_feresetround): Remove.
83911         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
83912         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
83914         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
83915         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
83916         (libc_feupdateenv_testl): New.
83917         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
83918         (libc_feupdateenv_testf): New.
83919         (libc_feupdateenv): Use libc_feupdateenv_test.
83920         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
83921         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
83923         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
83924         (libc_feholdsetroundf, libc_feholdsetroundl): New.
83925         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
83926         (libc_feresetround_noex): New.
83927         (libc_feresetround_noexf): New.
83928         (libc_feresetround_noexl): New.
83929         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
83930         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
83931         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
83932         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
83933         SET_RESTORE_ROUND.
83934         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
83935         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
83936         (__cos): Likewise.
83937         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
83938         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
83939         SET_RESTORE_ROUND_NOEX.
83940         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
83941         SET_RESTORE_ROUND_NOEXF.
83942         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
83943         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
83944         (libc_feholdsetroundf): New.
83945         (libc_feresetround, libc_feresetroundf): New.
83947         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
83948         (libc_feholdexcept_setround_53bit): Convert from macro to function.
83949         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
83951         * sysdeps/generic/math_private.h: Include <fenv.h>.
83952         (default_libc_feholdexcept): New.
83953         (default_libc_feholdexcept_setround): New.
83954         (default_libc_fesetenv, default_libc_feupdateenv): New.
83955         (libc_feholdexcept): Only define if undefined.
83956         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
83957         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
83958         (libc_feholdexcept_setroundl): Likewise.
83959         (libc_feholdexcept_setround_53bit): Likewise.
83960         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
83961         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
83962         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
83963         (libc_feupdateenv_53bit): Likewise.
83964         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
83965         (libc_feholdexcept): Convert from macro to inline function.
83966         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
83967         (libc_fesetenv, libc_feupdateenv): Likewise.
83969         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
83970         not previously defined.
83971         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
83972         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
83973         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
83974         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
83975         * sysdeps/ieee754/flt-32/math_private.h: New file.
83976         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
83977         math_private.h below SET_FLOAT_WORD.
83978         (__isnan, __isinf_ns, __finite): Remove.
83979         (__isnanf, __isinf_nsf, __finitef): Remove.
83981 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
83983         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
83985 2012-03-17  David S. Miller  <davem@davemloft.net>
83987         [BZ #6471]
83988         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
83989         for 2.16.
83991 2012-03-16  David S. Miller  <davem@davemloft.net>
83993         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
83994         warnings.
83996         [BZ #6471]
83997         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
83998         properly.
83999         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
84000         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
84001         sysdep_routines when subdir is sysvipc.
84002         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
84003         __getshmlba helper.
84005         * sysdeps/sparc/fpu/libm-test/ulps: Update.
84007 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
84009         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
84010         [__LP64__].
84012 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
84014         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
84015         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
84016         (__lround): Renamed to ...
84017         (__llround): This.  Replace long int with long long int.
84018         Define lround functions as aliases of llround functions.
84019         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
84021 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
84023         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
84024         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
84025         adresses to uintptr_t.  Replace "long int" and "unsigned long
84026         int" with "greg_t" on va_arg.
84028 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
84030         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
84031         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
84033         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
84034         Move e_machine check before EI_CLASS check.  Handle x32
84035         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
84036         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
84037         SKIP_EM_IA_64 and include
84038         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
84040         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
84041         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
84042         (add_system_dir): New macro.
84044         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
84045         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
84047 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
84049         [BZ #2551]
84050         [BZ #2552]
84051         [BZ #2553]
84052         [BZ #2554]
84053         [BZ #2562]
84054         [BZ #2563]
84055         [BZ #2565]
84056         [BZ #2566]
84057         [BZ #2576]
84058         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
84059         (y0): Likewise.
84060         * math/w_j0f.c (j0f): Likewise.
84061         (y0f): Likewise.
84062         * math/w_j0l.c (__j0l): Likewise.
84063         (__y0l): Likewise.
84064         * math/w_j1.c (j1): Likewise.
84065         (y1): Likewise.
84066         * math/w_j1f.c (j1f): Likewise.
84067         (y1f): Likewise.
84068         * math/w_j1l.c (__j1l): Likewise.
84069         (__y1l): Likewise.
84070         * math/w_jn.c (jn): Likewise.
84071         (yn): Likewise.
84072         * math/w_jnf.c (jnf): Likewise.
84073         (ynf): Likewise.
84074         * math/w_jnl.c (__jnl): Likewise.
84075         (__ynl): Likewise.
84076         * math/libm-test.inc (j0_test): Add more tests.
84077         (j1_test): Likewise.
84078         (jn_test): Likewise.  Add trailing semicolon to existing test.
84079         (y0_test): Likewise.
84080         (y1_test): Likewise.
84081         * sysdeps/i386/fpu/libm-test-ulps: Update.
84082         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84084         [BZ #13851]
84085         [BZ #13854]
84086         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
84087         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
84088         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
84089         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
84090         (__tanl): Set errno for infinite argument.
84091         * sysdeps/i386/fpu/mptan.c: Remove.
84092         * sysdeps/i386/fpu/s_tan.S: Likewise.
84093         * sysdeps/i386/fpu/s_tanl.S: Likewise.
84094         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
84095         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
84096         * math/libm-test.inc (tan_test): Add more tests and enable more
84097         tests for double and long double.
84098         * sysdeps/i386/fpu/libm-test-ulps: Update.
84099         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84101 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
84103         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
84104         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
84106 2012-03-16  Roland McGrath  <roland@hack.frob.com>
84108         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
84109         * configure.in: Use it for both main tree and add-ons.
84110         * configure: Regenerated.
84112 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
84114         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
84116 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
84118         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
84119         in comment.
84121         [BZ #13851]
84122         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
84123         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
84124         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
84125         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
84126         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
84127         infinite argument.
84128         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
84129         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
84130         != 0 for prec == 2.
84131         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
84132         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
84133         * sysdeps/i386/fpu/s_cosl.S: Likewise.
84134         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
84135         * sysdeps/i386/fpu/s_sinl.S: Likewise.
84136         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
84137         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
84138         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
84139         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
84140         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
84141         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
84142         * math/libm-test.inc (cos_test): Add more tests and enable more
84143         tests for long double.
84144         (sin_test): Likewise.
84145         (sincos_test): Likewise.
84146         * sysdeps/i386/fpu/libm-test-ulps: Update.
84147         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84149 2012-03-16  David S. Miller  <davem@davemloft.net>
84151         * sysdeps/sparc/fpu/math_private.h: New file.
84153 2012-03-15  David S. Miller  <davem@davemloft.net>
84155         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
84156         file.
84157         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
84158         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
84159         file.
84160         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
84161         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
84162         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
84163         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
84164         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
84165         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
84166         sysdep routines.
84167         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
84169         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
84170         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
84172         * sysdeps/sparc/sparc-ifunc.h: New file.
84173         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
84174         sparc-ifunc.h
84175         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
84176         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
84177         Likewise.
84178         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
84179         Likewise.
84180         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
84181         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
84182         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
84183         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
84184         Likewise.
84185         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
84186         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
84187         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
84188         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
84189         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
84190         Likewise.
84191         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
84192         Likewise.
84193         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
84194         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
84195         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
84196         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
84197         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
84198         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
84199         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
84200         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
84201         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
84202         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
84203         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
84204         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
84205         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
84206         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
84207         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
84208         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
84209         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
84210         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
84211         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
84212         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
84213         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
84214         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
84215         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
84216         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
84218 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
84220         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
84221         scaling.
84222         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
84224 2012-03-15  Andreas Jaeger  <aj@suse.de>
84226         [BZ #13852]
84227         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
84228         ieee754/flt-32 implementation for sin, cos and sincos.
84229         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
84230         * sysdeps/i386/fpu/s_cosf.S: Likewise.
84231         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
84232         * sysdeps/i386/fpu/s_sinf.S: Likewise.
84233         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
84234         ieee754/flt-32 implementation for tan.
84236         * math/libm-test.inc (cos_test): Enable some large input tests for
84237         float as well
84238         (sin_test): Likewise.
84239         (sincos_test): Likewise.
84240         (tan_test): Add tests for large input.
84242         * sysdeps/i386/fpu/libm-test-ulps: Update.
84244 2012-03-15  Andreas Jaeger  <aj@suse.de>
84246         [BZ #13658]
84247         * math/libm-test.inc (cos_test): Add more test cases.
84248         (sin_test): Likewise.
84249         (sincos_test): Likewise.
84251 2012-03-15  Andreas Jaeger  <aj@suse.de>
84253         [BZ #13837]
84254         * math/libm-test.inc (cos_test): Add a test case for large input
84255         value.
84256         (sin_test): Likewise.
84257         (sincos_test): Likewise.
84259 2012-03-15  Andreas Jaeger  <aj@suse.de>
84260             Joseph Myers  <joseph@codesourcery.com>
84262         [BZ #13658]
84263         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
84264         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
84265         * sysdeps/i386/fpu/branred.c: Likewise.
84266         * sysdeps/i386/fpu/dosincos.c: Likewise.
84267         * sysdeps/i386/fpu/mpa.c: Likewise.
84268         * sysdeps/i386/fpu/s_cos.S: Likewise.
84269         * sysdeps/i386/fpu/s_sin.S: Likewise.
84270         * sysdeps/i386/fpu/s_sincos.S: Likewise.
84271         * sysdeps/i386/fpu/sincos32.c: Likewise.
84273         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
84274         Define.
84275         (libc_feupdateenv_53bit): Define.
84276         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
84277         Define.
84278         (libc_feupdateenv_53bit): Define.
84280         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
84281         53 bit (without extend i386 double precision).
84283         * math/libm-test.inc (sincos_test): Add tests for large input.
84284         (sin): Likewise.
84285         (cos): Likewise.
84287         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
84289 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
84291         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
84293 2012-03-15  David S. Miller  <davem@davemloft.net>
84295         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
84296         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
84297         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
84298         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
84299         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
84300         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
84301         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
84302         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
84303         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
84304         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
84305         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
84306         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
84307         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
84308         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
84309         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
84310         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
84311         file.
84312         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
84313         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
84314         file.
84315         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
84316         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
84317         file.
84318         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
84319         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
84320         file.
84321         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
84322         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
84323         fmin/fmax sysdep routines.
84324         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
84326 2012-03-14  David S. Miller  <davem@davemloft.net>
84328         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
84329         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
84330         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
84331         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
84332         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
84333         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
84334         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
84335         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
84336         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
84337         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
84338         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
84339         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
84340         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
84341         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
84342         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
84343         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
84344         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
84345         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
84346         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
84347         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
84348         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
84349         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
84350         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
84351         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
84352         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
84353         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
84354         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
84355         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
84356         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
84357         routines.
84358         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
84359         file.
84360         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
84361         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
84362         file.
84363         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
84364         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
84365         file.
84366         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
84367         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
84368         file.
84369         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
84370         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
84371         file.
84372         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
84373         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
84374         file.
84375         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
84376         file.
84377         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
84378         file.
84379         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
84380         file.
84381         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
84382         New file.
84383         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
84384         file.
84385         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
84386         file.
84387         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
84388         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
84389         file.
84390         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
84391         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
84392         file.
84393         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
84394         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
84395         file.
84396         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
84397         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
84398         VIS3 routines.
84400         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
84401         New file.
84403         * sysdeps/sparc/fpu/libm-test-ulps: Update.
84405         * sysdeps/sparc/configure.in: New file.
84406         * sysdeps/sparc/configure: Generate.
84407         * configure.in (libc_cv_sparc_as_vis3): Substitute.
84408         * configure: Regenerate.
84409         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
84410         * config.make.in (have-as-vis3): New.
84411         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
84412         available use -Av9d instead of -Av9a.
84413         * sysdeps/sparc/sparc64/Makefile: Likewise.
84414         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
84415         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
84416         New file.
84417         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
84418         file.
84419         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
84420         New file.
84421         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
84422         file.
84423         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
84424         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
84425         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
84426         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
84427         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
84429         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
84430         fzeros/fnegs to load 0x80000000 into a float register instead of
84431         using the stack.
84432         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
84434 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
84436         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
84437         bits/syscall.h.
84438         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
84439         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
84440         ($(inst_includedir)/bits/syscall.h): Remove rule.
84441         ($(objpfx)bits/syscall.d): Include instead of
84442         $(objpfx)syscall-list.d.
84443         (generated): Change syscall-list.h and syscall-list.d to
84444         bits/syscall.h and bits/syscall.d.
84446 2012-03-14  Roland McGrath  <roland@hack.frob.com>
84448         [BZ #13846]
84449         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
84451 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
84453         [BZ #13841]
84454         * math/s_csqrt.c: Include <float.h>.
84455         (__csqrt): Scale large or subnormal inputs.
84456         * math/s_csqrtf.c: Likewise.
84457         * math/s_csqrtl.c: Likewise.
84458         * math/libm-test.inc (csqrt_test): Add more tests.
84459         * sysdeps/i386/fpu/libm-test-ulps: Update.
84460         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84462         [BZ #13840]
84463         * math/libm-test.inc (hypot_test): Add more tests.
84465 2012-03-13  David S. Miller  <davem@davemloft.net>
84467         [BZ #13840]
84468         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
84469         double-precision for the calculation instead of scaling.
84471 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
84473         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
84474         manipulate bits before adding and subtracting TWO52[sx].
84475         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
84476         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
84477         Likewise.
84478         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
84480 2012-03-13  David S. Miller  <davem@davemloft.net>
84482         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
84483         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
84484         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
84485         rtld-global-offsets.h
84486         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
84488         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
84489         large parameters.
84491         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
84493         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
84494         'err' in the ifdef scope in which it is actually used.
84496         * nss/nss_db/db-init.c: Include string.h
84498 2012-03-12  David S. Miller  <davem@davemloft.net>
84500         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
84501         masking out of the most significant byte of random value used.
84502         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
84503         Fix coding style in previous change.
84505         * sysdeps/unix/sysv/linux/kernel-features.h
84506         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
84507         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
84508         expression.
84509         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
84510         later.
84512 2012-03-11  David S. Miller  <davem@davemloft.net>
84514         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
84515         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
84516         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
84517         for 'resultvar' otherwise things get truncated on 64-bit.
84519         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
84520         Fix masking out of the most significant byte of random value used.
84522         * sysdeps/sparc/fpu/libm-test-ulps: Update.
84524 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
84526         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
84528 2012-03-09  David S. Miller  <davem@davemloft.net>
84530         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
84531         variables with appropriate CPP guards.
84532         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
84533         from the frame pointer, not the stack pointer.  Correct layout
84534         comments.  Fix test on resulting framesize and the management of
84535         the outregs buffer for pltexit.  Preserve floating point return
84536         values across _dl_call_pltexit call.
84537         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
84538         framesize and the management of the outregs buffer for pltexit.
84539         Preserve floating point return values across _dl_call_pltexit
84540         call.
84541         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
84542         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
84543         (la_sparc64_gnu_pltexit): New functions.
84544         (print_exit): Fix format string for return register value.
84546 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
84548         * sunrpc/Makefile (others): Add rpcgen.
84549         ($(objpfx)rpcgen): Remove special build rule and dependency on
84550         libc.
84551         * sunrpc/rpcgen.c: New file.
84553 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
84555         [BZ #13673]
84556         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
84557         * stdio-common/bug-vfprintf-nargs.c: Likewise.
84558         * sysdeps/i386/crti.S: Likewise.
84559         * sysdeps/i386/crtn.S: Likewise.
84560         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
84561         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
84562         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
84563         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
84564         * sysdeps/sh/crti.S: Likewise.
84565         * sysdeps/sh/crtn.S: Likewise.
84566         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
84568         [BZ #13673]
84569         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
84570         with URL.
84571         * locale/programs/locfile-kw.gperf: Likewise.
84572         * locale/programs/charmap-kw.h: Regenerated.
84573         * locale/programs/locfile-kw.h: Likewise.
84575         [BZ #13673]
84576         * intl/plural.y: Replace FSF snail mail address with URL.
84577         * intl/plural.c: Regenerated.
84579 2012-03-09  Richard Henderson  <rth@twiddle.net>
84581         * include/math_private.h: Remove file.
84582         * math/math_private.h: Move file ...
84583         * sysdeps/generic/math_private.h: ... here.
84585         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
84586         * sysdeps/powerpc/fpu/math_private.h: Likewise.
84587         * sysdeps/x86_64/fpu/math_private.h: Likewise.
84589         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
84590         and <math_private.h>.
84591         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
84592         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
84593         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
84594         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
84595         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
84596         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
84597         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
84598         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
84599         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
84600         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
84601         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
84602         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
84603         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
84604         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
84605         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
84606         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
84607         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
84608         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
84609         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
84610         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
84611         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
84612         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
84613         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
84614         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
84615         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
84616         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
84617         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
84618         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
84619         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
84620         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
84621         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
84622         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
84623         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
84624         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
84625         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
84626         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
84627         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
84628         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
84629         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
84630         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
84631         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
84632         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
84633         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
84634         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
84635         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
84636         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
84637         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
84638         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
84639         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
84640         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
84641         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
84642         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
84643         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
84644         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
84645         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
84646         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
84647         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
84648         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
84649         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
84650         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
84651         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
84652         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
84653         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
84654         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
84655         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
84656         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
84657         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
84658         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
84659         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
84660         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
84661         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
84662         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
84663         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
84664         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
84665         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
84666         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
84667         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
84668         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
84669         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
84670         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
84671         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
84672         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
84673         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
84674         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
84675         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
84676         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
84677         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
84678         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
84679         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
84680         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
84681         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
84682         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
84683         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
84684         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
84685         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
84686         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
84687         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
84688         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
84689         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
84690         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
84691         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
84692         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
84693         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
84694         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
84695         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
84696         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
84697         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
84698         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
84699         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
84700         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
84701         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
84702         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
84703         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
84704         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
84705         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
84706         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
84707         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
84708         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
84709         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
84710         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
84711         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
84712         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
84713         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
84714         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
84715         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
84716         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
84717         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
84718         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
84719         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
84720         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
84721         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
84722         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
84723         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
84724         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
84725         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
84726         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
84727         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
84728         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
84729         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
84730         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
84731         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
84732         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
84733         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
84734         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
84735         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
84736         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
84737         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
84738         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
84739         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
84740         * sysdeps/ieee754/k_standard.c: Likewise.
84741         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
84742         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
84743         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
84744         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
84745         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
84746         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
84747         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
84748         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
84749         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
84750         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
84751         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
84752         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
84753         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
84754         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
84755         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
84756         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
84757         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
84758         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
84759         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
84760         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
84761         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
84762         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
84763         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
84764         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
84765         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
84766         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
84767         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
84768         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
84769         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
84770         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
84771         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
84772         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
84773         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
84774         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
84775         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
84776         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
84777         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
84778         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
84779         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
84780         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
84781         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
84782         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
84783         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
84784         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
84785         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
84786         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
84787         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
84788         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
84789         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
84790         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
84791         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
84792         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
84793         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
84794         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
84795         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
84796         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
84797         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
84798         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
84799         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
84800         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
84801         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
84802         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
84803         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
84804         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
84805         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
84806         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
84807         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
84808         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
84809         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
84810         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
84811         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
84812         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
84813         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
84814         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
84815         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
84816         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
84817         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
84818         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
84819         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
84820         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
84821         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
84822         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
84823         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
84824         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
84825         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
84826         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
84827         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
84828         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
84829         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
84830         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
84831         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
84832         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
84833         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
84834         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
84835         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
84836         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
84837         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
84838         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
84839         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
84840         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
84841         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
84842         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
84843         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
84844         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
84845         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
84846         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
84847         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
84848         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
84849         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
84850         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
84851         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
84852         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
84853         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
84854         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
84855         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
84856         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
84857         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
84858         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
84859         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
84860         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
84861         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
84862         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
84863         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
84864         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
84865         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
84866         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
84867         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
84868         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
84869         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
84870         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
84871         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
84872         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
84873         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
84874         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
84875         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
84876         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
84877         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
84878         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
84879         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
84880         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
84881         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
84882         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
84883         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
84884         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
84885         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
84886         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
84887         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
84888         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
84889         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
84890         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
84891         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
84892         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
84893         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
84894         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
84895         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
84896         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
84897         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
84898         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
84899         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
84900         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
84901         * sysdeps/ieee754/s_lib_version.c: Likewise.
84902         * sysdeps/ieee754/s_matherr.c: Likewise.
84903         * sysdeps/ieee754/s_signgam.c: Likewise.
84904         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
84905         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
84906         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
84907         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
84908         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
84909         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
84910         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
84911         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
84912         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
84913         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
84914         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
84915         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
84916         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
84917         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
84918         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
84919         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
84920         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
84921         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
84922         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
84923         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
84924         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
84926 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
84928         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
84929         * sunrpc/rpc_main.c: Likewise.
84930         * sunrpc/rpc_svcout.c: Likewise.
84932 2012-03-09  David S. Miller  <davem@davemloft.net>
84934         * include/math_private.h: New file.
84936 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
84938         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
84939         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
84940         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
84941         from <bits/socket_type.h>.
84942         (enum __socket_type): Don't define here.
84943         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
84944         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
84945         bits/socket_type.h.
84947         [BZ #13566]
84948         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
84949         checking __USE_GNU.
84951         * Makerules ($(inst_includedir)/%.h): New rule.
84952         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
84953         (install-others): Remove variable setting.
84954         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
84956 2012-03-08  Richard Henderson  <rth@twiddle.net>
84958         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
84959         from macro to inline function; merge with the
84960         !__LIBC_INTERNAL_MATH_INLINES version.
84961         (__ieee754_sqrtf): Likewise.
84963         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
84964         to inline function.
84965         (__rintf, __floor, __floorf): Likewise.
84967         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
84968         macro to inline function.
84969         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
84971         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
84972         not <math/math_private.h>.
84974 2012-03-08  David S. Miller  <davem@davemloft.net>
84976         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
84977         copyright year.
84978         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
84980 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
84982         * resolv/gai_misc.c (handle_requests): Fix struct timespec
84983         normalization.
84984         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
84985         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
84987 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
84989         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
84990         be defined individually, they must be defined as a block.  Define
84991         S for printing a string instead of hidint the different by using a
84992         macro for adding the 'l'.
84993         * stdio-common/tst-fphex-wide.c: Adjust.
84995 2012-03-07  Marek Polacek  <polacek@redhat.com>
84997         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
84999 2012-03-08  Marek Polacek  <polacek@redhat.com>
85001         [BZ #13806]
85002         * stdio-common/Makefile (tests): Add tst-fphex-wide.
85003         * stdio-common/tst-fphex.c: Define a few macros to make the
85004         test reusable.  Use them.
85005         * stdio-common/tst-fphex-wide.c: New file.
85007 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
85009         [BZ #6911]
85010         * manual/macros.texi (gnusystems): New macro.
85011         (nongnusystems): Likewise.
85012         (gnulinuxhurdsystems): Likewise.
85013         (gnuhurdsystems): Likewise..
85014         (gnulinuxsystems): Likewise.
85015         * manual/charset.texi: Use new macros or @theglibc{} to refer to
85016         variants of the GNU system, not "GNU system".
85017         * manual/conf.texi: Likewise.
85018         * manual/errno.texi: Likewise.  Update example of errno macro
85019         expansion.
85020         * manual/filesys.texi: Likewise.
85021         (getumask): Document as specific to GNU/Hurd.
85022         * manual/install.texi: Likewise.  Reword some references to
85023         GNU/Linux.
85024         * manual/intro.texi: Likewise.
85025         * manual/io.texi: Likewise.
85026         (File Name Portability): Detail which constraints are inapplicable
85027         to all GNU systems and which are only inapplicable to GNU/Hurd.
85028         * manual/job.texi: Likewise.
85029         * manual/llio.texi: Likewise.
85030         (O_NOCTTY): Document as present on GNU/Linux.
85031         * manual/maint.texi: Likewise.
85032         * manual/memory.texi: Likewise.
85033         * manual/pattern.texi: Likewise.
85034         * manual/pipe.texi: Likewise.
85035         * manual/process.texi: Likewise.
85036         * manual/resource.texi: Likewise.
85037         (RUSAGE_CHILDREN): Remove statement about specifying a particular
85038         child on GNU/Hurd.
85039         * manual/setjmp.texi: Likewise.
85040         * manual/signal.texi: Likewise.
85041         * manual/startup.texi: Likewise.
85042         * manual/stdio.texi: Likewise.
85043         * manual/terminal.texi: Likewise.
85044         (ONLCR): Document as POSIX.
85045         (OXTABS): Document availability on GNU/Linux as XTABS.
85046         (ONOEOT): Document availability separately from other bits.
85047         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
85048         * manual/time.texi: Likewise.
85049         * manual/users.texi: Likewise.
85050         * INSTALL: Regenerated.
85051         * sysdeps/gnu/errlist.c: Regenerated.
85053         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
85054         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
85055         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
85056         puts.
85057         * configure: Regenerated.
85059 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
85061         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
85062         default includes instead of AC_HEADER_CHECK.
85063         * sysdeps/i386/configure: Regenerated.
85065         [BZ #10716]
85066         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
85067         * math/s_cacoshf.c (__cacoshf): Likewise.
85068         * math/s_cacoshl.c (__cacoshl): Likewise.
85069         * math/s_casinh.c (__casinh): Set signs of result from argument.
85070         * math/s_casinhf.c (__casinhf): Likewise.
85071         * math/s_casinhl.c (__casinhl): Likewise.
85072         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
85073         (casinh_test): Add more tests.
85074         * sysdeps/i386/fpu/libm-test-ulps: Update.
85075         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85077 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
85079         * po/zh_TW.po: Update from translation team.
85081         * login/Makefile (distribute): Remove variable.
85082         * catgets/Makefile: Likewise.
85083         * mach/Makefile: Likewise.
85084         * malloc/Makefile: Likewise.
85085         * misc/Makefile: Likewise.
85086         * iconv/Makefile: Likewise.
85087         * nscd/Makefile: Likewise.
85088         * hurd/Makefile: Likewise.
85089         * manual/Makefile: Likewise.
85090         * locale/Makefile: Likewise.
85091         * intl/Makefile: Likewise.
85092         * conform/Makefile: Likewise.
85093         * nss/Makefile: Likewise.
85094         * time/Makefile: Likewise.
85095         * soft-fp/Makefile: Likewise.
85096         * dirent/Makefile: Likewise.
85097         * gmon/Makefile: Likewise.
85098         * po/Makefile: Likewise.
85099         * rt/Makefile: Likewise.
85100         * socket/Makefile: Likewise.
85101         * math/Makefile: Likewise.
85102         * signal/Makefile: Likewise.
85103         * debug/Makefile: Likewise.
85104         * elf/Makefile: Likewise.
85105         * timezone/Makefile: Likewise.
85106         * stdlib/Makefile: Likewise.
85107         * iconvdata/Makefile: Likewise.
85108         * sunrpc/Makefile: Likewise.
85109         * io/Makefile: Likewise.
85110         * argp/Makefile: Likewise.
85111         * inet/Makefile: Likewise.
85112         * hesiod/Makefile: Likewise.
85113         * grp/Makefile: Likewise.
85114         * csu/Makefile: Likewise.
85115         * wctype/Makefile: Likewise.
85116         * crypt/Makefile: Likewise.
85117         * libio/Makefile: Likewise.
85118         * string/Makefile: Likewise.
85119         * nis/Makefile: Likewise.
85120         * resolv/Makefile: Likewise.
85121         * stdio-common/Makefile: Likewise.
85122         * wcsmbs/Makefile: Likewise.
85123         * dlfcn/Makefile: Likewise.
85124         * posix/Makefile: Likewise.
85126         [BZ #6959]
85127         * timezone/Makefile: Don't install timezone files, just the programs
85128         and scripts.
85130 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
85132         * nss/databases.def: Add missing gshadow entry.
85134         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
85136 2012-03-06  Marek Polacek  <polacek@redhat.com>
85138         [BZ #13726]
85139         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
85140         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
85141         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
85142         * stdio-common/tst-long-dbl-fphex.c: New file.
85144 2012-03-06  David S. Miller  <davem@davemloft.net>
85146         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
85147         (set_obp_int): New function.
85148         (get_obp_int): New function.
85149         (__get_clockfreq_via_dev_openprom): Likewise.
85150         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
85151         Avoid unused variable warnings on 'val' and use builtin_expect.
85152         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
85153         __builtin_expect.
85154         (INLINE_CLONE_SYSCALL): Likewise.
85156 2012-03-05  David S. Miller  <davem@davemloft.net>
85158         * sysdeps/sparc/fpu/libm-test-ulps: Update.
85160 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
85162         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
85164         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
85165         only for |x| >= 40.
85166         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
85168 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
85170         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
85171         Replace gettimeofday with __vdso_gettimeofday.
85173         * sysdeps/unix/sysv/linux/x86_64/init-first.c
85174         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
85175         __vdso_clock_gettime and __vdso_getcpu.
85177         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
85178         time with __vdso_time.
85180 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
85182         * manual/lang.texi (size_t): Note types to which size_t may be
85183         equivalent with the GNU C Library, but do not describe when
85184         differences between them are significant.
85186 2012-03-05  Andreas Jaeger  <aj@suse.de>
85188         * sysdeps/i386/fpu/libm-test-ulps: Update.
85190 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
85192         [BZ #3976]
85193         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
85194         (__ieee754_pow): Save and restore rounding mode and use
85195         round-to-nearest for main computations.
85196         * math/libm-test.inc (pow_test_tonearest): New function.
85197         (pow_test_towardzero): Likewise.
85198         (pow_test_downward): Likewise.
85199         (pow_test_upward): Likewise.
85200         (main): Call the new functions.
85201         * sysdeps/i386/fpu/libm-test-ulps: Update.
85202         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85204         [BZ #3976]
85205         * math/libm-test.inc (cosh_test_tonearest): New function.
85206         (cosh_test_towardzero): Likewise.
85207         (cosh_test_downward): Likewise.
85208         (cosh_test_upward): Likewise.
85209         (sinh_test_tonearest): Likewise.
85210         (sinh_test_towardzero): Likewise.
85211         (sinh_test_downward): Likewise.
85212         (sinh_test_upward): Likewise.
85213         (main): Call the new functions.
85214         * sysdeps/i386/fpu/libm-test-ulps: Update.
85215         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85217 2012-03-05  Tom de Vries  <tom@codesourcery.com>
85219         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
85220         default stack guard is set in last bytes.
85221         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
85223 2012-03-05  Kees Cook  <keescook@chromium.org>
85225         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
85227         [BZ #13656]
85228         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
85229         possibly allocate from heap instead of stack.
85230         * stdio-common/bug-vfprintf-nargs.c: New file.
85231         * stdio-common/Makefile (tests): Add nargs overflow test.
85233 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
85235         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
85237 2012-03-03  Marek Polacek  <polacek@redhat.com>
85239         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
85240         * math/math_private.h: Likewise.
85241         * stdlib/tst-strtod.c: Likewise.
85242         * sysdeps/i386/i486/bits/atomic.h: Likewise.
85243         * sysdeps/x86_64/bits/atomic.h: Likewise.
85245 2012-03-02  David S. Miller  <davem@davemloft.net>
85247         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
85248         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
85249         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
85250         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
85251         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
85252         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
85253         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
85254         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
85256 2012-03-02  Roland McGrath  <roland@hack.frob.com>
85258         [BZ #13792]
85259         * manual/examples/README: New file, says the example source files
85260         can be used under GPL>=2.
85261         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
85262         line containing just "*/".
85263         * manual/examples/add.c: Add copyright header (GPL>=2).
85264         * manual/examples/argp-ex1.c: Likewise.
85265         * manual/examples/argp-ex2.c: Likewise.
85266         * manual/examples/argp-ex3.c: Likewise.
85267         * manual/examples/argp-ex4.c: Likewise.
85268         * manual/examples/atexit.c: Likewise.
85269         * manual/examples/db.c: Likewise.
85270         * manual/examples/dir.c: Likewise.
85271         * manual/examples/dir2.c: Likewise.
85272         * manual/examples/execinfo.c: Likewise.
85273         * manual/examples/filecli.c: Likewise.
85274         * manual/examples/filesrv.c: Likewise.
85275         * manual/examples/fmtmsgexpl.c: Likewise.
85276         * manual/examples/genpass.c: Likewise.
85277         * manual/examples/inetcli.c: Likewise.
85278         * manual/examples/inetsrv.c: Likewise.
85279         * manual/examples/isockad.c: Likewise.
85280         * manual/examples/longopt.c: Likewise.
85281         * manual/examples/memopen.c: Likewise.
85282         * manual/examples/memstrm.c: Likewise.
85283         * manual/examples/mkfsock.c: Likewise.
85284         * manual/examples/mkisock.c: Likewise.
85285         * manual/examples/mygetpass.c: Likewise.
85286         * manual/examples/pipe.c: Likewise.
85287         * manual/examples/popen.c: Likewise.
85288         * manual/examples/rprintf.c: Likewise.
85289         * manual/examples/search.c: Likewise.
85290         * manual/examples/select.c: Likewise.
85291         * manual/examples/setjmp.c: Likewise.
85292         * manual/examples/sigh1.c: Likewise.
85293         * manual/examples/sigusr.c: Likewise.
85294         * manual/examples/stpcpy.c: Likewise.
85295         * manual/examples/strdupa.c: Likewise.
85296         * manual/examples/strftim.c: Likewise.
85297         * manual/examples/strncat.c: Likewise.
85298         * manual/examples/subopt.c: Likewise.
85299         * manual/examples/swapcontext.c: Likewise.
85300         * manual/examples/termios.c: Likewise.
85301         * manual/examples/testopt.c: Likewise.
85302         * manual/examples/testpass.c: Likewise.
85303         * manual/examples/timeval_subtract.c: Likewise.
85305         [BZ #13792]
85306         * manual/time.texi (Elapsed Time): Move timeval_subtract example
85307         function to ...
85308         * manual/timeval_subtract.c.texi: ... here, new file.
85310 2012-03-02  David S. Miller  <davem@davemloft.net>
85312         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
85314 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
85316         [BZ #3976]
85317         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
85318         (__sin): Save and restore rounding mode and use round-to-nearest
85319         for all computations.
85320         (__cos): Save and restore rounding mode and use round-to-nearest
85321         for all computations.
85322         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
85323         <fenv.h>.
85324         (tan): Save and restore rounding mode and use round-to-nearest for
85325         all computations.
85326         * math/libm-test.inc (cos_test_tonearest): New function.
85327         (cos_test_towardzero): Likewise.
85328         (cos_test_downward): Likewise.
85329         (cos_test_upward): Likewise.
85330         (sin_test_tonearest): Likewise.
85331         (sin_test_towardzero): Likewise.
85332         (sin_test_downward): Likewise.
85333         (sin_test_upward): Likewise.
85334         (tan_test_tonearest): Likewise.
85335         (tan_test_towardzero): Likewise.
85336         (tan_test_downward): Likewise.
85337         (tan_test_upward): Likewise.
85338         (main): Call the new functions.
85339         * sysdeps/i386/fpu/libm-test-ulps: Update.
85340         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85342         [BZ #10135]
85343         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
85344         small n, then large n, before computing and testing k+n.
85345         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
85346         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
85347         Likewise.
85348         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
85349         Likewise.
85350         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
85351         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
85352         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
85353         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
85354         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
85355         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
85356         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
85357         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
85358         * math/libm-test.inc (scalbn_test): Add more tests.
85359         (scalbln_test): Likewise.
85361         * manual/filesys.texi (mode_t): Describe constraints on size and
85362         signedness, not exact equivalence to a particular type.
85363         (ino_t): Likewise.
85364         (ino64_t): Likewise.
85365         (dev_t): Likewise.
85366         (nlink_t): Likewise.
85367         (blkcnt_t): Likewise.
85368         (blkcnt64_t): Likewise.
85369         * manual/llio.texi (off_t): Likewise.
85371         [BZ #3976]
85372         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
85373         (__ieee754_exp): Save and restore rounding mode and use
85374         round-to-nearest for all computations.
85375         * math/libm-test.inc (exp_test_tonearest): New function.
85376         (exp_test_towardzero): Likewise.
85377         (exp_test_downward): Likewise.
85378         (exp_test_upward): Likewise.
85379         (main): Call the new functions.
85380         * sysdeps/i386/fpu/libm-test-ulps: Update.
85381         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85383 2012-03-01  Chris Demetriou  <cgd@google.com>
85385         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
85386         have predictable order.
85388 2012-03-01  David S. Miller  <davem@davemloft.net>
85390         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
85392         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
85393         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
85394         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
85395         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
85397         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
85398         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
85399         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
85400         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
85401         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
85402         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
85403         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
85404         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
85405         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
85407         * sysdeps/sparc/fpu/libm-test-ulps: Update.
85409         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
85410         * sysdeps/sparc/fpu/libm-test-ulps: to here.
85411         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
85413         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
85414         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
85415         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
85416         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
85417         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
85418         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
85419         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
85420         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
85421         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
85422         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
85423         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
85424         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
85425         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
85426         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
85427         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
85428         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
85429         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
85430         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
85431         * sysdeps/sparc/elf/configure: Regenerated.
85433 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
85435         * configure.in (AS, LD): Require binutils 2.20 or later.
85436         * configure: Regenerated.
85437         * manual/install.texi (Tools for Compilation): Give binutils 2.20
85438         as required minimum version.
85439         * INSTALL: Regenerated.
85441         [BZ #2541]
85442         [BZ #4108]
85443         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
85444         before squaring exponent.
85445         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
85446         bottom long double and 27 bits of top long double before squaring
85447         exponent.
85448         * math/libm-test.inc (erfc_test): Add more tests.
85449         * sysdeps/i386/fpu/libm-test-ulps: Update.
85450         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
85451         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85453 2012-03-01  Kai Tietz  <ktietz@redhat.com>
85455         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
85456         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
85457         containing bit-fields.
85458         * soft-fp/extended.h (_FP_UNION_E): Likewise.
85459         * soft-fp/single.h (_FP_UNION_S): Likewise.
85460         * soft-fp/double.h (_FP_UNION_D): Likewise.
85462 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
85464         [BZ #13786]
85465         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
85466         not include ../strcmp.S.
85467         [USE_AS_STRNCASECMP_L]: Likewise.
85468         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
85469         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
85470         * sysdeps/i386/i686/multiarch/strncase_l-c.c
85471         (__strncasecmp_l_ia32): Define as alias to
85472         __strncasecmp_l_nonascii.
85474         [BZ #5794]
85475         * math/libm-test.inc (expm1_test): Add test for bug 5794.
85476         * sysdeps/i386/fpu/libm-test-ulps: Update.
85477         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85479         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
85480         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85482 2012-02-29  Jeff Law  <law@redhat.com>
85484         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
85485         out of bounds read.
85487 2012-02-29  Marek Polacek  <polacek@redhat.com>
85489         [BZ #13706]
85490         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
85491         * elf/Makefile: Add rules to run tst-unused-dep.out.
85493 2012-02-28  David S. Miller  <davem@davemloft.net>
85495         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
85496         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
85497         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
85498         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
85499         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
85500         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
85502 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
85504         * math/libm-test.inc (llround_test): Move one test from
85505         lround_test.  Use TEST_f_L in moved test.
85506         (lround_test): Move misplaced test to llround_test.  Add testcase
85507         from bug 2561.
85509 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
85511         * sysdeps/x86_64/fpu/e_expf.S: New file.
85512         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
85514 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
85516         [BZ #13637]
85517         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
85518         of remain_len that may cause incomplete multi-byte character and
85519         false match.
85520         * posix/bug-regex33.c: New file.
85521         * posix/Makefile (tests): Add bug-regex33.
85523 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
85525         * manual/macros.texi: New file.
85526         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
85527         * manual/libc.texinfo: Include macros.texi.
85528         * manual/creatute.texi: Likewise.
85529         * manual/install.texi: Likewise.
85530         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
85531         @glibcadj{} in references to the GNU C Library.
85532         * manual/charset.texi: Likewise.
85533         * manual/conf.texi: Likewise.
85534         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
85535         when not using those macros.
85536         * manual/creature.texi: Likewise.
85537         * manual/crypt.texi: Likewise.
85538         * manual/errno.texi: Likewise.
85539         * manual/filesys.texi: Likewise.
85540         * manual/header.texi: Likewise.
85541         * manual/install.texi: Likewise.
85542         * manual/intro.texi: Likewise.
85543         * manual/io.texi: Likewise.
85544         * manual/job.texi: Likewise.
85545         * manual/lang.texi: Likewise.
85546         * manual/libc.texiinfo: Likewise.
85547         * manual/llio.texi: Likewise.
85548         * manual/locale.texi: Likewise.
85549         * manual/maint.texi: Likewise.
85550         * manual/math.texi: Likewise.
85551         * manual/memory.texi: Likewise.
85552         * manual/message.texi: Likewise.
85553         * manual/nss.texi: Likewise.
85554         * manual/pattern.texi: Likewise.
85555         * manual/process.texi: Likewise.
85556         * manual/resource.texi: Likewise.
85557         * manual/search.texi: Likewise.
85558         * manual/setjmp.texi: Likewise.
85559         * manual/signal.texi: Likewise.
85560         * manual/socket.texi: Likewise.
85561         * manual/startup.texi: Likewise.
85562         * manual/stdio.texi: Likewise.
85563         * manual/string.texi: Likewise.
85564         * manual/sysinfo.texi: Likewise.
85565         * manual/syslog.texi: Likewise.
85566         * manual/terminal.texi: Likewise.
85567         * manual/time.texi: Likewise.
85568         * manual/users.texi: Likewise.
85569         * INSTALL: Regenerated.
85570         * NOTES: Regenerated.
85571         * sysdeps/gnu/errlist.c: Regenerated.
85573 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
85575         * include/dirent.h: Include <dirstream.h> before
85576         <dirent/dirent.h>.
85578 2012-02-28  David S. Miller  <davem@davemloft.net>
85580         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
85581         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
85582         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
85583         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
85585 2012-02-27  David S. Miller  <davem@davemloft.net>
85587         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
85588         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
85589         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
85590         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
85592         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
85593         frame pointer instead of stack pointer relative arg slot.
85594         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
85595         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
85596         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
85598 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
85600         [BZ #3992]
85601         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
85603 2012-02-27  David S. Miller  <davem@davemloft.net>
85605         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
85606         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
85607         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
85608         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
85609         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
85610         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
85611         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
85612         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
85614 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
85616         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
85617         later.  Allow versions 5-9.
85618         * configure: Regenerated.
85619         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
85620         required minimum version and 4.6 as recommended version.  Do not
85621         mention bugs in GCC 2.7 and 2.8.
85622         * INSTALL: Regenerated.
85624 2012-02-27  David S. Miller  <davem@davemloft.net>
85626         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
85627         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
85628         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
85629         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
85630         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
85631         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
85632         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
85633         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
85635         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
85636         manipulate bits before adding and subtracting TWO112[sx].
85637         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
85639 2012-02-27  Roland McGrath  <roland@hack.frob.com>
85641         [BZ #13775]
85642         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
85643         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
85644         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
85645         being in POSIX, because they are in 1003.1-2008.
85647         * rt/tst-aio.c: Include <fcntl.h>.
85648         * rt/tst-aio7.c: Likewise.
85649         * rt/tst-aio64.c: Likewise.
85651         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
85653 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
85655         * manual/install.texi (--with-headers): Describe headers as
85656         interface headers, not private headers.
85657         (Specific advice for GNU/Linux systems): Describe use of headers
85658         from "make headers_install", not private headers from older
85659         kernels.
85660         * INSTALL: Regenerated.
85661         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
85662         Change to 2.6.19.
85663         * sysdeps/unix/sysv/linux/configure: Regenerated.
85665         * manual/llio.texi (fclean): Remove documentation.
85667         * manual/Makefile (libc-texi-generated): New variable.  Include
85668         version.texi.
85669         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
85670         $(libc-texi-generated), not duplicated list of files.
85671         (version.texi, stamp-version): New rules.
85672         (realclean): Remove $(libc-texi-generated), not individual files
85673         from that list.  Do not remove dir-add.texinfo.
85674         * manual/libc.texinfo: Comment out uses of edition numbers and
85675         references to printed manual.  Remove last-updated dates.
85676         (EDITION): Comment out.
85677         (ISBN): Likewise.
85678         (VERSION, UPDATED): Remove.
85679         (version.texi): Include.
85681 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
85683         * sysdeps/posix/spawni.c: Include <signal.h>.
85684         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
85685         * sysdeps/pthread/aio_fsync.c: Likewise.
85687 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
85689         * conform/Makefile (tests): Run only when not cross-compiling and
85690         when fast-check is not defined.
85692         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
85693         * conform/data/limits.h-data: Fixes for POSIX2008.
85694         * conform/run-conformtest.sh: Run all tests.
85695         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
85696         headers.
85697         * include/bits/dlfcn.h: Likewise.
85698         * include/langinfo.h: Likewise.
85699         * include/monetary.h: Likewise.
85700         * include/sys/poll.h: Likewise.
85702         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
85703         for __USE_GNU.
85704         * posix/spawn.h: Define __need_sigset_t.
85705         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
85706         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
85707         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
85708         to get sigevent_t only.
85709         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
85710         only for __USE_GNU.
85711         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
85712         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
85713         process_vm_writev only for __USE_GNU.
85714         * termios/termios.h: Declare tcgetsid also for POSIX2008.
85716         * conform/Makefile: For now ignore errors from run-conformtest.
85717         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
85718         POSIX to avoid namespace pollution.  Don't prepend headers.
85719         * conform/data/aio.h-data: Fixes for POSIX testing.
85720         * conform/data/fcntl.h-data: Likewise.
85721         * conform/data/glob.h-data: Likewise.
85722         * conform/data/grp.h-data: Likewise.
85723         * conform/data/pthread.h-data: Likewise.
85724         * conform/data/pwd.h-data: Likewise.
85725         * conform/data/signal.h-data: Likewise.
85726         * conform/data/spawn.h-data: Likewise.
85727         * conform/data/stdio.h-data: Likewise.
85728         * conform/data/stdlib.h-data: Likewise.
85729         * conform/data/stropts.h-data: Likewise.
85730         * conform/data/sys/mman.h-data: Likewise.
85731         * conform/data/sys/stat.h-data: Likewise.
85732         * conform/data/sys/types.h-data: Likewise.
85733         * conform/data/sys/wait.h-data: Likewise.
85734         * conform/data/time.h-data: Likewise.
85735         * conform/data/unistd.h-data: Likewise.
85736         * conform/data/utime.h-data: Likewise.
85738         * io/sys/stat.h: fchmod was always in POSIX.
85739         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
85740         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
85741         * rt/aio.h: Define __need_timespec before including <time.h>.
85742         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
85743         struct.  Add forward declaration of pthread_attr_t and use it in
85744         sigevent.
85745         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
85746         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
85747         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
85748         always remove CLK_TCK definition.
85750 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
85752         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
85754 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
85756         * conform/run-conformtest.sh: New file.
85757         * conform/Makefile: Run run-conformtest for tests.
85758         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
85759         support.
85761         * conform/data/uchar.h-data: New file.
85762         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
85763         * conform/data/arpa/inet.h-data: Likewise.
85764         * conform/data/assert.h-data: Likewise.
85765         * conform/data/complex.h-data: Likewise.
85766         * conform/data/cpio.h-data: Likewise.
85767         * conform/data/ctype.h-data: Likewise.
85768         * conform/data/dirent.h-data: Likewise.
85769         * conform/data/dlfcn.h-data: Likewise.
85770         * conform/data/errno.h-data: Likewise.
85771         * conform/data/fcntl.h-data: Likewise.
85772         * conform/data/float.h-data: Likewise.
85773         * conform/data/fmtmsg.h-data: Likewise.
85774         * conform/data/fnmatch.h-data: Likewise.
85775         * conform/data/ftw.h-data: Likewise.
85776         * conform/data/glob.h-data: Likewise.
85777         * conform/data/grp.h-data: Likewise.
85778         * conform/data/iconv.h-data: Likewise.
85779         * conform/data/inttypes.h-data: Likewise.
85780         * conform/data/langinfo.h-data: Likewise.
85781         * conform/data/libgen.h-data: Likewise.
85782         * conform/data/limits.h-data: Likewise.
85783         * conform/data/locale.h-data: Likewise.
85784         * conform/data/math.h-data: Likewise.
85785         * conform/data/monetary.h-data: Likewise.
85786         * conform/data/mqueue.h-data: Likewise.
85787         * conform/data/ndbm.h-data: Likewise.
85788         * conform/data/net/if.h-data: Likewise.
85789         * conform/data/netdb.h-data: Likewise.
85790         * conform/data/netinet/in.h-data: Likewise.
85791         * conform/data/nl_types.h-data: Likewise.
85792         * conform/data/poll.h-data: Likewise.
85793         * conform/data/pthread.h-data: Likewise.
85794         * conform/data/pwd.h-data: Likewise.
85795         * conform/data/regex.h-data: Likewise.
85796         * conform/data/sched.h-data: Likewise.
85797         * conform/data/search.h-data: Likewise.
85798         * conform/data/semaphore.h-data: Likewise.
85799         * conform/data/setjmp.h-data: Likewise.
85800         * conform/data/signal.h-data: Likewise.
85801         * conform/data/spawn.h-data: Likewise.
85802         * conform/data/stdarg.h-data: Likewise.
85803         * conform/data/stdio.h-data: Likewise.
85804         * conform/data/stdlib.h-data: Likewise.
85805         * conform/data/string.h-data: Likewise.
85806         * conform/data/strings.h-data: Likewise.
85807         * conform/data/stropts.h-data: Likewise.
85808         * conform/data/sys/ipc.h-data: Likewise.
85809         * conform/data/sys/mman.h-data: Likewise.
85810         * conform/data/sys/msg.h-data: Likewise.
85811         * conform/data/sys/resource.h-data: Likewise.
85812         * conform/data/sys/select.h-data: Likewise.
85813         * conform/data/sys/sem.h-data: Likewise.
85814         * conform/data/sys/shm.h-data: Likewise.
85815         * conform/data/sys/socket.h-data: Likewise.
85816         * conform/data/sys/stat.h-data: Likewise.
85817         * conform/data/sys/statvfs.h-data: Likewise.
85818         * conform/data/sys/time.h-data: Likewise.
85819         * conform/data/sys/timeb.h-data: Likewise.
85820         * conform/data/sys/times.h-data: Likewise.
85821         * conform/data/sys/types.h-data: Likewise.
85822         * conform/data/sys/uio.h-data: Likewise.
85823         * conform/data/sys/un.h-data: Likewise.
85824         * conform/data/sys/utsname.h-data: Likewise.
85825         * conform/data/sys/wait.h-data: Likewise.
85826         * conform/data/syslog.h-data: Likewise.
85827         * conform/data/tar.h-data: Likewise.
85828         * conform/data/termios.h-data: Likewise.
85829         * conform/data/utime.h-data: Likewise.
85830         * conform/data/utmpx.h-data: Likewise.
85831         * conform/data/varargs.h-data: Likewise.
85832         * conform/data/wchar.h-data: Likewise.
85833         * conform/data/wctype.h-data: Likewise.
85834         * conform/data/wordexp.h-data: Likewise.
85836         * include/stropts.h: New file.
85837         * include/uchar.h: New file.
85838         * include/aio.h: Changes to allow conformtest.pl to use the headers.
85839         * include/assert.h: Likewise.
85840         * include/ctype.h: Likewise.
85841         * include/dirent.h: Likewise.
85842         * include/dlfcn.h: Likewise.
85843         * include/fcntl.h: Likewise.
85844         * include/fnmatch.h: Likewise.
85845         * include/glob.h: Likewise.
85846         * include/grp.h: Likewise.
85847         * include/libio.h: Likewise.
85848         * include/locale.h: Likewise.
85849         * include/math.h: Likewise.
85850         * include/net/if.h: Likewise.
85851         * include/netdb.h: Likewise.
85852         * include/netinet/in.h: Likewise.
85853         * include/pthread.h: Likewise.
85854         * include/pwd.h: Likewise.
85855         * include/regex.h: Likewise.
85856         * include/sched.h: Likewise.
85857         * include/search.h: Likewise.
85858         * include/setjmp.h: Likewise.
85859         * include/signal.h: Likewise.
85860         * include/stdio.h: Likewise.
85861         * include/stdlib.h: Likewise.
85862         * include/string.h: Likewise.
85863         * include/sys/cdefs.h: Likewise.
85864         * include/sys/mman.h: Likewise.
85865         * include/sys/msg.h: Likewise.
85866         * include/sys/resource.h: Likewise.
85867         * include/sys/select.h: Likewise.
85868         * include/sys/socket.h: Likewise.
85869         * include/sys/stat.h: Likewise.
85870         * include/sys/statvfs.h: Likewise.
85871         * include/sys/time.h: Likewise.
85872         * include/sys/times.h: Likewise.
85873         * include/sys/uio.h: Likewise.
85874         * include/sys/utsname.h: Likewise.
85875         * include/sys/wait.h: Likewise.
85876         * include/termios.h: Likewise.
85877         * include/time.h: Likewise.
85878         * include/ulimit.h: Likewise.
85879         * include/unistd.h: Likewise.
85880         * include/utime.h: Likewise.
85881         * include/wchar.h: Likewise.
85882         * include/wctype.h: Likewise.
85883         * include/wordexp.h: Likewise.
85885         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
85887         * time/time.h: TIME_UTC must be a macro.
85888         Make timespec_get available for ISO C11 only as well.
85890 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
85892         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
85893         Reported by Peng Haitao <penght@cn.fujitsu.com>.
85895 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
85897         * configure.in: Use -o not -a in test for unsupported multi-arch.
85899 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
85901         * manual/texinfo.tex: Update to version 2012-01-19.16.
85903 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
85905         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
85907 2012-02-24  Roland McGrath  <roland@hack.frob.com>
85909         [BZ #13738]
85910         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
85911         * manual/fdl-1.3.texi: New file.
85912         * manual/fdl-1.1.texi: File removed.
85914         [BZ #13738]
85915         * manual/libc.texinfo (FDL_VERSION): New @set.
85916         Use it for mention of FDL in cover text.
85917         (Documentation License): Use it in @include file name.
85919 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
85920             Roland McGrath  <roland@hack.frob.com>
85922         [BZ #5461]
85923         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
85924         (not LONG_LONG_MAX and LONG_LONG_MIN.
85925         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
85926         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
85927         name.
85928         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
85930 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
85932         [BZ #2547]
85933         [BZ #11365]
85934         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
85935         manipulate bits before adding and subtracting TWO23[sx].
85936         * math/libm-test.inc (nearbyint_test): Add more tests.
85938 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
85940         [BZ #2548]
85941         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
85942         bits before adding and subtracting TWO23[sx].
85943         * math/libm-test.inc (rint_test): Add more tests.
85944         (rint_test_tonearest): Likewise.
85945         (rint_test_towardzero): Likewise.
85946         (rint_test_downward): Likewise.
85947         (rint_test_upward: Likewise.
85949 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
85951         [BZ #10110]
85952         * include/stdc-predef.h: New file.  Extracted from features.h.
85953         * include/features.h: Include stdc-predef.h.
85954         * Makefile (headers): Add stdc-predef.h.
85955         * CONFORMANCE (Compiler limitations): Update.
85957 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
85959         * manual/libc.texinfo (VERSION, UPDATED): Revert.
85961 2012-02-21  David S. Miller  <davem@davemloft.net>
85963         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
85964         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
85966 2012-02-20  David S. Miller  <davem@davemloft.net>
85968         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
85969         using a normal save/restore sequence, rather than allocating a
85970         dummy stack frame just to store a frame pointer and restore.
85971         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
85973 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
85975         * manual/install.texi: Fix stray word in line-wrapped comment.
85977 2012-02-20  David S. Miller  <davem@davemloft.net>
85979         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
85980         both binutils and gcc support GOTDATA.
85982         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
85983         "rd %pc" in the PIC register setup sequences.
85985         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
85986         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
85987         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
85988         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
85989         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
85990         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
85991         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
85992         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
85993         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
85994         (SYSCALL_ERROR_HANDLER): Likewise.
85995         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
85996         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
85997         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
85998         (SYSCALL_ERROR_HANDLER): Likewise.
86000         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
86001         (HAVE_GCC_GOTDATA): New.
86002         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
86003         relocation support in both binutils and gcc.
86004         * sysdeps/sparc/elf/configure: Regenerate.
86006         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
86007         * sysdeps/sparc/sparc32/elf/configure: Delete.
86008         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
86009         * sysdeps/sparc/sparc64/elf/configure: Delete.
86010         * sysdeps/sparc/elf/configure.in: New file.
86011         * sysdeps/sparc/elf/configure: Generate.
86013         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
86014         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
86015         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
86016         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
86017         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
86019 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
86021         * manual/install.texi: Do not mention specific glibc version
86022         numbers.
86023         * manual/libc.texinfo (VERSION, UPDATED): Update.
86024         (@copying): Use @copyright{} and range of years.
86026 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
86028         [BZ #13695]
86029         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
86030         [crti.S not in sysdirs] (generated): Do not append.
86031         [crti.S not in sysdirs] (omit-deps): Likewise.
86032         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
86033         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
86034         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
86035         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
86036         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
86037         Likewise.
86038         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
86039         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
86040         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
86041         * csu/defs.awk: Remove file.
86042         * sysdeps/generic/initfini.c: Likewise.
86043         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
86044         variable.
86045         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
86046         Likewise.
86048 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
86050         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
86051         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
86052         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
86053         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
86054         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
86055         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
86056         <bits/epoll.h>.
86057         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
86058         (__EPOLL_PACKED): Define to empty if not defined by
86059         <bits/epoll.h>.
86060         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
86061         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
86062         bits/epoll.h.
86064 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
86066         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
86067         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
86068         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
86069         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
86070         <bits/timerfd.h>.
86071         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
86072         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
86073         bits/timerfd.h.
86075 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
86077         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
86078         in C locale.
86079         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
86080         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
86081         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
86082         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86084 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
86086         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
86087         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
86089 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
86091         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
86092         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
86093         defined.
86094         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
86095         Likewise.
86096         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
86097         entry for 2.16.
86099 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
86101         * math/w_acos.c: Use non-signaling floating-point comparisons.
86102         * math/w_acosf.c: Likewise.
86103         * math/w_acosh.c: Likewise.
86104         * math/w_acoshf.c: Likewise.
86105         * math/w_acoshl.c: Likewise.
86106         * math/w_acosl.c: Likewise.
86107         * math/w_asin.c: Likewise.
86108         * math/w_asinf.c: Likewise.
86109         * math/w_asinl.c: Likewise.
86110         * math/w_atanh.c: Likewise.
86111         * math/w_atanhf.c: Likewise.
86112         * math/w_atanhl.c: Likewise.
86113         * math/w_exp2.c: Likewise.
86114         * math/w_exp2f.c: Likewise.
86115         * math/w_exp2l.c: Likewise.
86116         * math/w_j0.c: Likewise.
86117         * math/w_j0f.c: Likewise.
86118         * math/w_j0l.c: Likewise.
86119         * math/w_j1.c: Likewise.
86120         * math/w_j1f.c: Likewise.
86121         * math/w_j1l.c: Likewise.
86122         * math/w_jn.c: Likewise.
86123         * math/w_jnf.c: Likewise.
86124         * math/w_log.c: Likewise.
86125         * math/w_log10.c: Likewise.
86126         * math/w_log10f.c: Likewise.
86127         * math/w_log10l.c: Likewise.
86128         * math/w_log2.c: Likewise.
86129         * math/w_log2f.c: Likewise.
86130         * math/w_log2l.c: Likewise.
86131         * math/w_logf.c: Likewise.
86132         * math/w_logl.c: Likewise.
86133         * math/w_sqrt.c: Likewise.
86134         * math/w_sqrtf.c: Likewise.
86135         * math/w_sqrtl.c: Likewise.
86136         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
86137         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
86138         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
86139         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
86140         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
86142 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
86144         [BZ #9739]
86145         * manual/string.texi (strnlen): Use correct parameter name in
86146         equivalent expression.
86148 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
86150         [BZ #11174]
86151         * manual/users.texi (seteuid): Consistently use neweuid for
86152         argument name.
86154 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
86156         [BZ #13704]
86157         * manual/nss.texi (Services in the NSS configuration): Correct
86158         list of services in example configuration file.
86160 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
86162         [BZ #11322]
86163         * manual/arith.texi: Remove statements about negative zero
86164         behaving identically to zero.
86166 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
86168         [BZ #5993]
86169         * manual/install.texi: Do not document upgrading from libc5.
86171 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
86173         [BZ #4596]
86174         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
86176 2012-02-18  David S. Miller  <davem@davemloft.net>
86178         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
86179         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
86180         %o7 across the call.
86181         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
86182         instead.
86183         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
86184         SETUP_PIC_REG_LEAF.
86185         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
86186         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
86187         * sysdeps/sparc/crtn.S: Likewise.
86189 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
86191         * aout/Makefile: Remove.
86193 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
86195         [BZ #13058]
86196         * manual/examples/argp-ex1.c (main): Format definition in GNU
86197         style.
86198         * manual/examples/argp-ex2.c (main): Likewise.
86199         * manual/examples/argp-ex3.c (main): Likewise.
86200         * manual/examples/argp-ex4.c (main): Likewise.
86201         * manual/examples/longopt.c (main): Use new-style prototype
86202         definition.
86203         * manual/examples/strncat.c (main): Specify return type and use
86204         (void) for arguments.
86205         * manual/examples/subopt.c (main): Use char **argv argument.
86207 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
86209         [BZ #5077]
86210         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
86211         rounding modes.
86213 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
86215         [BZ #6907]
86216         * manual/string.texi (strchr): Change when strchrnul is
86217         recommended.
86219 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
86221         [BZ #174]
86222         * manual/locale.texi (setlocale): Document LOCPATH.
86224 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
86226         [BZ #10210]
86227         * manual/process.texi (execle): Move @dots{} before last argument.
86229 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
86231         [BZ #12047]
86232         * manual/charset.texi (Generic Charset Conversion): Fix typo
86233         (LC_TYPE -> LC_CTYPE).
86235 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
86237         [BZ #5805]
86238         * manual/arith.texi (scalbn): Use @var{} on parameter names.
86239         (scalbnf): Likewise.
86240         (scalbnl): Likewise.
86241         (scalbln): Likewise.
86242         (scalblnf): Likewise.
86243         (scalblnl): Likewise.
86244         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
86245         (vwarnx): Likewise.
86246         (verr): Likewise.
86247         (verrx): Likewise.
86248         * manual/filesys.texi (telldir): Use braces around return type.
86249         * manual/llio.texi (mmap): Add space after comma.
86250         (mmap64): Likewise.
86251         * manual/math.texi (jn): Use @var{} on parameter names.
86252         (jnf): Likewise.
86253         (jnl): Likewise.
86254         (yn): Likewise.
86255         (ynf): Likewise.
86256         (ynl): Likewise.
86257         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
86258         line.
86259         * manual/resource.texi (ulimit): Use @dots{} instead of literal
86260         "...".
86261         (sched_get_priority_min): Remove semicolon on @deftypefun line.
86262         (sched_get_priority_max): Likewise.
86263         * manual/signal.texi (sigvec): Add space after comma.
86264         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
86265         names.
86266         (if_indextoname): Likewise.
86267         (if_freenameindex): Likewise.
86268         (sendto): Use ',' instead of '.' in prototype.
86269         * manual/startup.texi (syscall): Use @dots{} instead of literal
86270         "...".
86271         * manual/stdio.texi (__fpending): Separate initial words of
86272         paragraph from @deftypefun line.
86273         * manual/syslog.texi (syslog): Use @dots{} instead of literal
86274         "...".
86275         (vsyslog): Use @var{} on parameter names.
86276         * manual/terminal.texi (stty): Use @var{} on parameter names.
86277         * manual/users.texi (getutmp): Use @var{} on parameter names.
86278         (getutmpx): Likewise.
86280 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
86282         [BZ #6884]
86283         * manual/stdio.texi (fopen): Fix typos in description of
86284         ",ccs=STRING".
86286 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
86288         [BZ #4026]
86289         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
86290         get clock_id definition.
86292 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
86294         [BZ #4822]
86295         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
86296         (madvise): Cast every argument to void on its own.
86298 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
86300         [BZ #9902]
86301         * manual/startup.texi (Exit Status): Fix typo.
86303 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
86305         [BZ #10140]
86306         * manual/examples/argp-ex1.c: Include <stdlib.h>.
86307         * manual/examples/argp-ex2.c: Likewise.
86308         * manual/examples/argp-ex3.c: Likewise.
86310 2012-02-16  Richard Henderson  <rth@redhat.com>
86312         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
86313         * sysdeps/s390/s390-32/initfini.c: Remove.
86314         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
86315         * sysdeps/s390/s390-64/initfini.c: Remove.
86317 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
86319         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
86320         compiler output for sysdeps/generic/initfini.c.
86321         * sysdeps/sh/elf/initfini.c: Remove file.
86323 2012-02-16  David S. Miller  <davem@davemloft.net>
86325         [BZ #11494]
86326         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
86328         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
86329         * sysdeps/sparc/crti.S: New file.
86330         * sysdeps/sparc/crtn.S: New file.
86331         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
86332         * sysdeps/sparc/sparc64/Makefile: Likewise.
86334 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
86336         [BZ #3335]
86337         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
86339 2012-02-15  Roland McGrath  <roland@hack.frob.com>
86341         [BZ #4822]
86342         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
86344         * mach/devstream.c (cookie_io_functions_t): Macro removed.
86345         (write, read, close): Likewise.
86346         Patch by Aurelien Jarno <aurelien@aurel32.net>.
86348 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
86350         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
86351         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
86352         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
86353         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
86354         <bits/signalfd.h>.
86355         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
86356         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
86357         bits/signalfd.h.
86359 2012-02-14  Marek Polacek  <polacek@redhat.com>
86361         * sysdeps/x86_64/crti.S: New file.
86362         * sysdeps/x86_64/crtn.S: New file.
86363         * sysdeps/x86_64/elf/initfini.c: Remove file.
86365 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
86367         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
86368         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
86369         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
86370         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
86371         <bits/inotify.h>.
86372         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
86373         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
86374         bits/inotify.h.
86376 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
86378         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
86379         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
86380         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
86381         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
86382         <bits/eventfd.h>.
86383         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
86384         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
86385         bits/eventfd.h.
86387 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
86389         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
86390         __feraiseexcept instead of feraiseexcept.
86392         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
86393         nanosleep invocations.
86394         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
86395         strings, and add error checking for a nanosleep invocations.
86397 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
86399         Replace FSF snail mail address with URLs, as per GNU coding standards.
86400         Most of the snail mail addresses were wrong anyway, and omitting
86401         them makes the source code easier to maintain.  Almost all of the
86402         changes are to license notices and to locale LC_IDENTIFICATION
86403         addresses, except for this one:
86404         * manual/libc.texinfo: In "Published by", give the FSF's URL,
86405         not its snail mail address.
86407 2012-02-09  Richard Henderson  <rth@twiddle.net>
86409         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
86410         of kernel-features.h.
86412         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
86414 2012-02-08  Marek Polacek  <polacek@redhat.com>
86416         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
86417         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
86418         * sysdeps/gnu/_G_config.h: Likewise.
86419         * sysdeps/generic/_G_config.h: Likewise.
86421 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
86423         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
86424         tests.
86425         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86427         * sysdeps/powerpc/powerpc32/crti.S: New file.
86428         * sysdeps/powerpc/powerpc32/crtn.S: New file.
86429         * sysdeps/powerpc/powerpc64/crti.S: New file.
86430         * sysdeps/powerpc/powerpc64/crtn.S: New file.
86432         * Makeconfig (have-initfini): Don't set.
86433         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
86434         * configure.in (nopic_initfini): Don't substitute.
86435         * config.h.in (HAVE_INITFINI): Don't #undef.
86436         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
86437         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
86439 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
86441         Support crti.S and crtn.S provided directly by architectures.
86442         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
86443         [crti.S in sysdirs] (omit-deps): Likewise.
86444         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
86445         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
86446         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
86447         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
86448         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
86449         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
86450         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
86451         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
86452         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
86453         compiler output for sysdeps/generic/initfini.c.
86454         * sysdeps/i386/elf/Makefile: Remove file.
86455         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
86457 2012-02-07  Marek Polacek  <polacek@redhat.com>
86459         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
86460         * sysdeps/gnu/_G_config.h: Likewise.
86461         * sysdeps/mach/hurd/_G_config.h: Likewise.
86463 2012-02-07  Marek Polacek  <polacek@redhat.com>
86465         * math/Makefile (tests): Add tst-CMPLX2.
86466         * math/tst-CMPLX2.c: New file.
86468 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
86470         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
86472         * math/libm-test.inc (jn_test): Add missing L suffix.
86474 2012-02-06  Marek Polacek  <polacek@redhat.com>
86476         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
86477         * sysdeps/i386/fpu/e_powf.S: Likewise.
86478         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
86479         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
86480         * sysdeps/i386/fpu/e_acosh.S: Likewise.
86481         * sysdeps/i386/fpu/e_pow.S: Likewise.
86482         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
86483         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
86484         * sysdeps/i386/fpu/s_expm1.S: Likewise.
86485         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
86486         * sysdeps/i386/fpu/e_log2.S: Likewise.
86487         * sysdeps/i386/fpu/e_log2l.S: Likewise.
86488         * sysdeps/i386/fpu/e_scalb.S: Likewise.
86489         * sysdeps/i386/fpu/e_powl.S: Likewise.
86490         * sysdeps/i386/fpu/s_log1p.S: Likewise.
86491         * sysdeps/i386/fpu/e_log10f.S: Likewise.
86492         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
86493         * sysdeps/i386/fpu/e_logl.S: Likewise.
86494         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
86495         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
86496         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
86497         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
86498         * sysdeps/i386/fpu/e_log2f.S: Likewise.
86499         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
86500         * sysdeps/i386/fpu/e_log.S: Likewise.
86501         * sysdeps/i386/fpu/s_cexp.S: Likewise.
86502         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
86503         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
86504         * sysdeps/i386/fpu/e_logf.S: Likewise.
86505         * sysdeps/i386/fpu/e_log10l.S: Likewise.
86506         * sysdeps/i386/fpu/e_atanh.S: Likewise.
86507         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
86508         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
86509         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
86510         * sysdeps/i386/fpu/e_log10.S: Likewise.
86511         * sysdeps/i386/fpu/s_frexp.S: Likewise.
86512         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
86513         * sysdeps/i386/fpu/s_asinh.S: Likewise.
86514         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
86515         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
86516         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
86517         * sysdeps/i386/asm-syntax.h: Likewise.
86518         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
86519         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
86520         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
86521         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
86522         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
86523         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
86524         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
86525         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
86526         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
86527         * sysdeps/powerpc/sysdep.h: Likewise.
86528         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
86529         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
86531 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
86533         [BZ #411]
86534         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
86536 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
86538         * sysdeps/i386/sysdep.h: Include <features.h>.
86539         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
86540         version.
86542 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
86544         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
86545         Define.
86546         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
86547         LOAD_PIC_REG_STR.
86549 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
86551         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
86552         (SETUP_PIC_REG): Use GET_PC_THUNK.
86553         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
86554         macro.
86556 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
86558         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
86559         for non-PIC compilation.
86560         (SETUP_PIC_REG): Add .p2align directive.
86561         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
86562         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
86563         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
86564         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
86565         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
86566         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
86567         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
86568         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
86569         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
86570         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
86571         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
86572         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
86573         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
86574         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
86575         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
86576         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
86577         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
86578         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
86579         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
86580         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
86581         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
86582         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
86583         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
86584         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
86585         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
86586         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
86587         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
86588         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
86589         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
86590         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
86591         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
86592         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
86593         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
86594         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
86595         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
86596         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
86597         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
86598         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
86599         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
86600         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
86601         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
86603 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
86605         * math/tst-CMPLX.c: Include <stdio.h>.
86607 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
86609         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
86610         float.
86611         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
86612         * sysdeps/sparc/bits/mathdef.h: Likewise.
86614 2012-01-31  Marek Polacek  <polacek@redhat.com>
86616         * libio/libio.h: Don't define _PARAMS.
86617         * locale/programs/config.h: Don't define PARAMS.
86618         * stdlib/strtol_l.c: Likewise.
86619         (__strtol_l): Remove PARAMS from the prototype.
86621 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
86623         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
86624         names.  Just use the correct names.  Remove unnecessary wrapper
86625         functions.
86626         * malloc/arena.c: Likewise.
86627         * malloc/hooks.c: Likewise.
86629         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
86630         ARENA_TEST says not to.  Simplify test for creation of a new arena.
86631         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
86633 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
86635         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
86636         into tail calls.
86637         (update_get_addr): New function.
86638         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
86639         GET_ADDR_MODULE parameter.
86641 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
86643         * crypt/cert.c: Remove __STDC__ conditionals.
86644         * crypt/crypt-entry.c: Likewise.
86645         * crypt/crypt_util.c: Likewise.
86646         * libio/filedoalloc.c: Likewise.
86647         * libio/fileops.c: Likewise.
86648         * libio/genops.c: Likewise.
86649         * libio/iofclose.c: Likewise.
86650         * libio/iofdopen.c: Likewise.
86651         * libio/iofopen.c: Likewise.
86652         * libio/iofopen64.c: Likewise.
86653         * libio/iogetdelim.c: Likewise.
86654         * libio/iopopen.c: Likewise.
86655         * libio/obprintf.c: Likewise.
86656         * libio/oldfileops.c: Likewise.
86657         * libio/oldiofclose.c: Likewise.
86658         * libio/oldiofdopen.c: Likewise.
86659         * libio/oldiofopen.c: Likewise.
86660         * libio/oldiopopen.c: Likewise.
86661         * libio/wfiledoalloc.c: Likewise.
86662         * libio/wgenops.c: Likewise.
86663         * locale/programs/xmalloc.c: Likewise.
86664         * misc/syslog.c: Likewise.
86665         * stdio-common/xbug.c: Likewise.
86666         * string/memchr.c: Likewise.
86667         * string/memcmp.c: Likewise.
86668         * string/memrchr.c: Likewise.
86669         * string/rawmemchr.c: Likewise.
86670         * sysdeps/posix/getcwd.c: Likewise.
86671         * time/strftime_l.c: Likewise.
86673 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
86675         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
86676         * config.make.in (config-cflags-sse2avx): Define.
86677         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
86678         Fix typo.
86680 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
86682         * scripts/config.guess: Update from upstream config git repository.
86683         * scripts/config.sub: Likewise.
86685 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
86687         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
86688         (EM_NUM): Update.
86689         (R_TILEPRO_*, R_TILEGX_*): New macros.
86691         * scripts/firstversions.awk: Fix bug in version range handling.
86693         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
86695         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
86697         * include/sys/epoll.h: New file.
86698         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
86699         libc_hidden_def.
86701 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
86703         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
86704         Avoid unnecessary __WORDSIZE == 64 test.
86705         (fmaxf): Use VEX format if possible.
86706         (fmax): Likewise.
86707         (fminf): Likewise.
86708         (fmin): Likewise.
86710         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
86711         * math/math_private.h: Remove libc_fegetround* and
86712         libc_fesetround*.
86713         * sysdeps/i386/configure.in: Check for -msse2avx.
86714         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
86715         also if SSE2AVX is defined.
86716         Remove libc_fegetround* and libc_fesetround*.
86717         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
86718         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
86719         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
86720         of HAS_YMM_USABLE.
86721         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
86722         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
86723         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
86724         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
86725         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
86727         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
86729 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
86731         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
86732         size is not set.
86733         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
86735 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
86737         [BZ #13618]
86738         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
86739         relocation.
86740         * Makeconfig (libm): Define.
86741         * elf/Makefile: Add rules to build and run tst-relsort1.
86742         * elf/tst-relsort1.c: New file.
86743         * elf/tst-relsort1mod1.c: New file.
86744         * elf/tst-relsort1mod2.c: New file.
86746 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
86748         * math/s_ldexp.c: Remove __STDC__ conditionals.
86749         * math/s_ldexpf.c: Likewise.
86750         * math/s_ldexpl.c: Likewise.
86751         * math/s_nextafter.c: Likewise.
86752         * math/s_nexttowardf.c: Likewise.
86753         * math/s_significand.c: Likewise.
86754         * math/s_significandf.c: Likewise.
86755         * math/s_significandl.c: Likewise.
86756         * math/w_jnl.c: Likewise.
86757         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
86758         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
86759         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
86760         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
86761         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
86762         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
86763         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
86764         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
86765         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
86766         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
86767         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
86768         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
86769         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
86770         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
86771         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
86772         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
86773         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
86774         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
86775         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
86776         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
86777         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
86778         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
86779         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
86780         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
86781         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
86782         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
86783         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
86784         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
86785         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
86786         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
86787         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
86788         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
86789         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
86790         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
86791         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
86792         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
86793         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
86794         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
86795         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
86796         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
86797         * sysdeps/ieee754/k_standard.c: Likewise.
86798         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
86799         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
86800         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
86801         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
86802         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
86803         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
86804         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
86805         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
86806         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
86807         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
86808         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
86809         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
86810         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
86811         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
86812         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
86813         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
86814         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
86815         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
86816         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
86817         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
86818         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
86819         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
86820         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
86821         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
86822         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
86823         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
86824         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
86825         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
86826         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
86827         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
86828         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
86829         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
86830         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
86831         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
86832         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
86833         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
86834         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
86835         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
86836         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
86837         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
86838         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
86839         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
86840         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
86841         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
86842         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
86843         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
86844         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
86845         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
86846         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
86847         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
86848         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
86849         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
86850         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
86851         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
86852         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
86853         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
86854         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
86855         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
86856         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
86857         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
86858         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
86859         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
86860         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
86861         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
86862         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
86863         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
86864         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
86865         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
86866         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
86867         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
86868         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
86869         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
86870         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
86871         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
86872         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
86873         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
86874         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
86875         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
86876         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
86877         * sysdeps/ieee754/s_matherr.c: Likewise.
86878         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
86879         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
86880         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
86881         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
86883 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
86885         * crypt/md5.h: Remove __STDC__ conditionals.
86886         * libio/libioP.h: Likewise.
86887         * locale/programs/config.h: Likewise.
86888         * sysdeps/generic/sysdep.h: Likewise.
86889         * sysdeps/i386/asm-syntax.h: Likewise.
86890         * sysdeps/s390/asm-syntax.h: Likewise.
86891         * sysdeps/unix/sysdep.h: Likewise.
86892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
86893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
86895 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
86897         * libio/libio.h: Remove __STDC__ conditionals.
86898         * malloc/obstack.h: Likewise.
86899         * math/complex.h: Likewise.
86900         * math/math.h: Likewise.
86901         * sysdeps/generic/_G_config.h: Likewise.
86902         * sysdeps/gnu/_G_config.h: Likewise.
86903         * sysdeps/mach/hurd/_G_config.h: Likewise.
86904         * sysdeps/powerpc/bits/mathdef.h: Likewise.
86905         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
86906         * sysdeps/sparc/bits/mathdef.h: Likewise.
86908 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
86910         [BZ #13583]
86911         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
86912         Clean up HAS_* macros.
86913         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
86914         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
86915         possible.
86916         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
86917         HAS_AVX.
86918         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
86919         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
86920         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
86921         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
86922         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
86924 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
86926         * elf/tst-unique3.cc (gets): Remove declaration.
86927         * elf/tst-unique3lib.cc (gets): Likewise.
86928         * elf/tst-unique3lib2.cc (gets): Likewise.
86929         * elf/tst-unique4.cc (gets): Likewise.
86931 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
86933         * include/stdio.h: Add C++ protection.  Add gets declarations and
86934         definitions.
86935         * debug/tst-chk1.c: Don't declare gets here.
86936         * stdio-common/tst-gets.c: Likewise.
86938 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
86940         * posix/glob: Remove directory.
86942 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
86944         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
86946 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
86948         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
86949         of the non-standard EPFNOSUPPORT.
86951 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
86953         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
86954         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
86955         ANYWHERE set to 1 only on KERN_NO_SPACE error.
86957 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
86959         * wcsmbs/uchar.h: Test __STDC_VERSION__.
86961 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
86963         * nscd/aicache.c (addhstaiX): Do not cache negative results of
86964         transient errors.
86965         * nscd/grpcache.c (cache_addgr): Likewise.
86966         * nscd/hstcache.c (cache_addhst): Likewise.
86967         * nscd/initgrcache.c (addinitgroupsX): Likewise.
86968         * nscd/pwdcache.c (cache_addpw): Likewise.
86969         * nscd/servicescache.c (cache_addserv): Likewise.
86971 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
86973         * malloc/malloc.c: Various cleanups.
86974         * malloc/hooks.c: Likewise.
86976         * stdlib/Makefile (tests): Add bug-fmtmsg1.
86977         * stdlib/bug-fmtmsg1.c: New file.
86979         * stdlib/fmtmsg.c (init): Add missing unlock.
86980         Patch by Peng Haitao <penght@cn.fujitsu.com>.
86982 2012-01-12  Marek Polacek  <polacek@redhat.com>
86984         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
86985         and _GNU_SOURCE.
86987 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
86989         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
86990         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
86991         macro to ensure uniqueness of label name.
86992         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
86993         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
86995 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
86997         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
86999         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
87000         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
87001         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
87002         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
87004 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
87006         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
87008         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
87009         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
87010         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
87012         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
87014         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
87015         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
87016         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
87017         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
87019         * math/bits/math-finite.h: Add ldexp support.
87021 2012-01-10  Marek Polacek  <polacek@redhat.com>
87023         * locale/programs/localedef.h (show_archive_content): Add noreturn
87024         attribute.
87026 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
87028         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
87030 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
87032         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
87034         * io/Makefile (headers): Add bits/poll2.h.
87036 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
87038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
87039         typo #include statement.
87041 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
87043         * include/sys/cdefs.h: Define __attribute_alloc_size.
87044         * catgets/gencat.c: Add alloc_size attribute and apply consistently
87045         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
87046         * elf/pldd.c: Likewise.
87047         * iconv/iconv_charmap.c: Likewise.
87048         * iconv/iconvconfig.c: Likewise.
87049         * iconv/strtab.c: Likewise.
87050         * locale/programs/locale.c: Likewise.
87051         * locale/programs/localedef.h: Likewise.
87052         * locale/programs/simple-hash.c: Likewise.
87053         * nscd/nscd.h: Likewise.
87054         * nss/makedb.c: Likewise.
87055         * sysdeps/generic/ldconfig.h: Likewise.
87056         * locale/programs/localedef.c: Remove xmalloc prototype.
87057         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
87059 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
87061         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
87062         appropriate.
87064 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
87066         * math/Makefile (tests): Add tst-CMPLX.
87067         * math/tst-CMPLX.c: New file.
87069         * math/complex.h (CMPLXL): Fix typo.
87071         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
87072         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
87073         GLIBC_2.16.
87074         * debug/tst-chk1.c: Add poll and ppoll tests.
87075         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
87076         * include/sys/poll.h: Add hidden proto for ppoll.
87077         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
87078         * sysdeps/mach/hurd/ppoll.c: Likewise.
87079         * io/ppoll.c: Likewise.
87080         * debug/poll_chk.c: New file.
87081         * debug/ppoll_chk.c: New file.
87082         * include/bits/poll2.h: New file.
87083         * io/bits/poll2.h: New file.
87085         [BZ #1350]
87086         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
87088         * configure.in: static is always set to yes.  Remove.
87089         * config.make.in: Don't set build-static.
87090         * Makeconfig: Remove use of build-static.
87091         * dlfcn/Makefile: Likewise.
87092         * elf/Makefile: Likewise.
87093         * math/Makefile: Likewise.
87094         * misc/Makefile: Likewise.
87095         * nptl/Makefile: Likewise.
87096         * sysdeps/mach/hurd/Makefile: Likewise.
87098         * configure.in: PWD_P is not used anymore.
87099         * config.make.in: Remove PWD_P entry.
87101         * configure.in: Remove last remnants of RANLIB.
87102         No need to check for signed size_t anymore.
87103         Don't set libc_commonpagesize and libc_relro_required here for Alpha
87104         and IA-64.
87105         Remove __builtin_expect test because we require at least gcc 3.4.
87106         * aclocal.m4: Likewise.
87108         * wcsmbs/mbrtoc16.c: Implement using towc function.
87109         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
87110         * wcsmbs/wcsmbsload.c: Likewise.
87111         * iconv/gconv_simple.c: Likewise.
87112         * iconv/gconv_int.h: Likewise.
87113         * iconv/gconv_builtin.h: Likewise.
87114         * iconv/iconv_prog.c: Remove CHAR16 handling.
87116         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
87118         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
87120         * configure.in: Remove --with-elf and --enable-bounded options.
87121         Dont set base_machine for ia64.  More non-ELF conditions removed.
87122         Remove testing and setting of leading underscore information.
87123         * config.make.in (build-bounded): Set to no.
87124         * config.h.in: Remove NO_UNDERSCORES entry.
87125         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
87126         them.
87127         * csu/start.c: Remove !NO_UNDERSCORE code.
87128         * locale/localeinfo.h: Likewise.
87129         * sysdeps/generic/machine-gmon.h: Likewise.
87130         * sysdeps/generic/sysdep.h: Likewise.
87131         * sysdeps/i386/sysdep.h: Likewise.
87132         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
87133         * sysdeps/mach/sysdep.h: Likewise.
87134         * sysdeps/s390/s390-32/sysdep.h: Likewise.
87135         * sysdeps/s390/s390-64/sysdep.h: Likewise.
87136         * sysdeps/sh/sysdep.h: Likewise.
87137         * sysdeps/sparc/sparc32/alloca.S: Likewise.
87138         * sysdeps/unix/i386/sysdep.S: Likewise.
87139         * sysdeps/unix/sparc/start.c: Likewise.
87140         * sysdeps/unix/sparc/sysdep.S: Likewise.
87141         * sysdeps/unix/sparc/sysdep.h: Likewise.
87142         * sysdeps/unix/start.c: Likewise.
87143         * sysdeps/unix/x86_64/sysdep.S: Likewise.
87144         * sysdeps/x86_64/sysdep.h: Likewise.
87146 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
87148         [BZ #13553]
87149         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
87150         for non-gcc.
87151         * argp/argp-fmtstream.h: Use const instead __const.
87152         * argp/argp.h: Likewise.
87153         * assert/assert.h: Likewise.
87154         * bits/fenv.h: Likewise.
87155         * bits/sched.h: Likewise.
87156         * bits/sigset.h: Likewise.
87157         * bits/sigthread.h: Likewise.
87158         * catgets/nl_types.h: Likewise.
87159         * conform/data/pthread.h-data: Likewise.
87160         * crypt/crypt-private.h: Likewise.
87161         * crypt/crypt.h: Likewise.
87162         * crypt/crypt_util.c: Likewise.
87163         * ctype/ctype.h: Likewise.
87164         * debug/execinfo.h: Likewise.
87165         * debug/mbsnrtowcs_chk.c: Likewise.
87166         * debug/mbsrtowcs_chk.c: Likewise.
87167         * debug/wcsnrtombs_chk.c: Likewise.
87168         * debug/wcsrtombs_chk.c: Likewise.
87169         * debug/wcstombs_chk.c: Likewise.
87170         * dirent/dirent.h: Likewise.
87171         * dlfcn/dlfcn.h: Likewise.
87172         * elf/neededtest4.c: Likewise.
87173         * grp/grp.h: Likewise.
87174         * gshadow/gshadow.h: Likewise.
87175         * iconv/gconv.h: Likewise.
87176         * iconv/gconv_int.h: Likewise.
87177         * iconv/gconv_simple.c: Likewise.
87178         * iconv/iconv.h: Likewise.
87179         * iconv/loop.c: Likewise.
87180         * iconv/skeleton.c: Likewise.
87181         * include/aio.h: Likewise.
87182         * include/aliases.h: Likewise.
87183         * include/argz.h: Likewise.
87184         * include/arpa/inet.h: Likewise.
87185         * include/assert.h: Likewise.
87186         * include/dirent.h: Likewise.
87187         * include/dlfcn.h: Likewise.
87188         * include/execinfo.h: Likewise.
87189         * include/fcntl.h: Likewise.
87190         * include/fenv.h: Likewise.
87191         * include/glob.h: Likewise.
87192         * include/grp.h: Likewise.
87193         * include/libintl.h: Likewise.
87194         * include/mntent.h: Likewise.
87195         * include/netdb.h: Likewise.
87196         * include/pwd.h: Likewise.
87197         * include/rpc/netdb.h: Likewise.
87198         * include/sched.h: Likewise.
87199         * include/search.h: Likewise.
87200         * include/shadow.h: Likewise.
87201         * include/signal.h: Likewise.
87202         * include/stdio.h: Likewise.
87203         * include/stdlib.h: Likewise.
87204         * include/string.h: Likewise.
87205         * include/sys/socket.h: Likewise.
87206         * include/sys/stat.h: Likewise.
87207         * include/sys/statfs.h: Likewise.
87208         * include/sys/statvfs.h: Likewise.
87209         * include/sys/syslog.h: Likewise.
87210         * include/sys/time.h: Likewise.
87211         * include/sys/uio.h: Likewise.
87212         * include/time.h: Likewise.
87213         * include/unistd.h: Likewise.
87214         * include/utmp.h: Likewise.
87215         * include/wchar.h: Likewise.
87216         * include/wctype.h: Likewise.
87217         * inet/aliases.h: Likewise.
87218         * inet/arpa/inet.h: Likewise.
87219         * inet/netinet/ether.h: Likewise.
87220         * inet/netinet/in.h: Likewise.
87221         * intl/libintl.h: Likewise.
87222         * io/bits/fcntl2.h: Likewise.
87223         * io/fcntl.h: Likewise.
87224         * io/ftw.h: Likewise.
87225         * io/sys/poll.h: Likewise.
87226         * io/sys/stat.h: Likewise.
87227         * io/sys/statfs.h: Likewise.
87228         * io/sys/statvfs.h: Likewise.
87229         * io/utime.h: Likewise.
87230         * libio/bits/stdio.h: Likewise.
87231         * libio/bits/stdio2.h: Likewise.
87232         * libio/libio.h: Likewise.
87233         * libio/libioP.h: Likewise.
87234         * libio/stdio.h: Likewise.
87235         * locale/lc-ctype.c: Likewise.
87236         * locale/locale.h: Likewise.
87237         * login/utmp.h: Likewise.
87238         * malloc/arena.c: Likewise.
87239         * malloc/malloc.c: Likewise.
87240         * malloc/malloc.h: Likewise.
87241         * malloc/mcheck.c: Likewise.
87242         * malloc/mtrace.c: Likewise.
87243         * math/bits/mathcalls.h: Likewise.
87244         * math/fenv.h: Likewise.
87245         * math/math_private.h: Likewise.
87246         * misc/bits/error.h: Likewise.
87247         * misc/bits/syslog.h: Likewise.
87248         * misc/err.h: Likewise.
87249         * misc/error.h: Likewise.
87250         * misc/fstab.h: Likewise.
87251         * misc/mntent.h: Likewise.
87252         * misc/regexp.h: Likewise.
87253         * misc/search.h: Likewise.
87254         * misc/sgtty.h: Likewise.
87255         * misc/sys/mman.h: Likewise.
87256         * misc/sys/syslog.h: Likewise.
87257         * misc/sys/uio.h: Likewise.
87258         * misc/sys/xattr.h: Likewise.
87259         * misc/ttyent.h: Likewise.
87260         * nis/rpcsvc/ypclnt.h: Likewise.
87261         * nss/nss.h: Likewise.
87262         * posix/bits/unistd.h: Likewise.
87263         * posix/fnmatch.h: Likewise.
87264         * posix/glob.h: Likewise.
87265         * posix/sched.h: Likewise.
87266         * posix/spawn.h: Likewise.
87267         * posix/sys/wait.h: Likewise.
87268         * posix/unistd.h: Likewise.
87269         * posix/wordexp.h: Likewise.
87270         * pwd/pwd.h: Likewise.
87271         * resolv/netdb.h: Likewise.
87272         * resource/sys/resource.h: Likewise.
87273         * rt/aio.h: Likewise.
87274         * rt/bits/mqueue2.h: Likewise.
87275         * rt/mqueue.h: Likewise.
87276         * shadow/shadow.h: Likewise.
87277         * signal/signal.h: Likewise.
87278         * socket/send.c: Likewise.
87279         * socket/sendto.c: Likewise.
87280         * socket/sys/socket.h: Likewise.
87281         * stdio-common/printf.h: Likewise.
87282         * stdlib/bits/stdlib.h: Likewise.
87283         * stdlib/fmtmsg.h: Likewise.
87284         * stdlib/monetary.h: Likewise.
87285         * stdlib/stdlib.h: Likewise.
87286         * stdlib/ucontext.h: Likewise.
87287         * streams/stropts.h: Likewise.
87288         * string/argz.h: Likewise.
87289         * string/bits/string2.h: Likewise.
87290         * string/string.h: Likewise.
87291         * string/strings.h: Likewise.
87292         * sunrpc/rpc/auth.h: Likewise.
87293         * sunrpc/rpc/auth_des.h: Likewise.
87294         * sunrpc/rpc/clnt.h: Likewise.
87295         * sunrpc/rpc/netdb.h: Likewise.
87296         * sunrpc/rpc/pmap_clnt.h: Likewise.
87297         * sunrpc/rpc/xdr.h: Likewise.
87298         * sysdeps/generic/inttypes.h: Likewise.
87299         * sysdeps/generic/net/if.h: Likewise.
87300         * sysdeps/generic/sys/swap.h: Likewise.
87301         * sysdeps/gnu/net/if.h: Likewise.
87302         * sysdeps/gnu/utmpx.h: Likewise.
87303         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
87304         * sysdeps/i386/i486/bits/string.h: Likewise.
87305         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
87306         * sysdeps/s390/bits/string.h: Likewise.
87307         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
87308         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
87309         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
87310         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
87311         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
87312         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
87313         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
87314         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
87315         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
87316         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
87317         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
87318         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
87319         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
87320         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
87321         * sysdeps/unix/sysv/linux/readv.c: Likewise.
87322         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
87323         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
87324         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
87325         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
87326         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
87327         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
87328         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
87329         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
87330         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
87331         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
87332         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
87333         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
87334         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
87335         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
87336         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
87337         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
87338         * sysvipc/sys/ipc.h: Likewise.
87339         * sysvipc/sys/msg.h: Likewise.
87340         * sysvipc/sys/sem.h: Likewise.
87341         * sysvipc/sys/shm.h: Likewise.
87342         * termios/termios.h: Likewise.
87343         * time/sys/time.h: Likewise.
87344         * time/time.h: Likewise.
87345         * wcsmbs/bits/wchar2.h: Likewise.
87346         * wcsmbs/uchar.h: Likewise.
87347         * wcsmbs/wchar.h: Likewise.
87348         * wctype/wctype.h: Likewise.
87350         [BZ #13551]
87351         * Makeconfig: Remove all but ELF support including AIX support.
87352         * Makerules: Likewise.
87353         * config.h.in: Likewise.
87354         * config.make.in: Likewise.
87355         * configure: Likewise.
87356         * configure.in: Likewise.
87357         * csu/Makefile: Likewise.
87358         * csu/version.c: Likewise.
87359         * debug/Makefile: Likewise.
87360         * dlfcn/Makefile: Likewise.
87361         * elf/Makefile: Likewise.
87362         * extra-lib.mk: Likewise.
87363         * iconv/Makefile: Likewise.
87364         * include/libc-symbols.h: Likewise.
87365         * include/shlib-compat.h: Likewise.
87366         * resolv/Makefile: Likewise.
87367         * resolv/res_libc.c: Likewise.
87368         * rt/Makefile: Likewise.
87369         * sysdeps/i386/asm-syntax.h: Likewise.
87370         * sysdeps/i386/sysdep.h: Likewise.
87371         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
87372         * sysdeps/mach/sysdep.h: Likewise.
87373         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
87374         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
87375         * sysdeps/s390/asm-syntax.h: Likewise.
87376         * sysdeps/s390/s390-32/sysdep.h: Likewise.
87377         * sysdeps/s390/s390-64/sysdep.h: Likewise.
87378         * sysdeps/sh/sysdep.h: Likewise.
87379         * sysdeps/unix/sparc/sysdep.h: Likewise.
87380         * sysdeps/wordsize-32/divdi3.c: Likewise.
87381         * sysdeps/x86_64/sysdep.h: Likewise.
87383         * argp/Versions: Remove _argp_unlock_xxx.
87385         [BZ #13559]
87386         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
87387         * abilist/libBrokenLocale.abilist: Likewise.
87388         * abilist/libanl.abilist: Likewise.
87389         * abilist/libc.abilist: Likewise.
87390         * abilist/libcrypt.abilist: Likewise.
87391         * abilist/libdl.abilist: Likewise.
87392         * abilist/libm.abilist: Likewise.
87393         * abilist/libnsl.abilist: Likewise.
87394         * abilist/libpthread.abilist: Likewise.
87395         * abilist/libresolv.abilist: Likewise.
87396         * abilist/librt.abilist: Likewise.
87397         * abilist/libthread_db.abilist: Likewise.
87398         * abilist/libutil.abilist: Likewise.
87399         * abilist/libnss_db.abilist: New file.
87401         * scripts/abilist.awk: Add support for indirect functions.
87403         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
87405         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
87407         * shlib-versions: Remove entries for ports architectures.
87409         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
87410         files in ports.
87411         * elf/stackguard-macros.h: Remove support for IA-64.
87412         * elf/tst-auditmod1.c: Likewise.
87413         * sysdeps/generic/ldsodefs.h: Likewise.
87415         * sysdeps/unix/sysv/linux/configure.in: Ports should define
87416         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
87417         configure files.
87419         [BZ #13552]
87420         * configure.in: Remove --enable-omitfp support.
87421         * FAQ.in: Adjust.
87422         * config.make.in: Likewise.
87423         * Makeconfig: Likewise.
87424         * manual/install.texi: Likewise.
87426         In case anyone cares, the IA-64 architecture could move to ports.
87427         * sysdeps/ia64/*: Removed.
87428         * sysdeps/unix/sysv/linux/ia64/*: Removed.
87429         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
87431         [BZ #13555]
87432         * configure.in: Remove entries for unsupported architectures.
87434         [BZ #13533]
87435         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
87436         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
87437         routines.
87438         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
87439         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
87440         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
87441         fall back to using wcrtomb.
87442         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
87443         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
87444         renaming.
87445         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
87446         * wcsmbs/tst-c16c32-1.c: New file.
87448         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
87449         local variable.
87451         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
87453         * elf/tst-unique3.cc: Add explicit declaration of gets.
87454         * elf/tst-unique3lib.cc: Likewise.
87455         * elf/tst-unique3lib2.cc: Likewise.
87456         * elf/tst-unique4.cc: Likewise.
87458         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
87460 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
87462         [BZ #13566]
87463         * assert/assert.h (static_assert): Don't define for C++.
87464         * libio/stdio.h (gets): Do declare for C++ <= C++11.
87465         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
87467 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
87469         * iconv/loop.c (single loop): Fix assertion in storing of
87470         remaining bytes.
87472         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
87474 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
87476         * posix/getconf.c: Update copyright year.
87477         * nss/getent.c: Likewise.
87478         * nss/makedb.c: Likewise.
87479         * iconv/iconvconfig.c: Likewise.
87480         * iconv/iconv_prog.c: Likewise.
87481         * elf/ldconfig.c: Likewise.
87482         * elf/pldd.c: Likewise.
87483         * elf/sotruss.ksh: Likewise.
87484         * catgets/gencat.c: Likewise.
87485         * csu/version.c: Likewise.
87486         * elf/ldd.bash.in: Likewise.
87487         * elf/sprof.c (print_version): Likewise.
87488         * locale/programs/locale.c: Likewise.
87489         * locale/programs/localedef.c: Likewise.
87490         * login/programs/pt_chown.c: Likewise.
87491         * nscd/nscd.c (print_version): Likewise.
87492         * debug/xtrace.sh: Likewise.
87493         * malloc/memusage.sh: Likewise.
87494         * malloc/mtrace.pl: Likewise.
87495         * debug/catchsegv.sh: Likewise.
87497 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
87499         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
87500         pure attribute.
87502 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
87504         [BZ #13533]
87505         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
87506         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
87507         transformations.
87508         * iconv/gconv_int.h: Likewise.
87509         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
87510         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
87511         from libc for GLIBC_2.16.
87512         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
87513         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
87514         * wcsmbs/uchar.h: Really define mbstate_t.
87515         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
87516         * wcsmbs/c16rtomb.c: New file.
87517         * wcsmbs/mbrtoc16.c: New file.
87518         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
87519         for C/POSIX locale.
87520         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
87521         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
87523         * wcsmbs/wchar.h: Add missing __restrict.
87525 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
87527         [BZ #13532]
87528         * time/Makefile (routines): Add timespec_get.
87529         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
87530         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
87531         timespec for ISO C11.
87532         * time/timespec_get.c: New file.
87533         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
87534         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
87536         [BZ #13531]
87537         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
87538         * stdlib/stdlib.h: Declare aligned_alloc.
87539         * Versions.def: Add GLIBC_2.16 for libc.
87540         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
87542         [BZ 13527]
87543         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
87544         ISO C11.
87546         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
87547         code.
87549         [BZ #13528]
87550         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
87552         [BZ #13529]
87553         * assert/assert.h (static_assert): Define.
87555         * version.h: Update for 2.16 development version.
87557         [BZ #13526]
87558         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
87559         _ISOC11_SOURCE.
87561         * version.h (RELEASE): Bump for 2.15 release.
87562         * include/features.h (__GLIBC_MINOR__): Bump to 15.
87564         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
87565         Patch by Marek Polacek <mpolacek@redhat.com>.
87567         * bits/byteswap.h: Protect long long constants with __extension__.
87568         * sysdeps/i386/bits/byteswap.h: Likewise.
87569         * sysdeps/ia64/bits/byteswap.h: Likewise.
87570         * sysdeps/s390/bits/byteswap.h: Likewise.
87571         * sysdeps/x86_64/bits/byteswap.h: Likewise.
87573 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
87575         [BZ #13540]
87576         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
87577         destination buffer.
87578         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
87580 2011-12-23  Marek Polacek  <polacek@redhat.com>
87582         * elf/dl-addr.c (determine_info): Add inline keyword.
87583         * elf/tst-auditmod4b.c (check_avx): Likewise.
87584         * elf/tst-auditmod6b.c (check_avx): Likewise.
87585         * elf/tst-auditmod6c.c (check_avx): Likewise.
87586         * elf/tst-auditmod7b.c (check_avx): Likewise.
87588 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
87590         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
87591         !__SSE_MATH__.
87593 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
87595         [BZ #13540]
87596         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
87597         processing for last bytes.
87599 2011-08-06  Bruno Haible  <bruno@clisp.org>
87601         [BZ #13061]
87602         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
87603         U+0385, not to U+1FEE.
87605         [BZ #13062]
87606         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
87607         entry for U+00A5 U+0301.
87609 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
87611         [BZ #13166]
87612         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
87613         buffer for the output is too small.
87615         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
87616         optimization.
87618         [BZ #13185]
87619         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
87620         SSE flags if possible.
87622 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
87624         [BZ #13540]
87625         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
87626         processing for last bytes.
87628 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
87630         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
87631         (syscall-list-default-options, syscall-list-default-condition)
87632         (syscall-list-includes): Define.
87633         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
87634         list of ABIs and options and #if conditions for each ABI.  Do not
87635         handle common syscalls between ABIs specially.
87636         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
87637         Remove.
87638         (syscall-list-variants, syscall-list-32bit-options)
87639         (syscall-list-32bit-condition, syscall-list-64bit-options)
87640         (syscall-list-64bit-condition): Define.
87641         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
87642         (syscall-list-variants, syscall-list-32bit-options)
87643         (syscall-list-32bit-condition, syscall-list-64bit-options)
87644         (syscall-list-64bit-condition): Define.
87645         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
87646         Remove.
87647         (syscall-list-variants, syscall-list-32bit-options)
87648         (syscall-list-32bit-condition, syscall-list-64bit-options)
87649         (syscall-list-64bit-condition): Define.
87650         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
87651         Remove.
87652         (syscall-list-variants, syscall-list-32bit-options)
87653         (syscall-list-32bit-condition, syscall-list-64bit-options)
87654         (syscall-list-64bit-condition): Define.
87656 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
87658         * locale/iso-639.def: Add brx entry.
87660         [BZ #13328]
87661         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
87662         Proposed by Mariusz_Cukr <marcukr@op.pl>.
87664         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
87665         __feraiseexcept_renamed.
87667 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
87669         [BZ #13538]
87670         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
87671         EPOLLET with unsigned values.
87672         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
87673         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
87675         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
87676         to large cancellation.
87677         * math/s_cacoshf.c: Likewise.
87678         * math/s_cacoshl.c: Likewise.
87680 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
87682         [BZ #13305]
87683         [BZ #12786]
87684         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
87685         * math/s_cacoshf.c: Likewise.
87686         * math/s_cacoshl.c: Likewise.
87688 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
87690         [BZ #13439]
87691         * iconv/gconv.h: Define __GCONV_SWAP.
87692         * iconvdata/unicode.c: The swap bit must be stored in __flags.
87693         * iconvdata/utf-16.c: Likewise.
87694         * iconvdata/utf-32.c: Likewise.
87696 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
87698         [BZ #13524]
87699         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
87700         numerator after shifting it by one limb.
87702 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
87704         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
87705         under [__USE_EXTERN_INLINES].
87707 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
87709         [BZ #13446]
87710         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
87712 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
87714         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
87715         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
87716         optimized code.
87717         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
87718         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
87719         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
87720         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
87721         for strncasecmp/strncasecmp_l compilation.
87722         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
87723         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
87725 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
87727         [BZ #13484]
87728         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
87729         of __asm__.
87731 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
87733         [BZ #13506]
87734         * time/tzfile.c (__tzfile_read): Check values from file header.
87736 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
87738         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
87739         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
87740         * powerpc/powerpc32/dl-start.S: Likewise.
87741         * powerpc/powerpc32/elf/start.S: Likewise.
87742         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
87743         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
87744         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
87745         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
87746         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
87747         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
87748         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
87749         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
87750         * powerpc/powerpc32/fpu/s_round.S: Likewise.
87751         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
87752         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
87753         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
87754         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
87755         * powerpc/powerpc32/memset.S: Likewise.
87756         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
87757         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
87758         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
87759         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
87760         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
87761         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
87762         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
87763         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
87764         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
87765         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
87766         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
87767         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
87768         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
87770 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
87772         * math/libm-test.inc: Added more nearbyint tests.
87773         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
87774         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
87775         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
87776         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
87778 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
87780         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
87781         FD_CLOEXEC.
87783 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
87785         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
87786         Add wcscpy-ssse3 wcscpy-c.
87787         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
87788         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
87789         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
87790         * sysdeps/x86_64/wcschr.S: New file.
87791         * sysdeps/x86_64/wcsrchr.S: New file.
87792         * string/test-strcmp.c: Remove checking of wcscmp function for
87793         wrong alignments.
87794         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
87795         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
87796         wcsrchr-sse2 wcsrchr-c.
87797         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
87798         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
87799         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
87800         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
87801         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
87802         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
87803         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
87804         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
87805         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
87806         * wcsmbc/wcschr.c (WCSCHR): New macro.
87808 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
87810         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
87811         * wcsmbs/test-wcsrchr.c: New file.
87812         * string/test-strrchr.c: Add wcsrchr support.
87813         (WIDE): New macro.
87814         * wcsmbs/test-wcscpy.c: New file.
87815         * string/test-strcpy.c: Add wcscpy support.
87816         (WIDE): New macro.
87818 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
87820         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
87821         the inner loop.
87823 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
87825         [BZ #13472]
87826         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
87828 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
87830         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
87831         Minor optimizations.
87833         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
87834         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
87835         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
87837 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
87839         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
87840         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
87841         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
87842         for gcc to avoid warnings.
87843         * inet/Makefile (tests): Add tst-checks.
87844         * inet/tst-checks.c: New file.
87846         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
87847         warning.
87849         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
87850         __wmemcmp_sse2.
87852         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
87853         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
87855         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
87857 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
87859         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
87860         problem.
87862         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
87864 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
87866         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
87867         conditional on GCC version.
87868         (__arch_compare_and_exchange_val_8_acq)
87869         (__arch_compare_and_exchange_val_16_acq)
87870         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
87871         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
87872         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
87874 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
87876         * sysdeps/sh/backtrace.c: New file.
87878 2011-12-02  Andreas Schwab  <schwab@redhat.com>
87880         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
87881         parenthesis.
87883 2011-12-01  Andreas Schwab  <schwab@redhat.com>
87885         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
87886         falling back to utime.
87888 2011-11-30  Andreas Schwab  <schwab@redhat.com>
87890         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
87891         expectations for float.
87893 2011-11-29  Andreas Schwab  <schwab@redhat.com>
87895         * locale/weight.h (findidx): Add parameter len.
87896         * locale/weightwc.h (findidx): Likewise.
87897         * posix/fnmatch_loop.c (FCT): Adjust caller.
87898         * posix/regcomp.c (build_equiv_class): Likewise.
87899         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
87900         * posix/regexec.c (check_node_accept_bytes): Likewise.
87901         * string/strcoll_l.c (STRCOLL): Likewise.
87902         * string/strxfrm_l.c (STRXFRM): Likewise.
87904 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
87906         * Makefile.in: Remove CVSOPT handling.
87907         * configure.in: Remove use of AC_REVISION.
87908         * iconvdata/Makefile (distribute): No need to filter out CVS.
87909         * scripts/list-sources.sh: Remove CVS, subversion and monotone
87910         handling.
87912 2011-11-16  Andreas Schwab  <schwab@redhat.com>
87914         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
87915         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
87916         [USE_AS_STRNCASECMP_L]: Likewise.
87917         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
87918         NO_TLS_DIRECT_SEG_REFS.
87919         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
87920         Fix argument offsets for non-PIC.
87921         [USE_AS_STRNCASECMP_L]: Likewise.
87922         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
87923         NO_TLS_DIRECT_SEG_REFS.
87925 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
87927         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
87928         O_CLOEXEC.
87929         * locale/loadlocale.c (_nl_load_locale): Likewise.
87931 2011-11-15  Andreas Schwab  <schwab@redhat.com>
87933         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
87934         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
87935         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
87936         (SYSCALL_GETTIME): Set errno on error.
87938         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
87939         count references to noai6ai_cached.
87941 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
87943         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
87945         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
87946         FD_CLOEXEC for /proc/self/maps.
87948         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
87949         FD_CLOEXEC for /proc/meminfo.
87951         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
87952         gai.conf.
87954         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
87955         FD_CLOEXEC for given file.
87957         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
87959         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
87960         FD_CLOEXEC for /etc/hosts.
87961         (_gethtent): Likewise.
87963         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
87965         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
87966         cancellation and set FD_CLOEXEC for /etc/netgroup.
87968         * nss/nss_files/files-key.c (search): Don't allow cancellation when
87969         reading /etc/publickey.
87971         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
87972         allow cancellation when reading /etc/group.
87974         * nss/nss_files/files-alias.c (internal_setent): Don't allow
87975         cancellation.
87976         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
87978         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
87979         when using data file.
87981         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
87983         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
87984         (write_nis_obj): Use "c" and "e" in fopen.
87986         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
87988         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
87990         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
87992         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
87994         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
87995         locale.alias.
87997         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
87999         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
88001         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
88003         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
88004         file parsing and set FD_CLOEXEC.
88006 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
88008         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
88010 2011-11-14  Andreas Schwab  <schwab@redhat.com>
88012         * malloc/arena.c (arena_get2): Don't call reused_arena when
88013         _int_new_arena failed.
88015 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
88017         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
88018         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
88019         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
88020         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
88021         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
88022         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
88023         to compile strcasecmp and strncasecmp.
88024         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
88025         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
88027         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
88029 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
88031         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
88032         locale-defines.sym to gen-as-const-headers.
88033         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
88034         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
88035         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
88036         to compile strcasecmp and strncasecmp.
88037         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
88038         strcasecmp_l and strncasecmp_l.
88039         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
88040         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
88041         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
88042         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
88043         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
88044         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
88045         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
88046         * sysdeps/i386/i686/multiarch/strncase.S: New file.
88047         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
88048         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
88049         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
88051 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
88053         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
88054         result of SYSDEP_GETTIME_CPU to retval.
88055         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
88056         parameter list to macro.  Remove trailing semicolon.  Adjust users.
88058         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
88059         variable.
88061         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
88062         mantissa words.
88063         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
88065         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
88066         from unused variable.
88068         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
88069         DWARF definitions.
88070         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
88071         for assembling.
88073         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
88074         over namespaces.
88076         * sunrpc/rpc_prot.c (rejected): Fix case value.
88078         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
88079         unsigned long long int to avoid warnings in shift.
88081         * posix/regex_internal.c (re_string_reconstruct): Actually use result
88082         of use of trans.
88083         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
88084         variable tmp.
88086         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
88087         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
88088         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
88090         * nis/nis_table.c (nis_list): Use variable of correct type for
88091         result of __follow_path call.
88093 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
88095         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
88096         of math functions ceil, trunc, floor, round, and sqrt, when
88097         avaliable on the platform.
88098         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
88099         name clash.
88100         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
88101         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
88102         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
88104 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
88106         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
88107         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
88109 2011-11-11  Roland McGrath  <roland@hack.frob.com>
88111         * include/unistd.h: Fix __readlink return type.
88112         Reported by Chris Metcalf <cmetcalf@tilera.com>.
88114 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
88116         * stdlib/ucontext.h: Undo last change for makecontext.
88118 2011-11-11  Andreas Schwab  <schwab@redhat.com>
88120         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
88122         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
88123         * setjmp/setjmp.h: Mark functions as non-leaf.
88124         * setjmp/bits/setjmp2.h: Likewise.
88125         * stdlib/ucontext.h: Likewise.
88127 2011-11-10  Andreas Schwab  <schwab@redhat.com>
88129         * malloc/arena.c (_int_new_arena): Don't increment narenas.
88130         (reused_arena): Don't check arena limit.
88131         (arena_get2): Atomically check arena limit.
88133 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
88135         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
88136         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
88138         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
88139         instructions.
88141 2011-11-07  Andreas Schwab  <schwab@redhat.com>
88143         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
88144         handler when locking.
88146         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
88147         Fix size of allocated buffer.
88149 2011-11-04  Andreas Schwab  <schwab@redhat.com>
88151         [BZ #10103]
88152         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
88153         declarations for long double functions.
88154         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
88156         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
88158 2011-11-03  Andreas Schwab  <schwab@redhat.com>
88160         * nscd/nscd.c (main): Don't start AVC thread until credentials are
88161         installed.
88163         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
88164         is disabled.
88166 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
88168         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
88170 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
88172         * include/alloca.h (stackinfo_alloca_round): Define.
88173         (extend_alloca): Use it.
88174         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
88175         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
88176         here.
88178         * scripts/check-local-headers.sh: Ignore libaudit.h.
88180         * nscd/Makefile (extra-objs): Make recursively expanded.
88182 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
88184         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
88185         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
88187         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
88188         * posix/tst-rfc3484-2.c: Likewise.
88189         * posix/tst-rfc3484-3.c: Likewise.
88191         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
88192         process_vm_writev.
88193         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
88194         process_vm_writev.
88195         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
88196         process_vm_writev from libc using GLIBC_2.15 version.
88198         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
88200 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
88202         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
88203         stack usage.
88205 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
88207         [BZ #13367]
88208         * nss/getent.c (initgroups_keys): Show error message in case no group
88209         names are given.
88211         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
88212         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
88213         __bump_nl_timestamp.
88214         * nscd/connections (nscd_init): When host database is served open
88215         netlink socket and request notification about configuration changes.
88216         (main_loop_poll): Track netlink file descriptor and bump timestamp
88217         in case data becomes available.
88218         (main_loop_epoll): Likewise.
88219         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
88220         (database_pers_head): Add extra_data fileds.
88221         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
88222         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
88223         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
88224         Adjust caller.
88225         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
88226         in6ai data, call __free_in6ai.
88227         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
88228         Add -DHAVE_NETLINK.
88229         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
88230         interface information.  Reuse previous data if netlink timestamp
88231         is not changed.
88232         (__bump_nl_timestamp): New function.
88233         (__free_in6ai): New function.
88235 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
88237         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
88238         close_not_cancel_no_status here.
88239         (__check_pf): Reorganize code a bit to not call close twice if OOM.
88241 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
88243         [BZ #13276]
88244         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
88245         return value.
88247         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
88248         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
88249         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
88251 2011-07-03  Andreas Jaeger  <aj@suse.de>
88253         [BZ #10709]
88254         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
88255         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
88256         * math/libm-test.inc (sin_test): Add test case.
88258 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
88260         [BZ #13337]
88261         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
88262         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
88264         * elf/chroot_canon.c (chroot_canon): Cleanups.
88266         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
88268         [BZ #13335]
88269         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
88270         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
88272         * string/test-strchr.c: Make usable for strchrnul testing.
88273         * string/test-strchrnul.c: New file.
88274         * string/Makefile (strop-tests): Add strchrnul.
88276         * po/it.po: Update from translation team.
88277         * po/es.po: Likewise.
88279 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
88281         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
88282         the three constants needed as parameters.  Drop the others.
88283         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
88284         __m128i_strloadu_tolower.
88285         Create and initialize variable zero and use it in all the places
88286         where _mm_setzero_si128 was used.
88288         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
88289         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
88290         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
88291         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
88292         anymore.
88293         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
88294         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
88295         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
88296         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
88297         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
88298         __mpranred, __mptan.
88299         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
88300         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
88301         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
88302         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
88303         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
88304         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
88305         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
88306         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
88307         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
88309 2011-10-28  Andreas Schwab  <schwab@redhat.com>
88311         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
88312         redefine if SHARED.
88313         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
88315         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
88316         wide char related routines to wcsmbs subdir.
88318 2011-10-27  Andreas Schwab  <schwab@redhat.com>
88320         [BZ #13344]
88321         * misc/sys/cdefs.h (__THROWNL): Define.
88322         * posix/unistd.h: Use __THREADNL instead of __THREAD
88323         for memory synchronization functions.
88325 2011-10-26  Roland McGrath  <roland@hack.frob.com>
88327         [BZ #13349]
88328         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
88329         doesn't exist.
88330         * manual/stdio.texi (Obstack Streams): Node removed.
88332 2011-10-26  Andreas Schwab  <schwab@redhat.com>
88334         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
88335         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
88336         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
88338         * math/math_private.h (math_force_eval): Allow non-addressable
88339         arguments.
88340         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
88342 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
88344         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
88345         file is not needed.
88347         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
88348         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
88349         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
88350         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
88351         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
88352         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
88353         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
88354         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
88355         Add AVX variants.
88356         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
88357         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
88358         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
88359         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
88360         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
88361         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
88362         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
88363         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
88364         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
88365         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
88366         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
88367         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
88368         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
88369         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
88370         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
88371         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
88372         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
88373         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
88374         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
88376         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
88377         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
88379         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
88380         place.  Use VEX encoding when compiling for AVX.
88382 2011-10-25  Andreas Schwab  <schwab@redhat.com>
88384         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
88385         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
88387         * string/test-strchr.c (do_test): Don't generate NUL bytes.
88389 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
88391         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
88392         useless if() expression.
88393         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
88394         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
88395         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
88396         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
88397         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
88398         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
88399         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
88400         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
88401         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
88402         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
88403         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
88404         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
88405         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
88406         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
88407         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
88408         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
88409         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
88410         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
88411         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
88413         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
88415 2011-10-25  Andreas Schwab  <schwab@redhat.com>
88417         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
88418         condition.
88419         * elf/dl-fini.c (_dl_sort_fini): Likewise.
88421 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
88423         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
88424         .text section.  Avoid duplicate constants.
88425         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
88426         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
88427         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
88428         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
88429         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
88430         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
88431         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
88432         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
88433         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
88434         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
88435         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
88436         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
88437         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
88438         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
88439         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
88440         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
88441         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
88442         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
88443         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
88444         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
88445         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
88446         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
88447         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
88448         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
88449         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
88450         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
88451         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
88452         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
88453         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
88454         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
88455         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
88456         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
88457         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
88458         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
88459         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
88460         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
88461         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
88462         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
88463         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
88464         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
88465         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
88466         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
88467         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
88468         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
88469         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
88471 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
88473         * sysdeps/x86_64/dla.h: Move to ...
88474         * sysdeps/x86_64/fpu/dla.h: ...here.
88475         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
88476         situations.  Use __builtin_fma only for gcc 4.6 and up.
88478         * config.make.in: Add have-mfma4 entry.
88479         * configure.in: Substitute libc_cv_cc_fma4.
88480         * math/Makefile (dbl-only-routines): Add sincostab.
88481         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
88482         Use __sincostab not sincos.
88483         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
88484         name is a macro.
88485         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
88486         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
88487         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
88488         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
88489         using __copysign.
88490         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
88491         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
88492         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
88493         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
88494         and __inv.
88495         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
88496         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
88497         __copysign.
88498         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
88499         define aliases when function name is a macro.
88500         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
88501         sysdeps/ieee754/dbl-64/sincos.tbl.
88502         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
88503         fma4-enabled routines.
88504         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
88505         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
88506         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
88507         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
88508         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
88509         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
88510         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
88511         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
88512         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
88513         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
88514         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
88515         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
88516         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
88517         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
88518         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
88519         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
88520         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
88521         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
88522         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
88523         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
88524         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
88525         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
88526         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
88527         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
88528         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
88529         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
88530         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
88531         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
88532         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
88533         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
88535         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
88536         rename.
88537         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
88538         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
88539         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
88540         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
88541         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
88542         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
88543         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
88544         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
88546 2011-10-24  Andreas Schwab  <schwab@redhat.com>
88548         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
88550 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
88552         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
88554         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
88555         prediction.
88556         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
88558         * string/strnlen.c: Don't define STRNLEN, reverse logic.
88559         Remove unused variable magic_bits.
88560         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
88562         * string/strnlen.c: Define and use STRNLEN macro.
88563         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
88564         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
88565         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
88566         * wcsmbs/wcslen.c: Define and use WCSLEN.
88567         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
88568         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
88569         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
88570         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
88571         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
88572         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
88573         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
88575 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
88577         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
88578         strnlen-sse2-no-bsf.
88579         Rename strlen-no-bsf to strlen-sse2-no-bsf.
88580         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
88581         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
88582         Add strnlen support.
88583         (USE_AS_STRNLEN): New macro.
88584         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
88585         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
88586         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
88587         * sysdeps/x86_64/wcslen.S: New file.
88589 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
88591         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
88592         XMM-moves are used for copying on small sizes.
88594 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
88596         * wcsmbs/Makefile (strop-tests): Add wcschr.
88597         * wcsmbs/test-wcschr.c: New file.
88598         * string/test-strchr.c: Update.
88599         Add wcschr support.
88600         (WIDE): New macro.
88602 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
88604         * wcsmbs/Makefile (strop-tests): Add wcslen.
88605         * wcsmbs/test-wcslen.c: New file.
88606         * string/test-strlen.c: Update.
88607         Add wcslen support.
88608         (WIDE): New macro.
88610 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
88612         * po/it.po: Update from translation team.
88614 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
88616         * sysdeps/x86_64/wcscmp.S: Update.
88617         Fix wrong comparison semantics.
88618         wcscmp shall use signed comparison not unsigned.
88619         Don't use substraction to avoid overflow bug.
88620         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
88621         * wcsmbc/wcscmp.c: Likewise.
88622         * string/test-strcmp.c: Likewise.
88623         Add new tests to check cases with negative values.
88625 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
88627         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
88628         * sysdeps/x86_64/dla.h: ...here.  New file.
88629         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
88630         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
88631         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
88632         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
88633         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
88634         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
88635         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
88636         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
88637         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
88639 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
88641         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
88642         __ynl_finite aliases.
88644 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
88646         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
88648         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
88649         define DLA_FMA.
88650         [DLA_FMA] (EMULV): Use DLA_FMA.
88651         [DLA_FMA] (MUL12): Use EMULV.
88652         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
88653         that are not needed.
88654         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
88655         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
88656         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
88657         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
88658         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
88659         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
88660         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
88662 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
88664         * math/s_nan.c: Undef __nan.
88665         * math/s_nanf.c: Undef __nanf.
88666         * math/s_nanl.c: Undef __nanl.
88667         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
88668         "math_private.h".
88670 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
88672         * math/s_catan.c: Add branch predictions.
88673         * math/s_catanf.c: Likewise.
88674         * math/s_catanh.c: Likewise.
88675         * math/s_catanhf.c: Likewise.
88676         * math/s_catanhl.c: Likewise.
88677         * math/s_catanl.c: Likewise.
88678         * math/s_cexp.c: Likewise.
88679         * math/s_cexpf.c: Likewise.
88680         * math/s_cexpl.c: Likewise.
88681         * math/s_clog.c: Likewise.
88682         * math/s_clog10.c: Likewise.
88683         * math/s_clog10f.c: Likewise.
88684         * math/s_clog10l.c: Likewise.
88685         * math/s_clogf.c: Likewise.
88686         * math/s_clogl.c: Likewise.
88687         * math/s_csqrt.c: Likewise.
88688         * math/s_csqrtf.c: Likewise.
88689         * math/s_csqrtl.c: Likewise.
88690         * math/s_ctanf.c: Likewise.
88691         * math/s_ctanh.c: Likewise.
88692         * math/s_ctanhf.c: Likewise.
88693         * math/s_ctanhl.c: Likewise.
88694         * math/s_ctanl.c: Likewise.
88696         * math/math_private.h: Define __nan, __nanf, __nanl.
88697         * math/s_cacosh.c: Include <math_private.h>.
88698         * math/s_cacoshl.c: Likewise.
88699         * math/s_casinh.c: Likewise.
88700         * math/s_casinhf.c: Likewise.
88701         * math/s_casinhl.c: Likewise.
88702         * math/s_ccos.c: Rely entire on ccosh.
88703         * math/s_ccosf.c: Rely entire on ccoshf.
88704         * math/s_ccosl.c: Rely entirely on ccoshl.
88705         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
88706         Remove tests for FE_INVALID.
88707         * math/s_ccoshf.c: Likewise.
88708         * math/s_ccoshl.c: Likewise.
88709         * math/s_csin.c: Likewise.
88710         * math/s_csinf.c: Likewise.
88711         * math/s_csinh.c Likewise.
88712         * math/s_csinhf.c: Likewise.
88713         * math/s_csinhl.c: Likewise.
88714         * math/s_csinl.c: Likewise.
88715         * math/s_ctan.c: Likewise.
88716         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
88717         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
88718         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
88720 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
88722         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
88723         compilation problems.
88725         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
88726         __builtin_expect.
88728 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
88730         * sysdeps/i386/configure.in: Test for -mfma4 option.
88731         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
88732         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
88733         COMMON_CPUID_INDEX_80000001.
88734         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
88735         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
88736         use it if FMA3 is not supported.
88737         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
88739         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
88740         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
88742 2011-10-20  Andreas Schwab  <schwab@redhat.com>
88744         [BZ #12892]
88745         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
88746         it would create a cycle with a link time dependency.
88748 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
88750         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
88751         instruction.
88752         * string/Makefile (strop-tests): Add rawmemchr.
88753         * string/test-rawmemchr.c: New file.
88755         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
88756         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
88757         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
88758         when compiling str{,n}casecmp and when AVX is available.  Hook up
88759         new optimized code in initializers.
88761 2011-10-19  Andreas Schwab  <schwab@redhat.com>
88763         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
88764         __feraiseexcept instead of feraiseexcept.
88766 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
88768         * math/math_private.h: Define defaults for libc_fetestexcept and
88769         libc_feupdateenv.
88770         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
88771         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
88772         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
88773         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
88774         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
88775         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
88776         libc_fetestexcept and libc_feupdateenv.
88778         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
88779         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
88780         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
88781         * sysdeps/x86_64/fpu/math_private.h: Define special version of
88782         libc_feholdexcept_setround.
88784         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
88785         Add s_nearbyint-c and s_nearbyintf-c.
88786         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
88787         nearbyintf inlines.
88788         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
88789         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
88790         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
88791         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
88793         * math/math_private.h: Define defaults for libc_fegetround,
88794         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
88795         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
88796         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
88797         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
88798         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
88799         standard functions.
88800         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
88801         Remove comments and hacks for old compiler versions.
88802         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
88803         libc_fegetround, libc_fesetround, libc_feholdexcept, and
88804         libc_feholdexceptl.
88806 2011-10-18  Andreas Schwab  <schwab@redhat.com>
88808         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
88809         (__feraiseexcept_renamed): Add __NTH.
88810         (feraiseexcept): Add __NTH.  Rename local variables to fix
88811         namespace violations.
88813 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
88815         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
88817         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
88819         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
88820         recently added interfaces.
88821         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
88823         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
88824         about macro parameter expansion.
88826         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
88827         __NO_MATH_INLINES is defined.  Cleanups.
88829         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
88830         and __floorf is target has SSE4.1.
88831         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
88832         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
88833         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
88834         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
88836         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
88837         name.
88838         (floorf): Likewise.
88840         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
88842 2011-10-17  Andreas Schwab  <schwab@redhat.com>
88844         * misc/sys/cdefs.h: Fix last change.
88846         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
88847         database lookup.
88849 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
88851         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
88853         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
88854         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
88855         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
88856         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
88857         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
88858         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
88859         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
88860         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
88861         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
88862         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
88863         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
88864         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
88865         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
88866         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
88867         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
88868         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
88869         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
88870         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
88871         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
88872         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
88873         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
88874         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
88876         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
88877         ceil, ceilf, floor, floorf.
88879         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
88880         Perform IRELATIVE relocations last.
88882         * elf/do-rel.h: Add another parameter nrelative, replacing the
88883         local variable with the same name.  Change name of the function
88884         to end in Rel or Rela (uppercase).
88885         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
88886         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
88887         elf_dynamic_do_##reloc function.
88889 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
88891         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
88892         is sufficient, at least on modern CPUs.
88894         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
88896         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
88897         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
88899         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
88900         __expl_finite.
88901         * math/bits/math-finite.h: Add entries for exp.
88902         * math/e_expl.c: Add __*_finite alias.
88903         * sysdeps/i386/fpu/e_exp.S: Likewise.
88904         * sysdeps/i386/fpu/e_expf.S: Likewise.
88905         * sysdeps/i386/fpu/e_expl.c: Likewise.
88906         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
88907         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
88908         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
88909         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
88910         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
88911         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
88912         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
88914         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
88915         is sufficient, at least on modern CPUs.
88917         * ctype/ctype-info.c (__ctype_init): Define.
88918         * include/ctype.h (__ctype_init): Declare.
88919         (__ctype_b_loc): The variable is always initialized.
88920         (__ctype_toupper_loc): Likewise.
88921         (__ctype_tolower_loc): Likewise.
88922         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
88923         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
88925 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
88927         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
88929         * configure.in: Also look in $cxxmachine/include for C++ system
88930         headers.
88932 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
88934         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
88935         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
88936         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
88937         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
88938         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
88939         (USE_AS_WMEMCMP): New macro.
88940         Fixing indents.
88941         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
88942         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
88943         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
88944         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
88945         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
88946         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
88947         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
88948         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
88949         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
88950         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
88951         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
88952         (USE_AS_WMEMCMP): New macro.
88953         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
88954         * sysdeps/string/test-memcmp.c: Update.
88955         Fix simple_wmemcmp.
88956         Add new tests.
88957         * wcsmbs/wmemcmp.c: Update.
88958         (WMEMCMP): New macro.
88959         Fix overflow bug.
88961 2011-10-12  Andreas Jaeger  <aj@suse.de>
88963         [BZ #13268]
88964         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
88966 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
88968         * libio/iofwide.c (do_length): Avoid warning.
88970         * ctype/ctype.h (__isctype_f): Add missing __THROW.
88972 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
88974         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
88976         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
88977         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
88978         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
88979         * sysdeps/i386/i686/fpu/e_log.S: New file.
88980         * sysdeps/i386/i686/fpu/e_logf.S: New file.
88981         * sysdeps/i386/i686/fpu/e_logl.S: New file.
88983         * ctype/ctype.h: Add support for inlined isXXX functions when
88984         compiling C++ code.
88986 2011-10-14  Andreas Schwab  <schwab@redhat.com>
88988         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
88990         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
88992 2011-10-13  Roland McGrath  <roland@hack.frob.com>
88994         [BZ #13291]
88995         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
88997 2011-10-13  Andreas Schwab  <schwab@redhat.com>
88999         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
89000         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
89001         feraiseexcept.
89003         * sysdeps/x86_64/memrchr.S: Check for zero size.
89005         * string/stratcliff.c: Add memrchr tests.
89007 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
89009         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
89010         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
89011         rawmemchr-sse2 rawmemchr-sse2-bsf.
89012         * sysdeps/i386/i686/multiarch/memchr.S: New file.
89013         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
89014         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
89015         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
89016         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
89017         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
89018         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
89019         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
89020         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
89021         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
89022         * string/memrchr.c (MEMRCHR): New macro.
89024 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
89026         Add integration with gcc's -ffinite-math-only and optimize wrapper
89027         functions in libm.
89028         * Versions.def: Define GLIBC_2.15 version for libm.
89029         * math/Makefile (headers): Add bits/math-finite.h.
89030         * math/bits/math-finite.h: New file.
89031         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
89032         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
89033         * math/e_acoshl.c: Add __*_finite alias.
89034         * math/e_acosl.c: Likewise.
89035         * math/e_asinl.c: Likewise.
89036         * math/e_atan2l.c: Likewise.
89037         * math/e_atanhl.c: Likewise.
89038         * math/e_coshl.c: Likewise.
89039         * math/e_exp10.c: Likewise.
89040         * math/e_exp10f.c: Likewise.
89041         * math/e_exp10l.c: Likewise.
89042         * math/e_exp2l.c: Likewise.
89043         * math/e_fmodl.c: Likewise.
89044         * math/e_gammal_r.c: Likewise.
89045         * math/e_hypotl.c: Likewise.
89046         * math/e_j0l.c: Likewise.
89047         * math/e_j1l.c: Likewise.
89048         * math/e_jnl.c: Likewise.
89049         * math/e_lgammal_r.c: Likewise.
89050         * math/e_log10l.c: Likewise.
89051         * math/e_log2l.c: Likewise.
89052         * math/e_logl.c: Likewise.
89053         * math/e_powl.c: Likewise.
89054         * math/e_sinhl.c: Likewise.
89055         * math/e_sqrtl.c: Likewise.
89056         * math/e_scalb.c: Completely rewritten and optimized.
89057         * math/e_scalbf.c: Likewise.
89058         * math/e_scalbl.c: Likewise.
89059         * math/w_acos.c: Likewise.
89060         * math/w_acosf.c: Likewise.
89061         * math/w_acosl.c: Likewise.
89062         * math/w_acosh.c: Likewise.
89063         * math/w_acoshf.c: Likewise.
89064         * math/w_acoshl.c: Likewise.
89065         * math/w_asin.c: Likewise.
89066         * math/w_asinf.c: Likewise.
89067         * math/w_asinl.c: Likewise.
89068         * math/w_atan2.c: Likewise.
89069         * math/w_atan2f.c: Likewise.
89070         * math/w_atan2l.c: Likewise.
89071         * math/w_atanh.c: Likewise.
89072         * math/w_atanhf.c: Likewise.
89073         * math/w_atanhl.c: Likewise.
89074         * math/w_exp10.c: Likewise.
89075         * math/w_exp10f.c: Likewise.
89076         * math/w_exp10l.c: Likewise.
89077         * math/w_fmod.c: Likewise.
89078         * math/w_fmodf.c: Likewise.
89079         * math/w_fmodl.c: Likewise.
89080         * math/w_j0.c: Likewise.
89081         * math/w_j0f.c: Likewise.
89082         * math/w_j0l.c: Likewise.
89083         * math/w_j1.c: Likewise.
89084         * math/w_j1f.c: Likewise.
89085         * math/w_j1l.c: Likewise.
89086         * math/w_jn.c: Likewise.
89087         * math/w_jnf.c: Likewise.
89088         * math/w_log.c: Likewise.
89089         * math/w_logf.c: Likewise.
89090         * math/w_logl.c: Likewise.
89091         * math/w_log10.c: Likewise.
89092         * math/w_log10f.c: Likewise.
89093         * math/w_log10l.c: Likewise.
89094         * math/w_log2.c: Likewise.
89095         * math/w_log2f.c: Likewise.
89096         * math/w_log2l.c: Likewise.
89097         * math/w_pow.c: Likewise.
89098         * math/w_powf.c: Likewise.
89099         * math/w_powl.c: Likewise.
89100         * math/w_remainder.c: Likewise.
89101         * math/w_remainderf.c: Likewise.
89102         * math/w_remainderl.c: Likewise.
89103         * math/w_scalb.c: Likewise.
89104         * math/w_scalbf.c: Likewise.
89105         * math/w_scalbl.c: Likewise.
89106         * math/w_sqrt.c: Likewise.
89107         * math/w_sqrtf.c: Likewise.
89108         * math/w_sqrtl.c: Likewise.
89109         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
89110         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
89111         used.
89112         * math/math_private.h: Declare __kernel_standard_f.
89113         * math/w_cosh.c: Remove cruft and optimize a bit.
89114         * math/w_coshf.c: Likewise.
89115         * math/w_coshl.c: Likewise.
89116         * math/w_exp2.c: Likewise.
89117         * math/w_exp2f.c: Likewise.
89118         * math/w_exp2l.c: Likewise.
89119         * math/w_hypot.c: Likewise.
89120         * math/w_hypotf.c: Likewise.
89121         * math/w_hypotl.c: Likewise.
89122         * math/w_lgamma.c: Likewise.
89123         * math/w_lgamma_r.c: Likewise.
89124         * math/w_lgammaf.c: Likewise.
89125         * math/w_lgammaf_r.c: Likewise.
89126         * math/w_lgammal.c: Likewise.
89127         * math/w_lgammal_r.c: Likewise.
89128         * math/w_sinh.c: Likewise.
89129         * math/w_sinhf.c: Likewise.
89130         * math/w_sinhl.c: Likewise.
89131         * math/w_tgamma.c: Likewise.
89132         * math/w_tgammaf.c: Likewise.
89133         * math/w_tgammal.c: Likewise.
89134         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
89135         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
89136         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
89137         Minor optimizations.  Pretty printing.  Remove cruft.
89138         * sysdeps/i386/fpu/e_acosf.S: Likewise.
89139         * sysdeps/i386/fpu/e_acosh.S: Likewise.
89140         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
89141         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
89142         * sysdeps/i386/fpu/e_acosl.c: Likewise.
89143         * sysdeps/i386/fpu/e_asin.S: Likewise.
89144         * sysdeps/i386/fpu/e_asinf.S: Likewise.
89145         * sysdeps/i386/fpu/e_atan2.S: Likewise.
89146         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
89147         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
89148         * sysdeps/i386/fpu/e_atanh.S: Likewise.
89149         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
89150         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
89151         * sysdeps/i386/fpu/e_exp10.S: Likewise.
89152         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
89153         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
89154         * sysdeps/i386/fpu/e_exp2.S: Likewise.
89155         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
89156         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
89157         * sysdeps/i386/fpu/e_fmod.S: Likewise.
89158         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
89159         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
89160         * sysdeps/i386/fpu/e_hypot.S: Likewise.
89161         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
89162         * sysdeps/i386/fpu/e_log.S: Likewise.
89163         * sysdeps/i386/fpu/e_log10.S: Likewise.
89164         * sysdeps/i386/fpu/e_log10f.S: Likewise.
89165         * sysdeps/i386/fpu/e_log10l.S: Likewise.
89166         * sysdeps/i386/fpu/e_log2.S: Likewise.
89167         * sysdeps/i386/fpu/e_log2f.S: Likewise.
89168         * sysdeps/i386/fpu/e_log2l.S: Likewise.
89169         * sysdeps/i386/fpu/e_logf.S: Likewise.
89170         * sysdeps/i386/fpu/e_logl.S: Likewise.
89171         * sysdeps/i386/fpu/e_pow.S: Likewise.
89172         * sysdeps/i386/fpu/e_powf.S: Likewise.
89173         * sysdeps/i386/fpu/e_powl.S: Likewise.
89174         * sysdeps/i386/fpu/e_remainder.S: Likewise.
89175         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
89176         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
89177         * sysdeps/i386/fpu/e_scalb.S: Likewise.
89178         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
89179         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
89180         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
89181         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
89182         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
89183         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
89184         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
89185         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
89186         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
89187         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
89188         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
89189         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
89190         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
89191         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
89192         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
89193         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
89194         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
89195         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
89196         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
89197         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
89198         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
89199         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
89200         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
89201         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
89202         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
89203         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
89204         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
89205         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
89206         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
89207         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
89208         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
89209         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
89210         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
89211         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
89212         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
89213         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
89214         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
89215         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
89216         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
89217         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
89218         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
89219         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
89220         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
89221         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
89222         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
89223         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
89224         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
89225         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
89226         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
89227         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
89228         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
89229         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
89230         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
89231         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
89232         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
89233         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
89234         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
89235         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
89236         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
89237         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
89238         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
89239         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
89240         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
89241         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
89242         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
89243         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
89244         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
89245         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
89246         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
89247         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
89248         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
89249         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
89250         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
89251         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
89252         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
89253         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
89254         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
89255         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
89256         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
89257         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
89258         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
89259         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
89260         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
89261         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
89262         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
89263         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
89264         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
89265         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
89266         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
89267         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
89268         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
89269         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
89270         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
89271         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
89272         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
89273         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
89274         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
89275         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
89276         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
89277         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
89278         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
89279         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
89280         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
89281         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
89282         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
89283         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
89284         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
89285         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
89286         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
89287         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
89288         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
89289         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
89290         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
89291         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
89292         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
89293         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
89294         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
89295         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
89296         (__isnanf): Likewise.
89297         (__isinf_ns): Likewise.
89298         (__isinf_nsf): Likewise.
89299         (__finite): Likewise.
89300         (__finitef): Likewise.
89301         (__ieee754_sqrt): Define as macro.
89302         (__ieee754_sqrtf): Define as macro.
89303         (__ieee754_sqrtl): Define as macro.
89304         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
89305         inlined copy.
89306         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
89307         __FINITE_MATH_ONLY__ consistent.
89308         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
89310 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
89312         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
89313         of rawmemchr.
89315         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
89317 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
89319         * po/ja.po: Update from translation team.
89321 2011-10-08  Roland McGrath  <roland@hack.frob.com>
89323         * locale/programs/locarchive.c (prepare_address_space): New function.
89324         (create_archive, enlarge_archive, open_archive): Use it.
89326         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
89327         inside [SHARED], where it is used.
89329         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
89331         * nss/getent.c (netgroup_keys): Remove unused variable.
89332         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
89334 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
89336         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
89337         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
89338         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
89339         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
89340         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
89341         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
89342         * math/Makefile (libm-calls): Add s_isinf_ns.
89343         * math/divtc3.c: Use __isinf_nsl instead of isinf.
89344         * math/multc3.c: Likewise.
89345         * math/s_casin.c: Likewise.
89346         * math/s_casinf.c: Likewise.
89347         * math/s_casinl.c: Likewise.
89348         * math/s_ccos.c: Likewise.
89349         * math/s_ccosf.c: Likewise.
89350         * math/s_ccosl.c: Likewise.
89351         * math/s_ctan.c: Likewise.
89352         * math/s_ctanf.c: Likewise.
89353         * math/s_ctanh.c: Likewise.
89354         * math/s_ctanhf.c: Likewise.
89355         * math/s_ctanhl.c: Likewise.
89356         * math/s_ctanl.c: Likewise.
89357         * math/w_fmod.c: Likewise.
89358         * math/w_fmodf.c: Likewise.
89359         * math/w_fmodl.c: Likewise.
89360         * math/w_remainder.c: Likewise.
89361         * math/w_remainderf.c: Likewise.
89362         * math/w_remainderl.c: Likewise.
89363         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
89364         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
89365         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
89366         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
89367         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
89368         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
89369         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
89370         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
89372         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
89373         of the number.
89374         * stdio-common/printf_fphex.c: Likewise.
89375         * stdio-common/printf_size.c: Likewise.
89377         * math/e_exp10.c: Include math_private.h using <...> not "...".
89378         * math/e_exp10f.c: Likewise.
89379         * math/e_exp10l.c: Likewise.
89380         * math/e_exp2l.c: Likewise.
89381         * math/e_j0l.c: Likewise.
89382         * math/e_j1l.c: Likewise.
89383         * math/e_jnl.c: Likewise.
89384         * math/e_lgammal_r.c: Likewise.
89385         * math/e_rem_pio2l.c: Likewise.
89386         * math/e_scalb.c: Likewise.
89387         * math/e_scalbf.c: Likewise.
89388         * math/e_scalbl.c: Likewise.
89389         * math/k_cosl.c: Likewise.
89390         * math/k_sinl.c: Likewise.
89391         * math/k_tanl.c: Likewise.
89392         * math/s_cacoshf.c: Likewise.
89393         * math/s_catan.c: Likewise.
89394         * math/s_catanf.c: Likewise.
89395         * math/s_catanh.c: Likewise.
89396         * math/s_catanhf.c: Likewise.
89397         * math/s_catanhl.c: Likewise.
89398         * math/s_catanl.c: Likewise.
89399         * math/s_ccosh.c: Likewise.
89400         * math/s_ccoshf.c: Likewise.
89401         * math/s_ccoshl.c: Likewise.
89402         * math/s_cexp.c: Likewise.
89403         * math/s_cexpf.c: Likewise.
89404         * math/s_cexpl.c: Likewise.
89405         * math/s_clog.c: Likewise.
89406         * math/s_clog10.c: Likewise.
89407         * math/s_clog10f.c: Likewise.
89408         * math/s_clog10l.c: Likewise.
89409         * math/s_clogf.c: Likewise.
89410         * math/s_clogl.c: Likewise.
89411         * math/s_csin.c: Likewise.
89412         * math/s_csinf.c: Likewise.
89413         * math/s_csinh.c: Likewise.
89414         * math/s_csinhf.c: Likewise.
89415         * math/s_csinhl.c: Likewise.
89416         * math/s_csinl.c: Likewise.
89417         * math/s_csqrt.c: Likewise.
89418         * math/s_csqrtf.c: Likewise.
89419         * math/s_csqrtl.c: Likewise.
89420         * math/s_ctan.c: Likewise.
89421         * math/s_ctanf.c: Likewise.
89422         * math/s_ctanh.c: Likewise.
89423         * math/s_ctanhf.c: Likewise.
89424         * math/s_ctanhl.c: Likewise.
89425         * math/s_ctanl.c: Likewise.
89426         * math/s_ldexp.c: Likewise.
89427         * math/s_ldexpf.c: Likewise.
89428         * math/s_ldexpl.c: Likewise.
89429         * math/s_significand.c: Likewise.
89430         * math/s_significandf.c: Likewise.
89431         * math/s_significandl.c: Likewise.
89432         * math/w_acos.c: Likewise.
89433         * math/w_acosf.c: Likewise.
89434         * math/w_acosh.c: Likewise.
89435         * math/w_acoshf.c: Likewise.
89436         * math/w_acoshl.c: Likewise.
89437         * math/w_acosl.c: Likewise.
89438         * math/w_asin.c: Likewise.
89439         * math/w_asinf.c: Likewise.
89440         * math/w_asinl.c: Likewise.
89441         * math/w_atan2.c: Likewise.
89442         * math/w_atan2f.c: Likewise.
89443         * math/w_atan2l.c: Likewise.
89444         * math/w_atanh.c: Likewise.
89445         * math/w_atanhf.c: Likewise.
89446         * math/w_atanhl.c: Likewise.
89447         * math/w_cosh.c: Likewise.
89448         * math/w_coshf.c: Likewise.
89449         * math/w_coshl.c: Likewise.
89450         * math/w_dremf.c: Likewise.
89451         * math/w_exp10.c: Likewise.
89452         * math/w_exp10f.c: Likewise.
89453         * math/w_exp10l.c: Likewise.
89454         * math/w_exp2.c: Likewise.
89455         * math/w_exp2f.c: Likewise.
89456         * math/w_fmod.c: Likewise.
89457         * math/w_fmodf.c: Likewise.
89458         * math/w_fmodl.c: Likewise.
89459         * math/w_hypot.c: Likewise.
89460         * math/w_hypotf.c: Likewise.
89461         * math/w_hypotl.c: Likewise.
89462         * math/w_j0.c: Likewise.
89463         * math/w_j0f.c: Likewise.
89464         * math/w_j0l.c: Likewise.
89465         * math/w_j1.c: Likewise.
89466         * math/w_j1f.c: Likewise.
89467         * math/w_j1l.c: Likewise.
89468         * math/w_jn.c: Likewise.
89469         * math/w_jnf.c: Likewise.
89470         * math/w_jnl.c: Likewise.
89471         * math/w_lgamma.c: Likewise.
89472         * math/w_lgamma_r.c: Likewise.
89473         * math/w_lgammaf.c: Likewise.
89474         * math/w_lgammaf_r.c: Likewise.
89475         * math/w_lgammal.c: Likewise.
89476         * math/w_lgammal_r.c: Likewise.
89477         * math/w_log.c: Likewise.
89478         * math/w_log10.c: Likewise.
89479         * math/w_log10f.c: Likewise.
89480         * math/w_log10l.c: Likewise.
89481         * math/w_log2.c: Likewise.
89482         * math/w_log2f.c: Likewise.
89483         * math/w_log2l.c: Likewise.
89484         * math/w_logf.c: Likewise.
89485         * math/w_logl.c: Likewise.
89486         * math/w_pow.c: Likewise.
89487         * math/w_powf.c: Likewise.
89488         * math/w_powl.c: Likewise.
89489         * math/w_remainder.c: Likewise.
89490         * math/w_remainderf.c: Likewise.
89491         * math/w_remainderl.c: Likewise.
89492         * math/w_scalb.c: Likewise.
89493         * math/w_scalbf.c: Likewise.
89494         * math/w_scalbl.c: Likewise.
89495         * math/w_sinh.c: Likewise.
89496         * math/w_sinhf.c: Likewise.
89497         * math/w_sinhl.c: Likewise.
89498         * math/w_sqrt.c: Likewise.
89499         * math/w_sqrtf.c: Likewise.
89500         * math/w_sqrtl.c: Likewise.
89501         * math/w_tgamma.c: Likewise.
89502         * math/w_tgammaf.c: Likewise.
89503         * math/w_tgammal.c: Likewise.
89505         * po/ja.po: Update from translation team.
89507 2011-09-29  Andreas Jaeger  <aj@suse.de>
89509         [BZ #13179]
89510         * sunrpc/netname.c (netname2host): Fix logic.
89512         [BZ #6779]
89513         [BZ #6783]
89514         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
89515         correctly.
89516         * math/w_remainder.c (__remainder): Likewise.
89517         * math/w_remainderf.c (__remainderf): Likewise.
89518         * math/libm-test.inc (remainder_test): Add test cases.
89520 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
89522         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
89523         sdiv_qrnnd.
89525 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
89527         * string/test-memcmp.c: Avoid unncessary #defines.
89528         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
89530 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
89532         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
89533         Use new sse2 version for core i3 - i7 as it's faster
89534         than sse42 version.
89535         (bit_Prefer_PMINUB_for_stringop): New.
89536         * sysdeps/x86_64/rawmemchr.S: Update.
89537         Replace with faster SSE2 version.
89538         * sysdeps/x86_64/memrchr.S: New file.
89539         * sysdeps/x86_64/memchr.S: Update.
89540         Replace with faster SSE2 version.
89542 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
89544         * elf/dl-load.c (lose): Add cast to avoid warning.
89546 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
89548         * po/ca.po: Update from translation team.
89550         * inet/getnetgrent_r.c: Hook up nscd.
89551         * nscd/Makefile (routines): Add nscd_netgroup.
89552         (nscd-modules): Add netgroupcache.
89553         (CFLAGS-netgroupcache.c): Define.
89554         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
89555         (cache_search): Add const to second parameter.
89556         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
89557         INNETGR.
89558         (dbs): Add netgrdb entry.
89559         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
89560         (verify_persistent_db): Handle netgrdb.
89561         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
89562         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
89563         GETFDNETGR.
89564         (netgroup_response_header): Define.
89565         (innetgroup_response_header): Define.
89566         (datahead): Add netgroup_response_header and innetgroup_response_header
89567         elements.
89568         * nscd/nscd.conf: Add entries for netgroup cache.
89569         * nscd/nscd.h (dbtype): Add netgrdb.
89570         (_PATH_NSCD_NETGROUP_DB): Define.
89571         (netgroup_iov_disabled): Declare.
89572         (xmalloc, xcalloc, xrealloc): Move declarations here.
89573         (cache_search): Adjust prototype.
89574         Add netgroup-related prototypes.
89575         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
89576         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
89577         (__nscd_innetgr): Declare.
89578         * nscd/selinux.c (perms): Use access_vector_t as element type and
89579         add netgroup-related initializers.
89580         * nscd/netgroupcache.c: New file.
89581         * nscd/nscd_netgroup.c: New file.
89582         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
89583         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
89584         For four parameters use innetgr.
89585         * nss/nss_files/files-init.c: Add definition and callback for netgr.
89586         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
89587         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
89588         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
89590         * nscd/connections.c (register_traced_file): Don't register file
89591         for disabled databases.
89593 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
89595         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
89597         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
89598         from tree and freeing node.
89600 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
89602         * nss/nsswitch.c (__nss_database_lookup): Handle
89603         nss_parse_service_list out of memory case.
89605 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
89607         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
89608         out of memory case.
89610 2011-10-04  Andreas Schwab  <schwab@redhat.com>
89612         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
89613         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
89614         pass it down.
89615         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
89616         elf_machine_rela, elf_machine_lazy_rel.
89617         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
89618         (ELF_DYNAMIC_DO_REL): Likewise.
89619         (ELF_DYNAMIC_DO_RELA): Likewise.
89620         (ELF_DYNAMIC_RELOCATE): Likewise.
89621         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
89622         to ELF_DYNAMIC_DO_REL.
89623         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
89624         (dl_main): In trace mode always set __RTLD_NOIFUNC.
89625         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
89626         elf_machine_rela.
89627         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
89628         skip_ifunc, don't call ifunc function if non-zero.
89629         (elf_machine_rela): Likewise.
89630         (elf_machine_lazy_rel): Likewise.
89631         (elf_machine_lazy_rela): Likewise.
89632         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
89633         (elf_machine_lazy_rel): Likewise.
89634         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
89635         Likewise.
89636         (elf_machine_lazy_rel): Likewise.
89637         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
89638         Likewise.
89639         (elf_machine_lazy_rel): Likewise.
89640         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
89641         (elf_machine_lazy_rel): Likewise.
89642         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
89643         (elf_machine_lazy_rel): Likewise.
89644         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
89645         (elf_machine_lazy_rel): Likewise.
89646         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
89647         (elf_machine_lazy_rel): Likewise.
89648         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
89649         (elf_machine_lazy_rel): Likewise.
89650         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
89651         (elf_machine_lazy_rel): Likewise.
89653 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
89655         * nss/nss_files/files-init.c (_nss_files_init): Use static
89656         initialization for all the *_traced_file variables.
89658 2011-09-28  Andreas Schwab  <schwab@redhat.com>
89660         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
89662 2011-09-27  Roland McGrath  <roland@hack.frob.com>
89664         [BZ #13226]
89665         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
89667 2011-09-27  Andreas Schwab  <schwab@redhat.com>
89669         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
89670         Reread the line before reparsing it.
89672 2011-09-26  Andreas Schwab  <schwab@redhat.com>
89674         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
89676 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
89677             Maxim Kuvyrkov  <maxim@codesourcery.com>
89678             Joseph Myers  <joseph@codesourcery.com>
89680         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
89681         if needed for __stack_chk_guard.
89683 2011-09-19  Roland McGrath  <roland@hack.frob.com>
89685         * sysdeps/posix/spawni.c (script_execute): Always define it.
89686         It will be optimized away if unused.
89687         (maybe_script_execute): New function.
89688         (__spawni): Call it.
89690         * Makerules: Don't include tls.make.
89691         (config-tls): Always set to thread.
89692         * tls.make.c: File removed.
89694 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
89696         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
89697         * config.make.in (CPPFLAGS-config): New substituted variable.
89699 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
89701         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
89703         [BZ #13192]
89704         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
89705         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
89707 2011-09-15  Roland McGrath  <roland@hack.frob.com>
89709         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
89710         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
89711         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
89712         (CALL_FAIL): Likewise.
89713         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
89714         (CALL_FAIL): Macro removed.
89715         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
89717 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
89719         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
89720         for __FINITE_MATH_ONLY__ == 1.
89722 2011-09-15  Andreas Schwab  <schwab@redhat.com>
89724         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
89725         __ieee754_sqrt instead of sqrt.
89726         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
89727         __ieee754_sqrtf instead of sqrtf.
89728         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
89729         __floorf instead of floorf.
89730         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
89731         __floorf, __truncf instead of floorf, truncf.
89733 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
89735         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
89737         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
89738         __extern_always_inline.
89739         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
89740         32-bit.
89742 2011-09-14  Andreas Schwab  <schwab@redhat.com>
89744         * elf/rtld.c (dl_main): Also relocate in dependency order when
89745         doing symbol dependency testing.
89747 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
89749         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
89750         Always define `refsym'.
89752 2011-09-13  Andreas Schwab  <schwab@redhat.com>
89754         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
89755         (__FD_ELT): Renamed from __FDELT.
89756         * misc/bits/select2.h (__FD_ELT): Likewise.
89757         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
89758         __FD_MASK instead of __FDELT, __FDMASK.
89759         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
89760         Likewise.
89761         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
89762         Likewise.
89764         * elf/Makefile (gen-ldd): Fix pattern.
89766         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
89767         (init_tls): Likewise.
89769 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
89771         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
89773 2011-09-12  Andreas Schwab  <schwab@redhat.com>
89775         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
89776         `struct cmsghdr *' instead of `void *'.
89777         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
89778         Likewise.
89780 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
89782         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
89783         if non-absolute.
89784         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
89785         ldd_rewrite_script.
89787 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
89789         * configure.in: Remove --with-tls option.
89790         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
89791         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
89792         out in case it is missing.
89793         * sysdeps/ia64/elf/configure.in: Likewise.
89794         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
89795         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
89796         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
89797         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
89798         * sysdeps/sh/elf/configure.in: Likewise.
89799         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
89800         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
89801         * sysdeps/x86_64/elf/configure.in: Likewise.
89802         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
89803         * sysdeps/mach/hurd/tls.h: Likewise.
89805         [BZ #13067]
89806         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
89808         [BZ #13090]
89809         * configure.in: Fix use of AC_INIT.
89811         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
89813 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
89815         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
89816         __set_errno.
89817         * malloc/hooks.c: Likewise.
89819         [BZ #11929]
89820         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
89821         variables statically.
89822         (narenas): Initialize.
89823         (list_lock): Initialize.
89824         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
89825         initializtion of main_arena and list_lock.  Small cleanups.
89826         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
89827         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
89828         Add initializers to main_arena and mp_.
89829         (malloc_state): Remove pagesize member.  Change all users to use
89830         GLRO(dl_pagesize).
89832         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
89833         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
89834         is always initialized.
89836         * malloc/malloc.c: Removed unused configurations and dead code.
89837         * malloc/arena.c: Likewise.
89838         * malloc/hooks.c: Likewise.
89839         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
89841         * include/tls.h: Removed.  USE___THREAD must always be defined.
89842         * bits/libc-tsd.h: Don't handle !USE___THREAD.
89843         * elf/dl-libc.c: Likewise.
89844         * elf/dl-tsd.c: Likewise.
89845         * include/errno.h: Likewise.
89846         * include/netdb.h: Likewise.
89847         * include/resolv.h: Likewise.
89848         * inet/herrno-loc.c: Likewise.
89849         * inet/herrno.c: Likewise.
89850         * malloc/arena.c: Likewise.
89851         * malloc/hooks.c: Likewise.
89852         * malloc/malloc.c: Likewise.
89853         * resolv/res-state.c: Likewise.
89854         * resolv/res_libc.c: Likewise.
89855         * sysdeps/i386/dl-machine.h: Likewise.
89856         * sysdeps/ia64/dl-machine.h: Likewise.
89857         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
89858         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
89859         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
89860         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
89861         * sysdeps/sh/dl-machine.h: Likewise.
89862         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
89863         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
89864         * sysdeps/unix/i386/sysdep.S: Likewise.
89865         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
89866         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
89867         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
89868         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
89869         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
89870         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
89871         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
89872         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
89873         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
89874         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
89875         * sysdeps/unix/x86_64/sysdep.S: Likewise.
89876         * sysdeps/x86_64/dl-machine.h: Likewise.
89877         * tls.make.c: Likewise.
89879         * configure.in: Remove --with-__thread option.  Make tests for
89880         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
89881         tls_model attribute fail if no support is available.  Remove
89882         USE_IN_LIBIO.
89883         * Makeconfig: Adjust for dropped configure option.  All features are
89884         now mandatory.
89885         * Makerules: Likewise.
89886         * Versions.def: Likewise.
89887         * argp/argp-fmtstream.c: Likewise.
89888         * argp/argp-fmtstream.h: Likewise.
89889         * argp/argp-help.c: Likewise.
89890         * assert/assert.c: Likewise.
89891         * config.h.in: Likewise.
89892         * config.make.in: Likewise.
89893         * configure: Likewise.
89894         * configure.in: Likewise.
89895         * csu/Versions: Likewise.
89896         * csu/init.c: Likewise.
89897         * elf/tst-audit2.c: Likewise.
89898         * elf/tst-tls10.c: Likewise.
89899         * elf/tst-tls10.h: Likewise.
89900         * elf/tst-tls11.c: Likewise.
89901         * elf/tst-tls12.c: Likewise.
89902         * elf/tst-tls14.c: Likewise.
89903         * elf/tst-tlsmod11.c: Likewise.
89904         * elf/tst-tlsmod12.c: Likewise.
89905         * elf/tst-tlsmod13.c: Likewise.
89906         * elf/tst-tlsmod13a.c: Likewise.
89907         * elf/tst-tlsmod14a.c: Likewise.
89908         * elf/tst-tlsmod15b.c: Likewise.
89909         * elf/tst-tlsmod16a.c: Likewise.
89910         * elf/tst-tlsmod16b.c: Likewise.
89911         * elf/tst-tlsmod7.c: Likewise.
89912         * elf/tst-tlsmod8.c: Likewise.
89913         * elf/tst-tlsmod9.c: Likewise.
89914         * gmon/gmon.c: Likewise.
89915         * grp/fgetgrent_r.c: Likewise.
89916         * grp/putgrent.c: Likewise.
89917         * hurd/fopenport.c: Likewise.
89918         * include/libc-symbols.h: Likewise.
89919         * include/tls.h: Likewise.
89920         * intl/gettextP.h: Likewise.
89921         * intl/loadinfo.h: Likewise.
89922         * locale/global-locale.c: Likewise.
89923         * locale/localeinfo.h: Likewise.
89924         * mach/devstream.c: Likewise.
89925         * malloc/arena.c: Likewise.
89926         * malloc/set-freeres.c: Likewise.
89927         * misc/err.c: Likewise.
89928         * misc/getttyent.c: Likewise.
89929         * misc/mntent_r.c: Likewise.
89930         * posix/getopt.c: Likewise.
89931         * posix/wordexp.c: Likewise.
89932         * pwd/fgetpwent_r.c: Likewise.
89933         * resolv/Versions: Likewise.
89934         * resolv/res_hconf.c: Likewise.
89935         * shadow/fgetspent_r.c: Likewise.
89936         * shadow/putspent.c: Likewise.
89937         * stdio-common/printf_fphex.c: Likewise.
89938         * stdio-common/tmpfile.c: Likewise.
89939         * stdlib/abort.c: Likewise.
89940         * stdlib/fmtmsg.c: Likewise.
89941         * sunrpc/auth_unix.c: Likewise.
89942         * sunrpc/clnt_perr.c: Likewise.
89943         * sunrpc/clnt_tcp.c: Likewise.
89944         * sunrpc/clnt_udp.c: Likewise.
89945         * sunrpc/clnt_unix.c: Likewise.
89946         * sunrpc/openchild.c: Likewise.
89947         * sunrpc/svc_simple.c: Likewise.
89948         * sunrpc/svc_tcp.c: Likewise.
89949         * sunrpc/svc_udp.c: Likewise.
89950         * sunrpc/svc_unix.c: Likewise.
89951         * sunrpc/xdr.c: Likewise.
89952         * sunrpc/xdr_array.c: Likewise.
89953         * sunrpc/xdr_rec.c: Likewise.
89954         * sunrpc/xdr_ref.c: Likewise.
89955         * sunrpc/xdr_stdio.c: Likewise.
89957 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
89959         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
89961 2011-07-03  Andreas Jaeger  <aj@suse.de>
89963         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
89964         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
89965         regenerate with gen-libm-tests.pl.
89967 2010-05-12  Petr Baudis  <pasky@suse.cz>
89969         [BZ #11589]
89970         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
89971         around j0() zero points by switching to j1().
89972         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
89973         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
89974         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
89975         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
89977 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
89979         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
89980         instead of 0.
89981         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
89982         instead of 0.
89983         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
89984         Patch in part by Pavel Roskin <proski@gnu.org>.
89986         [BZ #13138]
89987         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
89988         realloc.
89989         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
89990         Free memory block if necessary.
89992         [BZ #12847]
89993         * libio/genops.c (INTDEF): For string streams the _lock pointer can
89994         be NULL.  Don't lock in this case.
89996 2011-09-09  Roland McGrath  <roland@hack.frob.com>
89998         * elf/elf.h (ELFOSABI_GNU): New macro.
89999         (ELFOSABI_LINUX): Define to that.
90001 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
90003         * string/strncat.c (strncat): Undef the symbol in case it has been
90004         defined in bits/string.h.
90006 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
90008         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
90010         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
90011         link map.
90013 2011-08-17  Andreas Jaeger  <aj@suse.de>
90015         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
90017 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
90018             Ian Lance Taylor  <iant@google.com>
90020         * math/libm-test.inc (lround_test): New testcase.
90021         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
90023 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
90025         * Makefile: Remove support for automatic cvs check-ins.
90026         * Makerules: Likewise.
90027         * config.make.in: Likewise.
90028         * configure.in: Likewise.
90029         * intl/Makefile: Likewise.
90030         * locale/Makefile: Likewise.
90031         * po/Makefile: Likewise.
90032         * posix/Makefile: Likewise.
90033         * sysdeps/gnu/Makefile: Likewise.
90034         * sysdeps/mach/hurd/Makefile: Likewise.
90035         * sysdeps/sparc/sparc32/Makefile: Likewise.
90037         [BZ #13118]
90038         * posix/Makefile (bug-regex32-ENV): Define.
90039         Patch by John Stanley <jpsinthemix@verizon.net>.
90041         * misc/Makefile (headers): Add bits/select2.h.
90042         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
90043         * misc/bits/select2.h: New file.
90044         * include/bits/select2.h: New file.
90045         * debug/Makefile (routines): Add fdelt_chk.
90046         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
90047         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
90048         FD_ISSET.
90049         * debug/fdelt_chk.c: New file.
90051         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
90052         * wcsmbs/test-wmemcmp.c: Likewise.
90053         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
90054         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
90056 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
90058         * string/Makefile (strop-tests): Add memcmp.
90059         * string/test-wmemcmp.c: New file.
90060         * string/test-memcmp.c: Add wmemcmp support.
90062 2011-09-08  Roland McGrath  <roland@hack.frob.com>
90064         [BZ #13153]
90065         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
90066         2011-07-19 change.
90068         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
90069         garbage value in a __mach_port_mod_refs call in the cases of the
90070         task-self and thread-self ports.
90072 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
90074         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
90076 2011-09-08  Andreas Schwab  <schwab@redhat.com>
90078         * elf/dl-load.c (lose): Check for non-null L.
90080 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
90082         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
90084         * elf/dl-libc.c (dlerror_run): Pass back error code from
90085         dl_catch_error.
90087         [BZ #13123]
90088         * elf/dl-load.c (lose): Free l_origin if it is valid.
90090         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
90091         names.
90092         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
90093         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
90094         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
90095         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
90096         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
90097         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
90099 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
90101         * sysdeps/powerpc/fpu/e_hypot.c: New file.
90102         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
90103         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
90104         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
90105         * sysdeps/powerpc/fpu/k_cosf.c: New file.
90106         * sysdeps/powerpc/fpu/k_sinf.c: New file.
90107         * sysdeps/powerpc/fpu/s_cosf.c: New file.
90108         * sysdeps/powerpc/fpu/s_sinf.c: New file.
90109         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
90110         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
90112 2011-08-15  Alan Modra  <amodra@gmail.com>
90114         [BZ #13092]
90115         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
90116         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
90117         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
90118         ppc_mcount to static-only-routines.
90119         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
90120         __mcount_internal.
90121         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
90122         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
90124 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
90126         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
90127         for finite and infinity parameters.
90129 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
90131         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
90132         and add nop instructions for throughput optimization.
90133         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
90135 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
90137         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
90138         aligned copy for power7 with vector-scalar instructions.
90139         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
90141 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
90143         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
90144         AVX check.
90146 2011-09-07  Andreas Schwab  <schwab@redhat.com>
90148         [BZ #13144]
90149         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
90150         last change.
90152 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
90154         * sysdeps/unix/sysv/linux/x86_64/init-first.c
90155         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
90156         syscall wrapper around clock_gettime in __vdso_clock_gettime.
90157         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
90158         clock_gettime.
90160 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
90162         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
90163         Forgot to demangle the pointer.
90165         * sysdeps/i386/sysdep.h: Define atom_text_section.
90166         * sysdeps/x86_64/sysdep.h: Likewise.
90167         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
90168         section with atom_text_section.
90169         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
90170         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
90171         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
90172         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
90173         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
90175         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
90176         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
90177         already be defined.  Change to take two parameters and don't assign
90178         result to variable.  Adjust all users.
90179         Define INTERNAL_GETTIME if not already defined.
90180         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
90181         call.
90182         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
90183         HAVE_CLOCK_GETTIME_VSYSCALL.
90184         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
90186         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
90187         gettimeofday vsyscall, just use time.
90189 2011-09-06  Andreas Schwab  <schwab@redhat.com>
90191         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
90192         <errno.h>.
90194 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
90196         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
90197         syscall on x86-64.
90198         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
90199         syscall.
90200         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
90201         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
90202         syscall if possible.
90204 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
90206         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
90207         e_ident.  Don't pass to find_mapsXX.
90208         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
90210 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
90212         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
90213         strchr-sse2-no-bsf strrchr-sse2-no-bsf
90214         * sysdeps/x86_64/multiarch/strchr.S: Update.
90215         Check bit_slow_BSF bit.
90216         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
90217         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
90218         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
90220 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
90222         [BZ #13134]
90223         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
90224         before glibc 2.15.
90225         (tryshell): Define.
90226         (__spawni): Change last parameter to be flag.  Test
90227         SPAWN_XFLAGS_USE_PATH flag to use path or not.
90228         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
90229         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
90230         * posix/spawni.c: Likewise.
90231         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
90232         * posix/spawnp.c: Likewise.  Change normal version to use
90233         SPAWN_XFLAGS_USE_PATH.
90234         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
90235         SPAWN_XFLAGS_TRY_SHELL.
90237         [BZ #13150]
90238         * posix/glob.h: Remove gcc 1.x support.
90240         [BZ #13068]
90241         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
90243 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
90245         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
90246         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
90247         strrchr-sse2-bsf
90248         * sysdeps/i386/i686/multiarch/strchr.S: New file.
90249         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
90250         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
90251         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
90252         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
90253         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
90255 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
90257         * sysdeps/x86_64/wcscmp.S: New file.
90259         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
90260         wcscmp-c wcscmp-sse2
90261         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
90262         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
90263         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
90264         * wcsmbs/wcscmp.c: Allow renaming.
90266 2011-09-05  David S. Miller  <davem@davemloft.net>
90268         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
90269         stack slot, rather than the struct return pointer slot.
90270         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
90271         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
90272         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
90273         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
90275 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
90277         * po/ja.po: Update from translation team.
90279         [BZ #13144]
90280         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
90281         kernel in 64-bit binaries.
90283 2011-09-01  David S. Miller  <davem@davemloft.net>
90285         * elf/elf.h (HWCAP_SPARC_*): Move to..
90286         * sysdeps/sparc/sysdep.h: this new file and add new values.
90287         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
90288         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
90289         _DL_HWCAP_COUNT to 24.
90290         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
90291         entries.
90292         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
90293         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
90294         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
90295         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
90296         instead of magic constants.
90297         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
90299 2011-08-31  David S. Miller  <davem@davemloft.net>
90301         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
90302         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
90303         Reimplement to do errno handling inline.
90304         (SYSCALL_ERROR_HANDLER): New macro.
90305         (__SYSCALL_STRING): Do not do errno handling in asm.
90306         (__CLONE_SYSCALL_STRING): Delete.
90307         (__INTERNAL_SYSCALL_STRING): Delete.
90308         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
90309         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
90310         (PSEUDO): Reimplement to do errno handling inline.
90311         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
90312         (SYSCALL_ERROR_HANDLER): New macro.
90313         (__SYSCALL_STRING): Do not do errno handling in asm.
90314         (__CLONE_SYSCALL_STRING): Delete.
90315         (__INTERNAL_SYSCALL_STRING): Delete.
90316         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
90317         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
90318         i386.
90319         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
90320         (inline_syscall*): Add 'err' argument.
90321         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
90322         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
90323         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
90324         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
90326         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
90327         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
90329 2011-08-30  Andreas Schwab  <schwab@redhat.com>
90331         * elf/rtld.c (dl_main): Relocate objects in dependency order.
90333 2011-08-29  Jiri Olsa <jolsa@redhat.com>
90335         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
90336         directive.
90338 2011-08-24  David S. Miller  <davem@davemloft.net>
90340         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
90342 2011-08-24  Andreas Schwab  <schwab@redhat.com>
90344         * elf/Makefile: Add rules to build and run unload8 test.
90345         * elf/unload8.c: New file.
90346         * elf/unload8mod1.c: New file.
90347         * elf/unload8mod1x.c: New file.
90348         * elf/unload8mod2.c: New file.
90349         * elf/unload8mod3.c: New file.
90351         * elf/dl-close.c (_dl_close_worker): Reset private search list if
90352         it wasn't used.
90354 2011-08-23  David S. Miller  <davem@davemloft.net>
90356         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
90357         subtract stack bias.
90358         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
90359         %sp not %fp in calculations.
90360         (_JMPBUF_UNWINDS_ADJ): Likewise.
90362         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
90363         (aio_suspend): Call it to force an exception region around the
90364         AIO_MISC_WAIT() invocation.
90366 2011-08-23  Andreas Schwab  <schwab@redhat.com>
90368         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
90369         backslash.
90371 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
90373         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
90374         protection macro.
90375         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
90376         and <dl-machine.h>.
90377         (Elf64_FuncDesc): Remove.
90379 2011-08-22  David S. Miller  <davem@davemloft.net>
90381         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
90382         sigaltstack check, add missing cfi directives.
90383         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
90384         missing cfi directives, and sigaltstack handling.
90386 2011-08-16  Andreas Schwab  <schwab@redhat.com>
90388         [BZ #11724]
90389         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
90390         object is seen twice.
90391         * elf/dl-fini.c (_dl_sort_fini): Likewise.
90393         * elf/Makefile (distribute): Add tst-initorder2.c.
90394         (tests): Add tst-initorder2.
90395         (modules-names): Add tst-initorder2a tst-initorder2b
90396         tst-initorder2c tst-initorder2d.  Add rules to build them.
90397         ($(objpfx)tst-initorder2.out): New rule.
90398         * elf/tst-initorder2.c: New file.
90399         * elf/tst-initorder2.exp: New file.
90401 2011-08-22  Andreas Schwab  <schwab@redhat.com>
90403         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
90405         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
90406         dependencies back to end of function.
90408         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
90409         $(elfobjdir)/ld.so.
90411 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
90413         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
90414         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
90415         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
90416         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
90417         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
90418         of __vdso_gettimeofday.
90419         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
90420         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
90421         attribute_hidden.
90422         (_libc_vdso_platform_setup): Remove initialization of
90423         __vdso_gettimeofday and __vdso_time.
90425 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
90427         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
90428         and fgetc_unlocked.
90429         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
90430         getc_unlocked.
90432         * elf/dl-open.c (add_to_global): Report additions to the global scope
90433         for LD_DEBUG=scopes.
90434         (dl_open_worker): Also print scope of newly loaded dependencies.
90435         (_dl_show_scope): Indicate if there is no scope.
90437         [BZ #13114]
90438         * stdio-common/Makefile (tests): Add bug24.
90439         * stdio-common/bug24.c: New file.
90441 2011-08-19  Andreas Jaeger  <aj@suse.de>
90443         [BZ #13114]
90444         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
90445         non-existant file when using close-on-exec mode.
90447 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
90449         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
90450         the very first instruction.
90452         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
90453         the CFI state in the end.
90454         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
90455         inclusion of dl-trampoline.h.
90456         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
90458 2011-08-19  Andreas Schwab  <schwab@redhat.com>
90460         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
90461         expectations for long double.
90463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
90464         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
90466 2011-08-14  David S. Miller  <davem@davemloft.net>
90468         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
90469         artificual limit depends upon the system page size.
90471 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
90473         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
90474         * resolv/Makefile: Define CFLAGS-libresolv.
90476 2011-08-17  Andreas Schwab  <schwab@redhat.com>
90478         * nss/makedb.c (compute_tables): Make variables used in nested
90479         function static.
90481 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
90483         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
90484         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
90485         if buffer was too small.
90487         * elf/pldd.c (main): Attach to all threads in the process.
90488         Rewrite /proc handling to use *at functions.
90490 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
90492         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
90493         specifies first scope to show.
90494         (dl_open_worker): Update callers.  Move printing scope of new
90495         object to before the relocation.
90496         * elf/rtld.c (dl_main): Update _dl_show_scope call.
90497         * sysdeps/generic/ldsodefs.h: Update declaration.
90499         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
90500         string for the scope number.
90502 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
90504         * nscd/servicescache.c (cache_addserv): Make sure written is always
90505         initialized.
90507 2011-08-14  Roland McGrath  <roland@hack.frob.com>
90509         * sysdeps/i386/i486/bits/atomic.h
90510         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
90511         statement expression, so as to suppress "set but not used" warning.
90512         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
90514         * string/strncat.c (STRNCAT): Use prototype definition.
90516         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
90517         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
90518         -Iprograms here.
90519         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
90520         (localedef-modules): Add localedef.
90521         (locale-modules): Add locale.
90523         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
90524         * elf/rtld.c (dl_main): Invert order of assignment in last change,
90525         to avoid a warning.
90527 2011-08-14  David S. Miller  <davem@davemloft.net>
90529         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
90530         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
90532 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
90534         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
90535         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
90536         * elf/rtld.c (dl_main): Set l_name of vDSO.
90537         Call _dl_show_scope when DL_DEBUG_SCOPES.
90538         (process_dl_debug): Recognize scopes flag and also set it for all.
90539         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
90540         Declare _dl_show_scope.
90542         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
90543         (do_dlopen): Pass caller_dlopen to dl_open.
90544         (__libc_dlopen_mode): Initialize caller_dlopen.
90546         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
90547         of libc.  Make tolower call locale-independent.  Optimize a bit by
90548         using isdigit instead of isalnum.
90549         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
90551 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
90553         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
90554         was a dependency or dynamically loaded.
90556 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
90558         * intl/l10nflist.c: Allow architecture-specific pop function.
90559         * sysdeps/x86_64/l10nflist.c: New file.
90561         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
90562         classification.
90564 2011-08-10  Andreas Schwab  <schwab@redhat.com>
90566         * include/dirent.h: Add libc_hidden_proto for scandirat and
90567         scandirat64.  Don't declare __scandirat64.
90568         * dirent/scandirat.c: Add libc_hidden_def.
90569         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
90570         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
90572 2011-08-10  David S. Miller  <davem@davemloft.net>
90574         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
90575         enum.
90576         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
90577         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
90578         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
90580 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
90582         * Versions.def [libc]: Add GLIBC_2.15.
90583         * dirent/Makefile (routines): Add scandirat and scandirat64.
90584         * dirent/Versions [libc]: Export scandirat and scandirat64 for
90585         GLIBC_2.15.
90586         * dirent/dirent.h: Declare scandirat and scandirat64.
90587         * dirent/scandirat.c: New file.
90588         * dirent/scandirat64.c: New file.
90589         * sysdeps/wordsize-64/scandirat.c: New file.
90590         * sysdeps/wordsize-64/scandirat64.c: New file.
90591         * dirent/opendir.c: Define opendirat.
90592         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
90593         using scandirat.
90594         * dirent/scandir64.c: Adjust for scandir.c change.
90595         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
90596         __scandirat64, and __scandir_cancel_handler.
90597         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
90598         additional parameter and use openat instead of open (outside of ld.so).
90599         Add new __opendir as wrapper around __opendirat.
90600         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
90601         here without requiring old scandirat implementation.
90603 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
90605         * dirent/scandir.c (cancel_handler): Renamed to
90606         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
90607         defined.  Adjust users.
90608         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
90609         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
90611 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
90613         * string/test-string.h (IMPL): Use __STRING to expand name and then
90614         stringify it.
90616         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
90617         of cleanups.
90619 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
90621         * string/Makefile: Update.
90622         (strop-tests): Append strncat.
90623         * string/test-wcscmp.c: New file.
90624         New comprehensive test for wcscmp.
90625         * string/test-strcmp.c: Update.
90626         (WIDE): New define.
90628 2011-07-22  Andreas Schwab  <schwab@redhat.com>
90630         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
90631         line.
90633 2011-07-26  Andreas Schwab  <schwab@redhat.com>
90635         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
90636         encoding to ACE if AI_IDN.
90638 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
90640         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
90641         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
90643 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
90645         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
90646         Fix overflow bug in strncat.
90647         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
90649         * string/test-strncat.c: Update.
90650         Add new tests for checking overflow bugs.
90652 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
90654         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
90655         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
90656         * sysdeps/i386/i686/multiarch/strcat.S: New file.
90657         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
90658         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
90659         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
90660         * sysdeps/i386/i686/multiarch/strncat.S: New file.
90661         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
90662         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
90664         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
90665         (USE_AS_STRCAT): Define.
90666         Add strcat and strncat support.
90667         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
90669 2011-07-25  Andreas Schwab  <schwab@redhat.com>
90671         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
90672         __n bigger than INT_MAX+1.
90673         (__strncmp_g): Likewise.
90675 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
90677         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
90678         * libio/stido.h: Likewise.
90680         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
90681         (AF_NFC): Define.
90682         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
90683         (AF_NFC): Define.
90685         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
90686         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
90687         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
90688         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
90689         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
90691         [BZ #13021]
90692         * scripts/test-installation.pl: Don't expect libnss_test1 to be
90693         installed.
90695         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
90696         typo.
90697         (_dl_x86_64_save_sse): Likewise.
90699 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
90701         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
90702         OSXSAVE.
90703         (_dl_x86_64_save_sse): Likewise.
90705         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
90707         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
90709 2011-07-21  Andreas Schwab  <schwab@redhat.com>
90711         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
90712         change.
90713         (_dl_x86_64_save_sse): Use correct AVX check.
90715 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
90717         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
90718         bug in strncpy/strncat.
90719         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
90721 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
90723         * string/tester.c (test_strcat): Add tests for different alignments
90724         of source and destination.
90725         (test_strncat): Likewise.
90727 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
90729         [BZ #12852]
90730         * posix/glob.c (glob): Check passed in values before using them in
90731         expressions to avoid some overflows.
90732         (glob_in_dir): Likewise.
90734         [BZ #13007]
90735         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
90736         check for AVX enablement so that we don't crash with old kernels and
90737         new hardware.
90738         * elf/tst-audit4.c: Add same checks here.
90739         * elf/tst-audit6.c: Likewise.
90741         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
90743 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
90745         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
90747 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
90749         * po/cs.po: Update from translation team.
90750         * po/bg.po: Likewise.
90752 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
90754         * misc/sys/cdefs.h: Add support for const attribute.
90755         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
90756         to gnu_dev_{major,minor,makedev} functions.
90758 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
90760         * intl/dcigettext.c (get_output_charset): Add missing bracket.
90762 2011-07-20  Andreas Schwab  <schwab@redhat.com>
90764         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
90765         strlen results.
90767 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
90769         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
90770         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
90771         register in order to avoid conflicts with the soft frame pointer
90772         being held in r11 when necessary.
90773         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
90774         (INTERNAL_VSYSCALL_NCS): Likewise.
90776 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
90778         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
90779         * elf/dl-fini.c (_dl_fini): Adjust caller.
90780         * elf/dl-close.c (_dl_close_worker): Likewise.
90781         * sysdeps/generic/ldsodefs.h: Adjust declaration.
90783 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
90785         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
90786         "aux_cache->nlibs < 0".
90788         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
90789         in the reload-count case.
90791 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
90793         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
90794         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
90795         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
90796         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
90797         * sysdeps/x86_64/multiarch/strcat.S: New file.
90798         * sysdeps/x86_64/multiarch/strncat.S: New file.
90799         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
90800         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
90801         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
90802         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
90803         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
90804         (USE_AS_STRCAT): Define.
90805         Add strcat and strncat support.
90806         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
90807         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
90808         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
90809         * string/strncat.c: Update.
90810         (USE_AS_STRNCAT): Define.
90811         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
90812         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
90813         and i7.
90814         * sysdeps/x86_64/multiarch/init-arch.h
90815         (bit_Prefer_PMINUB_for_stringop): New.
90816         (index_Prefer_PMINUB_for_stringop): Likewise.
90817         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
90818         bit_Prefer_PMINUB_for_stringop.
90820 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
90822         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
90823         buffer64.
90824         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
90825         of casting of buffer.
90826         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
90827         buffer32 and buffer64.
90828         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
90829         writes instead of casting of buffer.
90830         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
90831         buffer32.
90832         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
90833         casting of buffer.
90835 2011-07-19  Andreas Schwab  <schwab@redhat.com>
90837         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
90839 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
90841         * nscd/nscd.c (termination_handler): Don't do anything for a database
90842         if it has not yet been initialized.
90844 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
90846         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
90848 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
90850         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
90852 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
90854         * po/nl.po: Update from translation team.
90855         * po/sv.po: Likewise.
90857 2011-07-16  Roland McGrath  <roland@hack.frob.com>
90859         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
90860         now disallowed by GCC.
90862         * configure.in (use-default-link): Default to yes if a test -shared
90863         link meets our qualifications.
90864         * configure: Regenerated.
90866         * config.make.in (output-format): New variable.
90867         * configure.in: Check for ld --print-output-format support.
90868         * configure: Regenerated.
90869         * Makerules ($(common-objpfx)format.lds)
90870         [$(output-format) != unknown]: Just use $(output-format),
90871         instead of the linker-script munging.
90873 2011-07-14  Roland McGrath  <roland@hack.frob.com>
90875         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
90876         of $(common-objpfx)shlib.lds.
90877         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
90879         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
90880         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
90882         * configure.in (-z relro check): Adjust test code to add a large
90883         writable data section after it.
90884         * configure: Regenerated.
90886 2011-07-11  Roland McGrath  <roland@hack.frob.com>
90888         * configure.in (-z relro check): Fix test code to make the variable
90889         truly const.
90890         * configure: Regenerated.
90892 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
90894         * nscd/nscd.h (struct traced_file): Define.
90895         (struct database_dyn): Remove inotify_descr, reset_res, and filename
90896         elements.  Add traced_files.
90897         (inotify_fd): Declare.
90898         (register_traced_file): Declare.
90899         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
90900         (inotify_fd): Export.
90901         (resolv_conf_descr): Remove.
90902         (nscd_init): Move inotify descriptor creation to main.
90903         Don't register files for notification here.
90904         (register_traced_file): New function.
90905         (invalidate_cache): Don't use reset_res to determine whether to call
90906         res_init, go through the list of registered files.
90907         (main_loop_poll): The inotify descriptors are now stored in the
90908         structures for the traced files.
90909         (main_loop_epoll): Likewise.
90910         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
90911         to __nss_disable_nscd.
90912         * nscd/cache.c (prune_cache): There is no single inotify descriptor
90913         for a database anymore.  Check the records for all the registered
90914         files instead.
90915         * nss/Makefile (libnss_files-routines): Add files-init.
90916         (libnss_db-routines): Add db-init.
90917         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
90918         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
90919         * nss/nss_db/db-init.c: New file.
90920         * nss/nss_files/files-init.c: New file.
90921         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
90922         __nss_lookup_function.
90923         (__nss_lookup_function): Call nss_load_library.
90924         (nss_load_all_libraries): New function.
90925         (__nss_disable_nscd): Take parameter with callback function for files
90926         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
90927         used for the cached services.
90928         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
90929         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
90930         options for features to all the files in nscd.
90932         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
90934 2011-07-10  Roland McGrath  <roland@hack.frob.com>
90936         * csu/elf-init.c (__libc_csu_init): Comment typo.
90938 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
90940         * po/pl.po: Update from translation team.
90941         * po/ja.po: Likewise.
90942         * po/ru.po: Likewise.
90943         * po/ko.po: Likewise.
90944         * po/fr.po: Likewise.
90946 2011-07-09  Roland McGrath  <roland@hack.frob.com>
90948         * configure.in (.ctors/.dtors header and trailer check):
90949         Use an empirical test on a built program.
90950         * configure: Regenerated.
90952         * configure.in (-z relro check): Use an empirical test on a built DSO.
90953         Detect, but do not require, on ia64.
90954         * configure: Regenerated.
90956         * configure.in (READELF): Find it with AC_CHECK_TOOL.
90957         Update tests that use readelf to use $READELF instead.
90958         * configure: Regenerated.
90960 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
90962         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
90963         if the result is not used.
90965 2011-07-05  Andreas Jaeger  <aj@suse.de>
90967         [BZ #9696]
90968         * stdlib/tst-strtod.c: Add testcase.
90970 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
90972         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
90973         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
90974         The latter has a higher limit.  Take additional parameter to pass to
90975         the new function.
90976         (__pathconf): Pass file to __statfs_link_max.
90977         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
90978         __statfs_link_max.
90979         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
90980         __statfs_link_max.
90982         [BZ #12868]
90983         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
90984         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
90985         Handle Lustre.
90986         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
90987         (__statfs_filesize_max): Likewise.
90988         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
90990 2011-07-05  Andreas Jaeger  <aj@suse.de>
90992         * resolv/res_comp.c (dn_skipname): Remove unused variable.
90994 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
90996         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
90997         `status' variable.
90998         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
90999         Likewise.
91001 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
91003         * Makefile (strop-tests): Add strncat.
91004         * string/test-strncat.c: New file.
91006 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
91008         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
91010 2011-06-21  Andreas Jaeger  <aj@suse.de>
91012         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
91013         Copy rule from iconvdata/Makefile.
91015 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
91017         [BZ #12922]
91018         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
91019         but no long options are defined, just return 'W'.
91021 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
91023         [BZ #9696]
91024         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
91026 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
91028         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
91029         netgroups to read.
91030         (innetgr): Likewise.
91032 2011-07-05  Roland McGrath  <roland@hack.frob.com>
91034         * config.make.in (install_root): Default to $(DESTDIR).
91036 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
91038         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
91040 2011-07-02  Roland McGrath  <roland@hack.frob.com>
91042         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
91044         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
91045         containing directory rather than embedding absolute directory names.
91047         * scripts/check-local-headers.sh: Rewritten using awk.
91048         Match by word, not by line.  Print error messages for matches.
91049         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
91051         * Makerules [shlib-lds-flags empty]:
91052         ($(common-objpfx)libc_pic.opts): New target.
91053         ($(common-objpfx)libc_pic.os.clean): New target.
91054         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
91056         * config.make.in (OBJCOPY): New variable.
91057         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
91058         * configure: Regenerated.
91060         * config.make.in (use-default-link): New variable.
91061         * configure.in (use_default_link): Grok --with-default-link to set it.
91062         * configure: Regenerated.
91063         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
91064         (shlib-lds, shlib-lds-flags): Define to empty.
91066         * Makerules (shlib-lds): New variable.
91067         (shlib-lds-flags): New variable.
91068         (build-shlib, build-moduile, build-module-asneeded): Use it.
91069         ($(common-objpfx)libc.so): Use $(shlib-lds).
91070         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
91071         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
91073         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
91074         DT_FLAGS/DT_FLAGS_1 with zero flags.
91076         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
91077         linker script munging.
91079 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
91081         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
91082         as 128-bit value.
91083         * crypt/sha512.c (sha512_process_block): Perform total addition using
91084         128-bit if possible.
91085         (__sha512_finish_ctx): Likewise.
91086         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
91087         as 64-bit value.
91088         * crypt/sha256.c (SWAP64): Define.
91089         (sha256_process_block): Perform total addition using 64-bit if
91090         possible.
91091         (__sha256_finish_ctx): Likewise.
91093 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
91095         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
91096         * nscd/initgrcache.c (addinitgroupsX): Likewise.
91097         * nscd/hstcache.c (cache_addhst): Likewise.
91098         * nscd/grpcache.c (cache_addgr): Likewise.
91099         * nscd/aicache.c (addhstaiX): Likewise.
91100         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
91102 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
91104         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
91105         * nscd/initgrcache.c (addinitgroupsX): Likewise.
91106         * nscd/hstcache.c (cache_addhst): Likewise.
91107         * nscd/grpcache.c (cache_addgr): Likewise.
91108         * nscd/aicache.c (addhstaiX): Likewise.
91110 2011-07-01  Andreas Schwab  <schwab@redhat.com>
91112         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
91113         domain only when needed.
91115 2011-06-30  Andreas Schwab  <schwab@redhat.com>
91117         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
91118         is always restored.
91120 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
91122         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
91123         are re-adding the entry.
91124         * nscd/servicescache.c (cache_addserv): Likewise.
91126 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
91128         * sysdeps/generic/dl-irel.h: fix protection against multiple
91129         inclusions.
91130         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
91132 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
91134         [BZ #12935]
91135         * malloc/memusage.sh: Fix quoting in message.
91136         * debug/xtrace.sh: Likewise.
91138         * configure.in: Remove support for --experimental-malloc option, make
91139         it the default.
91140         * config.make.in: Likewise.
91141         * malloc/Makefile: Likewise.
91143 2011-06-27  Andreas Schwab  <schwab@redhat.com>
91145         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
91146         two-byte characters.
91148 2011-06-27  Roland McGrath  <roland@hack.frob.com>
91150         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
91151         AC_CACHE_CHECK invocation.
91152         * configure: Regenerated.
91154         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
91156 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
91158         [BZ #12350]
91159         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
91160         bit from old_res_options.
91162         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
91164         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
91165         value type for setfct.
91167 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
91169         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
91170         __gettimeofday instead of gettimeofday.
91172 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
91174         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
91176 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
91178         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
91180         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
91181         info.
91183 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
91185         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
91186         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
91187         strcpy-sse2-unaligned strncpy-sse2-unaligned
91188         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
91189         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
91190         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
91191         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
91192         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
91193         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
91194         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
91195         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
91196         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
91197         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
91198         (STRCPY): Support SSE2 and SSSE3 versions.
91200 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
91202         [BZ #12874]
91203         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
91204         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
91205         kernels which artificially limit size of requests.
91207 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
91209         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
91210         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
91211         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
91212         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
91213         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
91214         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
91215         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
91216         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
91217         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
91218         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
91219         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
91220         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
91221         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
91222         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
91223         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
91224         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
91225         Enable unaligned load optimization for Intel Core i3, i5 and i7
91226         processors.
91227         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
91228         Define.
91229         (index_Fast_Unaligned_Load): Define.
91230         (HAS_FAST_UNALIGNED_LOAD): Define.
91232 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
91234         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
91236 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
91238         [BZ #12907]
91239         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
91240         until it is clear that the information is realy needed.
91241         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
91243 2011-06-22  Andreas Schwab  <schwab@redhat.com>
91245         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
91247 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
91249         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
91250         /sys/devices/system/cpu/online if it is usable.
91252         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
91253         reading the information from the /proc filesystem to once a second.
91255 2011-06-21  Andreas Jaeger  <aj@suse.de>
91257         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
91258         NULL after inclusion of kernel headers.
91260 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
91262         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
91263         calls to internal_setent.
91265         [BZ #12885]
91266         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
91267         addresses using gethostbyname4_r ignore IPv4 addresses.
91269         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
91270         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
91272         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
91274 2011-06-20  David S. Miller  <davem@davemloft.net>
91276         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
91277         inclusions.
91278         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
91280         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
91281         (elf_irel): Use it.
91282         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
91283         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
91284         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
91285         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
91286         * sysdeps/x86_64/dl-irel.h: Likewise.
91288         * elf/dl-runtime.c: Use elf_ifunc_invoke.
91289         * elf/dl-sym.c: Likewise.
91291 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
91293         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
91294         need to dereference resplen2.
91296 2011-06-14  Andreas Schwab  <schwab@redhat.com>
91298         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
91300 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
91302         * Makeconfig: Define vardbdir and inst_vardbdir.
91303         * nss/Makefile: Add rules to install db-Makefile.
91305         * nss/nss_db/db-XXX.c: Cleanup.
91307         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
91308         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
91309         GLIBC_PRIVATE.
91310         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
91311         * nss/makedb.c: Implement -g option to specify that value strings
91312         are generated and should not be added to table iterated over for
91313         get*ent calls.
91314         * nss/nss_db/db-initgroups.c: New file.
91316         * nss/getent.c: Add support for initgroups lookups through getgrouplist
91317         interface.
91319         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
91320         (internal_getgrouplist): Adjust to name change.
91321         Update use_initgroups_entry if this is not the first call.
91322         * nss/databases.def: Add initgroups entry.
91324         * nss/makedb.c (compute_tables): Check result of multiple hash table
91325         sizes to minimize maximum chain length.
91327 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
91329         * Versions.def: Add entry for libnss_db.
91330         * shlib-versions: Likewise.
91331         * nss/Makefile: Add rules to build libnss_db.
91332         * nss/Versions: Add libnss_db information.  Organize libnss_files
91333         entries better.
91334         * nss/db-Makefile: Add gshadow support.  Change rules for the new
91335         makedb progra.  Some minor improvements to generate smaller files.
91336         * nss/nss_db/nss_db.h: Move NSS database header data structures to
91337         here from...
91338         * nss/makedb.c: ...here.
91339         Improve database format to be smaller and require less memory at
91340         runtime.
91341         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
91342         db anymore.
91343         * nss/nss_db/db-netgrp.c: Likewise.
91344         * nss/nss_db/db-open.c: Likewise.
91345         * nss/nss_files/flies-XXX.x: Adjust comments.
91346         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
91347         * nss/nss_files/files-grp.c: Likewise.
91348         * nss/nss_files/files-hosts.c: Likewise.
91349         * nss/nss_files/files-network.c: Likewise.
91350         * nss/nss_files/files-proto.c: Likewise.
91351         * nss/nss_files/files-pwd.c: Likewise.
91352         * nss/nss_files/files-rpc.c: Likewise.
91353         * nss/nss_files/files-service.c: Likewise.
91354         * nss/nss_files/files-sgrp.c: Likewise.
91355         * nss/nss_files/files-spwd.c: Likewise.
91356         * nss/nss_db/db-alias.c: Removed.
91357         * nss/nss_db/dummy-db.h: Removed.
91359 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
91361         * nss/makedb.c: Rewritten to not use database library.
91362         * nss/Makefile: Update to build new makedb program.
91364 2011-06-14  Andreas Jaeger  <aj@suse.de>
91366         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
91367         memset declaration.
91369 2011-06-10  Andreas Schwab  <schwab@redhat.com>
91371         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
91372         tmpbuf.
91374 2011-06-10  Roland McGrath  <roland@hack.frob.com>
91376         * Makerules (shlib.lds): Fail if the linker script comes out empty.
91377         * elf/Makefile ($(objpfx)ld.so): Likewise.
91379         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
91380         Don't list ld.so twice in dependencies.
91382         * posix/bug-regex31.c: Include <stdlib.h>.
91384         * nscd/hstcache.c (cache_addhst): Remove unused variable.
91386         * nis/nss_compat/compat-spwd.c
91387         (getspent_next_nss_netgr): Remove unused variable.
91388         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
91390         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
91391         nonmembers" output to use the right array.
91393         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
91395         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
91397         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
91398         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
91399         * catgets/gencat.c (read_input_file): Likewise.
91400         * locale/programs/locarchive.c (enlarge_archive): Likewise.
91402         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
91403         variable definition inside #if's controlling its use.
91405         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
91407         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
91409         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
91411         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
91412         unreachable code.
91414         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
91416         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
91417         * configure: Regenerated.
91419         * Makerules: Revert last change.
91420         * elf/Makefile: Likewise.
91422 2011-06-09  Roland McGrath  <roland@hack.frob.com>
91424         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
91425         * elf/Makefile ($(objpfx)librtld.os): Likewise.
91426         (reloc-link): Likewise.
91428 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
91430         * elf/Makefile: Add rules to build pldd.
91431         * elf/pldd.c: New file.
91432         * elf/pldd-xx.c: New file.
91434 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
91436         * version.h: Update for 2.15 development version.
91438 2011-06-07  David S. Miller  <davem@davemloft.net>
91440         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
91441         ifuncs.
91442         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
91443         elf_machine_lazy_rel): Likewise.
91444         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
91445         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
91446         elf_machine_lazy_rel): Likewise.
91447         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
91448         dl_hwcap via passed in argument.
91449         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
91450         Likewise.
91452 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
91454         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
91456 2011-06-06  Roland McGrath  <roland@hack.frob.com>
91458         [BZ #12849]
91459         * manual/fdl-1.1.texi: New file, verbatim from:
91460         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
91461         * manual/lgpl-2.1.texi: New file, verbatim from:
91462         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
91463         * manual/Makefile (licenses): New variable, list those new file names.
91464         (texis): Use it.
91465         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
91467         * manual/fdl.texi: File removed.
91468         * manual/lesser.texi: File removed.
91469         * manual/libc.texinfo (Copying, Documentation License):
91470         Use new @include file names, put @appendix directive before @include.
91472 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
91474         [BZ #12841]
91475         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
91476         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
91477         (mq_open): Add __NTH.
91479 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
91481         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
91482         Assume Intel Core i3/i5/i7 processor if AVX is available.
91484 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
91486         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
91487         typo.
91489 2011-05-31  Andreas Schwab  <schwab@redhat.com>
91491         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
91492         memory.  Use alloca_account.  Fix memory leak when retrying.
91494 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
91496         * version.h (RELEASE): Bump for 2.14 release.
91497         * include/features.h (__GLIBC_MINOR__): Bump to 14.
91499         * config.make.in (RANLIB): Remove entry.
91501 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
91503         * po/Makefile (po-sed-cmd): Add ksh to extensions.
91504         (libc.pot): Work around missing support for .ksh extension in xgettext.
91506         [BZ #12684]
91507         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
91508         if both request failed.
91509         (send_dg): In case of server errors clear resplen or *resplen2.
91511         [BZ #12454]
91512         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
91513         when there are multiple maps.
91514         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
91515         (_dl_fini): Remove test here.
91517         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
91519 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
91521         [BZ #12350]
91522         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
91523         bit from old_res_options.
91524         (gaih_inet): Likewise.
91526         [BZ #11099]
91527         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
91528         as signed.
91530         * resolv/res_init.c (res_setoptions): Make the code more compact.
91532         [BZ #11558]
91533         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
91534         set RES_USEVC.
91536         [BZ #11634]
91537         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
91539         * malloc/malloc.h: Mark malloc hook variables as deprecated.
91541         [BZ #11781]
91542         * malloc/malloc.h: Declare malloc hook variables as volatile.
91544         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
91545         in last patch.
91547         [BZ #11799]
91548         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
91549         raise in the comment.
91550         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
91551         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
91552         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
91554 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
91556         [BZ #12811]
91557         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
91558         grow the buffers more if it already has to be sufficient.
91559         (build_wcs_upper_buffer): Likewise.
91560         * posix/regexec.c (check_matching): Likewise.
91561         (clean_state_log_if_needed): Likewise.
91562         (extend_buffers): Don't enlarge buffers beyond size of the input
91563         buffer.
91564         Patches mostly by Emil Wojak <emil@wojak.eu>.
91565         * posix/bug-regex32.c: New file.
91566         * posix/Makefile (tests): Add bug-regex32.
91568         * locale/findlocale.c (_nl_find_locale): Return right away if
91569         _nl_explode_name failed.
91570         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
91572         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
91574         * debug/xtrace.sh: Unify messages.
91575         * malloc/memusage.sh: Likewise.
91577         [BZ #12813]
91578         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
91579         time symbol from vDSO.  Substitute with vsyscall if not available.
91580         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
91581         __vdso_time.
91583         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
91584         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
91585         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
91586         Add sendmmsg and internal_sendmmsg.
91587         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
91588         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
91589         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
91591         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
91592         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
91593         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
91595 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
91597         [BZ #12813]
91598         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
91599         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
91600         available.
91601         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
91602         __vdso_getcpu.
91604         [BZ #12814]
91605         * iconvdata/Makefile (tests): Add bug-iconv9.
91606         * iconvdata/bug-iconv9.c: New file.
91608 2011-05-27  Andreas Schwab  <schwab@redhat.com>
91610         [BZ #12814]
91611         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
91613 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
91615         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
91616         (struct user_regs_struct): Change intcs field back to cs.
91618 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
91620         * po/ja.po: Update from translation team.
91622 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
91624         [BZ #12795]
91625         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
91626         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
91628 2011-05-20  Andreas Schwab  <schwab@redhat.com>
91630         * stdlib/longlong.h: Update from GCC.
91632 2011-05-23  Andreas Schwab  <schwab@redhat.com>
91634         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
91635         parameter name.
91636         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
91637         Add parameter name.
91638         (__sysconf): Pass it down.
91640 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
91642         [BZ #12671]
91643         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
91644         some situations.
91645         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
91646         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
91647         add in in __libc_use_alloca calls.  Adjust callers.
91648         (glob): Use malloc in some situations.
91650         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
91651         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
91652         pltexit.
91654 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
91656         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
91657         and CLOCK_BOOTTIME_ALARM.
91659         [BZ #12782]
91660         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
91661         is returned.
91663         * string/_strerror.c (__strerror_r): Print negative errors as signed
91664         numbers.
91666         [BZ #12777]
91667         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
91668         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
91669         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
91671         * configure.in: Fix typo in redirection and correct removal of test
91672         files in two cases.
91674         [BZ #12788]
91675         * locale/setlocale.c (new_composite_name): Fix test to check for
91676         identical name of all categories.
91678         [BZ #12792]
91679         * libio/filedoalloc.c (local_isatty): New function.
91680         (_IO_file_doallocate): Use local_isatty.
91681         * stdio-common/perror.c (perror): In case a new stream is used
91682         forward the stream error.
91683         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
91684         error flag.
91686 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
91688         [BZ #11884]
91689         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
91690         alloca.
91691         * include/alloca.h (extend_alloca_account): Define.
91693         [BZ #11857]
91694         * posix/regex.h: Fix comments with documentation of user-accessible
91695         fields after compilation and describe correct free'ing of pattern
91696         after re_compile_pattern.
91697         Patch by Reuben Thomas <rrt@sc3d.org>.
91699 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
91701         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
91702         and -mno-altivec to prevent the compiler from using Altivec and/or
91703         VSX instructions when the corresponding registers are not available.
91705 2011-05-19  Andreas Schwab  <schwab@redhat.com>
91707         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
91709 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
91711         * libio/freopen.c (freopen): Use __dup2, not dup2.
91712         * libio/freopen64.c (freopen64): Likewise.
91714 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
91716         [BZ #12775]
91717         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
91718         * math/Makefile (tests): Add test-powl.
91719         (CFLAGS-test-powl.c): Define.
91720         * math/test-powl.c: New file.
91722 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
91724         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
91726 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
91728         [BZ #11837]
91729         * iconvdata/gb18030.c: Update to GB18020-2005.
91731 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
91733         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
91734         RE_SYNTAX_POSIX_AWK): Update to match recent development.
91735         Patch by Aharon Robbins <arnold@skeeve.com>.
91737         [BZ #11892]
91738         * stdlib/putenv.c (putenv): Don't always create copy of the variable
91739         on the stack.
91741         [BZ #11895]
91742         * misc/pselect.c (__pselect): Handle timeout value errors hidden
91743         through underflows.
91745         [BZ #12766]
91746         * misc/error.c (error_at_line): Ensure file_name and old_file_name
91747         point to strings before performing equality test for error_one_per_line
91748         mode.
91750         [BZ #11697]
91751         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
91753         [BZ #11820]
91754         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
91755         (struct user_fpregs_struct): Avoid __uint*_t types.
91757         [BZ #6420]
91758         * malloc/mtrace.c (tr_where): Add additional parameter to point to
91759         symbol info.  Use it instead of calling _dl_addr locally.
91760         (lock_and_info): New function.
91761         (tr_freehook): Call lock_and_info and pass symbol info as additional
91762         parameter to tr_where.
91763         (tr_mallochook): Likewise.
91764         (tr_reallochook): Likewise.
91765         (tr_memalignhook): Likewise.
91767         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
91768         used and couldn't be at all thread-safe.
91770 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
91772         * libio/freopen.c (freopen): Don't close old file descriptor
91773         before the new one is opened.  Instead dup the new file descriptor
91774         to the old one after the new stream is created.
91775         * libio/freopen64.c (freopen64): Likewise.
91776         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
91777         * libio/fileops.c (_IO_new_file_close_it): Handle new
91778         _IO_FLAGS2_NOCLOSE flag.
91779         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
91780         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
91781         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
91782         _IO_FLAGS2_NOCLOSE flag.
91783         * include/unistd.h: Add hidden_proto for dup3.
91784         Define __have_dup3.
91785         * io/dup3.c: Define hidden symbol.
91786         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
91788         [BZ #7101]
91789         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
91790         when an incomplete long option is used.
91791         * posix/tst-getopt_long1.c: New file.
91792         * posix/Makefile (tests): Add tst-getopt_long1.
91794         [BZ #10138]
91795         * scripts/config.guess: Update from autoconf-2.68.
91796         * scripts/config.sub: Likewise.
91798         [BZ #10157]
91799         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
91800         tests into ...
91801         (has_cpuclock): ...this.  New function.
91802         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
91803         macro here based on has_cpuclock code.
91805         [BZ #10149]
91806         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
91807         First byte (not low byte) is now always NUL.
91808         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
91810         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
91811         Use non-cancelable interfaces.
91813         [BZ #9809]
91814         * locale/iso-639.def: Add entry for Sorani.
91816         [BZ #11901]
91817         * include/stdlib.h: Move include protection to the right place.
91818         Define abort_msg_s.  Declare __abort_msg with it.
91819         * stdlib/abort.c (__abort_msg): Adjust type.
91820         * assert/assert.c (__assert_fail_base): New function.  Majority
91821         of code from __assert_fail.  Allocate memory for __abort_msg with
91822         mmap.
91823         (__assert_fail): Now call __assert_fail_base.
91824         * assert/assert-perr.c: Remove bulk of implementation.  Use
91825         __assert_fail_base.
91826         * include/assert.hL Declare __assert_fail_base.
91827         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
91828         mmap.
91829         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
91831 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
91833         [BZ #11952]
91834         [BZ #12453]
91835         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
91836         until all modules are registered in the DTV.
91837         * elf/Makefile: Add rules to build and run tst-tls19.
91838         * elf/tst-tls19.c: New file.
91839         * elf/tst-tls19mod1.c: New file.
91840         * elf/tst-tls19mod2.c: New file.
91841         * elf/tst-tls19mod3.c: New file.
91842         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
91844         [BZ #12083]
91845         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
91846         correctly.
91848         [BZ #12601]
91849         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
91850         two-byte sequence errors.
91851         * iconvdata/Makefile (tests): Add bug-iconv8.
91852         * iconvdata/bug-iconv8.c: New file.
91854         [BZ #12626]
91855         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
91856         buf2 definition.
91858         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
91860         [BZ #12432]
91861         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
91862         (dummy_getcfa): New function.
91863         (init): Get _Unwind_GetCFA address, use dummy if not found.
91864         (backtrace_helper): In recursion check, also check whether CFA changes.
91865         (__backtrace): Completely initialize arg.
91867         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
91868         storing incomplete byte sequence in state object.  Avoid testing for
91869         guaranteed too small input if we know there is enough data available.
91871 2011-05-11  Andreas Schwab  <schwab@redhat.com>
91873         * Makeconfig (+link-pie): Indent.
91874         * Rules (binaries-pie): Define if $(have-fpie) and
91875         $(build-shared).
91876         (binaries-shared): Also filter out $(binaries-pie).
91877         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
91878         * nscd/Makefile (others-pie): Add nscd.
91879         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
91880         ($(objpfx)nscd): Remove command override.
91881         * login/Makefile (others-pie): Add pt_chown.
91882         ($(objpfx)pt_chown): Remove command override.
91883         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
91884         remove command overrides.
91886 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
91888         * libio/tst_putwc.c: Fix error messages.
91890         [BZ #12724]
91891         * libio/fileops.c (_IO_new_file_close_it): Always flush when
91892         currently writing and seek to current position when not.
91893         * libio/Makefile (tests): Add bug-fclose1.
91894         * libio/bug-fclose1.c: New file.
91896 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
91898         [BZ #12511]
91899         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
91900         don't set DF_1_NODELETE here.
91901         (do_lookup_x): When entering new entry test for copy relocation
91902         and if necessary set DF_1_NODELETE flag.
91903         * elf/tst-unique4.cc: New file.
91904         * elf/tst-unique4.h: New file.
91905         * elf/tst-unique4lib.cc: New file.
91906         * elf/Makefile: Add rules to build and run tst-unique4.
91907         Patch by Piotr Bury <pbury@goahead.com>.
91909 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
91911         [BZ #12052]
91912         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
91914         [BZ #12625]
91915         * misc/mntent_r.c (addmntent): Flush the stream after the output
91917         [BZ #12393]
91918         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
91919         (is_trusted_path_normalize): Skip initial colon.  Append slash
91920         to empty buffer.  Duplicate is_trusted_path code but allow
91921         constructed patch to be prefix.
91922         (is_dst): Allow $ORIGIN followed by /.
91923         (_dl_dst_substitute): Correct clearing of check_for_trusted.
91924         Correct testing of result of is_trusted_path_normalize
91925         (decompose_rpath): Fix warning.
91927 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
91929         [BZ #11257]
91930         * grp/initgroups.c (internal_getgrouplist): When we found the service
91931         list through the initgroups entry in nsswitch.conf do not always
91932         continue on a successful lookup.  Don't always use the
91933         __nss_group_database value if it is set.
91934         * nss/nsswitch.conf (initgroups): Change action for successful db
91935         lookup to continue for compatibility.
91937 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
91939         [BZ #11532]
91940         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
91941         and CP774 modules.
91942         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
91943         and CP774 modules.
91944         * iconvdata/tst-tables.sh: Likewise.
91945         * iconvdata/cp770.c: New file.
91946         * iconvdata/cp771.c: New file.
91947         * iconvdata/cp772.c: New file.
91948         * iconvdata/cp773.c: New file.
91949         * iconvdata/cp774.c: New file.
91950         * iconvdata/testdata/CP770: New file.
91951         * iconvdata/testdata/CP770..UTF8: New file.
91952         * iconvdata/testdata/CP771: New file.
91953         * iconvdata/testdata/CP771..UTF8: New file.
91954         * iconvdata/testdata/CP772: New file.
91955         * iconvdata/testdata/CP772..UTF8: New file.
91956         * iconvdata/testdata/CP773: New file.
91957         * iconvdata/testdata/CP773..UTF8: New file.
91958         * iconvdata/testdata/CP774: New file.
91959         * iconvdata/testdata/CP774..UTF8: New file.
91961         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
91962         END CHARMAP line.
91963         * iconvdata/gen-8bit-gap.sh: Likewise.
91964         * iconvdata/gen-8bit.sh: Likewise.
91966         * locale/iso-639.def: Add ary entry.
91968         [BZ #11258]
91969         * locale/C-translit.h.in: Add U20A1 transliteration.
91971         [BZ #12178]
91972         * locale/iso-639.def: Add wae entry.
91973         Patch by Kevin Bortis <bortis@translate-wae.ch>.
91975         [BZ #12545]
91976         * locale/programs/localedef.c (construct_output_path): Use ssize_t
91977         for n.
91979         [BZ #12711]
91980         * locale/C-translit.h.in: Add entry for U20B9.
91981         Patch by pravin.d.s@gmail.com.
91983 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
91985         [BZ #12713]
91986         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
91987         ENAMETOOLONG use generic getcwd.
91988         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
91989         in rtld.  Use *stat64.
91990         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
91991         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
91992         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
91993         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
91994         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
91995         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
91996         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
91997         __fstatat64 macros.
91998         * include/dirent.h: Add libc_hidden_proto for rewinddir.
91999         * dirent/rewinddir.c: Add libc_hidden_def.
92000         * sysdeps/mach/hurd/rewinddir.c: Likewise.
92001         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
92003         * include/dirent.h (__alloc_dir): Add flags parameter.
92004         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
92005         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
92006         __alloc_dir.
92007         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
92008         from fdopendir if O_CLOEXEC is already set.
92010 2011-03-15  Alan Modra  <amodra@gmail.com>
92012         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
92013         l_tls_firstbyte_offset non-zero.  Save padding offset in
92014         l_tls_firstbyte_offset for later use.
92015         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
92016         freeing static tls block.
92018 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
92020         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
92021         where #ifdef was intended.  The intent is to prevent ARG_MAX from
92022         being defined by the kernel headers.
92024 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
92026         [BZ #12734]
92027         * resolv/resolv.h: Define RES_NOTLDQUERY.
92028         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
92029         no-tld-query and set RES_NOTLDQUERY.
92030         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
92031         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
92032         modern BIND to search name as TLD unless forbidden.
92034 2011-05-07  Petr Baudis  <pasky@suse.cz>
92035             Ulrich Drepper  <drepper@gmail.com>
92037         [BZ #12393]
92038         * elf/dl-load.c (fillin_rpath): Move trusted path check...
92039         (is_trusted_path): ...to here.
92040         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
92041         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
92042         using is_trusted_path_normalize() in setuid scripts.
92044 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
92046         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
92047         __BEGIN/__END_DECLS.
92049 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
92051         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
92052         NSS_STATUS_NOTFOUND if no record was found.
92054 2011-05-05  Andreas Schwab  <schwab@redhat.com>
92056         * sunrpc/Makefile (headers): Add rpc/netdb.h.
92057         (headers-not-in-tirpc): Remove rpc/netdb.h
92058         * resolv/netdb.h: Revert last change.
92060 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
92062         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
92063         circular dependency between libgcc.a and libc.a.
92065 2011-05-05  Andreas Schwab  <schwab@redhat.com>
92067         * resolv/netdb.h: Don't include <rpc/netdb.h>.
92068         * nis/Makefile: Don't install rpcsvc/*.
92069         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
92070         instead of <rpc/types.h>.
92071         (MAXHOSTNAMELEN): Define.
92073 2011-05-03  Andreas Schwab  <schwab@redhat.com>
92075         * elf/ldconfig.c (add_dir): Don't crash on empty path.
92077 2011-04-28  Maciej Babinski  <mbabinski@google.com>
92079         [BZ #12714]
92080         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
92081         gethostbyname4_r when IPv6 results are possible.
92083 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
92085         [BZ #12723]
92086         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
92087         _PC_PIPE_BUF handling.
92089 2011-04-30  Bruno Haible  <bruno@clisp.org>
92091         [BZ #12717]
92092         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
92093         * resolv/netdb.h (getnameinfo): Change type of flags parameter
92094         to 'int'.
92095         * inet/getnameinfo.c (getnameinfo): Likewise.
92097 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
92099         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
92100         to groups setting in database lookup.
92101         * nss/nsswitch.conf: Add initgroups entry.
92103 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
92105         [BZ #12685]
92106         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
92107         mode string.
92108         Patch by Eric Blake <eblake@redhat.com>.
92110 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
92112         * sunrpc/Makefile (need-export-routines): Add svc_run.
92113         (routines): Remove svc_run.
92114         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
92115         * sunrpc/clnt_perr.c (clnt_perrno): Export.
92116         * sunrpc/svc_run.c (svc_run): Likewise.
92117         * sunrpc/svc_udp.c (svcudp_create): Likewise.
92119 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
92121         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
92122         problem in reallocation in last patch.
92124 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
92126         * sunrpc/Makefile: Move inclusion of Rules.
92128 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
92130         * nss/nss_files/files-initgroups.c: New file.
92131         * nss/Makefile (libnss_files-routines): Add files-initgroups.
92132         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
92133         _nss_files_initgroups_dyn.
92135 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
92137         * elf/elf.h (R_ARM_IRELATIVE): Define.
92139 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
92141         * po/ru.po: Update from translation team.
92143 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
92145         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
92146         dependencies.
92148 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
92150         [BZ #12653]
92151         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
92152         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
92153         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
92154         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
92155         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
92157 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
92159         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
92160         differing bytes.
92161         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
92162         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
92163         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
92165 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
92167         [BZ #12420]
92168         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
92169         storing it.
92170         * stdlib/bug-getcontext.c: New file.
92171         * stdlib/Makefile: Add rules to build and run bug-getcontext.
92173 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
92175         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
92176         instructions into .machine "z9-109".
92177         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
92178         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
92180 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
92182         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
92183         between environment variables and auxiliary vector.
92185 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
92187         * Makefile: Add rules to build linkobj/libc.so.
92188         * include/libc-symbols.h: Define libc_hidden_nolink.
92189         * include/rpc/auth.h: Mark functions which are to be hidden.
92190         * include/rpc/auth_des.h: Likewise.
92191         * include/rpc/auth_unix.h: Likewise.
92192         * include/rpc/clnt.h: Likewise.
92193         * include/rpc/des_crypt.h: Likewise.
92194         * include/rpc/key_prot.h: Likewise.
92195         * include/rpc/pmap_clnt.h: Likewise.
92196         * include/rpc/pmap_prot.h: Likewise.
92197         * include/rpc/pmap_rmt.h: Likewise.
92198         * include/rpc/rpc_msg.h: Likewise.
92199         * include/rpc/svc.h: Likewise.
92200         * include/rpc/svc_auth.h: Likewise.
92201         * include/rpc/xdr.h: Likewise.
92202         * nis/Makefile: Link all DSOs against linkobj/libc.so.
92203         * nss/Makefile: Likewise.
92204         * sunrpc/Makefile: Don't install headers.  Build library with normal
92205         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
92206         * sunrpc/auth_des.c: Hide exported symbols by default, export some
92207         for the compat linking library.  Remove use of INTDEF/INTUSE.
92208         * sunrpc/auth_none.c: Likewise.
92209         * sunrpc/auth_unix.c: Likewise.
92210         * sunrpc/authdes_prot.c: Likewise.
92211         * sunrpc/authuxprot.c: Likewise.
92212         * sunrpc/clnt_gen.c: Likewise.
92213         * sunrpc/clnt_perr.c: Likewise.
92214         * sunrpc/clnt_raw.c: Likewise.
92215         * sunrpc/clnt_simp.c: Likewise.
92216         * sunrpc/clnt_tcp.c: Likewise.
92217         * sunrpc/clnt_udp.c: Likewise.
92218         * sunrpc/clnt_unix.c: Likewise.
92219         * sunrpc/des_crypt.c: Likewise.
92220         * sunrpc/des_soft.c: Likewise.
92221         * sunrpc/get_myaddr.c: Likewise.
92222         * sunrpc/key_call.c: Likewise.
92223         * sunrpc/key_prot.c: Likewise.
92224         * sunrpc/netname.c: Likewise.
92225         * sunrpc/pm_getmaps.c: Likewise.
92226         * sunrpc/pm_getport.c: Likewise.
92227         * sunrpc/pmap_clnt.c: Likewise.
92228         * sunrpc/pmap_prot.c: Likewise.
92229         * sunrpc/pmap_prot2.c: Likewise.
92230         * sunrpc/pmap_rmt.c: Likewise.
92231         * sunrpc/publickey.c: Likewise.
92232         * sunrpc/rpc_cmsg.c: Likewise.
92233         * sunrpc/rpc_common.c: Likewise.
92234         * sunrpc/rpc_dtable.c: Likewise.
92235         * sunrpc/rpc_prot.c: Likewise.
92236         * sunrpc/rpc_thread.c: Likewise.
92237         * sunrpc/rtime.c: Likewise.
92238         * sunrpc/svc.c: Likewise.
92239         * sunrpc/svc_auth.c: Likewise.
92240         * sunrpc/svc_authux.c: Likewise.
92241         * sunrpc/svc_raw.c: Likewise.
92242         * sunrpc/svc_run.c: Likewise.
92243         * sunrpc/svc_simple.c: Likewise.
92244         * sunrpc/svc_tcp.c: Likewise.
92245         * sunrpc/svc_udp.c: Likewise.
92246         * sunrpc/svc_unix.c: Likewise.
92247         * sunrpc/svcauth_des.c: Likewise.
92248         * sunrpc/xcrypt.c: Likewise.
92249         * sunrpc/xdr.c: Likewise.
92250         * sunrpc/xdr_array.c: Likewise.
92251         * sunrpc/xdr_float.c: Likewise.
92252         * sunrpc/xdr_intXX_t.c: Likewise.
92253         * sunrpc/xdr_mem.c: Likewise.
92254         * sunrpc/xdr_rec.c: Likewise.
92255         * sunrpc/xdr_ref.c: Likewise.
92256         * sunrpc/xdr_sizeof.c: Likewise.
92257         * sunrpc/xdr_stdio.c: Likewise.
92259 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
92261         [BZ #12650]
92262         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
92263         * sysdeps/ia64/dl-tls.h: Likewise.
92264         * sysdeps/powerpc/dl-tls.h: Likewise.
92265         * sysdeps/s390/dl-tls.h: Likewise.
92266         * sysdeps/sh/dl-tls.h: Likewise.
92267         * sysdeps/sparc/dl-tls.h: Likewise.
92268         * sysdeps/x86_64/dl-tls.h: Likewise.
92269         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
92271 2011-03-14  Andreas Schwab  <schwab@redhat.com>
92273         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
92274         rpath element also skip the following colon.
92275         (expand_dynamic_string_token): Add is_path parameter and pass
92276         down to DL_DST_REQUIRED and _dl_dst_substitute.
92277         (decompose_rpath): Call expand_dynamic_string_token with
92278         non-zero is_path.  Ignore empty rpaths.
92279         (_dl_map_object_from_fd): Call expand_dynamic_string_token
92280         with zero is_path.
92282 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
92284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
92285         Make cancelable.
92287 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
92289         [BZ #12655]
92290         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
92291         Patch by Filipe David Manana <fdmanana@apache.org>.
92293 2011-04-07  Andreas Schwab  <schwab@redhat.com>
92295         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
92296         Maintain aligned stack.
92297         (CHECK_RSP): Remove unused macro.
92299 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
92301         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
92302         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
92304 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
92306         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
92308         * include/features.h: Mention __USE_XOPEN2K8 in comment.
92310 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
92312         [BZ #12518]
92313         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
92314         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
92315         * sysdeps/x86_64/memmove.c: New file.
92316         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
92317         (memcpy): Renamed to ...
92318         (__new_memcpy): This.
92319         (memcpy): Provide GLIBC_2_14 memcpy.
92320         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
92321         (memcpy): Provide GLIBC_2_2_5 memcpy.
92323 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
92325         [BZ #12631]
92326         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
92328 2011-03-30  Andreas Schwab  <schwab@redhat.com>
92330         * misc/syncfs.c: New file.
92331         * misc/Makefile (routines): Add syncfs.
92332         * posix/unistd.h: Declare syncfs.
92333         * sysdeps/unix/syscalls.list: Add syncfs.
92335 2011-04-01  Andreas Schwab  <schwab@redhat.com>
92337         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
92338         open_by_handle_at.
92339         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
92340         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
92341         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
92342         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
92343         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
92344         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
92345         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
92347 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
92349         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
92350         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
92351         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
92352         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
92353         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
92354         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
92355         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
92357         * io/Makefile: Compile fallocate.c, fallocate64.c, and
92358         sync_file_range.c with -fexceptions.
92359         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
92360         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
92361         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
92362         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
92363         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
92364         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
92365         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
92366         sync_file_range as cancellation point
92367         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
92368         now a wrapper around __call_sync_file_range with cancellation handling.
92369         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
92370         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
92371         function name to __call_sync_file_range.
92372         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
92373         Add call_sync_file_range.
92375 2011-04-01  Andreas Schwab  <schwab@redhat.com>
92377         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
92378         bits/timex.h.
92380 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
92382         * iconv/iconv.h: Fix typo in comment.
92383         * io/fcntl.h: Likewise.
92384         * libio/stdio.h: Likewise.
92385         * posix/spawn.h: Likewise.
92386         * posix/unistd.h: Likewise.
92387         * stdlib/stdlib.h: Likewise.
92388         * time/time.h: Likewise.
92389         * wcsmbs/wchar.h: Likewise.
92391         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
92392         open_by_handle): Add.
92393         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
92394         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
92395         Augment a few comments.
92396         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
92397         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
92398         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
92399         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
92400         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
92401         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
92402         open_by_handle.
92404         * io/fcntl.h (AT_EMPTY_PATH): Define.
92406 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
92408         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
92409         * sysdeps/unix/sysv/linux/bits/time.h: New file.
92410         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
92411         to...
92412         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
92413         * Versions.def: Add GLIBC_2.14.
92414         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
92415         Export.
92417 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
92419         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
92420         round counter.
92421         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
92423 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
92425         [BZ #12597]
92426         * string/test-strncmp.c (do_page_test): New function.
92427         (check2): Likewise.
92428         (test_main): Call check2.
92429         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
92431 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
92433         [BZ #12587]
92434         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
92435         Handle cache information in CPU leaf 4.
92436         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
92438 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
92440         [BZ #12583]
92441         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
92442         character representation.
92443         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
92445 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
92447         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
92448         END(__isnan) to END(__isnanf) to match function entry point/label
92449         EALIGN(__isnanf,...).
92451 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
92453         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
92455 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
92457         [BZ #12510]
92458         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
92459         copy from the symbol referenced in the relocation to initialize the
92460         used variable.
92461         Patch by Piotr Bury <pbury@goahead.com>.
92462         * elf/Makefile: Add rules to build and tst-unique3.
92463         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
92464         * elf/tst-unique3.cc: New file.
92465         * elf/tst-unique3.h: New file.
92466         * elf/tst-unique3lib.cc: New file.
92467         * elf/tst-unique3lib2.cc: New file.
92469         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
92471 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
92473         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
92474         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
92475         to _start.
92477 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
92479         * elf/dl-load.c (_dl_map_object): If we are looking for the first
92480         to-be-loaded object along a path to loader is ld.so.
92482 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
92483             Ulrich Drepper  <drepper@gmail.com>
92485         * sysdeps/x86_64/memset.S: After aligning destination, code
92486         branches to different locations depending on the value of
92487         misalignment, when multiarch is enabled. Fix this.
92489 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
92491         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
92492         Set _x86_64_preferred_memory_instruction for AMD processsors.
92493         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
92494         Set bit_Prefer_SSE_for_memop for AMD processors.
92496 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
92498         * libio/fmemopen.c (fmemopen): Optimize a bit.
92500 2011-03-03  Andreas Schwab  <schwab@redhat.com>
92502         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
92504 2011-03-03  Roland McGrath  <roland@redhat.com>
92506         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
92508 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
92510         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
92511         __bzero_ultra1 instead of __memset_ultra1.
92513 2011-02-23  Andreas Schwab  <schwab@redhat.com>
92514             Ulrich Drepper  <drepper@gmail.com>
92516         [BZ #12509]
92517         * include/link.h (struct link_map): Add l_orig_initfini.
92518         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
92519         returning unsuccessfully.
92520         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
92521         close of a file loaded at startup, restore the original l_initfini
92522         list.
92523         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
92524         list, store the pointer.
92525         * elf/Makefile ($(objpfx)noload-mem): New rule.
92526         (noload-ENV): Define.
92527         (tests): Add $(objpfx)noload-mem.
92528         * elf/noload.c: Include <memcheck.h>.
92529         (main): Call mtrace.  Close all opened handles.
92531 2011-02-17  Andreas Schwab  <schwab@redhat.com>
92533         [BZ #12454]
92534         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
92535         dependencies are missing.
92537 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
92539         Fix __if_freereq crash: Unlike the generic version which uses free,
92540         Hurd needs munmap.
92541         * sysdeps/mach/hurd/ifreq.h: New file.
92543 2011-01-27  Petr Baudis  <pasky@suse.cz>
92544             Ulrich Drepper  <drepper@gmail.com>
92546         [BZ 12445]#
92547         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
92548         to extend_alloca().
92549         * stdio-common/bug23.c: New file.
92550         * stdio-common/Makefile (tests): Add bug23.
92552 2010-09-28  Andreas Schwab  <schwab@redhat.com>
92553             Ulrich Drepper  <drepper@gmail.com>
92555         [BZ #12489]
92556         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
92557         before performing relro protection.  At old place add assertion
92558         to make sure nothing changed.
92560 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
92561             Glauber de Oliveira Costa  <glommer@gmail.com>
92563         * elf/elf.h: Add new ARM TLS relocs.
92565 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
92567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
92568         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
92569         cast from r3.
92570         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
92571         'tests' variable.
92572         * sysdeps/wordsize-64/tst-writev.c: New file.
92574 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
92576         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
92577         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
92578         insns in _dl_start to prevent a TOC reference before relocs are
92579         resolved.
92581 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
92583         [BZ #12469]
92584         * Makeconfig: Remove RANLIB definition.
92585         * Makerules: Don't use RANLIB.
92586         * aclocal.m4: Remove ranlib test.
92587         * configure.in: No need to check for ranlib.
92588         * elf/rtld-Rules: Don't use RANLIB.
92590 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
92592         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
92593         protection macro.
92594         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
92595         inclusion protection macro.
92597         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
92598         SIGRTMIN and SIGRTMAX and print information in that case only when
92599         SIGRTMIN is defined.
92601 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
92603         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
92604         arginfo fn returning -1.
92606         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
92607         and thousands string is zero terminated.
92609 2011-02-03  Andreas Schwab  <schwab@redhat.com>
92611         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
92612         sysdeps/unix/sysv/linux/bits/socket.h.
92614 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
92616         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
92617         (__CPU_COUNT): Remove old macros.
92618         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
92619         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
92620         (__CPU_ALLOC, __CPU_FREE): Add macros.
92621         (__sched_cpualloc, __sched_cpufree): Add declarations.
92623 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
92625         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
92626         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
92627         * nscd/aicache.c (addhstaiX): Return timeout of added value.
92628         (readdhstai): Return value of addhstaiX call.
92629         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
92630         (addgrbyX): Return value returned by cache_addgr.
92631         (readdgrbyname): Return value returned by addgrbyX.
92632         (readdgrbygid): Likewise.
92633         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
92634         (addpwbyX): Return value returned by cache_addpw.
92635         (readdpwbyname): Return value returned by addhstbyX.
92636         (readdpwbyuid): Likewise.
92637         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
92638         (addservbyX): Return value returned by cache_addserv.
92639         (readdservbyname): Return value returned by addservbyX:
92640         (readdservbyport): Likewise.
92641         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
92642         (addhstbyX): Return value returned by cache_addhst.
92643         (readdhstbyname): Return value returned by addhstbyX.
92644         (readdhstbyaddr): Likewise.
92645         (readdhstbynamev6): Likewise.
92646         (readdhstbyaddrv6): Likewise.
92647         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
92648         (readdinitgroups): Return value returned by addinitgroupsX.
92649         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
92650         (prune_cache): Keep track of timeout value of re-added entries.
92651         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
92652         * nscd/nscd.h: Adjust prototypes of readd* functions.
92654 2011-02-04  Roland McGrath  <roland@redhat.com>
92656         * nis/nis_server.c (nis_servstate): Use the right name for 0.
92657         (nis_stats): Likewise.
92658         * nis/nis_modify.c (nis_modify): Likewise.
92659         * nis/nis_remove.c (nis_remove): Likewise.
92660         * nis/nis_add.c (nis_add): Likewise.
92662         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
92664         * posix/fnmatch_loop.c: Add some consts.
92666         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
92668 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
92670         [BZ #12460]
92671         * config.make.in (config-cflags-novzeroupper): Define.
92672         * configure.in: Substitute libc_cv_cc_novzeroupper.
92673         * elf/Makefile (AVX-CFLAGS): Define.
92674         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
92675         (CFLAGS-tst-auditmod4a.c): Likewise.
92676         (CFLAGS-tst-auditmod4b.c): Likewise.
92677         (CFLAGS-tst-auditmod6b.c): Likewise.
92678         (CFLAGS-tst-auditmod6c.c): Likewise.
92679         (CFLAGS-tst-auditmod7b.c): Likewise.
92680         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
92682 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
92684         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
92685         function to the callback.
92686         Patch partly by Jiri Olsa <jolsa@redhat.com>.
92688 2011-02-02  Andreas Schwab  <schwab@redhat.com>
92690         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
92691         of errno.
92693 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
92695         [BZ #11724]
92696         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
92697         of constructors.
92698         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
92699         of destructors.
92700         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
92702         [BZ #11724]
92703         * elf/Makefile: Add rules to build and run new test.
92704         * elf/tst-initorder.c: New file.
92705         * elf/tst-initorder.exp: New file.
92706         * elf/tst-initordera1.c: New file.
92707         * elf/tst-initordera2.c: New file.
92708         * elf/tst-initordera3.c: New file.
92709         * elf/tst-initordera4.c: New file.
92710         * elf/tst-initorderb1.c: New file.
92711         * elf/tst-initorderb2.c: New file.
92712         * elf/tst-order-a1.c: New file.
92713         * elf/tst-order-a2.c: New file.
92714         * elf/tst-order-a3.c: New file.
92715         * elf/tst-order-a4.c: New file.
92716         * elf/tst-order-b1.c: New file.
92717         * elf/tst-order-b2.c: New file.
92718         * elf/tst-order-main.c: New file.
92719         New test case by George Gensure <werkt0@gmail.com>.
92721 2010-10-01  Andreas Schwab  <schwab@redhat.com>
92723         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
92724         decoding ACE if AI_CANONIDN.
92726 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
92728         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
92730 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
92732         * version.h (RELEASE): Bump for 2.13 release.
92733         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
92735         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
92737         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
92738         MADV_NOHUGEPAGE.
92739         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
92740         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
92741         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
92742         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
92743         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
92744         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
92746         * posix/getconf.c: Update copyright year.
92747         * catgets/gencat.c: Likewise.
92748         * csu/version.c: Likewise.
92749         * debug/catchsegv.sh: Likewise.
92750         * debug/xtrace.sh: Likewise.
92751         * elf/ldconfig.c: Likewise.
92752         * elf/ldd.bash.in: Likewise.
92753         * elf/sprof.c (print_version): Likewise.
92754         * iconv/iconv_prog.c: Likewise.
92755         * iconv/iconvconfig.c: Likewise.
92756         * locale/programs/locale.c: Likewise.
92757         * locale/programs/localedef.c: Likewise.
92758         * malloc/memusage.sh: Likewise.
92759         * malloc/mtrace.pl: Likewise.
92760         * nscd/nscd.c (print_version): Likewise.
92761         * nss/getent.c: Likewise.
92763         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
92764         PF_CAIF, and PF_ALG.
92765         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
92767 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
92769         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
92770         (modules-names): Use them.
92771         (ifunc-test-modules, ifunc-pie-tests): Define.
92772         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
92773         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
92774         (test-extras): Likewise.
92775         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
92776         $(compile-command.c).
92777         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
92778         (all-built-dso): Define.
92779         (check-textrel.out, check-execstack.out): Depend on it.
92781         * configure.in: Don't override --enable-multi-arch.
92783 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
92785         [BZ #6812]
92786         * nscd/hstcache.c (tryagain): Define.
92787         (cache_addhst): Return tryagain not notfound for temporary errors.
92788         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
92789         failed.
92791 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
92793         [BZ #10563]
92794         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
92795         to make the syscall.
92796         * sysdeps/unix/sysv/linux/setgroups.c: New file.
92798         [BZ #12378]
92799         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
92800         and fall back to matching as normal character if the string ends before
92801         the matching ']' is found.  This is what POSIX requires.
92802         * posix/testfnm.c: Adjust test result.
92803         * posix/globtest.sh: Adjust test result.  Add new test.
92804         * posix/tst-fnmatch.input: Likewise.
92805         * posix/tst-fnmatch2.c: Add new test.
92807 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
92809         * elf/Makefile (check-execstack): Revert last change.  Depend on
92810         check-execstack.h.
92811         (check-execstack.h): New target.
92812         (generated): Add check-execstack.h.
92813         * elf/check-execstack.c: Include "check-execstack.h".
92814         (main): Revert last change.
92815         (handle_file): Return zero if GNU_STACK is absent and
92816         DEFAULT_STACK_PERMS doesn't include PF_X.
92818 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
92820         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
92821         in child fails because the descriptor is already closed.
92822         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
92823         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
92824         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
92826         [BZ #12397]
92827         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
92828         syscall.
92830         [BZ #10484]
92831         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
92832         temporary buffer used to handle multi lookups locally.
92833         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
92835 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
92837         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
92838         loader is ld.so.
92840 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
92842         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
92843         alignment for SSE2.
92845 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
92847         [BZ #12394]
92848         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
92849         characters.  When rounding increased number of integer digits recompute
92850         number of groups.
92851         * stdio-common/tst-grouping.c: New file.
92852         * stdio-common/Makefile: Add rules to build and run tst-grouping.
92854 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
92856         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
92857         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
92859         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
92860         void.
92861         * bits/select.h: Likewise.
92863 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
92865         * po/ja.po: Update from translation team.
92867 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
92869         [BZ #11155]
92870         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
92871         implementation just like for lxstat, fxstatat, et al.
92873 2010-12-27  Jim Meyering  <meyering@redhat.com>
92875         [BZ #12348]
92876         * posix/regexec.c (build_trtable): Return failure indication upon
92877         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
92879 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
92881         [BZ #12201]
92882         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
92883         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
92884         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
92885         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
92887         [BZ #12207]
92888         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
92890         [BZ #12204]
92891         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
92892         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
92894 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
92896         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
92897         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
92898         script has SORT_BY_INIT_PRIORITY.
92899         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
92900         NO_CTORS_DTORS_SECTIONS is defined.
92901         * elf/soinit.c: Likewise.
92902         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
92903         NO_CTORS_DTORS_SECTIONS is defined.
92904         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
92905         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
92906         * sysdeps/sh/init-first.c: Likewise.
92907         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
92909 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
92911         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
92912         always use the slow path.
92914 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
92916         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
92917         similar rule which adds the sysdep directories to the header search in
92918         order to pick up the correct platform stackinfo.h.
92919         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
92920         perform test if it is, otherwise return successfully without testing.
92921         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
92922         DEFAULT_STACK_PERMS define in stackinfo.h.
92923         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
92924         defined in stackinfo.h.
92925         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
92926         DEFAULT_STACK_PERMS defined in stackinfo.h.
92927         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
92928         * sysdeps/ia64/stackinfo.h: Likewise.
92929         * sysdeps/s390/stackinfo.h: Likewise.
92930         * sysdeps/sh/stackinfo.h: Likewise.
92931         * sysdeps/sparc/stackinfo.h: Likewise.
92932         * sysdeps/x86_64/stackinfo.h: Likewise.
92933         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
92934         PF_X for powerpc64.  Retain PF_X for powerpc32.
92936 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
92938         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
92939         accurately.
92940         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
92941         GETDENTS_64BIT_ALIGNED.
92943 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
92945         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
92947 2010-12-10  Andreas Schwab  <schwab@redhat.com>
92949         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
92950         _GNU_SOURCE.
92952         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
92953         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
92954         Remove __restrict.
92955         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
92956         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
92958 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
92960         [BZ #11655]
92961         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
92962         are initialized.
92964 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
92966         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
92968 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
92970         * po/it.po: Update from translation team.
92972 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
92974         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
92975         unused codes.
92977 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
92979         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
92981 2010-11-24  Andreas Schwab  <schwab@redhat.com>
92983         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
92984         specially.
92985         (gaih_getanswer_slice): Likewise.
92987 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
92989         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
92991 2010-05-31  Petr Baudis  <pasky@suse.cz>
92993         [BZ #11149]
92994         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
92995         silently even in the chroot mode.
92997 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
92999         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
93000         last patch a bit.  Pretty printing
93002 2010-05-31  Petr Baudis <pasky@suse.cz>
93004         [BZ #10085]
93005         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
93006         initialization of skip_initgroups_dyn.
93008 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
93010         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
93011         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
93013 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
93015         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
93017 2010-11-11  Andreas Schwab  <schwab@redhat.com>
93019         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
93020         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
93021         (tst-fnmatch-ENV): Set MALLOC_TRACE.
93022         ($(objpfx)tst-fnmatch-mem): New rule.
93023         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
93024         * posix/tst-fnmatch.c (main): Call mtrace.
93026 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
93028         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
93029         Support Intel processor model 6 and model 0x2c.
93031 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
93033         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
93034           signed comparison.
93036 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
93038         [BZ #12205]
93039         * string/test-strncasecmp.c (check_result): New function.
93040         (do_one_test): Use it.
93041         (check1): New function.
93042         (test_main): Use it.
93043         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
93044         Support strcasecmp and strncasecmp.
93046 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
93048         [BZ #12194]
93049         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
93050         * sysdeps/x86_64/bits/byteswap.h: Likewise.
93052 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
93054         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
93055         IFUNC support.
93056         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
93057         memset-x86-64.
93058         * sysdeps/x86_64/multiarch/bzero.S: New file.
93059         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
93060         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
93061         * sysdeps/x86_64/multiarch/memset.S: New file.
93062         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
93063         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
93064         Set bit_Prefer_SSE_for_memop for Intel processors.
93065         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
93066         Define.
93067         (index_Prefer_SSE_for_memop): Define.
93068         (HAS_PREFER_SSE_FOR_MEMOP): Define.
93070 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
93072         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
93073         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
93075 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
93077         [BZ #12191]
93078         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
93079         (__x86_64_raw_data_cache_size_half): Likewise.
93080         (__x86_64_raw_shared_cache_size): Likewise.
93081         (__x86_64_raw_shared_cache_size_half): Likewise.
93083         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
93084         (__x86_64_raw_data_cache_size_half): Likewise.
93085         (__x86_64_raw_shared_cache_size): Likewise.
93086         (__x86_64_raw_shared_cache_size_half): Likewise.
93087         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
93088         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
93089         and __x86_64_raw_shared_cache_size_half.  Round
93090         __x86_64_data_cache_size_half, __x86_64_data_cache_size
93091         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
93092         to multiple of 256 bytes.
93094 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
93096         [BZ #12167]
93097         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
93098         of inacessible symlinks.  Verify result of symlink before returning it.
93099         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
93100         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
93102 2010-10-28  Erich Ritz  <erichritz@gmail.com>
93104         * math/math.h (isinf): Fix typo in comment.
93106 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
93108         * po/da.po: Update from translation team.
93110 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
93112         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
93113         is added to the list.
93115 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
93116             Ulrich Drepper  <drepper@gmail.com>
93118         * elf/dl-object.c (_dl_new_object): Don't append the new object to
93119         the global list here.  Move code to...
93120         (_dl_add_to_namespace_list): ...here.  New function.
93121         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
93122         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
93123         * elf/dl-load.c (lose): Don't remove the element from the list.
93124         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
93125         (_dl_map_object): Likewise.
93127 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
93129         [BZ #12159]
93130         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
93131         into all bytes of SSE register.
93132         Patch by Richard Li <richardpku@gmail.com>.
93134 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
93136         [BZ #12140]
93137         * malloc/malloc.c (_int_free): Fill correct number of bytes when
93138         perturbing.
93140 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
93142         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
93143         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
93144         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
93145         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
93146         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
93147         submachine.
93148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
93150 2010-10-22  Andreas Schwab  <schwab@redhat.com>
93152         * include/dlfcn.h (__RTLD_SECURE): Define.
93153         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
93154         mode & __RTLD_SECURE instead.
93155         (open_path): Rename preloaded parameter to secure.
93156         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
93157         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
93158         * elf/dl-deps.c (openaux): Likewise.
93159         * elf/rtld.c (struct map_args): Remove is_preloaded.
93160         (map_doit): Don't use it.
93161         (dl_main): Likewise.
93162         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
93163         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
93165 2010-09-09  Andreas Schwab  <schwab@redhat.com>
93167         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
93168         (sysd-rules-targets): Remove duplicates.
93169         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
93170         rtld-%.$o dependency.
93172 2010-10-18  Andreas Schwab  <schwab@redhat.com>
93174         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
93175         _dl_map_object do it.
93177 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
93179         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
93180         fast fma builtins, define the macros in the C99 standard.
93181         (FP_FAST_FMAF): Likewise.
93182         (FP_FAST_FMAL): Likewise.
93183         * sysdeps/x86_64/bits/mathdef.h: Likewise.
93185         * bits/mathdef.h: Update copyright year.
93186         * sysdeps/powerpc/bits/mathdef.h: Likewise.
93188 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
93190         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
93191         builtins, define the macros in the C99 standard.
93192         (FP_FAST_FMAF): Likewise.
93193         (FP_FAST_FMAL): Likewise.
93194         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
93195         multiply/add.
93196         (FP_FAST_FMAF): Likewise.
93198 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
93200         [BZ #3268]
93201         * math/libm-test.inc (fma_test): Some new testcases.
93202         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
93203         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
93204         y and infinite z.  Do multiplication by C already in long double.
93205         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
93206         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
93207         y and infinite z.  Do bitwise or of inexact bit into u.d.
93208         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
93209         * sysdeps/i386/fpu/s_fmaf.S: Removed.
93210         * sysdeps/i386/fpu/s_fma.S: Removed.
93211         * sysdeps/i386/fpu/s_fmal.S: Removed.
93213 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
93215         [BZ #3268]
93216         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
93217         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
93218         computation is not scheduled after fetestexcept.  Fix value
93219         of minimum denormal long double.
93221 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
93223         [BZ #3268]
93224         * math/libm-test.inc (fma_test): Add some more tests.
93225         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
93226         correctly.
93228 2010-10-15  Andreas Schwab  <schwab@redhat.com>
93230         * scripts/data/localplt-s390-linux-gnu.data: New file.
93231         * scripts/data/localplt-s390x-linux-gnu.data: New file.
93233 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
93235         [BZ #3268]
93236         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
93237         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
93238         instead of dbl-64.
93239         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
93240         inlines.
93241         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
93242         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
93243         if one of x and y is very large and the other is subnormal.
93244         * sysdeps/s390/fpu/s_fmaf.c: New file.
93245         * sysdeps/s390/fpu/s_fma.c: New file.
93246         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
93247         * sysdeps/powerpc/fpu/s_fma.S: New file.
93248         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
93249         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
93250         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
93252 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
93254         [BZ #3268]
93255         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
93256         fma tests.
93257         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
93258         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
93259         * sysdeps/i386/i686/multiarch/s_fma.c: Include
93260         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
93261         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
93262         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
93263         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
93265 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
93267         [BZ #12078]
93268         * posix/regcomp.c (parse_branch): One more memory leak plugged.
93269         * posix/bug-regex31.input: Add test case.
93271 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
93273         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
93274         * posix/bug-regex31.input: New file.
93276         [BZ #12078]
93277         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
93278         (parse_sub_exp): Fix last change, use postorder.
93280         * posix/bug-regex31.c: New file.
93281         * posix/Makefile: Add rules to build and run bug-regex31.
93283         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
93285         [BZ #12078]
93286         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
93288         [BZ #12108]
93289         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
93290         to have entries in sys_siglist.
93292         [BZ #12093]
93293         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
93294         be NULL.
93296 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
93298         [BZ #3268]
93299         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
93300         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
93301         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
93302         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
93303         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
93304         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
93305         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
93306         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
93307         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
93308         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
93309         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
93310         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
93311         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
93312         * math/ftestexcept.c (fetestexcept): Likewise.
93313         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
93314         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
93315         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
93316         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
93317         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
93318         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
93319         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
93321 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
93323         [BZ #12107]
93324         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
93325         newline.
93327 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
93329         * string/bug-strstr1.c: New file.
93330         * string/Makefile: Add rules to build and run bug-strstr1.
93332 2010-10-05  Eric Blake  <eblake@redhat.com>
93334         [BZ #12092]
93335         * string/str-two-way.h (two_way_long_needle): Always clear memory
93336         when skipping input due to the shift table.
93338 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
93340         [BZ #12005]
93341         * malloc/mcheck.c: Handle large requests.
93343         [BZ #12077]
93344         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
93345         for strncmp and strncasecmp.
93346         * string/stratcliff.c: Add tests for strcmp and strncmp.
93347         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
93349 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
93351         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
93352         __set_fpscr.
93354 2010-09-30  Andreas Jaeger  <aj@suse.de>
93356         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
93357         (CGROUP_SUPER_MAGIC): Define.
93358         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
93359         Handle btrfs and cgroup file systems.
93360         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
93361         Likewise.
93363 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
93365         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
93366         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
93368 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
93370         [BZ #12067]
93371         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
93372         trying to locate the ELF header.
93374 2010-09-27  Andreas Schwab  <schwab@redhat.com>
93376         [BZ #11611]
93377         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
93378         Mask out sign-bit copies when constructing f_fsid.
93380 2010-09-24  Petr Baudis <pasky@suse.cz>
93382         * debug/stack_chk_fail_local.c: Add missing licence exception.
93383         * debug/warning-nop.c: Likewise.
93385 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
93387         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
93388         implementing getdents64 using getdents syscall, set d_type if
93389         __ASSUME_GETDENTS32_D_TYPE.
93391 2010-09-16  Andreas Schwab  <schwab@redhat.com>
93393         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
93394         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
93396 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
93398         [BZ #12037]
93399         * posix/unistd.h: Undo change of feature selection for ftruncate from
93400         2010-01-11.
93402 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
93404         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
93405         detection.
93407 2010-09-20  Andreas Schwab  <schwab@redhat.com>
93409         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
93410         fanotify_mark.
93411         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
93413 2010-09-14  Andreas Schwab  <schwab@redhat.com>
93415         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
93416         variables after CHECK_SP call.
93417         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
93419 2010-09-13  Andreas Schwab  <schwab@redhat.com>
93420             Ulrich Drepper  <drepper@redhat.com>
93422         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
93423         re-relocationg ld.so.
93424         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
93425         _dl_init_paths call.
93426         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
93427         here anymore.
93429 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
93431         * resolv/res_init.c (__res_vinit): Count the default server we added.
93433 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
93434             Ulrich Drepper  <drepper@redhat.com>
93436         [BZ #11968]
93437         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
93438         (____longjmp_chk): Use %ebx for saving value across system call.
93439         Add unwind info.
93441 2010-09-06  Andreas Schwab  <schwab@redhat.com>
93443         * manual/Makefile: Don't mix pattern rules with normal rules.
93445 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
93447         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
93448         operation.
93449         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
93450         * libio/iofopncook.c (_IO_cookie_init): Likewise.
93451         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
93452         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
93453         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
93454         Likewise.
93456 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
93458         [BZ #11979]
93459         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
93460         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
93462 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
93464         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
93465         * sysdeps/x86_64/addmul_1.S: Likewise.
93466         * sysdeps/x86_64/lshift.S: Likewise.
93467         * sysdeps/x86_64/mul_1.S: Likewise.
93468         * sysdeps/x86_64/rshift.S: Likewise.
93469         * sysdeps/x86_64/sub_n.S: Likewise.
93470         * sysdeps/x86_64/submul_1.S: Likewise.
93472 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
93474         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
93475         Define __sched_param instead of SCHED_* and sched_param when
93476         <bits/sched.h> is included with __need_schedparam defined.
93477         * bits/sched.h [__need_schedparam]
93478         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
93479         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
93480         (__defined_schedparam): Define to 1.
93481         (__sched_param): New structure, identical to sched_param.
93482         (__need_schedparam): Undefine.
93484 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
93486         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
93487         (epoll_create1): Declare.
93489         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
93491 2010-08-31  Andreas Schwab  <schwab@redhat.com>
93493         [BZ #7066]
93494         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
93495         shifting retval into place.
93497 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
93499         * nis/rpcsvc/nis.h: Update copyright notice.
93500         * nis/rpcsvc/nis.x: Likewise.
93501         * nis/rpcsvc/nis_callback.h: Likewise.
93502         * nis/rpcsvc/nis_callback.x: Likewise.
93503         * nis/rpcsvc/nis_object.x: Likewise.
93504         * nis/rpcsvc/nis_tags.h: Likewise.
93505         * nis/rpcsvc/yp.h: Likewise.
93506         * nis/rpcsvc/yp.x: Likewise.
93507         * nis/rpcsvc/ypupd.h: Likewise.
93508         * nis/yp_xdr.c: Likewise.
93509         * nis/ypupdate_xdr.c: Likewise.
93511         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
93512         mainly the body of pmap_getport.  Add parameters to specify timeouts.
93513         (pmap_getport): Use __libc_rpc_getport.
93514         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
93515         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
93516         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
93518 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
93520         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
93521         fanotify_mark.
93523 2010-08-27  Roland McGrath  <roland@redhat.com>
93525         * sysdeps/i386/i686/multiarch/Makefile
93526         (CFLAGS-varshift.c): New variable.
93528 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
93530         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
93531         * sysdeps/i386/i686/multiarch/varshift.c: New file.
93533         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
93535         * sysdeps/x86_64/strlen.S: Minimal code improvement.
93537 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
93539         * sysdeps/x86_64/strlen.S: Unroll the loop.
93540         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
93541         strlen-sse2 strlen-sse2-bsf.
93542         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
93543         __strlen_no_bsf if bit_Slow_BSF is set.
93544         (__strlen_sse42): Removed.
93545         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
93546         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
93548 2010-08-25  Roland McGrath  <roland@redhat.com>
93550         * sysdeps/x86_64/multiarch/varshift.S: File removed.
93551         * sysdeps/x86_64/multiarch/varshift.c: New file.
93552         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
93553         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
93554         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
93555         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
93557 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
93559         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
93560         strlen-sse2 strlen-sse2-bsf.
93561         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
93562         __strlen_sse2_bsf if bit_Slow_BSF is unset.
93563         (__strlen_sse2): Removed.
93564         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
93565         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
93566         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
93567         bit_Slow_BSF for Atom.
93568         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
93569         (index_Slow_BSF): Define.
93570         (HAS_SLOW_BSF): Define.
93572 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
93574         [BZ #10851]
93575         * resolv/res_init.c (__res_vinit): When no server address at all
93576         is given default to loopback.
93578 2010-08-24  Roland McGrath  <roland@redhat.com>
93580         * configure.in: Remove config-name.h generation.
93581         * configure: Regenerated.
93582         * config-name.in: File removed.
93583         * scripts/config-uname.sh: New file.
93584         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
93585         ($(objdir)config-name.h): New target.
93587         * sunrpc/rpc_parse.h: Avoid nested comment.
93589 2010-08-24  Richard Henderson  <rth@redhat.com>
93590             Ulrich Drepper  <drepper@redhat.com>
93591             H.J. Lu  <hongjiu.lu@intel.com>
93593         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
93594         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
93595         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
93596         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
93597         _mm_alignr_epi8 with _mm_loadu_si128.
93598         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
93599         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
93600         (__m128i_shift_right): Removed.
93601         * sysdeps/i386/i686/multiarch/varshift.h: New file.
93602         * sysdeps/i386/i686/multiarch/varshift.S: New file.
93603         * sysdeps/x86_64/multiarch/varshift.h: New file.
93604         * sysdeps/x86_64/multiarch/varshift.S: New file.
93606 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
93608         * configure.in: Move assembler checks to before sysdep dir checking.
93610 2010-08-20  Petr Baudis  <pasky@suse.cz>
93612         * LICENSES: Sync the sunrpc license.
93614 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
93616         * sunrpc/auth_des.c: Update copyright notice once again.
93617         * sunrpc/auth_none.c: Likewise.
93618         * sunrpc/auth_unix.c: Likewise.
93619         * sunrpc/authdes_prot.c: Likewise.
93620         * sunrpc/authuxprot.c: Likewise.
93621         * sunrpc/bindrsvprt.c: Likewise.
93622         * sunrpc/clnt_gen.c: Likewise.
93623         * sunrpc/clnt_perr.c: Likewise.
93624         * sunrpc/clnt_raw.c: Likewise.
93625         * sunrpc/clnt_simp.c: Likewise.
93626         * sunrpc/clnt_tcp.c: Likewise.
93627         * sunrpc/clnt_udp.c: Likewise.
93628         * sunrpc/clnt_unix.c: Likewise.
93629         * sunrpc/des_crypt.c: Likewise.
93630         * sunrpc/des_soft.c: Likewise.
93631         * sunrpc/get_myaddr.c: Likewise.
93632         * sunrpc/getrpcport.c: Likewise.
93633         * sunrpc/key_call.c: Likewise.
93634         * sunrpc/key_prot.c: Likewise.
93635         * sunrpc/openchild.c: Likewise.
93636         * sunrpc/pm_getmaps.c: Likewise.
93637         * sunrpc/pm_getport.c: Likewise.
93638         * sunrpc/pmap_clnt.c: Likewise.
93639         * sunrpc/pmap_prot.c: Likewise.
93640         * sunrpc/pmap_prot2.c: Likewise.
93641         * sunrpc/pmap_rmt.c: Likewise.
93642         * sunrpc/rpc/auth.h: Likewise.
93643         * sunrpc/rpc/auth_unix.h: Likewise.
93644         * sunrpc/rpc/clnt.h: Likewise.
93645         * sunrpc/rpc/des_crypt.h: Likewise.
93646         * sunrpc/rpc/key_prot.h: Likewise.
93647         * sunrpc/rpc/netdb.h: Likewise.
93648         * sunrpc/rpc/pmap_clnt.h: Likewise.
93649         * sunrpc/rpc/pmap_prot.h: Likewise.
93650         * sunrpc/rpc/pmap_rmt.h: Likewise.
93651         * sunrpc/rpc/rpc.h: Likewise.
93652         * sunrpc/rpc/rpc_des.h: Likewise.
93653         * sunrpc/rpc/rpc_msg.h: Likewise.
93654         * sunrpc/rpc/svc.h: Likewise.
93655         * sunrpc/rpc/svc_auth.h: Likewise.
93656         * sunrpc/rpc/types.h: Likewise.
93657         * sunrpc/rpc/xdr.h: Likewise.
93658         * sunrpc/rpc_clntout.c: Likewise.
93659         * sunrpc/rpc_cmsg.c: Likewise.
93660         * sunrpc/rpc_common.c: Likewise.
93661         * sunrpc/rpc_cout.c: Likewise.
93662         * sunrpc/rpc_dtable.c: Likewise.
93663         * sunrpc/rpc_hout.c: Likewise.
93664         * sunrpc/rpc_main.c: Likewise.
93665         * sunrpc/rpc_parse.c: Likewise.
93666         * sunrpc/rpc_parse.h: Likewise.
93667         * sunrpc/rpc_prot.c: Likewise.
93668         * sunrpc/rpc_sample.c: Likewise.
93669         * sunrpc/rpc_scan.c: Likewise.
93670         * sunrpc/rpc_scan.h: Likewise.
93671         * sunrpc/rpc_svcout.c: Likewise.
93672         * sunrpc/rpc_tblout.c: Likewise.
93673         * sunrpc/rpc_util.c: Likewise.
93674         * sunrpc/rpc_util.h: Likewise.
93675         * sunrpc/rpcinfo.c: Likewise.
93676         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
93677         * sunrpc/rpcsvc/key_prot.x: Likewise.
93678         * sunrpc/rpcsvc/klm_prot.x: Likewise.
93679         * sunrpc/rpcsvc/mount.x: Likewise.
93680         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
93681         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
93682         * sunrpc/rpcsvc/rex.x: Likewise.
93683         * sunrpc/rpcsvc/rstat.x: Likewise.
93684         * sunrpc/rpcsvc/rusers.x: Likewise.
93685         * sunrpc/rpcsvc/sm_inter.x: Likewise.
93686         * sunrpc/rpcsvc/spray.x: Likewise.
93687         * sunrpc/rpcsvc/yppasswd.x: Likewise.
93688         * sunrpc/rtime.c: Likewise.
93689         * sunrpc/svc.c: Likewise.
93690         * sunrpc/svc_auth.c: Likewise.
93691         * sunrpc/svc_authux.c: Likewise.
93692         * sunrpc/svc_raw.c: Likewise.
93693         * sunrpc/svc_run.c: Likewise.
93694         * sunrpc/svc_simple.c: Likewise.
93695         * sunrpc/svc_tcp.c: Likewise.
93696         * sunrpc/svc_udp.c: Likewise.
93697         * sunrpc/svc_unix.c: Likewise.
93698         * sunrpc/svcauth_des.c: Likewise.
93699         * sunrpc/xcrypt.c: Likewise.
93700         * sunrpc/xdr.c: Likewise.
93701         * sunrpc/xdr_array.c: Likewise.
93702         * sunrpc/xdr_float.c: Likewise.
93703         * sunrpc/xdr_mem.c: Likewise.
93704         * sunrpc/xdr_rec.c: Likewise.
93705         * sunrpc/xdr_ref.c: Likewise.
93706         * sunrpc/xdr_sizeof.c: Likewise.
93707         * sunrpc/xdr_stdio.c: Likewise.
93709         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
93710         handling.
93712 2010-08-19  Andreas Schwab  <schwab@redhat.com>
93714         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
93716 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
93718         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
93719         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
93720         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
93721         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
93722         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
93723         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
93724         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
93725         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
93726         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
93727         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
93728         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
93729         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
93730         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
93731         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
93733 2010-07-26  Anton Blanchard  <anton@samba.org>
93735         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
93736         * malloc/arena.c (heap_trim): Likewise.
93738 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
93740         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
93741         here.  Not...
93742         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
93743         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
93745 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
93747         * sysdeps/i386/elf/Makefile: New file.
93749 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
93751         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
93752         from fanotify_init.
93753         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
93754         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
93756 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
93758         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
93759         of strncasecmp_l.
93760         * sysdeps/multiarch/strcmp.S: Likewise.
93762 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
93764         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
93765         strncase_l-nonascii.
93766         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
93767         Add strncase_l-ssse3.
93768         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
93769         * sysdeps/x86_64/strcmp.S: Likewise.
93770         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
93771         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
93772         * sysdeps/x86_64/strncase.S: New file.
93773         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
93774         * sysdeps/x86_64/strncase_l.S: New file.
93775         * string/Makefile (strop-tests): Add strncasecmp.
93776         * string/test-strncasecmp.c: New file.
93778         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
93779         warning.
93781         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
93782         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
93784 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
93786         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
93788 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
93790         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
93791         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
93792         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
93794 2010-05-01  Alan Modra  <amodra@gmail.com>
93796         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
93797         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
93798         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
93799         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
93800         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
93801         tidying.  Don't tail-call __sigjmp_save for static lib.
93802         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
93803         save location.
93804         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
93805         (CALL_MCOUNT): Add eh info, and nop after bl.
93806         (TAIL_CALL_SYSCALL_ERROR): New macro.
93807         (PSEUDO_RET): Use it.
93808         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
93809         Correct save location of integer regs and cr.
93810         (_dl_profile_resolve): Correct cr save location.  Delete nops
93811         after bl when SHARED.  Reduce cfi size a little by better
93812         placement of cfi directives.
93813         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
93814         make a stack frame.  Instead use parm save area as a temp.
93815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
93816         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
93817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
93818         Don't make a stack frame for parent, use parm save area.
93819         Increase child stack frame to 112 bytes.  Don't save unused reg,
93820         and adjust reg usage.  Set up cfi on error recovery and
93821         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
93822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
93823         (__makecontext): Add dummy nop after jump to exit.
93824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
93825         Use correct parm save area and cr save, reduce stack frame.
93826         Correct cfi for possible PSEUDO_RET frame setup.
93827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
93828         Branch to local label emitted by PSEUDO_RET rather than
93829         __syscall_error.
93831 2010-08-12  Andreas Schwab  <schwab@redhat.com>
93833         [BZ #11904]
93834         * locale/programs/locale.c (print_assignment): New function.
93835         (show_locale_vars): Use it.
93837 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
93839         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
93840         field.
93841         (struct statfs64): Likewise.
93842         (_STATFS_F_FLAGS): Define.
93843         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
93844         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
93845         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
93846         (ST_VALID): Define locally.
93847         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
93848         __statvfs_getflags, use the provided value.
93849         * sysdeps/unix/sysv/linux/kernel-features.h: Define
93850         __ASSUME_STATFS_F_FLAGS.
93852         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
93854         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
93855         Add sys/fanotify.h.
93856         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
93857         fanotify_mask for GLIBC_2.13.
93858         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
93859         fanotify_init and fanotify_mark.
93860         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
93861         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
93863         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
93864         Add prlimit.
93865         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
93866         prlimit64 for GLIBC_2.13.
93867         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
93868         prlimit64.
93869         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
93870         syscall.
93871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
93872         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
93873         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
93874         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
93875         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
93876         add prlimit alias.
93877         * sysdeps/unix/sysv/linux/prlimit.c: New file.
93879         [BZ #11903]
93880         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
93881         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
93883         * nss/Makefile: Add rules to build and run tst-nss-test1.
93884         * shlib-versions: Add entry for libnss_test1.
93885         * nss/nss_test1.c: New file.
93886         * nss/tst-nss-test1.c: New file.
93888         * nss/nsswitch.c (__nss_database_custom): Define new variable.
93889         (__nss_configure_lookup): Set appropriate entry in
93890         __nss_configure_lookup to true.
93891         * nss/nsswitch.h: Define enum with indeces of databases in
93892         databases and __nss_database_custom arrays.  Declare
93893         __nss_database_custom.
93894         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
93895         to avoid using nscd when custom rules are installed.
93896         * nss/getXXbyYY_r.c: Likewise.
93897         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
93899         * nss/nss_files/files-parse.c: Whitespace fixes.
93901 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
93903         [BZ #11883]
93904         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
93905         * posix/fnmatch_loop.c: Likewise.
93907 2010-07-17  Andi Kleen  <ak@linux.intel.com>
93909         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
93910         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
93911         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
93912         * Versions.def [GLIBC_2.13]: Add.
93914 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
93916         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
93917         Also fail if tpwd after pwuid call is NULL.
93919 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
93921         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
93922         when converting to ms.
93924 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
93926         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
93927         EOPNOTSUPP errors with ENOTTY.
93928         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
93929         EOPNOTSUPP errors with ENOTTY.
93931 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
93933         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
93934         Add strcasecmp_l-ssse3.
93935         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
93936         strcasecmp.
93937         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
93938         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
93939         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
93941 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
93943         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
93945         * string/Makefile (strop-tests): Add strcasecmp.
93946         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
93947         strcasecmp_l-nonascii.
93948         (gen-as-const-headers): Add locale-defines.sym.
93949         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
93950         * sysdeps/x86_64/strcasecmp.S: New file.
93951         * sysdeps/x86_64/strcasecmp_l.S: New file.
93952         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
93953         * sysdeps/x86_64/locale-defines.sym: New file.
93954         * string/test-strcasecmp.c: New file.
93956         * string/test-strcasestr.c: Test both ends of the range of characters.
93957         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
93959 2010-07-29  Roland McGrath  <roland@redhat.com>
93961         [BZ #11856]
93962         * manual/locale.texi (Yes-or-No Questions): Fix example code.
93964 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
93966         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
93967         for ld.so.
93969 2010-07-27  Andreas Schwab  <schwab@redhat.com>
93971         * manual/memory.texi (Malloc Tunable Parameters): Document
93972         M_PERTURB.
93974 2010-07-26  Roland McGrath  <roland@redhat.com>
93976         [BZ #11840]
93977         * configure.in (-fgnu89-inline check): Set and substitute
93978         gnu89_inline, not libc_cv_gnu89_inline.
93979         * configure: Regenerated.
93980         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
93982 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
93984         * string/test-strnlen.c: New file.
93985         * string/Makefile (strop-tests): Add strnlen.
93986         * string/tester.c (test_strnlen): Add a few more test cases.
93987         * string/tst-strlen.c: Better error reporting.
93989         * sysdeps/x86_64/strnlen.S: New file.
93991 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
93993         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
93994         lower-latency instructions.
93996 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
93998         * string/test-strcasestr.c: New file.
93999         * string/test-strstr.c: New file.
94000         * string/Makefile (strop-tests): Add strstr and strcasestr.
94001         * string/str-two-way.h: Don't undefine MAX.
94002         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
94004 2010-07-21  Andreas Schwab  <schwab@redhat.com>
94006         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
94007         strcasestr-nonascii.
94008         (CFLAGS-strcasestr-nonascii.c): Define.
94009         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
94010         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
94011         Remove unused attribute.
94013 2010-07-20  Roland McGrath  <roland@redhat.com>
94015         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
94016         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
94017         ld.so.cache was broken.  With it, there is no way to disable dsocaps
94018         like LD_HWCAP_MASK can disable hwcaps.
94020 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
94022         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
94024 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
94026         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
94027         call in strcasestr.
94028         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
94029         __strcasestr_sse42_nonascii.
94030         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
94031         strcasestr-nonascii.c.
94032         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
94034 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
94036         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
94037         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
94038         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
94039         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
94041 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
94043         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
94044         fcntl.
94046 2010-07-06  Andreas Schwab  <schwab@redhat.com>
94048         [BZ #11577]
94049         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
94050         dl_signal_cerror.
94052 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
94054         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
94055         _PC_PIPE_BUF using F_GETPIPE_SZ.
94057 2010-07-05  Roland McGrath  <roland@redhat.com>
94059         * manual/arith.texi (Rounding Functions): Fix rint description
94060         implicit in round description.
94062 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
94064         * elf/Makefile: Fix linking for a few tests to make recent linker
94065         happy.
94067 2010-06-30  Andreas Schwab  <schwab@redhat.com>
94069         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
94070         $(common-objpfx)libc_nonshared.a.
94072 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
94074         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
94075         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
94076         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
94077         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
94078         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
94079         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
94080         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
94081         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
94082         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
94083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
94084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
94085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
94086         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
94087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
94088         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
94089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
94090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
94091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
94092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
94093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
94094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
94095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
94096         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
94097         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
94098         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
94099         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
94100         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
94101         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
94102         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
94103         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
94104         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
94105         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
94106         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
94107         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
94108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
94109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
94110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
94111         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
94112         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
94113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
94114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
94115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
94116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
94117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
94118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
94119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
94120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
94121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
94123 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
94125         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
94126         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
94127         * string/memmove.c (memmove): Renamed to ...
94128         (MEMMOVE): ...this.  Default to memmove.
94129         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
94130         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
94131         (END_CHK): Define.
94132         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
94133         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
94134         mempcpy-ssse3-back memmove-ssse3-back.
94135         * sysdeps/x86_64/multiarch/bcopy.S: New file .
94136         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
94137         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
94138         * sysdeps/x86_64/multiarch/memcpy.S: New file.
94139         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
94140         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
94141         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
94142         * sysdeps/x86_64/multiarch/memmove.c: New file.
94143         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
94144         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
94145         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
94146         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
94147         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
94148         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
94149         Define.
94150         (index_Fast_Copy_Backward): Define.
94151         (HAS_ARCH_FEATURE): Define.
94152         (HAS_FAST_REP_STRING): Define.
94153         (HAS_FAST_COPY_BACKWARD): Define.
94155 2010-06-21  Andreas Schwab  <schwab@redhat.com>
94157         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
94158         Restore proper fallback handling.
94160 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
94162         [BZ #11701]
94163         * posix/group_member.c (__group_member): Correct checking loop.
94165         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
94166         OOM in getpwuid_r correctly.  Return error number when the caller
94167         should return, otherwise -1.
94168         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
94169         call returning > 0 value.
94170         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
94172 2010-06-07  Andreas Schwab  <schwab@redhat.com>
94174         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
94175         libc_nonshared.a from targets in modules-names.
94177 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
94179         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
94180         requires it.
94182 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
94184         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
94185         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
94186         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
94187         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
94189 2010-06-02  Andreas Schwab  <schwab@redhat.com>
94191         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
94193 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
94195         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
94196         and F_GETPIPE_SZ.
94197         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
94198         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
94199         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
94200         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
94201         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
94202         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
94204 2010-06-14  Roland McGrath  <roland@redhat.com>
94206         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
94208 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
94210         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
94211         __REDIRECT followed by __THROW.
94212         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
94213         * posix/getopt.h (getopt): Likewise.
94215 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
94217         * hurd/lookup-at.c (__file_name_lookup_at): Accept
94218         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
94219         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
94220         in AT_FLAGS.
94221         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
94222         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
94224 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
94226         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
94228 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
94230         [BZ #11640]
94231         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
94232         Properly check family and model.
94234 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
94236         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
94238 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
94240         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
94242 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
94244         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
94245         symbol reference.
94247 2010-05-19  Andreas Schwab  <schwab@redhat.com>
94249         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
94250         symbol reference.
94252 2010-05-21  Andreas Schwab  <schwab@redhat.com>
94254         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
94255         and internal_recvmmsg.
94256         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
94257         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
94258         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
94259         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
94261         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
94262         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
94263         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
94265 2010-05-20  Andreas Schwab  <schwab@redhat.com>
94267         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
94269 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
94271         POWER7 optimizations.
94272         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
94273         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
94275 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
94277         * version.h: Update for 2.13 development version.
94279 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
94281         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
94282         exceptions.  Return 0.
94284 2010-05-07  Roland McGrath  <roland@redhat.com>
94286         * elf/ldconfig.c (main): Add a const.
94288 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
94290         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
94291         (args_options): Add no-idn option.
94292         (ahosts_keys_int): Add idn_flags to ai_flags.
94293         (parse_option): Handle 'i' option to clear idn_flags.
94295         * malloc/malloc.c (_int_free): Possible race in the most recently
94296         added check.  Only act on the data if no current modification
94297         happened.
94299 See ChangeLog.17 for earlier changes.